* better
[mascara-docs.git] / i386 / linux-2.3.21 / drivers / isdn / hisax / Makefile
blob051df618271607af5843551450818571a2982c69
1 L_OBJS :=
2 M_OBJS :=
3 LX_OBJS :=
4 MX_OBJS :=
5 O_OBJS :=
6 OX_OBJS :=
7 L_TARGET :=
8 O_TARGET :=
10 O_OBJS := isdnl1.o tei.o isdnl2.o isdnl3.o \
11 lmgr.o q931.o callc.o fsm.o cert.o
13 # EXTRA_CFLAGS += -S
15 ifeq ($(CONFIG_HISAX_EURO),y)
16 O_OBJS += l3dss1.o
17 endif
19 ifeq ($(CONFIG_HISAX_NI1),y)
20 O_OBJS += l3ni1.o
21 endif
23 ifeq ($(CONFIG_HISAX_1TR6),y)
24 O_OBJS += l3_1tr6.o
25 endif
27 ISAC_OBJ :=
28 HSCX_OBJ :=
29 ISAR_OBJ :=
30 HFC_OBJ :=
31 HFC_2BDS0 :=
32 JADE_OBJ :=
33 ifeq ($(CONFIG_HISAX_16_0),y)
34 O_OBJS += teles0.o
35 ISAC_OBJ := isac.o
36 HSCX_OBJ := hscx.o
37 endif
39 ifeq ($(CONFIG_HISAX_16_3),y)
40 O_OBJS += teles3.o
41 ISAC_OBJ := isac.o
42 HSCX_OBJ := hscx.o
43 endif
45 ifeq ($(CONFIG_HISAX_TELESPCI),y)
46 O_OBJS += telespci.o
47 ISAC_OBJ := isac.o
48 HSCX_OBJ := hscx.o
49 endif
51 ifeq ($(CONFIG_HISAX_S0BOX),y)
52 O_OBJS += s0box.o
53 ISAC_OBJ := isac.o
54 HSCX_OBJ := hscx.o
55 endif
57 ifeq ($(CONFIG_HISAX_AVM_A1),y)
58 O_OBJS += avm_a1.o
59 ISAC_OBJ := isac.o
60 HSCX_OBJ := hscx.o
61 endif
63 ifeq ($(CONFIG_HISAX_AVM_A1_PCMCIA),y)
64 O_OBJS += avm_a1p.o
65 ISAC_OBJ := isac.o
66 HSCX_OBJ := hscx.o
67 endif
69 ifeq ($(CONFIG_HISAX_FRITZPCI),y)
70 O_OBJS += avm_pci.o
71 ISAC_OBJ := isac.o
72 endif
75 ifeq ($(CONFIG_HISAX_ELSA),y)
76 O_OBJS += elsa.o
77 ISAC_OBJ := isac.o
78 HSCX_OBJ := hscx.o
79 endif
81 ifeq ($(CONFIG_HISAX_IX1MICROR2),y)
82 O_OBJS += ix1_micro.o
83 ISAC_OBJ := isac.o
84 HSCX_OBJ := hscx.o
85 endif
87 ifeq ($(CONFIG_HISAX_DIEHLDIVA),y)
88 O_OBJS += diva.o
89 ISAC_OBJ := isac.o
90 HSCX_OBJ := hscx.o
91 endif
93 ifeq ($(CONFIG_HISAX_ASUSCOM),y)
94 O_OBJS += asuscom.o
95 ISAC_OBJ := isac.o
96 HSCX_OBJ := hscx.o
97 endif
99 ifeq ($(CONFIG_HISAX_TELEINT),y)
100 O_OBJS += teleint.o
101 ISAC_OBJ := isac.o
102 HFC_OBJ := hfc_2bs0.o
103 endif
105 ifeq ($(CONFIG_HISAX_SEDLBAUER),y)
106 O_OBJS += sedlbauer.o
107 ISAC_OBJ := isac.o
108 HSCX_OBJ := hscx.o
109 ISAR_OBJ := isar.o
110 endif
112 ifeq ($(CONFIG_HISAX_SPORTSTER),y)
113 O_OBJS += sportster.o
114 ISAC_OBJ := isac.o
115 HSCX_OBJ := hscx.o
116 endif
118 ifeq ($(CONFIG_HISAX_MIC),y)
119 O_OBJS += mic.o
120 ISAC_OBJ := isac.o
121 HSCX_OBJ := hscx.o
122 endif
124 ifeq ($(CONFIG_HISAX_NETJET),y)
125 O_OBJS += netjet.o
126 ISAC_OBJ := isac.o
127 endif
129 ifeq ($(CONFIG_HISAX_HFCS),y)
130 O_OBJS += hfcscard.o
131 HFC_2BDS0 := hfc_2bds0.o
132 endif
134 ifeq ($(CONFIG_HISAX_HFC_PCI),y)
135 HFC_2BDS0 += hfc_pci.o
136 endif
138 ifeq ($(CONFIG_HISAX_NICCY),y)
139 O_OBJS += niccy.o
140 ISAC_OBJ := isac.o
141 HSCX_OBJ := hscx.o
142 endif
144 ifeq ($(CONFIG_HISAX_ISURF),y)
145 O_OBJS += isurf.o
146 ISAC_OBJ := isac.o
147 ISAR_OBJ := isar.o
148 endif
150 ifeq ($(CONFIG_HISAX_HSTSAPHIR),y)
151 O_OBJS += saphir.o
152 ISAC_OBJ := isac.o
153 HSCX_OBJ := hscx.o
154 endif
156 ifeq ($(CONFIG_HISAX_BKM_A4T),y)
157 O_OBJS += bkm_a4t.o
158 ISAC_OBJ := isac.o
159 JADE_OBJ := jade.o
160 endif
161 ifeq ($(CONFIG_HISAX_SCT_QUADRO),y)
162 O_OBJS += bkm_a8.o
163 ISAC_OBJ := isac.o
164 HSCX_OBJ := hscx.o
165 endif
167 ifeq ($(CONFIG_HISAX_GAZEL),y)
168 O_OBJS += gazel.o
169 ISAC_OBJ := isac.o
170 HSCX_OBJ := hscx.o
171 endif
173 # ifeq ($(CONFIG_HISAX_TESTEMU),y)
174 # O_OBJS += testemu.o
175 # endif
177 ifeq ($(ISAC_OBJ), isac.o)
178 ISAC_OBJ += arcofi.o
179 endif
181 O_OBJS += $(ISAC_OBJ) $(HSCX_OBJ) $(ISAR_OBJ) $(JADE_OBJ)
182 O_OBJS += $(HFC_OBJ) $(HFC_2BDS0)
183 OX_OBJS += config.o
185 O_TARGET :=
187 ifeq ($(CONFIG_ISDN_DRV_HISAX),y)
188 O_TARGET += hisax.o
189 else
190 ifeq ($(CONFIG_ISDN_DRV_HISAX),m)
191 O_TARGET += hisax.o
192 M_OBJS += hisax.o
193 endif
194 endif
197 include $(TOPDIR)/Rules.make
199 MD5FILES += isac.c isdnl1.c isdnl2.c isdnl3.c \
200 tei.c callc.c cert.c l3dss1.c l3_1tr6.c \
201 elsa.c diva.c
203 CERT = $(shell md5sum -c md5sums.asc >> /dev/null;echo $$?)
205 cert.o: $(MD5FILES) md5sums.asc
206 $(CC) $(CFLAGS) $(EXTRA_CFLAGS) -D CERTIFICATION=$(CERT) -c -o cert.o cert.c