patch-2.1.92 linux/drivers/isdn/hisax/Makefile

Next file: linux/drivers/isdn/hisax/amd7930.c
Previous file: linux/drivers/isdn/avmb1/compat.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.91/linux/drivers/isdn/hisax/Makefile linux/drivers/isdn/hisax/Makefile
@@ -1,7 +1,14 @@
 L_OBJS :=
 M_OBJS :=
-O_OBJS := isdnl1.o config.o tei.o isdnl2.o isdnl3.o \
-          q931.o callc.o fsm.o
+LX_OBJS :=
+MX_OBJS :=
+O_OBJS :=
+OX_OBJS :=
+L_TARGET :=
+O_TARGET :=
+
+O_OBJS := isdnl1.o tei.o isdnl2.o isdnl3.o \
+          lmgr.o q931.o callc.o fsm.o
 
 # EXTRA_CFLAGS += -S
 
@@ -17,31 +24,105 @@
 	 O_OBJS += l3_1tr6.o
 endif
 
+ISAC_OBJ :=
+ARCOFI_OBJ :=
+HSCX_OBJ :=
+HFC_OBJ :=
+HFC_2BDS0 :=
+RAWHDLC_OBJ :=
+
 ifeq ($(CONFIG_HISAX_16_0),y)
 	 O_OBJS += teles0.o
+	 ISAC_OBJ := isac.o
+	 HSCX_OBJ := hscx.o
 endif
 
 ifeq ($(CONFIG_HISAX_16_3),y)
 	 O_OBJS += teles3.o
+	 ISAC_OBJ := isac.o
+	 HSCX_OBJ := hscx.o
 endif
 
 ifeq ($(CONFIG_HISAX_AVM_A1),y)
 	 O_OBJS += avm_a1.o
+	 ISAC_OBJ := isac.o
+	 HSCX_OBJ := hscx.o
 endif
 
-ifeq ($(CONFIG_HISAX_ELSA_PCC),y)
-	 O_OBJS += elsa.o
-endif
-
-ifeq ($(CONFIG_HISAX_ELSA_PCMCIA),y)
+ifeq ($(CONFIG_HISAX_ELSA),y)
 	 O_OBJS += elsa.o
+	 ISAC_OBJ := isac.o
+	 HSCX_OBJ := hscx.o
+	 ARCOFI_OBJ := arcofi.o
 endif
 
 ifeq ($(CONFIG_HISAX_IX1MICROR2),y)
 	 O_OBJS += ix1_micro.o
+	 ISAC_OBJ := isac.o
+	 HSCX_OBJ := hscx.o
+endif
+
+ifeq ($(CONFIG_HISAX_DIEHLDIVA),y)
+	 O_OBJS += diva.o
+	 ISAC_OBJ := isac.o
+	 HSCX_OBJ := hscx.o
+endif
+
+ifeq ($(CONFIG_HISAX_ASUSCOM),y)
+	 O_OBJS += asuscom.o
+	 ISAC_OBJ := isac.o
+	 HSCX_OBJ := hscx.o
+endif
+
+ifeq ($(CONFIG_HISAX_TELEINT),y)
+	 O_OBJS += teleint.o
+	 ISAC_OBJ := isac.o
+	 HFC_OBJ := hfc_2bs0.o
+endif
+
+ifeq ($(CONFIG_HISAX_SEDLBAUER),y)
+	 O_OBJS += sedlbauer.o
+	 ISAC_OBJ := isac.o
+	 HSCX_OBJ := hscx.o
 endif
 
+ifeq ($(CONFIG_HISAX_SPORTSTER),y)
+	 O_OBJS += sportster.o
+	 ISAC_OBJ := isac.o
+	 HSCX_OBJ := hscx.o
+endif
+
+ifeq ($(CONFIG_HISAX_MIC),y)
+	 O_OBJS += mic.o
+	 ISAC_OBJ := isac.o
+	 HSCX_OBJ := hscx.o
+endif
+
+ifeq ($(CONFIG_HISAX_NETJET),y)
+	 O_OBJS += netjet.o
+	 ISAC_OBJ := isac.o
+endif
+
+ifeq ($(CONFIG_HISAX_TELES3C),y)
+	 O_OBJS += teles3c.o
+	 HFC_2BDS0 := hfc_2bds0.o
+endif
+ifeq ($(CONFIG_HISAX_AMD7930),y)
+	 O_OBJS += amd7930.o
+	 RAWHDLC_OBJ := rawhdlc.o
+endif
+
+ifeq ($(CONFIG_HISAX_NICCY),y)
+	 O_OBJS += niccy.o
+	 ISAC_OBJ := isac.o
+	 HSCX_OBJ := hscx.o
+endif
+
+O_OBJS += $(ISAC_OBJ) $(HSCX_OBJ) $(HFC_OBJ) $(ARCOFI_OBJ) $(HFC_2BDS0) $(RAWHDLC_OBJ)
+OX_OBJS += config.o
+
 O_TARGET :=
+
 ifeq ($(CONFIG_ISDN_DRV_HISAX),y)
   O_TARGET += hisax.o
 else

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