Commit [r81] Maximize Restore History

working on dkms

ttimo 2003-11-12

added /branches/dkms/lufs2/kernel/Linux/2.4/dkms.conf
added /branches/dkms/lufs2/kernel/Linux/2.4/lufs_module.h.in
added /branches/dkms/lufs2/kernel/Linux/2.6/lufs_module.h.in
added /branches/dkms/lufs2/kernel/Linux/2.4/Makefile
removed /branches/dkms/lufs2/kernel/Linux/Makefile
changed /branches/dkms/lufs2/kernel/Linux/2.6/lufs.h
changed /branches/dkms/lufs2/configure.in
changed /branches/dkms/lufs2/kernel/Linux/2.6/dkms.conf
changed /branches/dkms/lufs2/ChangeLog
changed /branches/dkms/lufs2/kernel/Linux/2.4/lufs.h
copied /branches/dkms/lufs2/kernel/Linux/2.4/Makefile.am -> /branches/dkms/lufs2/kernel/Linux/Makefile.in
/branches/dkms/lufs2/kernel/Linux/2.4/dkms.conf Diff Switch to side-by-side view
Loading...
/branches/dkms/lufs2/kernel/Linux/2.4/lufs_module.h.in Diff Switch to side-by-side view
Loading...
/branches/dkms/lufs2/kernel/Linux/2.6/lufs_module.h.in Diff Switch to side-by-side view
Loading...
/branches/dkms/lufs2/kernel/Linux/2.4/Makefile Diff Switch to side-by-side view
Loading...
/branches/dkms/lufs2/kernel/Linux/2.6/lufs.h Diff Switch to side-by-side view
Loading...
/branches/dkms/lufs2/configure.in Diff Switch to side-by-side view
Loading...
/branches/dkms/lufs2/kernel/Linux/2.6/dkms.conf Diff Switch to side-by-side view
Loading...
/branches/dkms/lufs2/ChangeLog Diff Switch to side-by-side view
Loading...
/branches/dkms/lufs2/kernel/Linux/2.4/lufs.h Diff Switch to side-by-side view
Loading...
/branches/dkms/lufs2/kernel/Linux/2.4/Makefile.am to /branches/dkms/lufs2/kernel/Linux/Makefile.in
--- a/branches/dkms/lufs2/kernel/Linux/2.4/Makefile.am
+++ b/branches/dkms/lufs2/kernel/Linux/Makefile.in
@@ -1,19 +1,14 @@
-INCLUDES=-I@KERNEL_HDR@ @all_includes@
+install:
+	if [ ! -x "/usr/src/lufs-@KERNEL_DIR@" ] ; \
+	then \
+		mkdir -p /usr/src/lufs-@KERNEL_DIR@ ; \
+		cp -R @KERNEL_DIR@/* /usr/src/lufs-@KERNEL_DIR@ ; \
+		dkms add -m lufs -v @KERNEL_DIR@ ; \
+	else \
+		cp -R @KERNEL_DIR@/* /usr/src/lufs-@KERNEL_DIR@ ; \
+	fi
+	dkms build -m lufs -v @KERNEL_DIR@
+	dkms install -m lufs -v @KERNEL_DIR@
 
-LIBS=
-
-CFLAGS=@MODV_FLAGS@ @KDEBUG_FLAGS@ -O2 -pipe -fomit-frame-pointer -fno-strict-aliasing -mpreferred-stack-boundary=2 -Wall -D__KERNEL__ -DMODULE -DLINUX
-LDFLAGS=-r
-
-moduledir=@MODULES_DIR@/kernel/fs/lufs
-
-module_PROGRAMS=lufs.o
-
-noinst_HEADERS=lufs.h proc.h
-lufs_o_SOURCES=proc.c inode.c dir.c file.c symlink.c
-lufs_o_LDADD=
-
-install-data-hook:
-	depmod -aq
-	if [ "`lsmod | grep lufs`" ]; then rmmod lufs; fi
-	modprobe lufs
+.DEFAULT:
+	echo kernel/Linux/Makefile - .DEFAULT