patch-2.4.0-prerelease linux/drivers/isdn/hysdn/Makefile
Next file: linux/drivers/isdn/hysdn/boardergo.c
Previous file: linux/drivers/isdn/hisax/netjet.c
Back to the patch index
Back to the overall index
- Lines: 54
- Date:
Fri Dec 29 14:40:54 2000
- Orig file:
v2.4.0-test12/linux/drivers/isdn/hysdn/Makefile
- Orig date:
Mon Aug 21 07:49:03 2000
diff -u --recursive --new-file v2.4.0-test12/linux/drivers/isdn/hysdn/Makefile linux/drivers/isdn/hysdn/Makefile
@@ -1,27 +1,29 @@
-SUB_DIRS :=
-MOD_SUB_DIRS :=
-ALL_SUB_DIRS :=
-
-L_OBJS :=
-LX_OBJS :=
-M_OBJS :=
-MX_OBJS :=
-O_OBJS :=
-OX_OBJS :=
-L_TARGET :=
-O_TARGET :=
-
-ifeq ($(CONFIG_PROC_FS),y)
- ifeq ($(CONFIG_HYSDN),y)
- M_OBJS += hysdn.o
- O_TARGET += hysdn.o
- O_OBJS += hysdn_procconf.o hysdn_proclog.o boardergo.o hysdn_boot.o hysdn_sched.o hysdn_net.o
- ifeq ($(CONFIG_HYSDN_CAPI),y)
- O_OBJS += hycapi.o
- endif
- OX_OBJS += hysdn_init.o
- endif
-endif
+# 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)/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)