patch-2.1.92 linux/drivers/isdn/Makefile

Next file: linux/drivers/isdn/act2000/Makefile
Previous file: linux/drivers/isdn/Config.in
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.91/linux/drivers/isdn/Makefile linux/drivers/isdn/Makefile
@@ -1,6 +1,6 @@
 SUB_DIRS     :=
 MOD_SUB_DIRS :=
-ALL_SUB_DIRS := icn pcbit hisax avmb1
+ALL_SUB_DIRS := icn pcbit hisax avmb1 act2000
 
 L_OBJS :=
 LX_OBJS :=
@@ -13,11 +13,15 @@
 
 ifeq ($(CONFIG_ISDN),y)
   L_TARGET := isdn.a
-  L_OBJS += isdn_common.o isdn_net.o isdn_tty.o isdn_cards.o
-  LX_OBJS += isdn_syms.o
+  L_OBJS += isdn_net.o isdn_tty.o isdn_cards.o isdn_v110.o
+  LX_OBJS += isdn_common.o 
   ifdef CONFIG_ISDN_PPP
     L_OBJS += isdn_ppp.o
   endif
+  ifdef CONFIG_ISDN_X25
+    L_OBJS += isdn_x25iface.o
+    L_OBJS += isdn_concap.o
+  endif
   ifdef CONFIG_ISDN_AUDIO
     L_OBJS += isdn_audio.o
   endif
@@ -25,11 +29,15 @@
   ifeq ($(CONFIG_ISDN),m)
     M_OBJS += isdn.o
     O_TARGET += isdn.o
-    O_OBJS += isdn_common.o isdn_net.o isdn_tty.o
-    OX_OBJS += isdn_syms.o
+    O_OBJS += isdn_net.o isdn_tty.o isdn_v110.o
+    OX_OBJS += isdn_common.o
     ifdef CONFIG_ISDN_PPP
       O_OBJS += isdn_ppp.o
     endif
+    ifdef CONFIG_ISDN_X25
+      O_OBJS += isdn_x25iface.o
+      O_OBJS += isdn_concap.o
+    endif  
     ifdef CONFIG_ISDN_AUDIO
       O_OBJS += isdn_audio.o
     endif
@@ -93,6 +101,16 @@
 else
   ifeq ($(CONFIG_ISDN_DRV_LOOP),m)
     MOD_SUB_DIRS += isdnloop
+  endif
+endif
+
+ifeq ($(CONFIG_ISDN_DRV_ACT2000),y)
+  L_OBJS += act2000/act2000.o
+  SUB_DIRS += act2000
+  MOD_SUB_DIRS += act2000
+else
+  ifeq ($(CONFIG_ISDN_DRV_ACT2000),m)
+    MOD_SUB_DIRS += act2000
   endif
 endif
 

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov