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