1996-10-13 20:04:59 +00:00
|
|
|
L_OBJS :=
|
|
|
|
M_OBJS :=
|
1998-01-31 21:41:48 +00:00
|
|
|
LX_OBJS :=
|
|
|
|
MX_OBJS :=
|
|
|
|
O_OBJS :=
|
|
|
|
OX_OBJS :=
|
|
|
|
L_TARGET :=
|
|
|
|
O_TARGET :=
|
|
|
|
|
1997-06-26 11:04:29 +00:00
|
|
|
O_OBJS := isdnl1.o tei.o isdnl2.o isdnl3.o \
|
1998-11-15 23:51:17 +00:00
|
|
|
lmgr.o q931.o callc.o fsm.o cert.o
|
1996-10-13 20:04:59 +00:00
|
|
|
|
|
|
|
# EXTRA_CFLAGS += -S
|
|
|
|
|
|
|
|
ifeq ($(CONFIG_HISAX_EURO),y)
|
|
|
|
O_OBJS += l3dss1.o
|
|
|
|
endif
|
|
|
|
|
1997-03-25 23:11:25 +00:00
|
|
|
ifeq ($(CONFIG_HISAX_NI1),y)
|
|
|
|
O_OBJS += l3ni1.o
|
|
|
|
endif
|
|
|
|
|
1996-10-13 20:51:01 +00:00
|
|
|
ifeq ($(CONFIG_HISAX_1TR6),y)
|
1996-10-13 20:04:59 +00:00
|
|
|
O_OBJS += l3_1tr6.o
|
|
|
|
endif
|
|
|
|
|
1997-06-26 11:04:29 +00:00
|
|
|
ISAC_OBJ :=
|
|
|
|
HSCX_OBJ :=
|
1998-08-13 23:36:54 +00:00
|
|
|
ISAR_OBJ :=
|
1997-08-15 17:43:52 +00:00
|
|
|
HFC_OBJ :=
|
1998-02-02 13:33:02 +00:00
|
|
|
HFC_2BDS0 :=
|
1999-07-01 08:12:15 +00:00
|
|
|
JADE_OBJ :=
|
1999-09-04 06:35:09 +00:00
|
|
|
W6692_OBJ :=
|
|
|
|
|
1996-10-13 20:04:59 +00:00
|
|
|
ifeq ($(CONFIG_HISAX_16_0),y)
|
|
|
|
O_OBJS += teles0.o
|
1997-06-26 11:04:29 +00:00
|
|
|
ISAC_OBJ := isac.o
|
|
|
|
HSCX_OBJ := hscx.o
|
1996-10-13 20:04:59 +00:00
|
|
|
endif
|
|
|
|
|
|
|
|
ifeq ($(CONFIG_HISAX_16_3),y)
|
|
|
|
O_OBJS += teles3.o
|
1997-06-26 11:04:29 +00:00
|
|
|
ISAC_OBJ := isac.o
|
|
|
|
HSCX_OBJ := hscx.o
|
1996-10-13 20:04:59 +00:00
|
|
|
endif
|
|
|
|
|
1998-04-15 16:39:16 +00:00
|
|
|
ifeq ($(CONFIG_HISAX_TELESPCI),y)
|
|
|
|
O_OBJS += telespci.o
|
|
|
|
ISAC_OBJ := isac.o
|
|
|
|
HSCX_OBJ := hscx.o
|
|
|
|
endif
|
|
|
|
|
|
|
|
ifeq ($(CONFIG_HISAX_S0BOX),y)
|
|
|
|
O_OBJS += s0box.o
|
|
|
|
ISAC_OBJ := isac.o
|
|
|
|
HSCX_OBJ := hscx.o
|
|
|
|
endif
|
|
|
|
|
1996-10-13 20:04:59 +00:00
|
|
|
ifeq ($(CONFIG_HISAX_AVM_A1),y)
|
|
|
|
O_OBJS += avm_a1.o
|
1997-06-26 11:04:29 +00:00
|
|
|
ISAC_OBJ := isac.o
|
|
|
|
HSCX_OBJ := hscx.o
|
1996-10-13 20:04:59 +00:00
|
|
|
endif
|
|
|
|
|
1998-07-15 15:01:31 +00:00
|
|
|
ifeq ($(CONFIG_HISAX_AVM_A1_PCMCIA),y)
|
|
|
|
O_OBJS += avm_a1p.o
|
|
|
|
ISAC_OBJ := isac.o
|
|
|
|
HSCX_OBJ := hscx.o
|
|
|
|
endif
|
|
|
|
|
1998-08-13 23:36:54 +00:00
|
|
|
ifeq ($(CONFIG_HISAX_FRITZPCI),y)
|
|
|
|
O_OBJS += avm_pci.o
|
|
|
|
ISAC_OBJ := isac.o
|
|
|
|
endif
|
|
|
|
|
1998-07-15 15:01:31 +00:00
|
|
|
|
1997-06-26 11:04:29 +00:00
|
|
|
ifeq ($(CONFIG_HISAX_ELSA),y)
|
1997-03-23 21:44:17 +00:00
|
|
|
O_OBJS += elsa.o
|
1997-06-26 11:04:29 +00:00
|
|
|
ISAC_OBJ := isac.o
|
|
|
|
HSCX_OBJ := hscx.o
|
1997-03-23 21:44:17 +00:00
|
|
|
endif
|
|
|
|
|
1997-01-27 15:34:37 +00:00
|
|
|
ifeq ($(CONFIG_HISAX_IX1MICROR2),y)
|
|
|
|
O_OBJS += ix1_micro.o
|
1997-06-26 11:04:29 +00:00
|
|
|
ISAC_OBJ := isac.o
|
|
|
|
HSCX_OBJ := hscx.o
|
|
|
|
endif
|
|
|
|
|
1997-07-27 21:49:40 +00:00
|
|
|
ifeq ($(CONFIG_HISAX_DIEHLDIVA),y)
|
|
|
|
O_OBJS += diva.o
|
|
|
|
ISAC_OBJ := isac.o
|
|
|
|
HSCX_OBJ := hscx.o
|
|
|
|
endif
|
|
|
|
|
1998-02-02 13:33:02 +00:00
|
|
|
ifeq ($(CONFIG_HISAX_ASUSCOM),y)
|
|
|
|
O_OBJS += asuscom.o
|
1997-06-26 11:04:29 +00:00
|
|
|
ISAC_OBJ := isac.o
|
|
|
|
HSCX_OBJ := hscx.o
|
|
|
|
endif
|
|
|
|
|
1997-07-27 21:49:40 +00:00
|
|
|
ifeq ($(CONFIG_HISAX_TELEINT),y)
|
|
|
|
O_OBJS += teleint.o
|
1997-06-26 11:04:29 +00:00
|
|
|
ISAC_OBJ := isac.o
|
1997-08-15 17:43:52 +00:00
|
|
|
HFC_OBJ := hfc_2bs0.o
|
1997-01-27 15:34:37 +00:00
|
|
|
endif
|
|
|
|
|
1997-09-11 17:25:51 +00:00
|
|
|
ifeq ($(CONFIG_HISAX_SEDLBAUER),y)
|
|
|
|
O_OBJS += sedlbauer.o
|
|
|
|
ISAC_OBJ := isac.o
|
|
|
|
HSCX_OBJ := hscx.o
|
1998-08-13 23:36:54 +00:00
|
|
|
ISAR_OBJ := isar.o
|
1997-09-11 17:25:51 +00:00
|
|
|
endif
|
|
|
|
|
1997-10-29 19:07:54 +00:00
|
|
|
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
|
|
|
|
|
1998-02-02 13:33:02 +00:00
|
|
|
ifeq ($(CONFIG_HISAX_NETJET),y)
|
|
|
|
O_OBJS += netjet.o
|
|
|
|
ISAC_OBJ := isac.o
|
|
|
|
endif
|
|
|
|
|
1999-07-01 08:12:15 +00:00
|
|
|
ifeq ($(CONFIG_HISAX_HFCS),y)
|
|
|
|
O_OBJS += hfcscard.o
|
1998-02-02 13:33:02 +00:00
|
|
|
HFC_2BDS0 := hfc_2bds0.o
|
|
|
|
endif
|
1999-07-01 08:12:15 +00:00
|
|
|
|
|
|
|
ifeq ($(CONFIG_HISAX_HFC_PCI),y)
|
|
|
|
HFC_2BDS0 += hfc_pci.o
|
1998-02-03 23:32:15 +00:00
|
|
|
endif
|
1998-02-02 13:33:02 +00:00
|
|
|
|
1999-11-18 00:07:53 +00:00
|
|
|
ifeq ($(CONFIG_HISAX_HFC_SX),y)
|
|
|
|
HFC_2BDS0 += hfc_sx.o
|
|
|
|
endif
|
|
|
|
|
1998-02-11 17:28:09 +00:00
|
|
|
ifeq ($(CONFIG_HISAX_NICCY),y)
|
|
|
|
O_OBJS += niccy.o
|
|
|
|
ISAC_OBJ := isac.o
|
|
|
|
HSCX_OBJ := hscx.o
|
|
|
|
endif
|
|
|
|
|
1999-07-01 08:12:15 +00:00
|
|
|
ifeq ($(CONFIG_HISAX_ISURF),y)
|
|
|
|
O_OBJS += isurf.o
|
|
|
|
ISAC_OBJ := isac.o
|
|
|
|
ISAR_OBJ := isar.o
|
|
|
|
endif
|
|
|
|
|
|
|
|
ifeq ($(CONFIG_HISAX_HSTSAPHIR),y)
|
|
|
|
O_OBJS += saphir.o
|
|
|
|
ISAC_OBJ := isac.o
|
|
|
|
HSCX_OBJ := hscx.o
|
|
|
|
endif
|
|
|
|
|
|
|
|
ifeq ($(CONFIG_HISAX_BKM_A4T),y)
|
|
|
|
O_OBJS += bkm_a4t.o
|
|
|
|
ISAC_OBJ := isac.o
|
|
|
|
JADE_OBJ := jade.o
|
|
|
|
endif
|
|
|
|
ifeq ($(CONFIG_HISAX_SCT_QUADRO),y)
|
|
|
|
O_OBJS += bkm_a8.o
|
|
|
|
ISAC_OBJ := isac.o
|
|
|
|
HSCX_OBJ := hscx.o
|
|
|
|
endif
|
|
|
|
|
1999-07-08 21:28:42 +00:00
|
|
|
ifeq ($(CONFIG_HISAX_GAZEL),y)
|
|
|
|
O_OBJS += gazel.o
|
|
|
|
ISAC_OBJ := isac.o
|
|
|
|
HSCX_OBJ := hscx.o
|
|
|
|
endif
|
|
|
|
|
1999-09-04 06:35:09 +00:00
|
|
|
ifeq ($(CONFIG_HISAX_W6692),y)
|
|
|
|
W6692_OBJ := w6692.o
|
|
|
|
endif
|
|
|
|
|
1999-07-01 08:12:15 +00:00
|
|
|
# ifeq ($(CONFIG_HISAX_TESTEMU),y)
|
|
|
|
# O_OBJS += testemu.o
|
|
|
|
# endif
|
|
|
|
|
|
|
|
ifeq ($(ISAC_OBJ), isac.o)
|
|
|
|
ISAC_OBJ += arcofi.o
|
|
|
|
endif
|
|
|
|
|
|
|
|
O_OBJS += $(ISAC_OBJ) $(HSCX_OBJ) $(ISAR_OBJ) $(JADE_OBJ)
|
1999-09-04 06:35:09 +00:00
|
|
|
O_OBJS += $(HFC_OBJ) $(HFC_2BDS0) $(W6692_OBJ)
|
1997-11-06 17:15:09 +00:00
|
|
|
OX_OBJS += config.o
|
1997-06-26 11:04:29 +00:00
|
|
|
|
1996-10-13 20:04:59 +00:00
|
|
|
O_TARGET :=
|
1997-06-26 11:04:29 +00:00
|
|
|
|
1996-10-13 20:04:59 +00:00
|
|
|
ifeq ($(CONFIG_ISDN_DRV_HISAX),y)
|
|
|
|
O_TARGET += hisax.o
|
|
|
|
else
|
|
|
|
ifeq ($(CONFIG_ISDN_DRV_HISAX),m)
|
|
|
|
O_TARGET += hisax.o
|
|
|
|
M_OBJS += hisax.o
|
|
|
|
endif
|
|
|
|
endif
|
|
|
|
|
1998-11-15 23:51:17 +00:00
|
|
|
|
1996-10-13 20:04:59 +00:00
|
|
|
include $(TOPDIR)/Rules.make
|
1998-11-15 23:51:17 +00:00
|
|
|
|
|
|
|
MD5FILES += isac.c isdnl1.c isdnl2.c isdnl3.c \
|
1999-08-07 17:35:10 +00:00
|
|
|
tei.c callc.c cert.c l3dss1.c l3_1tr6.c \
|
|
|
|
elsa.c diva.c
|
1998-11-15 23:51:17 +00:00
|
|
|
|
|
|
|
CERT = $(shell md5sum -c md5sums.asc >> /dev/null;echo $$?)
|
|
|
|
|
|
|
|
cert.o: $(MD5FILES) md5sums.asc
|
|
|
|
$(CC) $(CFLAGS) $(EXTRA_CFLAGS) -D CERTIFICATION=$(CERT) -c -o cert.o cert.c
|
|
|
|
|