patch-1.3.7 linux/fs/smbfs/Makefile

Next file: linux/fs/smbfs/README
Previous file: linux/fs/proc/scsi.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v1.3.6/linux/fs/smbfs/Makefile linux/fs/smbfs/Makefile
@@ -0,0 +1,33 @@
+#
+# Makefile for the linux smb-filesystem routines.
+#
+# Note! Dependencies are done automagically by 'make dep', which also
+# removes any old dependencies. DON'T put your own dependencies here
+# unless it's something special (ie not a .c file).
+#
+# Note 2! The CFLAGS definitions are now in the main makefile...
+
+.c.s:
+	$(CC) $(CFLAGS) -S $<
+.c.o:
+	$(CC) $(CFLAGS) -c $<
+.s.o:
+	$(AS) -o $*.o $<
+
+OBJS=	proc.o sock.o inode.o file.o dir.o \
+	ioctl.o mmap.o
+
+smbfs.o: $(OBJS)
+	$(LD) -r -o smbfs.o $(OBJS)
+
+dep:
+	$(CPP) -M *.c > .depend
+
+modules: smbfs.o
+
+#
+# include a dependency file if one exists
+#
+ifeq (.depend,$(wildcard .depend))
+include .depend
+endif

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov with Sam's (original) version
of this