FreeCalypso > hg > tcs211-l1-reconst
comparison g23m/condat/ms/src/aci/ac.mak @ 0:509db1a7b7b8
initial import: leo2moko-r1
author | Space Falcon <falcon@ivan.Harhan.ORG> |
---|---|
date | Mon, 01 Jun 2015 03:24:05 +0000 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:509db1a7b7b8 |
---|---|
1 #----------------------------------------------------------------------------- | |
2 # Project : | |
3 # Modul : j://g23m-aci/aci/ac.mak | |
4 #----------------------------------------------------------------------------- | |
5 # Copyright 2002 Texas Instruments Berlin, AG | |
6 # All rights reserved. | |
7 # | |
8 # This file is confidential and a trade secret of Texas | |
9 # Instruments Berlin, AG | |
10 # The receipt of or possession of this file does not convey | |
11 # any rights to reproduce or disclose its contents or to | |
12 # manufacture, use, or sell anything it may describe, in | |
13 # whole, or in part, without the specific written consent of | |
14 # Texas Instruments Berlin, AG. | |
15 #----------------------------------------------------------------------------- | |
16 #| Purpose : | |
17 #----------------------------------------------------------------------------- | |
18 # | |
19 # Setting Directory for Layer4 Objects | |
20 # | |
21 OBJ := $(L23_OBJ_DIR)/aci | |
22 | |
23 MY_OPTIONS = -D | |
24 #containing compileroptions specific for this library | |
25 SPECOPT = $(MMIOPT) $(FDOPT) $(BTOPT) $(CPHSOPT) | |
26 | |
27 ifeq ($(PMODE),2) | |
28 SPECOPT += -DGPRS -DNEW_ENTITY | |
29 endif | |
30 | |
31 ifeq ($(MMI),0) | |
32 INCLAYER4 = -I$(SRCACI) -I$(SRCKSD) | |
33 endif | |
34 ifeq ($(MMI),1) | |
35 INCLAYER4 = -I$(SRCSMI) -I$(SRCACI) -I$(SRCKSD) -I$(SRCMMI) | |
36 endif | |
37 ifeq ($(MMI),2) | |
38 INCLAYER4 = -I$(SRCMFW) -I$(SRCACI) -I$(SRCSMI) -I$(SRCKSD) | |
39 endif | |
40 ifeq ($(MMI),3) | |
41 INCLAYER4 = -I$(SRCACIA) -I$(SRCACI) -I$(SRCKSD) | |
42 endif | |
43 | |
44 ifneq ($(BT),0) | |
45 INCLAYER4 += $(INCBTI) | |
46 endif | |
47 | |
48 #ALR settings | |
49 ifeq ($(PMODE),0) | |
50 COPT1 += -uALR | |
51 else | |
52 COPT1 += -dALR | |
53 endif | |
54 | |
55 #TTY settings | |
56 ifeq ($(FF_TTY),1) | |
57 COPT1 += -dFF_TTY | |
58 else | |
59 COPT1 += -uFF_TTY | |
60 endif | |
61 | |
62 # | |
63 # Begin ACI: files that always have to be linked... | |
64 # | |
65 ATIOBJ += $(OBJ)/ati_bas.$(OBJ_TAIL) \ | |
66 $(OBJ)/ati_cc.$(OBJ_TAIL) \ | |
67 $(OBJ)/ati_cmd.$(OBJ_TAIL) \ | |
68 $(OBJ)/ati_csc.$(OBJ_TAIL) \ | |
69 $(OBJ)/ati_err.$(OBJ_TAIL) \ | |
70 $(OBJ)/ati_io.$(OBJ_TAIL) \ | |
71 $(OBJ)/ati_mm.$(OBJ_TAIL) \ | |
72 $(OBJ)/ati_phb.$(OBJ_TAIL) \ | |
73 $(OBJ)/ati_prs.$(OBJ_TAIL) \ | |
74 $(OBJ)/ati_ret.$(OBJ_TAIL) \ | |
75 $(OBJ)/ati_sim.$(OBJ_TAIL) \ | |
76 $(OBJ)/ati_sms.$(OBJ_TAIL) \ | |
77 $(OBJ)/ati_ss.$(OBJ_TAIL) \ | |
78 $(OBJ)/ati_mmi.$(OBJ_TAIL) \ | |
79 $(OBJ)/line_edit.$(OBJ_TAIL) \ | |
80 $(OBJ)/line_split.$(OBJ_TAIL) \ | |
81 $(OBJ)/ati_dti.$(OBJ_TAIL) | |
82 | |
83 ATISRCOBJ += $(OBJ)/ati_src_uart.$(OBJ_TAIL) \ | |
84 $(OBJ)/ati_src_uart_io.$(OBJ_TAIL) | |
85 | |
86 ATIEXTOBJ += $(OBJ)/ati_ext_mech.$(OBJ_TAIL) | |
87 | |
88 ACIOBJ += $(OBJ)/aci_aci.$(OBJ_TAIL) \ | |
89 $(OBJ)/aci_mem.$(OBJ_TAIL) \ | |
90 $(OBJ)/aci_csf.$(OBJ_TAIL) \ | |
91 $(OBJ)/aci_pei.$(OBJ_TAIL) \ | |
92 $(OBJ)/aci_tim.$(OBJ_TAIL) \ | |
93 $(OBJ)/aci_util.$(OBJ_TAIL) \ | |
94 $(OBJ)/aci_lst.$(OBJ_TAIL) \ | |
95 $(OBJ)/dti_cntrl_mng.$(OBJ_TAIL) \ | |
96 $(OBJ)/phb.$(OBJ_TAIL) \ | |
97 $(OBJ)/aoc.$(OBJ_TAIL) \ | |
98 $(OBJ)/aci_mfw.$(OBJ_TAIL) \ | |
99 $(OBJ)/aci_slock.$(OBJ_TAIL) | |
100 | |
101 CMHOBJ2 = $(OBJ)/cmh_ccf.$(OBJ_TAIL) \ | |
102 $(OBJ)/cmh_ccq.$(OBJ_TAIL) \ | |
103 $(OBJ)/cmh_ccr.$(OBJ_TAIL) \ | |
104 $(OBJ)/cmh_ccs.$(OBJ_TAIL) \ | |
105 $(OBJ)/cmh_dmy.$(OBJ_TAIL) \ | |
106 $(OBJ)/cmh_f.$(OBJ_TAIL) \ | |
107 $(OBJ)/cmh_mmir.$(OBJ_TAIL) \ | |
108 $(OBJ)/cmh_mmis.$(OBJ_TAIL) \ | |
109 $(OBJ)/cmh_mmit.$(OBJ_TAIL) \ | |
110 $(OBJ)/cmh_mmiq.$(OBJ_TAIL) \ | |
111 $(OBJ)/cmh_mmf.$(OBJ_TAIL) \ | |
112 $(OBJ)/cmh_mmq.$(OBJ_TAIL) \ | |
113 $(OBJ)/cmh_mmr.$(OBJ_TAIL) \ | |
114 $(OBJ)/cmh_mms.$(OBJ_TAIL) \ | |
115 $(OBJ)/cmh_mmt.$(OBJ_TAIL) \ | |
116 $(OBJ)/cmh_phbf.$(OBJ_TAIL) \ | |
117 $(OBJ)/cmh_phbq.$(OBJ_TAIL) \ | |
118 $(OBJ)/cmh_phbs.$(OBJ_TAIL) \ | |
119 $(OBJ)/cmh_phbt.$(OBJ_TAIL) \ | |
120 $(OBJ)/cmh_phbr.$(OBJ_TAIL) \ | |
121 $(OBJ)/cmh_simf.$(OBJ_TAIL) \ | |
122 $(OBJ)/cmh_simq.$(OBJ_TAIL) \ | |
123 $(OBJ)/cmh_simr.$(OBJ_TAIL) \ | |
124 $(OBJ)/cmh_sims.$(OBJ_TAIL) \ | |
125 $(OBJ)/cmh_smsf.$(OBJ_TAIL) \ | |
126 $(OBJ)/cmh_smsq.$(OBJ_TAIL) \ | |
127 $(OBJ)/cmh_smsr.$(OBJ_TAIL) \ | |
128 $(OBJ)/cmh_smss.$(OBJ_TAIL) \ | |
129 $(OBJ)/cmh_ssf.$(OBJ_TAIL) \ | |
130 $(OBJ)/cmh_ssq.$(OBJ_TAIL) \ | |
131 $(OBJ)/cmh_ssr.$(OBJ_TAIL) \ | |
132 $(OBJ)/cmh_sss.$(OBJ_TAIL) \ | |
133 $(OBJ)/cmh_tsts.$(OBJ_TAIL) \ | |
134 $(OBJ)/cmh_uartf.$(OBJ_TAIL) \ | |
135 $(OBJ)/cmh_uartr.$(OBJ_TAIL) \ | |
136 $(OBJ)/cmh_uarts.$(OBJ_TAIL) \ | |
137 $(OBJ)/cmh_dti.$(OBJ_TAIL) | |
138 | |
139 PSAOBJ2 = $(OBJ)/psa_ccf.$(OBJ_TAIL) \ | |
140 $(OBJ)/psa_ccp.$(OBJ_TAIL) \ | |
141 $(OBJ)/psa_ccs.$(OBJ_TAIL) \ | |
142 $(OBJ)/psa_f.$(OBJ_TAIL) \ | |
143 $(OBJ)/psa_mmif.$(OBJ_TAIL) \ | |
144 $(OBJ)/psa_mmip.$(OBJ_TAIL) \ | |
145 $(OBJ)/psa_mmis.$(OBJ_TAIL) \ | |
146 $(OBJ)/psa_mmf.$(OBJ_TAIL) \ | |
147 $(OBJ)/psa_mmp.$(OBJ_TAIL) \ | |
148 $(OBJ)/psa_mms.$(OBJ_TAIL) \ | |
149 $(OBJ)/psa_simf.$(OBJ_TAIL) \ | |
150 $(OBJ)/psa_simp.$(OBJ_TAIL) \ | |
151 $(OBJ)/psa_sims.$(OBJ_TAIL) \ | |
152 $(OBJ)/psa_smsf.$(OBJ_TAIL) \ | |
153 $(OBJ)/psa_smsp.$(OBJ_TAIL) \ | |
154 $(OBJ)/psa_smss.$(OBJ_TAIL) \ | |
155 $(OBJ)/psa_ssf.$(OBJ_TAIL) \ | |
156 $(OBJ)/psa_ssp.$(OBJ_TAIL) \ | |
157 $(OBJ)/psa_sss.$(OBJ_TAIL) \ | |
158 $(OBJ)/psa_util.$(OBJ_TAIL) \ | |
159 $(OBJ)/psa_uartp.$(OBJ_TAIL) \ | |
160 $(OBJ)/psa_uarts.$(OBJ_TAIL) \ | |
161 $(OBJ)/psa_mtst.$(OBJ_TAIL) | |
162 | |
163 SAPOBJ += $(OBJ)/sap_dti.$(OBJ_TAIL) | |
164 | |
165 # don't include ACI's conc. SMS module for Riv | |
166 ifneq ($(MMI),3) | |
167 CONCOBJ = $(OBJ)/conc_sms.$(OBJ_TAIL) | |
168 else | |
169 CONCOBJ = | |
170 endif | |
171 | |
172 # Begin KSD | |
173 KSDOBJ := $(OBJ)/ksd.$(OBJ_TAIL) \ | |
174 $(OBJ)/ksd_utl.$(OBJ_TAIL) | |
175 | |
176 # | |
177 # End of files always to be linked: following depends on compiler option | |
178 # | |
179 | |
180 # CPHS Module | |
181 ifeq ($(CPHS),1) | |
182 ACIOBJ += $(OBJ)/cphs.$(OBJ_TAIL) \ | |
183 $(OBJ)/cphs_aci.$(OBJ_TAIL) | |
184 | |
185 ATIOBJ += $(OBJ)/ati_cphs.$(OBJ_TAIL) | |
186 | |
187 CMHOBJ2 += $(OBJ)/cmh_cphs.$(OBJ_TAIL) | |
188 endif | |
189 | |
190 #ifeq ($(SRVC),0) There is no specific file to be included for Voice Only... | |
191 #endif | |
192 | |
193 # if FAX AND DATA version | |
194 ifeq ($(SRVC),1) | |
195 | |
196 ATIOBJ += $(OBJ)/ati_fd.$(OBJ_TAIL) | |
197 | |
198 CMHOBJ3 = $(OBJ)/cmh_l2rf.$(OBJ_TAIL)\ | |
199 $(OBJ)/cmh_l2rq.$(OBJ_TAIL) \ | |
200 $(OBJ)/cmh_l2rr.$(OBJ_TAIL) \ | |
201 $(OBJ)/cmh_l2rs.$(OBJ_TAIL) \ | |
202 $(OBJ)/cmh_raf.$(OBJ_TAIL) \ | |
203 $(OBJ)/cmh_rar.$(OBJ_TAIL) \ | |
204 $(OBJ)/cmh_ras.$(OBJ_TAIL) \ | |
205 $(OBJ)/cmh_t30f.$(OBJ_TAIL) \ | |
206 $(OBJ)/cmh_t30r.$(OBJ_TAIL) \ | |
207 $(OBJ)/cmh_t30s.$(OBJ_TAIL) \ | |
208 $(OBJ)/cmh_t30q.$(OBJ_TAIL) | |
209 | |
210 PSAOBJ3 = $(OBJ)/psa_l2rf.$(OBJ_TAIL) \ | |
211 $(OBJ)/psa_l2rp.$(OBJ_TAIL) \ | |
212 $(OBJ)/psa_l2rs.$(OBJ_TAIL) \ | |
213 $(OBJ)/psa_raf.$(OBJ_TAIL) \ | |
214 $(OBJ)/psa_rap.$(OBJ_TAIL) \ | |
215 $(OBJ)/psa_ras.$(OBJ_TAIL) \ | |
216 $(OBJ)/psa_t30f.$(OBJ_TAIL) \ | |
217 $(OBJ)/psa_t30p.$(OBJ_TAIL) \ | |
218 $(OBJ)/psa_t30s.$(OBJ_TAIL) \ | |
219 $(OBJ)/psa_tras.$(OBJ_TAIL) \ | |
220 $(OBJ)/psa_trap.$(OBJ_TAIL) \ | |
221 | |
222 endif | |
223 #endif FAX AND DATA | |
224 | |
225 #SMS PDU mode settings | |
226 ifdef SMS_PDU_SUPPORT | |
227 COPT += -dSMS_PDU_SUPPORT | |
228 ATIOBJ += $(OBJ)/ati_pdu.$(OBJ_TAIL) | |
229 endif | |
230 | |
231 # Sim apllication setting | |
232 ifeq ($(TK),1) | |
233 COPT1 += -dSIM_TOOLKIT | |
234 | |
235 ATIOBJ += $(OBJ)/ati_sat.$(OBJ_TAIL) | |
236 | |
237 ATISRCOBJ += $(OBJ)/ati_src_sat.$(OBJ_TAIL) | |
238 | |
239 CMHOBJ1 = $(OBJ)/cmh_sats.$(OBJ_TAIL)\ | |
240 $(OBJ)/cmh_satr.$(OBJ_TAIL)\ | |
241 $(OBJ)/cmh_satq.$(OBJ_TAIL) | |
242 | |
243 PSAOBJ1 = $(OBJ)/psa_satf.$(OBJ_TAIL)\ | |
244 $(OBJ)/psa_satp.$(OBJ_TAIL)\ | |
245 $(OBJ)/psa_sats.$(OBJ_TAIL)\ | |
246 $(OBJ)/cmh_satf.$(OBJ_TAIL) | |
247 else | |
248 COPT1 += -uSIM_TOOLKIT | |
249 endif | |
250 #endif Sim Application Toolkit | |
251 | |
252 # BLUETOOTH | |
253 ifneq ($(BT),0) | |
254 ATISRCOBJ += $(OBJ)/ati_src_bt.$(OBJ_TAIL) | |
255 endif | |
256 #endif BLUETOOTH | |
257 | |
258 # Engineering Mode | |
259 ifeq ($(EM),1) | |
260 ATIOBJ += $(OBJ)/ati_em.$(OBJ_TAIL) \ | |
261 $(OBJ)/ati_em_ret.$(OBJ_TAIL) | |
262 | |
263 ACIOBJ += $(OBJ)/aci_em.$(OBJ_TAIL) | |
264 | |
265 CMHOBJ2 += $(OBJ)/cmh_emq.$(OBJ_TAIL) \ | |
266 $(OBJ)/cmh_emr.$(OBJ_TAIL) \ | |
267 | |
268 SAPOBJ += $(OBJ)/sap_em.$(OBJ_TAIL) | |
269 endif | |
270 #endif Engineering Mode | |
271 | |
272 | |
273 ifeq ($(WAP),2) | |
274 ATISRCOBJ += $(OBJ)/ati_src_riv.$(OBJ_TAIL) | |
275 | |
276 CMHOBJ4 = $(OBJ)/cmh_pppr.$(OBJ_TAIL) \ | |
277 $(OBJ)/cmh_pps.$(OBJ_TAIL) | |
278 | |
279 PSAOBJ4 = $(OBJ)/psa_pppp.$(OBJ_TAIL) \ | |
280 $(OBJ)/psa_ppps.$(OBJ_TAIL) \ | |
281 $(OBJ)/psa_pppf_w.$(OBJ_TAIL) \ | |
282 $(OBJ)/psa_aaap.$(OBJ_TAIL) \ | |
283 $(OBJ)/psa_aaas.$(OBJ_TAIL) | |
284 | |
285 ifneq ($(PMODE),2) | |
286 SAPOBJ += $(OBJ)/sap_ppp.$(OBJ_TAIL) | |
287 endif | |
288 | |
289 endif | |
290 #endif WAP=2 | |
291 | |
292 ifeq ($(WAP),1) | |
293 | |
294 CMHOBJ4 = $(OBJ)/cmh_ipar.$(OBJ_TAIL) \ | |
295 $(OBJ)/cmh_ipas.$(OBJ_TAIL) \ | |
296 $(OBJ)/cmh_pppr.$(OBJ_TAIL) \ | |
297 $(OBJ)/cmh_pps.$(OBJ_TAIL) \ | |
298 $(OBJ)/cmh_udpar.$(OBJ_TAIL) \ | |
299 $(OBJ)/cmh_udpas.$(OBJ_TAIL) | |
300 | |
301 PSAOBJ4 = $(OBJ)/psa_ipap.$(OBJ_TAIL) \ | |
302 $(OBJ)/psa_ipas.$(OBJ_TAIL) \ | |
303 $(OBJ)/psa_pppp.$(OBJ_TAIL) \ | |
304 $(OBJ)/psa_ppps.$(OBJ_TAIL) \ | |
305 $(OBJ)/psa_pppf_w.$(OBJ_TAIL) \ | |
306 $(OBJ)/psa_udpap.$(OBJ_TAIL) \ | |
307 $(OBJ)/psa_udpas.$(OBJ_TAIL) \ | |
308 $(OBJ)/psa_tcpipf.$(OBJ_TAIL) \ | |
309 $(OBJ)/psa_wapp.$(OBJ_TAIL) \ | |
310 $(OBJ)/psa_waps.$(OBJ_TAIL) | |
311 | |
312 ifneq ($(PMODE),2) | |
313 SAPOBJ += $(OBJ)/sap_ppp.$(OBJ_TAIL) | |
314 endif | |
315 | |
316 endif | |
317 #endif WAP=1 | |
318 | |
319 | |
320 # Add necessary GPRS modules when GPRS is requested | |
321 ifeq ($(PMODE),2) | |
322 ATIOBJ += $(OBJ)/ati_gprs.$(OBJ_TAIL) | |
323 | |
324 ACIOBJ += $(OBJ)/gaci_srcc.$(OBJ_TAIL) \ | |
325 $(OBJ)/gaci.$(OBJ_TAIL) \ | |
326 $(OBJ)/gaci_ret.$(OBJ_TAIL) | |
327 | |
328 CMHOBJ5 = $(OBJ)/cmh_gmmf.$(OBJ_TAIL) \ | |
329 $(OBJ)/cmh_gmmq.$(OBJ_TAIL) \ | |
330 $(OBJ)/cmh_gmmr.$(OBJ_TAIL) \ | |
331 $(OBJ)/cmh_gmms.$(OBJ_TAIL) \ | |
332 $(OBJ)/cmh_gpppf.$(OBJ_TAIL) \ | |
333 $(OBJ)/cmh_gpppr.$(OBJ_TAIL) \ | |
334 $(OBJ)/cmh_gppps.$(OBJ_TAIL) \ | |
335 $(OBJ)/cmh_snds.$(OBJ_TAIL) \ | |
336 $(OBJ)/cmh_sndr.$(OBJ_TAIL) \ | |
337 $(OBJ)/cmh_smf.$(OBJ_TAIL) \ | |
338 $(OBJ)/cmh_smq.$(OBJ_TAIL) \ | |
339 $(OBJ)/cmh_smr.$(OBJ_TAIL) \ | |
340 $(OBJ)/cmh_sms.$(OBJ_TAIL) \ | |
341 $(OBJ)/cmh_smt.$(OBJ_TAIL) | |
342 | |
343 PSAOBJ5 = $(OBJ)/psa_gmmf.$(OBJ_TAIL) \ | |
344 $(OBJ)/psa_gmmp.$(OBJ_TAIL) \ | |
345 $(OBJ)/psa_gmms.$(OBJ_TAIL) \ | |
346 $(OBJ)/psa_gpppf.$(OBJ_TAIL) \ | |
347 $(OBJ)/psa_gpppp.$(OBJ_TAIL) \ | |
348 $(OBJ)/psa_gppps.$(OBJ_TAIL) \ | |
349 $(OBJ)/psa_sndp.$(OBJ_TAIL) \ | |
350 $(OBJ)/psa_snds.$(OBJ_TAIL) \ | |
351 $(OBJ)/psa_smf.$(OBJ_TAIL) \ | |
352 $(OBJ)/psa_smp.$(OBJ_TAIL) \ | |
353 $(OBJ)/psa_sms.$(OBJ_TAIL) | |
354 | |
355 SAPOBJ += $(OBJ)/sap_ppp.$(OBJ_TAIL) | |
356 | |
357 ifneq ($(PKTI),0) # PKTIO requires GPRS | |
358 CMHOBJ5 += $(OBJ)/cmh_pktio.$(OBJ_TAIL) | |
359 | |
360 PSAOBJ5 += $(OBJ)/psa_pktios.$(OBJ_TAIL) \ | |
361 $(OBJ)/psa_pktiop.$(OBJ_TAIL) | |
362 endif | |
363 | |
364 endif | |
365 | |
366 #EOTD objects | |
367 ifeq ($(EOTD),1) | |
368 | |
369 ATIOBJ += $(OBJ)/ati_lcs.$(OBJ_TAIL) \ | |
370 $(OBJ)/ati_src_lc.$(OBJ_TAIL) | |
371 | |
372 CMHOBJ2 += $(OBJ)/cmh_lcq.$(OBJ_TAIL) \ | |
373 $(OBJ)/cmh_lcs.$(OBJ_TAIL) | |
374 | |
375 PSAOBJ2 += $(OBJ)/psa_lc.$(OBJ_TAIL) | |
376 | |
377 endif | |
378 | |
379 # | |
380 # End ACI | |
381 # | |
382 | |
383 | |
384 # | |
385 # Creating aci.lib | |
386 # | |
387 | |
388 # (The contents of $(CMHOBJ) and $(PSAOBJ) have grown so big that the archiver | |
389 # command line was too long when compiling with WAP. Therefore I split | |
390 # $(CMHOBJ) and $(PSAOBJ) into five parts. This change is also reflected in the | |
391 # compilation rule below. The DUMMY_OBJ is needed in order not to call | |
392 # the archiver with an empty object file list if one of the CMHOBJn is | |
393 # empty, which can easily be the case. [ni 2001-08-23]) | |
394 | |
395 DUMMY_OBJ = $(OBJ)/aci_dummy.$(OBJ_TAIL) | |
396 | |
397 #LINK_ACIOBJ := $(patsubst $(OBJ)/%,./%,$(ACIOBJ)) | |
398 #LINK_ATIOBJ := $(patsubst $(OBJ)/%,./%,$(ATIOBJ)) | |
399 #LINK_ATISRCOBJ := $(patsubst $(OBJ)/%,./%,$(ATISRCOBJ)) | |
400 #LINK_CMHOBJ1 := $(patsubst $(OBJ)/%,./%,$(CMHOBJ1)) | |
401 #LINK_CMHOBJ2 := $(patsubst $(OBJ)/%,./%,$(CMHOBJ2)) | |
402 #LINK_CMHOBJ3 := $(patsubst $(OBJ)/%,./%,$(CMHOBJ3)) | |
403 #LINK_CMHOBJ4 := $(patsubst $(OBJ)/%,./%,$(CMHOBJ4)) | |
404 #LINK_CMHOBJ5 := $(patsubst $(OBJ)/%,./%,$(CMHOBJ5)) | |
405 #LINK_PSAOBJ := $(patsubst $(OBJ)/%,./%,$(PSAOBJ)) | |
406 #LINK_SAPOBJ := $(patsubst $(OBJ)/%,./%,$(SAPOBJ)) | |
407 #LINK_CONCOBJ := $(patsubst $(OBJ)/%,./%,$(CONCOBJ)) | |
408 #LINK_KSDOBJ := $(patsubst $(OBJ)/%,./%,$(KSDOBJ)) | |
409 | |
410 | |
411 $(TOP_DIR)/$(ACI_LIB) : $(OBJ) $(ATIOBJ) $(ACIOBJ) $(ATISRCOBJ) $(ATIEXTOBJ) \ | |
412 $(CMHOBJ1) $(CMHOBJ2) $(CMHOBJ3) $(CMHOBJ4) $(CMHOBJ5) $(DUMMY_OBJ) \ | |
413 $(PSAOBJ1) $(PSAOBJ2) $(PSAOBJ3) $(PSAOBJ4) $(PSAOBJ5) \ | |
414 $(SAPOBJ) $(CONCOBJ) $(KSDOBJ) | |
415 -$(PERL) $(CONDAT_DIR)/int/bin/make_ver.pl | |
416 $(COPY_CMD) ver.$(OBJ_TAIL) $(subst /,$(SLASH),$(OBJ)/ver.$(OBJ_TAIL)) | |
417 cd $(subst /,$(SLASH),$(OBJ)) $(DELIMITER) $(AR) r $(TOP_DIR)/$(ACI_LIB) $(patsubst $(OBJ)/%,%,$(ACIOBJ)) ver.$(OBJ_TAIL) | |
418 cd $(subst /,$(SLASH),$(OBJ)) $(DELIMITER) $(AR) r $(TOP_DIR)/$(ACI_LIB) $(patsubst $(OBJ)/%,%,$(ATIOBJ)) | |
419 cd $(subst /,$(SLASH),$(OBJ)) $(DELIMITER) $(AR) r $(TOP_DIR)/$(ACI_LIB) $(patsubst $(OBJ)/%,%,$(ATISRCOBJ)) | |
420 cd $(subst /,$(SLASH),$(OBJ)) $(DELIMITER) $(AR) r $(TOP_DIR)/$(ACI_LIB) $(patsubst $(OBJ)/%,%,$(ATIEXTOBJ)) | |
421 cd $(subst /,$(SLASH),$(OBJ)) $(DELIMITER) $(AR) r $(TOP_DIR)/$(ACI_LIB) $(DUMMY_OBJ) $(patsubst $(OBJ)/%,%,$(CMHOBJ1)) | |
422 cd $(subst /,$(SLASH),$(OBJ)) $(DELIMITER) $(AR) r $(TOP_DIR)/$(ACI_LIB) $(DUMMY_OBJ) $(patsubst $(OBJ)/%,%,$(CMHOBJ2)) | |
423 cd $(subst /,$(SLASH),$(OBJ)) $(DELIMITER) $(AR) r $(TOP_DIR)/$(ACI_LIB) $(DUMMY_OBJ) $(patsubst $(OBJ)/%,%,$(CMHOBJ3)) | |
424 cd $(subst /,$(SLASH),$(OBJ)) $(DELIMITER) $(AR) r $(TOP_DIR)/$(ACI_LIB) $(DUMMY_OBJ) $(patsubst $(OBJ)/%,%,$(CMHOBJ4)) | |
425 cd $(subst /,$(SLASH),$(OBJ)) $(DELIMITER) $(AR) r $(TOP_DIR)/$(ACI_LIB) $(DUMMY_OBJ) $(patsubst $(OBJ)/%,%,$(CMHOBJ5)) | |
426 cd $(subst /,$(SLASH),$(OBJ)) $(DELIMITER) $(AR) r $(TOP_DIR)/$(ACI_LIB) $(DUMMY_OBJ) $(patsubst $(OBJ)/%,%,$(PSAOBJ1)) | |
427 cd $(subst /,$(SLASH),$(OBJ)) $(DELIMITER) $(AR) r $(TOP_DIR)/$(ACI_LIB) $(DUMMY_OBJ) $(patsubst $(OBJ)/%,%,$(PSAOBJ2)) | |
428 cd $(subst /,$(SLASH),$(OBJ)) $(DELIMITER) $(AR) r $(TOP_DIR)/$(ACI_LIB) $(DUMMY_OBJ) $(patsubst $(OBJ)/%,%,$(PSAOBJ3)) | |
429 cd $(subst /,$(SLASH),$(OBJ)) $(DELIMITER) $(AR) r $(TOP_DIR)/$(ACI_LIB) $(DUMMY_OBJ) $(patsubst $(OBJ)/%,%,$(PSAOBJ4)) | |
430 cd $(subst /,$(SLASH),$(OBJ)) $(DELIMITER) $(AR) r $(TOP_DIR)/$(ACI_LIB) $(DUMMY_OBJ) $(patsubst $(OBJ)/%,%,$(PSAOBJ5)) | |
431 cd $(subst /,$(SLASH),$(OBJ)) $(DELIMITER) $(AR) r $(TOP_DIR)/$(ACI_LIB) $(DUMMY_OBJ) $(patsubst $(OBJ)/%,%,$(SAPOBJ)) | |
432 cd $(subst /,$(SLASH),$(OBJ)) $(DELIMITER) $(AR) r $(TOP_DIR)/$(ACI_LIB) $(DUMMY_OBJ) $(patsubst $(OBJ)/%,%,$(CONCOBJ)) | |
433 cd $(subst /,$(SLASH),$(OBJ)) $(DELIMITER) $(AR) r $(TOP_DIR)/$(ACI_LIB) $(DUMMY_OBJ) $(patsubst $(OBJ)/%,%,$(KSDOBJ)) | |
434 | |
435 $(OBJ): | |
436 mkdir $(subst /,$(SLASH),$(OBJ)) | |
437 | |
438 clean: | |
439 $(REMOVE) $(subst /,$(SLASH),$(OBJ)) | |
440 | |
441 $(ACIOBJ): $(OBJ)/%.$(OBJ_TAIL) : $(SRCACI)/%.c | |
442 echo -D$(NCONFIG) > cmd | |
443 echo -D$(NTRACE) >> cmd | |
444 echo -D$(NWARN) >> cmd | |
445 echo -DDTI2 >> cmd | |
446 echo $(MY_OPTIONS) >> cmd | |
447 echo $(SPECOPT) >> cmd | |
448 echo $(COPT) >> cmd | |
449 echo $(COPT1) >> cmd | |
450 echo $(COTAR) >> cmd | |
451 echo $(FDOPT) >> cmd | |
452 echo $(INCDRV1) >> cmd | |
453 echo -I$(ICOM) >> cmd | |
454 echo $(INCDRV2) >> cmd | |
455 echo -I$(ICDG) >> cmd | |
456 echo -I$(SRCACIEXT) >> cmd | |
457 echo -I$(SRCATIEXT) >> cmd | |
458 echo -I$(SRCACIDTIMNG) >> cmd | |
459 echo $(INCLAYER4) >> cmd | |
460 echo -fr$(OBJ) >> cmd | |
461 $(CC_PRE) $^ -@cmd | |
462 $(CC_INT) $(addsuffix .pp,$(basename $^)) | |
463 $(CC_COM) $(addsuffix .pp_,$(basename $^)) -@cmd | |
464 | |
465 $(ATIOBJ): $(OBJ)/%.$(OBJ_TAIL) : $(SRCACI)/%.c | |
466 echo -D$(NCONFIG) > cmd | |
467 echo -D$(NTRACE) >> cmd | |
468 echo -D$(NWARN) >> cmd | |
469 echo -DDTI2 >> cmd | |
470 echo $(MY_OPTIONS) >> cmd | |
471 echo $(SPECOPT) >> cmd | |
472 echo $(COPT) >> cmd | |
473 echo $(COPT1) >> cmd | |
474 echo $(COTAR) >> cmd | |
475 echo $(FDOPT) >> cmd | |
476 echo $(INCDRV1) >> cmd | |
477 echo -I$(ICOM) >> cmd | |
478 echo $(INCDRV2) >> cmd | |
479 echo -I$(ICDG) >> cmd | |
480 echo -I$(SRCACIEXT) >> cmd | |
481 echo -I$(SRCATIEXT) >> cmd | |
482 echo -I$(SRCACIDTIMNG) >> cmd | |
483 echo $(INCLAYER4) >> cmd | |
484 echo -fr$(OBJ) >> cmd | |
485 $(CC_PRE) $^ -@cmd | |
486 $(CC_INT) $(addsuffix .pp,$(basename $^)) | |
487 $(CC_COM) $(addsuffix .pp_,$(basename $^)) -@cmd | |
488 | |
489 $(ATISRCOBJ): $(OBJ)/%.$(OBJ_TAIL) : $(SRCACI)/%.c | |
490 echo -D$(NCONFIG) > cmd | |
491 echo -D$(NTRACE) >> cmd | |
492 echo -D$(NWARN) >> cmd | |
493 echo -DDTI2 >> cmd | |
494 echo $(MY_OPTIONS) >> cmd | |
495 echo $(SPECOPT) >> cmd | |
496 echo $(COPT) >> cmd | |
497 echo $(COPT1) >> cmd | |
498 echo $(COTAR) >> cmd | |
499 echo $(FDOPT) >> cmd | |
500 echo $(INCDRV1) >> cmd | |
501 echo -I$(ICOM) >> cmd | |
502 echo $(INCDRV2) >> cmd | |
503 echo -I$(ICDG) >> cmd | |
504 echo -I$(SRCACIEXT) >> cmd | |
505 echo -I$(SRCATIEXT) >> cmd | |
506 echo -I$(SRCACIDTIMNG) >> cmd | |
507 echo $(INCLAYER4) >> cmd | |
508 echo -fr$(OBJ) >> cmd | |
509 $(CC_PRE) $^ -@cmd | |
510 $(CC_INT) $(addsuffix .pp,$(basename $^)) | |
511 $(CC_COM) $(addsuffix .pp_,$(basename $^)) -@cmd | |
512 | |
513 $(ATIEXTOBJ): $(OBJ)/%.$(OBJ_TAIL) : $(SRCATIEXT)/%.c | |
514 echo -D$(NCONFIG) > cmd | |
515 echo -D$(NTRACE) >> cmd | |
516 echo -D$(NWARN) >> cmd | |
517 echo -DDTI2 >> cmd | |
518 echo $(MY_OPTIONS) >> cmd | |
519 echo $(SPECOPT) >> cmd | |
520 echo $(COPT) >> cmd | |
521 echo $(COPT1) >> cmd | |
522 echo $(COTAR) >> cmd | |
523 echo $(FDOPT) >> cmd | |
524 echo $(INCDRV1) >> cmd | |
525 echo -I$(ICOM) >> cmd | |
526 echo $(INCDRV2) >> cmd | |
527 echo -I$(ICDG) >> cmd | |
528 echo -I$(SRCACIEXT) >> cmd | |
529 echo -I$(SRCATIEXT) >> cmd | |
530 echo -I$(SRCACIDTIMNG) >> cmd | |
531 echo $(INCLAYER4) >> cmd | |
532 echo -fr$(OBJ) >> cmd | |
533 $(CC_PRE) $^ -@cmd | |
534 $(CC_INT) $(addsuffix .pp,$(basename $^)) | |
535 $(CC_COM) $(addsuffix .pp_,$(basename $^)) -@cmd | |
536 | |
537 $(KSDOBJ): $(OBJ)/%.$(OBJ_TAIL) : $(SRCKSD)/%.c | |
538 echo -D$(NCONFIG) > cmd | |
539 echo -D$(NTRACE) >> cmd | |
540 echo -D$(NWARN) >> cmd | |
541 echo $(MY_OPTIONS) >> cmd | |
542 echo $(SPECOPT) >> cmd | |
543 echo $(COPT) >> cmd | |
544 echo $(COPT1) >> cmd | |
545 echo $(COTAR) >> cmd | |
546 echo $(FDOPT) >> cmd | |
547 echo $(INCDRV1) >> cmd | |
548 echo -I$(ICOM) >> cmd | |
549 echo $(INCDRV2) >> cmd | |
550 echo -I$(ICDG) >> cmd | |
551 echo -I$(SRCACIEXT) >> cmd | |
552 echo -I$(SRCATIEXT) >> cmd | |
553 echo -I$(SRCACIDTIMNG) >> cmd | |
554 echo $(INCLAYER4) >> cmd | |
555 echo -fr$(OBJ) >> cmd | |
556 $(CC_PRE) $^ -@cmd | |
557 $(CC_INT) $(addsuffix .pp,$(basename $^)) | |
558 $(CC_COM) $(addsuffix .pp_,$(basename $^)) -@cmd | |
559 | |
560 # See comment above on CMHOBJn and DUMMY_OBJ. | |
561 $(CMHOBJ1) $(CMHOBJ2) $(CMHOBJ3) $(CMHOBJ4) $(CMHOBJ5) $(DUMMY_OBJ): \ | |
562 $(OBJ)/%.$(OBJ_TAIL) : $(SRCACI)/%.c | |
563 echo -D$(NCONFIG) > cmd | |
564 echo -D$(NTRACE) >> cmd | |
565 echo -D$(NWARN) >> cmd | |
566 echo -DDTI2 >> cmd | |
567 echo $(MY_OPTIONS) >> cmd | |
568 echo $(SPECOPT) >> cmd | |
569 echo $(COPT) >> cmd | |
570 echo $(COPT1) >> cmd | |
571 echo $(COTAR) >> cmd | |
572 echo $(FDOPT) >> cmd | |
573 echo $(INCDRV1) >> cmd | |
574 echo -I$(ICOM) >> cmd | |
575 echo $(INCDRV2) >> cmd | |
576 echo -I$(ICDG) >> cmd | |
577 echo -I$(SRCACIEXT) >> cmd | |
578 echo -I$(SRCATIEXT) >> cmd | |
579 echo -I$(SRCACIDTIMNG) >> cmd | |
580 echo $(INCLAYER4) >> cmd | |
581 echo -fr$(OBJ) >> cmd | |
582 $(CC_PRE) $^ -@cmd | |
583 $(CC_INT) $(addsuffix .pp,$(basename $^)) | |
584 $(CC_COM) $(addsuffix .pp_,$(basename $^)) -@cmd | |
585 | |
586 $(PSAOBJ1) $(PSAOBJ2) $(PSAOBJ3) $(PSAOBJ4) $(PSAOBJ5): \ | |
587 $(OBJ)/%.$(OBJ_TAIL) : $(SRCACI)/%.c | |
588 echo -D$(NCONFIG) > cmd | |
589 echo -D$(NTRACE) >> cmd | |
590 echo -D$(NWARN) >> cmd | |
591 echo -DDTI2 >> cmd | |
592 echo $(MY_OPTIONS) >> cmd | |
593 echo $(SPECOPT) >> cmd | |
594 echo $(COPT) >> cmd | |
595 echo $(COPT1) >> cmd | |
596 echo $(COTAR) >> cmd | |
597 echo $(FDOPT) >> cmd | |
598 echo $(INCDRV1) >> cmd | |
599 echo -I$(ICOM) >> cmd | |
600 echo $(INCDRV2) >> cmd | |
601 echo -I$(ICDG) >> cmd | |
602 echo -I$(SRCACIEXT) >> cmd | |
603 echo -I$(SRCATIEXT) >> cmd | |
604 echo -I$(SRCACIDTIMNG) >> cmd | |
605 echo $(INCLAYER4) >> cmd | |
606 echo -fr$(OBJ) >> cmd | |
607 $(CC_PRE) $^ -@cmd | |
608 $(CC_INT) $(addsuffix .pp,$(basename $^)) | |
609 $(CC_COM) $(addsuffix .pp_,$(basename $^)) -@cmd | |
610 | |
611 $(SAPOBJ): $(OBJ)/%.$(OBJ_TAIL) : $(SRCACI)/%.c | |
612 echo -D$(NCONFIG) > cmd | |
613 echo -D$(NTRACE) >> cmd | |
614 echo -D$(NWARN) >> cmd | |
615 echo -DDTI2 >> cmd | |
616 echo $(MY_OPTIONS) >> cmd | |
617 echo $(SPECOPT) >> cmd | |
618 echo $(COPT) >> cmd | |
619 echo $(COPT1) >> cmd | |
620 echo $(COTAR) >> cmd | |
621 echo $(FDOPT) >> cmd | |
622 echo $(INCDRV1) >> cmd | |
623 echo -I$(ICOM) >> cmd | |
624 echo $(INCDRV2) >> cmd | |
625 echo -I$(ICDG) >> cmd | |
626 echo -I$(SRCACIEXT) >> cmd | |
627 echo -I$(SRCATIEXT) >> cmd | |
628 echo -I$(SRCACIDTIMNG) >> cmd | |
629 echo $(INCLAYER4) >> cmd | |
630 echo -fr$(OBJ) >> cmd | |
631 $(CC_PRE) $^ -@cmd | |
632 $(CC_INT) $(addsuffix .pp,$(basename $^)) | |
633 $(CC_COM) $(addsuffix .pp_,$(basename $^)) -@cmd | |
634 | |
635 $(CONCOBJ): $(OBJ)/%.$(OBJ_TAIL) : $(SRCACI)/%.c | |
636 echo -D$(NCONFIG) > cmd | |
637 echo -D$(NTRACE) >> cmd | |
638 echo -D$(NWARN) >> cmd | |
639 echo $(MY_OPTIONS) >> cmd | |
640 echo $(SPECOPT) >> cmd | |
641 echo $(COPT) >> cmd | |
642 echo $(COPT1) >> cmd | |
643 echo $(COTAR) >> cmd | |
644 echo $(FDOPT) >> cmd | |
645 echo $(INCDRV1) >> cmd | |
646 echo -I$(ICOM) >> cmd | |
647 echo $(INCDRV2) >> cmd | |
648 echo -I$(ICDG) >> cmd | |
649 echo -I$(SRCACIEXT) >> cmd | |
650 echo -I$(SRCATIEXT) >> cmd | |
651 echo -I$(SRCACIDTIMNG) >> cmd | |
652 echo $(INCLAYER4) >> cmd | |
653 echo -fr$(OBJ) >> cmd | |
654 $(CC_PRE) $^ -@cmd | |
655 $(CC_INT) $(addsuffix .pp,$(basename $^)) | |
656 $(CC_COM) $(addsuffix .pp_,$(basename $^)) -@cmd |