patch-2.4.0-prerelease linux/drivers/isdn/act2000/Makefile
Next file: linux/drivers/isdn/avmb1/Makefile
Previous file: linux/drivers/isdn/Makefile
Back to the patch index
Back to the overall index
- Lines: 35
- Date:
Fri Dec 29 14:40:54 2000
- Orig file:
v2.4.0-test12/linux/drivers/isdn/act2000/Makefile
- Orig date:
Sun Nov 19 18:44:07 2000
diff -u --recursive --new-file v2.4.0-test12/linux/drivers/isdn/act2000/Makefile linux/drivers/isdn/act2000/Makefile
@@ -1,15 +1,21 @@
-L_OBJS :=
-M_OBJS :=
-O_OBJS := module.o capi.o act2000_isa.o
-
-O_TARGET :=
-ifeq ($(CONFIG_ISDN_DRV_ACT2000),y)
- O_TARGET += act2000.o
-else
- ifeq ($(CONFIG_ISDN_DRV_ACT2000),m)
- O_TARGET += act2000.o
- M_OBJS = act2000.o
- endif
-endif
+# Makefile for the act2000 ISDN device driver
+
+# The target object and module list name.
+
+O_TARGET := vmlinux-obj.o
+
+# Multipart objects.
+
+list-multi := act2000.o
+act2000-objs := module.o capi.o act2000_isa.o
+
+# Each configuration option enables a list of files.
+
+obj-$(CONFIG_ISDN_DRV_ACT2000) += act2000.o
include $(TOPDIR)/Rules.make
+
+# Link rules for multi-part drivers.
+
+act2000.o: $(act2000-objs)
+ $(LD) -r -o $@ $(act2000-objs)
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)