FreeCalypso > hg > fc-selenite
comparison components/aci @ 10:a8f9cc376e98
components: pruned import from Magnetite
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Sun, 15 Jul 2018 21:19:43 +0000 |
parents | |
children | 0a1a78944683 |
comparison
equal
deleted
inserted
replaced
9:6da1d56a96a3 | 10:a8f9cc376e98 |
---|---|
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 | |
174 # ACI stuff | |
175 cfile_str2ind $SRCDIR/aci_aci.c | |
176 cfile_str2ind $SRCDIR/aci_mem.c | |
177 cfile_str2ind $SRCDIR/aci_csf.c | |
178 cfile_str2ind $SRCDIR/aci_pei.c | |
179 cfile_str2ind $SRCDIR/aci_tim.c | |
180 cfile_str2ind $SRCDIR/aci_util.c | |
181 cfile_str2ind $SRCDIR/aci_lst.c | |
182 cfile_str2ind $SRCDIR/dti_cntrl_mng.c | |
183 cfile_str2ind $SRCDIR/phb.c | |
184 cfile_str2ind $SRCDIR/aoc.c | |
185 cfile_str2ind $SRCDIR/aci_mfw.c | |
186 cfile_str2ind $SRCDIR/aci_slock.c | |
187 cfile_str2ind $SRCDIR/aci_em.c | |
188 | |
189 if [ "$GPRS" = 1 ] | |
190 then | |
191 cfile_str2ind $SRCDIR/gaci_srcc.c | |
192 cfile_str2ind $SRCDIR/gaci.c | |
193 cfile_str2ind $SRCDIR/gaci_ret.c | |
194 fi | |
195 | |
196 cfile_str2ind $SRCDIR/hl_audio_drv.c | |
197 | |
198 # ATISRC stuff | |
199 cfile_str2ind $SRCDIR/ati_src_uart.c | |
200 cfile_str2ind $SRCDIR/ati_src_uart_io.c | |
201 | |
202 # CMH stuff (part 1) | |
203 cfile_str2ind $SRCDIR/cmh_sats.c | |
204 cfile_str2ind $SRCDIR/cmh_satr.c | |
205 cfile_str2ind $SRCDIR/cmh_satq.c | |
206 | |
207 # CMH stuff (part 2) | |
208 if [ "$SRVC" = 0 ] | |
209 then | |
210 cfile_str2ind $SRCDIR/cmh_ccf.c | |
211 cfile_str2ind $SRCDIR/cmh_ccq.c | |
212 cfile_str2ind $SRCDIR/cmh_ccr.c | |
213 cfile_str2ind $SRCDIR/cmh_ccs.c | |
214 cfile_str2ind $SRCDIR/cmh_dmy.c | |
215 cfile_str2ind $SRCDIR/cmh_f.c | |
216 cfile_str2ind $SRCDIR/cmh_mmf.c | |
217 cfile_str2ind $SRCDIR/cmh_mmir.c | |
218 cfile_str2ind $SRCDIR/cmh_mmis.c | |
219 cfile_str2ind $SRCDIR/cmh_mmit.c | |
220 cfile_str2ind $SRCDIR/cmh_mmiq.c | |
221 cfile_str2ind $SRCDIR/cmh_mmq.c | |
222 cfile_str2ind $SRCDIR/cmh_mmr.c | |
223 cfile_str2ind $SRCDIR/cmh_mms.c | |
224 cfile_str2ind $SRCDIR/cmh_mmt.c | |
225 cfile_str2ind $SRCDIR/cmh_phbf.c | |
226 cfile_str2ind $SRCDIR/cmh_ssq.c | |
227 cfile_str2ind $SRCDIR/cmh_ssr.c | |
228 cfile_str2ind $SRCDIR/cmh_sss.c | |
229 cfile_str2ind $SRCDIR/cmh_phbq.c | |
230 cfile_str2ind $SRCDIR/cmh_phbs.c | |
231 cfile_str2ind $SRCDIR/cmh_phbt.c | |
232 cfile_str2ind $SRCDIR/cmh_phbr.c | |
233 cfile_str2ind $SRCDIR/cmh_simf.c | |
234 cfile_str2ind $SRCDIR/cmh_simq.c | |
235 cfile_str2ind $SRCDIR/cmh_simr.c | |
236 cfile_str2ind $SRCDIR/cmh_sims.c | |
237 cfile_str2ind $SRCDIR/cmh_smsf.c | |
238 cfile_str2ind $SRCDIR/cmh_smsq.c | |
239 cfile_str2ind $SRCDIR/cmh_smsr.c | |
240 cfile_str2ind $SRCDIR/cmh_smss.c | |
241 cfile_str2ind $SRCDIR/cmh_ssf.c | |
242 cfile_str2ind $SRCDIR/cmh_tsts.c | |
243 cfile_str2ind $SRCDIR/cmh_uartf.c | |
244 cfile_str2ind $SRCDIR/cmh_uartr.c | |
245 cfile_str2ind $SRCDIR/cmh_uarts.c | |
246 fi | |
247 | |
248 cfile_str2ind $SRCDIR/cmh_emq.c | |
249 cfile_str2ind $SRCDIR/cmh_emr.c | |
250 | |
251 # CMH stuff (part 3) | |
252 if [ "$SRVC" != 0 ] | |
253 then | |
254 cfile_str2ind $SRCDIR/cmh_ccf.c | |
255 cfile_str2ind $SRCDIR/cmh_ccq.c | |
256 cfile_str2ind $SRCDIR/cmh_ccr.c | |
257 cfile_str2ind $SRCDIR/cmh_ccs.c | |
258 cfile_str2ind $SRCDIR/cmh_dmy.c | |
259 cfile_str2ind $SRCDIR/cmh_f.c | |
260 cfile_str2ind $SRCDIR/cmh_l2rf.c | |
261 cfile_str2ind $SRCDIR/cmh_l2rq.c | |
262 cfile_str2ind $SRCDIR/cmh_l2rr.c | |
263 cfile_str2ind $SRCDIR/cmh_l2rs.c | |
264 cfile_str2ind $SRCDIR/cmh_mmf.c | |
265 cfile_str2ind $SRCDIR/cmh_mmir.c | |
266 cfile_str2ind $SRCDIR/cmh_mmis.c | |
267 cfile_str2ind $SRCDIR/cmh_mmit.c | |
268 cfile_str2ind $SRCDIR/cmh_mmiq.c | |
269 cfile_str2ind $SRCDIR/cmh_mmq.c | |
270 cfile_str2ind $SRCDIR/cmh_mmr.c | |
271 cfile_str2ind $SRCDIR/cmh_mms.c | |
272 cfile_str2ind $SRCDIR/cmh_mmt.c | |
273 cfile_str2ind $SRCDIR/cmh_phbf.c | |
274 cfile_str2ind $SRCDIR/cmh_phbq.c | |
275 cfile_str2ind $SRCDIR/cmh_ssq.c | |
276 cfile_str2ind $SRCDIR/cmh_ssr.c | |
277 cfile_str2ind $SRCDIR/cmh_sss.c | |
278 cfile_str2ind $SRCDIR/cmh_phbs.c | |
279 cfile_str2ind $SRCDIR/cmh_phbt.c | |
280 cfile_str2ind $SRCDIR/cmh_phbr.c | |
281 cfile_str2ind $SRCDIR/cmh_raf.c | |
282 cfile_str2ind $SRCDIR/cmh_rar.c | |
283 cfile_str2ind $SRCDIR/cmh_ras.c | |
284 cfile_str2ind $SRCDIR/cmh_simf.c | |
285 cfile_str2ind $SRCDIR/cmh_simq.c | |
286 cfile_str2ind $SRCDIR/cmh_simr.c | |
287 cfile_str2ind $SRCDIR/cmh_sims.c | |
288 cfile_str2ind $SRCDIR/cmh_smsf.c | |
289 cfile_str2ind $SRCDIR/cmh_smsq.c | |
290 cfile_str2ind $SRCDIR/cmh_smsr.c | |
291 cfile_str2ind $SRCDIR/cmh_smss.c | |
292 cfile_str2ind $SRCDIR/cmh_ssf.c | |
293 | |
294 if [ "$SRVC" = 1 ] | |
295 then | |
296 cfile_str2ind $SRCDIR/cmh_t30f.c | |
297 cfile_str2ind $SRCDIR/cmh_t30r.c | |
298 cfile_str2ind $SRCDIR/cmh_t30s.c | |
299 cfile_str2ind $SRCDIR/cmh_t30q.c | |
300 fi | |
301 | |
302 cfile_str2ind $SRCDIR/cmh_tsts.c | |
303 cfile_str2ind $SRCDIR/cmh_uartf.c | |
304 cfile_str2ind $SRCDIR/cmh_uartr.c | |
305 cfile_str2ind $SRCDIR/cmh_uarts.c | |
306 fi | |
307 | |
308 # CMH stuff (part 4) | |
309 # all WAP/TCPIP/SATE stuff - not in FreeCalypso | |
310 | |
311 # CMH stuff (part 5) | |
312 if [ "$GPRS" = 1 ] | |
313 then | |
314 cfile_str2ind $SRCDIR/cmh_gmmf.c | |
315 cfile_str2ind $SRCDIR/cmh_gmmq.c | |
316 cfile_str2ind $SRCDIR/cmh_gmmr.c | |
317 cfile_str2ind $SRCDIR/cmh_gmms.c | |
318 cfile_str2ind $SRCDIR/cmh_gpppf.c | |
319 cfile_str2ind $SRCDIR/cmh_gpppr.c | |
320 cfile_str2ind $SRCDIR/cmh_gppps.c | |
321 cfile_str2ind $SRCDIR/cmh_snds.c | |
322 cfile_str2ind $SRCDIR/cmh_sndr.c | |
323 cfile_str2ind $SRCDIR/cmh_smf.c | |
324 cfile_str2ind $SRCDIR/cmh_smq.c | |
325 cfile_str2ind $SRCDIR/cmh_smr.c | |
326 cfile_str2ind $SRCDIR/cmh_sms.c | |
327 cfile_str2ind $SRCDIR/cmh_smt.c | |
328 fi | |
329 | |
330 # CMH stuff (part 6) | |
331 cfile_str2ind $SRCDIR/cmh_cphs.c | |
332 cfile_str2ind $SRCDIR/cmh_dti.c | |
333 | |
334 # PSA stuff | |
335 cfile_str2ind $SRCDIR/psa_satf.c | |
336 cfile_str2ind $SRCDIR/psa_satp.c | |
337 cfile_str2ind $SRCDIR/psa_sats.c | |
338 cfile_str2ind $SRCDIR/cmh_satf.c | |
339 | |
340 cfile_str2ind $SRCDIR/psa_ccf.c | |
341 cfile_str2ind $SRCDIR/psa_ccp.c | |
342 cfile_str2ind $SRCDIR/psa_ccs.c | |
343 cfile_str2ind $SRCDIR/psa_f.c | |
344 | |
345 if [ "$SRVC" != 0 ] | |
346 then | |
347 cfile_str2ind $SRCDIR/psa_l2rf.c | |
348 cfile_str2ind $SRCDIR/psa_l2rp.c | |
349 cfile_str2ind $SRCDIR/psa_l2rs.c | |
350 fi | |
351 | |
352 cfile_str2ind $SRCDIR/psa_mmf.c | |
353 cfile_str2ind $SRCDIR/psa_mmif.c | |
354 cfile_str2ind $SRCDIR/psa_mmip.c | |
355 cfile_str2ind $SRCDIR/psa_mmis.c | |
356 cfile_str2ind $SRCDIR/psa_mmp.c | |
357 cfile_str2ind $SRCDIR/psa_mms.c | |
358 | |
359 if [ "$SRVC" != 0 ] | |
360 then | |
361 cfile_str2ind $SRCDIR/psa_raf.c | |
362 cfile_str2ind $SRCDIR/psa_rap.c | |
363 cfile_str2ind $SRCDIR/psa_ras.c | |
364 fi | |
365 | |
366 cfile_str2ind $SRCDIR/psa_simf.c | |
367 cfile_str2ind $SRCDIR/psa_simp.c | |
368 cfile_str2ind $SRCDIR/psa_sims.c | |
369 cfile_str2ind $SRCDIR/psa_smsf.c | |
370 cfile_str2ind $SRCDIR/psa_smsp.c | |
371 cfile_str2ind $SRCDIR/psa_smss.c | |
372 cfile_str2ind $SRCDIR/psa_ssf.c | |
373 cfile_str2ind $SRCDIR/psa_ssp.c | |
374 cfile_str2ind $SRCDIR/psa_sss.c | |
375 | |
376 if [ "$SRVC" = 1 ] | |
377 then | |
378 cfile_str2ind $SRCDIR/psa_t30f.c | |
379 cfile_str2ind $SRCDIR/psa_t30p.c | |
380 cfile_str2ind $SRCDIR/psa_t30s.c | |
381 fi | |
382 | |
383 cfile_str2ind $SRCDIR/psa_util.c | |
384 cfile_str2ind $SRCDIR/psa_uartp.c | |
385 cfile_str2ind $SRCDIR/psa_uarts.c | |
386 | |
387 if [ "$SRVC" != 0 ] | |
388 then | |
389 cfile_str2ind $SRCDIR/psa_tras.c | |
390 cfile_str2ind $SRCDIR/psa_trap.c | |
391 fi | |
392 | |
393 cfile_str2ind $SRCDIR/psa_mtst.c | |
394 | |
395 if [ "$GPRS" = 1 ] | |
396 then | |
397 cfile_str2ind $SRCDIR/psa_gmmf.c | |
398 cfile_str2ind $SRCDIR/psa_gmmp.c | |
399 cfile_str2ind $SRCDIR/psa_gmms.c | |
400 cfile_str2ind $SRCDIR/psa_gpppf.c | |
401 cfile_str2ind $SRCDIR/psa_gpppp.c | |
402 cfile_str2ind $SRCDIR/psa_gppps.c | |
403 cfile_str2ind $SRCDIR/psa_sndp.c | |
404 cfile_str2ind $SRCDIR/psa_snds.c | |
405 cfile_str2ind $SRCDIR/psa_smf.c | |
406 cfile_str2ind $SRCDIR/psa_smp.c | |
407 cfile_str2ind $SRCDIR/psa_sms.c | |
408 cfile_str2ind $SRCDIR/psa_upmp.c | |
409 cfile_str2ind $SRCDIR/psa_upms.c | |
410 fi | |
411 | |
412 # miscellaneous stuff | |
413 cfile_str2ind $SRCDIR/sap_dti.c | |
414 | |
415 if [ "$GPRS" = 1 ] | |
416 then | |
417 cfile_str2ind $SRCDIR/sap_ppp.c | |
418 fi | |
419 | |
420 cfile_str2ind $SRCDIR/sap_em.c | |
421 cfile_str2ind $SRCDIR/conc_sms.c | |
422 cfile_str2ind $SRCDIR/cphs.c | |
423 cfile_str2ind $SRCDIR/cphs_aci.c | |
424 cfile_str2ind $SRCDIR/line_edit.c | |
425 cfile_str2ind $SRCDIR/line_split.c | |
426 cfile_str2ind $SRCDIR/dcm_f.c | |
427 | |
428 # KSD sourceset, new defines | |
429 | |
430 CPPFLAGS=-DCCDTABLES_EXTERN | |
431 CPPFLAGS="$CPPFLAGS -DOPTION_MULTITHREAD" | |
432 CPPFLAGS="$CPPFLAGS -DNEW_FRAME" | |
433 CPPFLAGS="$CPPFLAGS -DNEW_ENTITY" | |
434 CPPFLAGS="$CPPFLAGS -D_TARGET_" | |
435 CPPFLAGS="$CPPFLAGS -DSHARED_VSI" | |
436 CPPFLAGS="$CPPFLAGS -DALR" | |
437 CPPFLAGS="$CPPFLAGS -DFF_HOMEZONE" | |
438 CPPFLAGS="$CPPFLAGS -DFF_MMI_SAT_ICON" | |
439 CPPFLAGS="$CPPFLAGS -DFF_MMI_SMS_DYNAMIC" | |
440 CPPFLAGS="$CPPFLAGS -DFF_CPHS" | |
441 CPPFLAGS="$CPPFLAGS -D_TMS470" | |
442 CPPFLAGS="$CPPFLAGS -DUART" | |
443 CPPFLAGS="$CPPFLAGS -DFF_ATI" | |
444 CPPFLAGS="$CPPFLAGS -DNWARN" | |
445 CPPFLAGS="$CPPFLAGS -DFF_EM_MODE" | |
446 CPPFLAGS="$CPPFLAGS -DAT_INTERPRETER" | |
447 CPPFLAGS="$CPPFLAGS -DUSE_L1FD_FUNC_INTERFACE" | |
448 | |
449 if [ "$SRVC" != 0 ] | |
450 then | |
451 CPPFLAGS="$CPPFLAGS -DFAX_AND_DATA" | |
452 if [ "$SRVC" = 1 ] | |
453 then | |
454 CPPFLAGS="$CPPFLAGS -DFF_FAX" | |
455 fi | |
456 CPPFLAGS="$CPPFLAGS -DUSE_L2FD_FUNC_INTERFACE" | |
457 fi | |
458 | |
459 CPPFLAGS="$CPPFLAGS -DSRVC=$SRVC" | |
460 CPPFLAGS="$CPPFLAGS -DMMI=$MMI" | |
461 | |
462 if [ "$MMI" = 0 ] | |
463 then | |
464 CPPFLAGS="$CPPFLAGS -DACI" | |
465 elif [ "$MMI" = 2 ] | |
466 then | |
467 CPPFLAGS="$CPPFLAGS -DMFW" | |
468 fi | |
469 | |
470 CPPFLAGS="$CPPFLAGS -DPHONEBOOK_EXTENSION" | |
471 | |
472 if [ "$GPRS" = 1 ] | |
473 then | |
474 CPPFLAGS="$CPPFLAGS -DGPRS" | |
475 fi | |
476 | |
477 CPPFLAGS="$CPPFLAGS -DSMS_PDU_SUPPORT" | |
478 CPPFLAGS="$CPPFLAGS -DSIM_TOOLKIT" | |
479 CPPFLAGS="$CPPFLAGS -DCHIPSET=$CHIPSET" | |
480 CPPFLAGS="$CPPFLAGS -DBOARD=41" | |
481 | |
482 # New includes | |
483 | |
484 CPPFLAGS="$CPPFLAGS -I$SRC/$CONDAT/com/inc" | |
485 CPPFLAGS="$CPPFLAGS -I$SRC/$GPF/inc" | |
486 CPPFLAGS="$CPPFLAGS -I$SRC/$CONDAT/com/include" | |
487 CPPFLAGS="$CPPFLAGS -I../../$CDGINC" | |
488 CPPFLAGS="$CPPFLAGS -I$SRC/g23m-aci/aci" | |
489 CPPFLAGS="$CPPFLAGS -I$SRC/g23m-aci/ksd" | |
490 CPPFLAGS="$CPPFLAGS -I../../$CDGPRIM" | |
491 | |
492 # KSD source modules | |
493 | |
494 SRCDIR=$SRC/g23m-aci/ksd | |
495 | |
496 cfile_str2ind $SRCDIR/ksd.c | |
497 cfile_str2ind $SRCDIR/ksd_utl.c |