FreeCalypso > hg > fc-magnetite
comparison components/aci-tcs3 @ 165:b0e6b861deba
components/aci-tcs3: recipe created
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Tue, 11 Oct 2016 03:19:56 +0000 |
parents | |
children | b135e1505ae4 |
comparison
equal
deleted
inserted
replaced
164:e4ae8dfb13e9 | 165:b0e6b861deba |
---|---|
1 # Building the TCS3.2 version of aci.lib | |
2 | |
3 CFLAGS="-me -mt -o -pw2 -x -mw" | |
4 CPPFLAGS= | |
5 | |
6 make_version aci | |
7 cfile_plain aci_version.c | |
8 | |
9 # Defines | |
10 | |
11 CPPFLAGS=-DCCDTABLES_EXTERN | |
12 CPPFLAGS="$CPPFLAGS -DOPTION_MULTITHREAD" | |
13 CPPFLAGS="$CPPFLAGS -DNEW_FRAME" | |
14 CPPFLAGS="$CPPFLAGS -DNEW_ENTITY" | |
15 CPPFLAGS="$CPPFLAGS -D_TARGET_" | |
16 CPPFLAGS="$CPPFLAGS -DSHARED_VSI" | |
17 CPPFLAGS="$CPPFLAGS -DALR" | |
18 CPPFLAGS="$CPPFLAGS -DFF_HOMEZONE" | |
19 CPPFLAGS="$CPPFLAGS -DFF_MMI_SAT_ICON" | |
20 CPPFLAGS="$CPPFLAGS -DFF_MMI_SMS_DYNAMIC" | |
21 CPPFLAGS="$CPPFLAGS -DFF_CPHS" | |
22 CPPFLAGS="$CPPFLAGS -D_TMS470" | |
23 CPPFLAGS="$CPPFLAGS -DUART" | |
24 CPPFLAGS="$CPPFLAGS -DFF_ATI" | |
25 CPPFLAGS="$CPPFLAGS -DNWARN" | |
26 CPPFLAGS="$CPPFLAGS -DFF_EM_MODE" | |
27 CPPFLAGS="$CPPFLAGS -DVOCODER_FUNC_INTERFACE" | |
28 CPPFLAGS="$CPPFLAGS -DAT_INTERPRETER" | |
29 CPPFLAGS="$CPPFLAGS -DUSE_L1FD_FUNC_INTERFACE" | |
30 | |
31 if [ "$SRVC" != 0 ] | |
32 then | |
33 CPPFLAGS="$CPPFLAGS -DFAX_AND_DATA" | |
34 if [ "$SRVC" = 1 ] | |
35 then | |
36 CPPFLAGS="$CPPFLAGS -DFF_FAX" | |
37 fi | |
38 CPPFLAGS="$CPPFLAGS -DUSE_L2FD_FUNC_INTERFACE" | |
39 fi | |
40 | |
41 CPPFLAGS="$CPPFLAGS -DSRVC=$SRVC" | |
42 CPPFLAGS="$CPPFLAGS -DMMI=$MMI" | |
43 | |
44 if [ "$MMI" = 0 ] | |
45 then | |
46 CPPFLAGS="$CPPFLAGS -DACI" | |
47 elif [ "$MMI" = 2 ] | |
48 then | |
49 CPPFLAGS="$CPPFLAGS -DMFW" | |
50 fi | |
51 | |
52 CPPFLAGS="$CPPFLAGS -DPHONEBOOK_EXTENSION" | |
53 | |
54 if [ "$GPRS" = 1 ] | |
55 then | |
56 CPPFLAGS="$CPPFLAGS -DGPRS" | |
57 fi | |
58 | |
59 CPPFLAGS="$CPPFLAGS -DSMS_PDU_SUPPORT" | |
60 CPPFLAGS="$CPPFLAGS -DSIM_TOOLKIT" | |
61 CPPFLAGS="$CPPFLAGS -DDTI2" | |
62 CPPFLAGS="$CPPFLAGS -DDTI" | |
63 CPPFLAGS="$CPPFLAGS -DUART" | |
64 CPPFLAGS="$CPPFLAGS -DFF_ATI" | |
65 | |
66 # Includes | |
67 | |
68 CPPFLAGS="$CPPFLAGS -I$SRC/$CONDAT/com/inc" | |
69 CPPFLAGS="$CPPFLAGS -I$SRC/$GPF/inc" | |
70 CPPFLAGS="$CPPFLAGS -I$SRC/$CONDAT/com/include" | |
71 CPPFLAGS="$CPPFLAGS -I../../$CDGINC" | |
72 | |
73 if [ "$MMI" = 2 ] | |
74 then | |
75 CPPFLAGS="$CPPFLAGS -I$SRC/aci2/mfw" | |
76 fi | |
77 | |
78 CPPFLAGS="$CPPFLAGS -I$SRC/g23m-aci/ksd" | |
79 CPPFLAGS="$CPPFLAGS -I$SRC/g23m-aci/ati_ext" | |
80 CPPFLAGS="$CPPFLAGS -I$SRC/g23m-aci/aci" | |
81 CPPFLAGS="$CPPFLAGS -I$SRC/g23m-aci/aci_ext" | |
82 CPPFLAGS="$CPPFLAGS -I$SRC/g23m-aci/aci_dti_mng" | |
83 CPPFLAGS="$CPPFLAGS -I../../$CDGPRIM" | |
84 CPPFLAGS="$CPPFLAGS -I.." | |
85 CPPFLAGS="$CPPFLAGS -I../config" | |
86 CPPFLAGS="$CPPFLAGS -I$SRC/cs/riviera" | |
87 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_app" | |
88 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core" | |
89 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/abb" | |
90 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/armio" | |
91 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/clkm" | |
92 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/conf" | |
93 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/dma" | |
94 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/dsp_dwnld" | |
95 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/inth" | |
96 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/memif" | |
97 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/rhea" | |
98 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/security" | |
99 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/spi" | |
100 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/timer" | |
101 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/uart" | |
102 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/ulpd" | |
103 CPPFLAGS="$CPPFLAGS -I$SRC/cs/system" | |
104 CPPFLAGS="$CPPFLAGS -I$SRC/cs/layer1/include" | |
105 CPPFLAGS="$CPPFLAGS -I$SRC/cs/services" | |
106 | |
107 # ACI source modules | |
108 | |
109 SRCDIR=$SRC/g23m-aci/aci | |
110 | |
111 # ATI stuff | |
112 cfile_str2ind $SRCDIR/ati_sat.c | |
113 cfile_str2ind $SRCDIR/ati_src_sat.c | |
114 cfile_str2ind $SRCDIR/ati_pdu.c | |
115 cfile_str2ind $SRCDIR/ati_bas.c | |
116 cfile_str2ind $SRCDIR/ati_cc.c | |
117 cfile_str2ind $SRCDIR/ati_cmd.c | |
118 cfile_str2ind $SRCDIR/ati_csc.c | |
119 cfile_str2ind $SRCDIR/ati_err.c | |
120 | |
121 if [ "$SRVC" != 0 ] | |
122 then | |
123 cfile_str2ind $SRCDIR/ati_fd.c | |
124 fi | |
125 | |
126 cfile_str2ind $SRCDIR/ati_io.c | |
127 cfile_str2ind $SRCDIR/ati_mm.c | |
128 cfile_str2ind $SRCDIR/ati_phb.c | |
129 cfile_str2ind $SRCDIR/ati_prs.c | |
130 cfile_str2ind $SRCDIR/ati_ret.c | |
131 cfile_str2ind $SRCDIR/ati_sim.c | |
132 cfile_str2ind $SRCDIR/ati_sms.c | |
133 cfile_str2ind $SRCDIR/ati_ss.c | |
134 | |
135 if [ "$GPRS" = 1 ] | |
136 then | |
137 cfile_str2ind $SRCDIR/ati_gprs.c | |
138 fi | |
139 | |
140 cfile_str2ind $SRCDIR/ati_mmi.c | |
141 cfile_str2ind $SRCDIR/ati_em.c | |
142 cfile_str2ind $SRCDIR/ati_em_ret.c | |
143 cfile_str2ind $SRCDIR/ati_cphs.c | |
144 cfile_str2ind $SRCDIR/ati_dti.c | |
145 | |
146 #cfile_str2ind $SRCDIR/ati_src_rvt.c | |
147 #cfile_str2ind $SRCDIR/ati_omcompat.c | |
148 | |
149 # ACI stuff | |
150 cfile_str2ind $SRCDIR/aci_aci.c | |
151 cfile_str2ind $SRCDIR/aci_mem.c | |
152 cfile_str2ind $SRCDIR/aci_csf.c | |
153 cfile_str2ind $SRCDIR/aci_pei.c | |
154 cfile_str2ind $SRCDIR/aci_tim.c | |
155 cfile_str2ind $SRCDIR/aci_util.c | |
156 cfile_str2ind $SRCDIR/aci_lst.c | |
157 cfile_str2ind $SRCDIR/dti_cntrl_mng.c | |
158 cfile_str2ind $SRCDIR/phb.c | |
159 cfile_str2ind $SRCDIR/aoc.c | |
160 cfile_str2ind $SRCDIR/aci_mfw.c | |
161 cfile_str2ind $SRCDIR/aci_slock.c | |
162 cfile_str2ind $SRCDIR/aci_em.c | |
163 | |
164 if [ "$GPRS" = 1 ] | |
165 then | |
166 cfile_str2ind $SRCDIR/gaci_srcc.c | |
167 cfile_str2ind $SRCDIR/gaci.c | |
168 cfile_str2ind $SRCDIR/gaci_ret.c | |
169 fi | |
170 | |
171 cfile_str2ind $SRCDIR/hl_audio_drv.c | |
172 | |
173 # ATISRC stuff | |
174 cfile_str2ind $SRCDIR/ati_src_uart.c | |
175 cfile_str2ind $SRCDIR/ati_src_uart_io.c | |
176 | |
177 # CMH stuff (part 1) | |
178 cfile_str2ind $SRCDIR/cmh_sats.c | |
179 cfile_str2ind $SRCDIR/cmh_satr.c | |
180 cfile_str2ind $SRCDIR/cmh_satq.c | |
181 | |
182 # CMH stuff (part 2) | |
183 if [ "$SRVC" = 0 ] | |
184 then | |
185 cfile_str2ind $SRCDIR/cmh_ccf.c | |
186 cfile_str2ind $SRCDIR/cmh_ccq.c | |
187 cfile_str2ind $SRCDIR/cmh_ccr.c | |
188 cfile_str2ind $SRCDIR/cmh_ccs.c | |
189 cfile_str2ind $SRCDIR/cmh_dmy.c | |
190 cfile_str2ind $SRCDIR/cmh_f.c | |
191 cfile_str2ind $SRCDIR/cmh_mmf.c | |
192 cfile_str2ind $SRCDIR/cmh_mmir.c | |
193 cfile_str2ind $SRCDIR/cmh_mmis.c | |
194 cfile_str2ind $SRCDIR/cmh_mmit.c | |
195 cfile_str2ind $SRCDIR/cmh_mmiq.c | |
196 cfile_str2ind $SRCDIR/cmh_mmq.c | |
197 cfile_str2ind $SRCDIR/cmh_mmr.c | |
198 cfile_str2ind $SRCDIR/cmh_mms.c | |
199 cfile_str2ind $SRCDIR/cmh_mmt.c | |
200 cfile_str2ind $SRCDIR/cmh_phbf.c | |
201 cfile_str2ind $SRCDIR/cmh_ssq.c | |
202 cfile_str2ind $SRCDIR/cmh_ssr.c | |
203 cfile_str2ind $SRCDIR/cmh_sss.c | |
204 cfile_str2ind $SRCDIR/cmh_phbq.c | |
205 cfile_str2ind $SRCDIR/cmh_phbs.c | |
206 cfile_str2ind $SRCDIR/cmh_phbt.c | |
207 cfile_str2ind $SRCDIR/cmh_phbr.c | |
208 cfile_str2ind $SRCDIR/cmh_simf.c | |
209 cfile_str2ind $SRCDIR/cmh_simq.c | |
210 cfile_str2ind $SRCDIR/cmh_simr.c | |
211 cfile_str2ind $SRCDIR/cmh_sims.c | |
212 cfile_str2ind $SRCDIR/cmh_smsf.c | |
213 cfile_str2ind $SRCDIR/cmh_smsq.c | |
214 cfile_str2ind $SRCDIR/cmh_smsr.c | |
215 cfile_str2ind $SRCDIR/cmh_smss.c | |
216 cfile_str2ind $SRCDIR/cmh_ssf.c | |
217 cfile_str2ind $SRCDIR/cmh_tsts.c | |
218 cfile_str2ind $SRCDIR/cmh_uartf.c | |
219 cfile_str2ind $SRCDIR/cmh_uartr.c | |
220 cfile_str2ind $SRCDIR/cmh_uarts.c | |
221 fi | |
222 | |
223 cfile_str2ind $SRCDIR/cmh_emq.c | |
224 cfile_str2ind $SRCDIR/cmh_emr.c | |
225 | |
226 # CMH stuff (part 3) | |
227 if [ "$SRVC" != 0 ] | |
228 then | |
229 cfile_str2ind $SRCDIR/cmh_ccf.c | |
230 cfile_str2ind $SRCDIR/cmh_ccq.c | |
231 cfile_str2ind $SRCDIR/cmh_ccr.c | |
232 cfile_str2ind $SRCDIR/cmh_ccs.c | |
233 cfile_str2ind $SRCDIR/cmh_dmy.c | |
234 cfile_str2ind $SRCDIR/cmh_f.c | |
235 cfile_str2ind $SRCDIR/cmh_l2rf.c | |
236 cfile_str2ind $SRCDIR/cmh_l2rq.c | |
237 cfile_str2ind $SRCDIR/cmh_l2rr.c | |
238 cfile_str2ind $SRCDIR/cmh_l2rs.c | |
239 cfile_str2ind $SRCDIR/cmh_mmf.c | |
240 cfile_str2ind $SRCDIR/cmh_mmir.c | |
241 cfile_str2ind $SRCDIR/cmh_mmis.c | |
242 cfile_str2ind $SRCDIR/cmh_mmit.c | |
243 cfile_str2ind $SRCDIR/cmh_mmiq.c | |
244 cfile_str2ind $SRCDIR/cmh_mmq.c | |
245 cfile_str2ind $SRCDIR/cmh_mmr.c | |
246 cfile_str2ind $SRCDIR/cmh_mms.c | |
247 cfile_str2ind $SRCDIR/cmh_mmt.c | |
248 cfile_str2ind $SRCDIR/cmh_phbf.c | |
249 cfile_str2ind $SRCDIR/cmh_phbq.c | |
250 cfile_str2ind $SRCDIR/cmh_ssq.c | |
251 cfile_str2ind $SRCDIR/cmh_ssr.c | |
252 cfile_str2ind $SRCDIR/cmh_sss.c | |
253 cfile_str2ind $SRCDIR/cmh_phbs.c | |
254 cfile_str2ind $SRCDIR/cmh_phbt.c | |
255 cfile_str2ind $SRCDIR/cmh_phbr.c | |
256 cfile_str2ind $SRCDIR/cmh_raf.c | |
257 cfile_str2ind $SRCDIR/cmh_rar.c | |
258 cfile_str2ind $SRCDIR/cmh_ras.c | |
259 cfile_str2ind $SRCDIR/cmh_simf.c | |
260 cfile_str2ind $SRCDIR/cmh_simq.c | |
261 cfile_str2ind $SRCDIR/cmh_simr.c | |
262 cfile_str2ind $SRCDIR/cmh_sims.c | |
263 cfile_str2ind $SRCDIR/cmh_smsf.c | |
264 cfile_str2ind $SRCDIR/cmh_smsq.c | |
265 cfile_str2ind $SRCDIR/cmh_smsr.c | |
266 cfile_str2ind $SRCDIR/cmh_smss.c | |
267 cfile_str2ind $SRCDIR/cmh_ssf.c | |
268 | |
269 if [ "$SRVC" = 1 ] | |
270 then | |
271 cfile_str2ind $SRCDIR/cmh_t30f.c | |
272 cfile_str2ind $SRCDIR/cmh_t30r.c | |
273 cfile_str2ind $SRCDIR/cmh_t30s.c | |
274 cfile_str2ind $SRCDIR/cmh_t30q.c | |
275 fi | |
276 | |
277 cfile_str2ind $SRCDIR/cmh_tsts.c | |
278 cfile_str2ind $SRCDIR/cmh_uartf.c | |
279 cfile_str2ind $SRCDIR/cmh_uartr.c | |
280 cfile_str2ind $SRCDIR/cmh_uarts.c | |
281 fi | |
282 | |
283 # CMH stuff (part 4) | |
284 # all WAP/TCPIP/SATE stuff - not in FreeCalypso | |
285 | |
286 # CMH stuff (part 5) | |
287 if [ "$GPRS" = 1 ] | |
288 then | |
289 cfile_str2ind $SRCDIR/cmh_gmmf.c | |
290 cfile_str2ind $SRCDIR/cmh_gmmq.c | |
291 cfile_str2ind $SRCDIR/cmh_gmmr.c | |
292 cfile_str2ind $SRCDIR/cmh_gmms.c | |
293 cfile_str2ind $SRCDIR/cmh_gpppf.c | |
294 cfile_str2ind $SRCDIR/cmh_gpppr.c | |
295 cfile_str2ind $SRCDIR/cmh_gppps.c | |
296 cfile_str2ind $SRCDIR/cmh_snds.c | |
297 cfile_str2ind $SRCDIR/cmh_sndr.c | |
298 cfile_str2ind $SRCDIR/cmh_smf.c | |
299 cfile_str2ind $SRCDIR/cmh_smq.c | |
300 cfile_str2ind $SRCDIR/cmh_smr.c | |
301 cfile_str2ind $SRCDIR/cmh_sms.c | |
302 cfile_str2ind $SRCDIR/cmh_smt.c | |
303 fi | |
304 | |
305 # CMH stuff (part 6) | |
306 cfile_str2ind $SRCDIR/cmh_cphs.c | |
307 cfile_str2ind $SRCDIR/cmh_dti.c | |
308 | |
309 # PSA stuff | |
310 cfile_str2ind $SRCDIR/psa_satf.c | |
311 cfile_str2ind $SRCDIR/psa_satp.c | |
312 cfile_str2ind $SRCDIR/psa_sats.c | |
313 cfile_str2ind $SRCDIR/cmh_satf.c | |
314 | |
315 cfile_str2ind $SRCDIR/psa_ccf.c | |
316 cfile_str2ind $SRCDIR/psa_ccp.c | |
317 cfile_str2ind $SRCDIR/psa_ccs.c | |
318 cfile_str2ind $SRCDIR/psa_f.c | |
319 | |
320 if [ "$SRVC" != 0 ] | |
321 then | |
322 cfile_str2ind $SRCDIR/psa_l2rf.c | |
323 cfile_str2ind $SRCDIR/psa_l2rp.c | |
324 cfile_str2ind $SRCDIR/psa_l2rs.c | |
325 fi | |
326 | |
327 cfile_str2ind $SRCDIR/psa_mmf.c | |
328 cfile_str2ind $SRCDIR/psa_mmif.c | |
329 cfile_str2ind $SRCDIR/psa_mmip.c | |
330 cfile_str2ind $SRCDIR/psa_mmis.c | |
331 cfile_str2ind $SRCDIR/psa_mmp.c | |
332 cfile_str2ind $SRCDIR/psa_mms.c | |
333 | |
334 if [ "$SRVC" != 0 ] | |
335 then | |
336 cfile_str2ind $SRCDIR/psa_raf.c | |
337 cfile_str2ind $SRCDIR/psa_rap.c | |
338 cfile_str2ind $SRCDIR/psa_ras.c | |
339 fi | |
340 | |
341 cfile_str2ind $SRCDIR/psa_simf.c | |
342 cfile_str2ind $SRCDIR/psa_simp.c | |
343 cfile_str2ind $SRCDIR/psa_sims.c | |
344 cfile_str2ind $SRCDIR/psa_smsf.c | |
345 cfile_str2ind $SRCDIR/psa_smsp.c | |
346 cfile_str2ind $SRCDIR/psa_smss.c | |
347 cfile_str2ind $SRCDIR/psa_ssf.c | |
348 cfile_str2ind $SRCDIR/psa_ssp.c | |
349 cfile_str2ind $SRCDIR/psa_sss.c | |
350 | |
351 if [ "$SRVC" = 1 ] | |
352 then | |
353 cfile_str2ind $SRCDIR/psa_t30f.c | |
354 cfile_str2ind $SRCDIR/psa_t30p.c | |
355 cfile_str2ind $SRCDIR/psa_t30s.c | |
356 fi | |
357 | |
358 cfile_str2ind $SRCDIR/psa_util.c | |
359 cfile_str2ind $SRCDIR/psa_uartp.c | |
360 cfile_str2ind $SRCDIR/psa_uarts.c | |
361 | |
362 if [ "$SRVC" != 0 ] | |
363 then | |
364 cfile_str2ind $SRCDIR/psa_tras.c | |
365 cfile_str2ind $SRCDIR/psa_trap.c | |
366 fi | |
367 | |
368 cfile_str2ind $SRCDIR/psa_mtst.c | |
369 | |
370 if [ "$GPRS" = 1 ] | |
371 then | |
372 cfile_str2ind $SRCDIR/psa_gmmf.c | |
373 cfile_str2ind $SRCDIR/psa_gmmp.c | |
374 cfile_str2ind $SRCDIR/psa_gmms.c | |
375 cfile_str2ind $SRCDIR/psa_gpppf.c | |
376 cfile_str2ind $SRCDIR/psa_gpppp.c | |
377 cfile_str2ind $SRCDIR/psa_gppps.c | |
378 cfile_str2ind $SRCDIR/psa_sndp.c | |
379 cfile_str2ind $SRCDIR/psa_snds.c | |
380 cfile_str2ind $SRCDIR/psa_smf.c | |
381 cfile_str2ind $SRCDIR/psa_smp.c | |
382 cfile_str2ind $SRCDIR/psa_sms.c | |
383 cfile_str2ind $SRCDIR/psa_upmp.c | |
384 cfile_str2ind $SRCDIR/psa_upms.c | |
385 fi | |
386 | |
387 # miscellaneous stuff | |
388 cfile_str2ind $SRCDIR/sap_dti.c | |
389 | |
390 if [ "$GPRS" = 1 ] | |
391 then | |
392 cfile_str2ind $SRCDIR/sap_ppp.c | |
393 fi | |
394 | |
395 cfile_str2ind $SRCDIR/sap_em.c | |
396 cfile_str2ind $SRCDIR/conc_sms.c | |
397 cfile_str2ind $SRCDIR/cphs.c | |
398 cfile_str2ind $SRCDIR/cphs_aci.c | |
399 cfile_str2ind $SRCDIR/line_edit.c | |
400 cfile_str2ind $SRCDIR/line_split.c | |
401 cfile_str2ind $SRCDIR/dcm_f.c | |
402 | |
403 # KSD sourceset, new defines | |
404 | |
405 CPPFLAGS=-DCCDTABLES_EXTERN | |
406 CPPFLAGS="$CPPFLAGS -DOPTION_MULTITHREAD" | |
407 CPPFLAGS="$CPPFLAGS -DNEW_FRAME" | |
408 CPPFLAGS="$CPPFLAGS -DNEW_ENTITY" | |
409 CPPFLAGS="$CPPFLAGS -D_TARGET_" | |
410 CPPFLAGS="$CPPFLAGS -DSHARED_VSI" | |
411 CPPFLAGS="$CPPFLAGS -DALR" | |
412 CPPFLAGS="$CPPFLAGS -DFF_HOMEZONE" | |
413 CPPFLAGS="$CPPFLAGS -DFF_MMI_SAT_ICON" | |
414 CPPFLAGS="$CPPFLAGS -DFF_MMI_SMS_DYNAMIC" | |
415 CPPFLAGS="$CPPFLAGS -DFF_CPHS" | |
416 CPPFLAGS="$CPPFLAGS -D_TMS470" | |
417 CPPFLAGS="$CPPFLAGS -DUART" | |
418 CPPFLAGS="$CPPFLAGS -DFF_ATI" | |
419 CPPFLAGS="$CPPFLAGS -DNWARN" | |
420 CPPFLAGS="$CPPFLAGS -DFF_EM_MODE" | |
421 CPPFLAGS="$CPPFLAGS -DAT_INTERPRETER" | |
422 CPPFLAGS="$CPPFLAGS -DUSE_L1FD_FUNC_INTERFACE" | |
423 | |
424 if [ "$SRVC" != 0 ] | |
425 then | |
426 CPPFLAGS="$CPPFLAGS -DFAX_AND_DATA" | |
427 if [ "$SRVC" = 1 ] | |
428 then | |
429 CPPFLAGS="$CPPFLAGS -DFF_FAX" | |
430 fi | |
431 CPPFLAGS="$CPPFLAGS -DUSE_L2FD_FUNC_INTERFACE" | |
432 fi | |
433 | |
434 CPPFLAGS="$CPPFLAGS -DSRVC=$SRVC" | |
435 CPPFLAGS="$CPPFLAGS -DMMI=$MMI" | |
436 | |
437 if [ "$MMI" = 0 ] | |
438 then | |
439 CPPFLAGS="$CPPFLAGS -DACI" | |
440 elif [ "$MMI" = 2 ] | |
441 then | |
442 CPPFLAGS="$CPPFLAGS -DMFW" | |
443 fi | |
444 | |
445 CPPFLAGS="$CPPFLAGS -DPHONEBOOK_EXTENSION" | |
446 | |
447 if [ "$GPRS" = 1 ] | |
448 then | |
449 CPPFLAGS="$CPPFLAGS -DGPRS" | |
450 fi | |
451 | |
452 CPPFLAGS="$CPPFLAGS -DSMS_PDU_SUPPORT" | |
453 CPPFLAGS="$CPPFLAGS -DSIM_TOOLKIT" | |
454 | |
455 # New includes | |
456 | |
457 CPPFLAGS="$CPPFLAGS -I$SRC/$CONDAT/com/inc" | |
458 CPPFLAGS="$CPPFLAGS -I$SRC/$GPF/inc" | |
459 CPPFLAGS="$CPPFLAGS -I$SRC/$CONDAT/com/include" | |
460 CPPFLAGS="$CPPFLAGS -I../../$CDGINC" | |
461 CPPFLAGS="$CPPFLAGS -I$SRC/g23m-aci/aci" | |
462 CPPFLAGS="$CPPFLAGS -I$SRC/g23m-aci/ksd" | |
463 CPPFLAGS="$CPPFLAGS -I../../$CDGPRIM" | |
464 | |
465 # KSD source modules | |
466 | |
467 SRCDIR=$SRC/g23m-aci/ksd | |
468 | |
469 cfile_str2ind $SRCDIR/ksd.c | |
470 cfile_str2ind $SRCDIR/ksd_utl.c |