Updated syntax for new automake (tested 1.7).
[lufs.git] / kernel / Linux / 2.4 / Makefile.am
1 INCLUDES=-I@KERNEL_HDR@ @all_includes@
2
3 LIBS=
4
5 AM_CFLAGS=@MODV_FLAGS@ @KDEBUG_FLAGS@ -O2 -pipe -fomit-frame-pointer -fno-strict-aliasing -mpreferred-stack-boundary=2 -Wall -D__KERNEL__ -DMODULE -DLINUX
6 AM_LDFLAGS=-r
7
8 moduledir=@MODULES_DIR@/kernel/fs/lufs
9
10 module_PROGRAMS=lufs.o
11
12 noinst_HEADERS=lufs.h proc.h
13 lufs_o_SOURCES=proc.c inode.c dir.c file.c symlink.c
14 lufs_o_LDADD=
15
16 install-data-hook:
17         depmod -aq
18         if [ "`lsmod | grep lufs`" ]; then rmmod lufs; fi
19         modprobe lufs