patch-2.2.19 linux/drivers/isdn/hysdn/Makefile

Next file: linux/drivers/isdn/hysdn/boardergo.c
Previous file: linux/drivers/isdn/hisax/w6692.h
Back to the patch index
Back to the overall index

diff -u --new-file --recursive --exclude-from /usr/src/exclude v2.2.18/drivers/isdn/hysdn/Makefile linux/drivers/isdn/hysdn/Makefile
@@ -0,0 +1,29 @@
+# Makefile for the hysdn ISDN device driver
+
+# The target object and module list name.
+
+O_TARGET	:= vmlinux-obj.o
+
+# Multipart objects.
+
+list-multi	:= hysdn.o
+hysdn-objs	:= hysdn_procconf.o hysdn_proclog.o boardergo.o hysdn_boot.o \
+		   hysdn_sched.o hysdn_net.o hysdn_init.o
+
+# Optional parts of multipart objects.
+
+hysdn-objs-$(CONFIG_HYSDN_CAPI) += hycapi.o
+
+hysdn-objs 	+= $(hysdn-objs-y)
+
+# Each configuration option enables a list of files.
+
+obj-$(CONFIG_HYSDN)	+= hysdn.o
+
+include $(TOPDIR)/drivers/isdn/Rules.make
+
+# Link rules for multi-part drivers.
+
+hysdn.o: $(hysdn-objs)
+	$(LD) -r -o $@ $(hysdn-objs)
+

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)