126
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
1 # Building mfw.lib from TCS211 source
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
2
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
3 CFLAGS="-me -mt -o -pw2 -x -mw"
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
4 CPPFLAGS=
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
5
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
6 make_version mfw
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
7 cfile_plain mfw_version.c
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
8
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
9 # Defines
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
10
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
11 CPPFLAGS=-DCCDTABLES_EXTERN
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
12 CPPFLAGS="$CPPFLAGS -DOPTION_MULTITHREAD"
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
13 CPPFLAGS="$CPPFLAGS -DNEW_FRAME"
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
14 CPPFLAGS="$CPPFLAGS -DNEW_ENTITY"
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
15 CPPFLAGS="$CPPFLAGS -D_TARGET_"
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
16 CPPFLAGS="$CPPFLAGS -DSHARED_VSI"
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
17 CPPFLAGS="$CPPFLAGS -DALR"
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
18 CPPFLAGS="$CPPFLAGS -DFF_HOMEZONE"
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
19 CPPFLAGS="$CPPFLAGS -DFF_MMI_SAT_ICON"
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
20 CPPFLAGS="$CPPFLAGS -DFF_MMI_SMS_DYNAMIC"
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
21 CPPFLAGS="$CPPFLAGS -DFF_CPHS"
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
22 CPPFLAGS="$CPPFLAGS -D_TMS470"
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
23 CPPFLAGS="$CPPFLAGS -DUART"
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
24 CPPFLAGS="$CPPFLAGS -DFF_ATI"
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
25 CPPFLAGS="$CPPFLAGS -DNWARN"
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
26 CPPFLAGS="$CPPFLAGS -DFF_EM_MODE"
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
27 CPPFLAGS="$CPPFLAGS -DAT_INTERPRETER"
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
28 CPPFLAGS="$CPPFLAGS -DUSE_L1FD_FUNC_INTERFACE"
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
29
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
30 if [ "$SRVC" != 0 ]
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
31 then
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
32 CPPFLAGS="$CPPFLAGS -DFAX_AND_DATA"
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
33 if [ "$SRVC" = 1 ]
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
34 then
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
35 CPPFLAGS="$CPPFLAGS -DFF_FAX"
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
36 fi
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
37 CPPFLAGS="$CPPFLAGS -DUSE_L2FD_FUNC_INTERFACE"
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
38 fi
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
39
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
40 CPPFLAGS="$CPPFLAGS -DSRVC=$SRVC"
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
41 CPPFLAGS="$CPPFLAGS -DMMI=2"
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
42 CPPFLAGS="$CPPFLAGS -DMFW"
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
43 CPPFLAGS="$CPPFLAGS -DMMI_HOMEZONE_ENABLED"
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
44 CPPFLAGS="$CPPFLAGS -DFF_MMI_SAT_ICON"
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
45 CPPFLAGS="$CPPFLAGS -DFF_MMI_SMS_DYNAMIC"
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
46
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
47 if [ "$GPRS" = 1 ]
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
48 then
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
49 CPPFLAGS="$CPPFLAGS -DMMI_GPRS_ENABLED"
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
50 fi
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
51
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
52 CPPFLAGS="$CPPFLAGS -DMMI_EM_ENABLED"
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
53 CPPFLAGS="$CPPFLAGS -DNO_ASCIIZ"
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
54
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
55 if [ "$TARGET" != c139 ]
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
56 then
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
57 CPPFLAGS="$CPPFLAGS -DCOLOURDISPLAY"
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
58 CPPFLAGS="$CPPFLAGS -DLSCREEN"
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
59 fi
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
60
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
61 CPPFLAGS="$CPPFLAGS -DINT_PHONEBOOK"
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
62 CPPFLAGS="$CPPFLAGS -DNEW_EDITOR"
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
63 CPPFLAGS="$CPPFLAGS -DTRGT_G23"
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
64 CPPFLAGS="$CPPFLAGS -DAUS_CONDAT_TYPE_PORTING"
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
65 CPPFLAGS="$CPPFLAGS -DPHONEBOOK_EXTENSION"
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
66
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
67 if [ "$GPRS" = 1 ]
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
68 then
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
69 CPPFLAGS="$CPPFLAGS -DGPRS"
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
70 fi
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
71
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
72 CPPFLAGS="$CPPFLAGS -DSIM_TOOLKIT"
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
73
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
74 # Includes
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
75
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
76 CPPFLAGS="$CPPFLAGS -I$SRC/$CONDAT/com/inc"
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
77 CPPFLAGS="$CPPFLAGS -I$SRC/$GPF/inc"
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
78 CPPFLAGS="$CPPFLAGS -I$SRC/$CONDAT/com/include"
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
79 CPPFLAGS="$CPPFLAGS -I../../$CDGINC"
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
80 CPPFLAGS="$CPPFLAGS -I$SRC/aci2/aci"
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
81 CPPFLAGS="$CPPFLAGS -I$SRC/aci2/ksd"
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
82 CPPFLAGS="$CPPFLAGS -I$SRC/aci2/atb"
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
83 CPPFLAGS="$CPPFLAGS -I$SRC/aci2/mfw"
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
84 CPPFLAGS="$CPPFLAGS -I$SRC/aci2/aci_ext"
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
85 CPPFLAGS="$CPPFLAGS -I$SRC/aci2/aci_dti_mng"
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
86 CPPFLAGS="$CPPFLAGS -I.."
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
87 CPPFLAGS="$CPPFLAGS -I../config"
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
88 CPPFLAGS="$CPPFLAGS -I$SRC/cs/riviera"
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
89 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_app"
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
90 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core"
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
91 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/abb"
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
92 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/armio"
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
93 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/clkm"
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
94 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/conf"
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
95 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/dma"
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
96 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/dsp_dwnld"
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
97 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/inth"
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
98 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/memif"
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
99 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/rhea"
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
100 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/security"
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
101 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/spi"
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
102 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/timer"
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
103 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/uart"
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
104 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/ulpd"
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
105 CPPFLAGS="$CPPFLAGS -I$SRC/cs/system"
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
106 CPPFLAGS="$CPPFLAGS -I$SRC/cs/layer1/include"
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
107 CPPFLAGS="$CPPFLAGS -I$SRC/cs/services"
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
108
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
109 # MFW source modules
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
110
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
111 SRCDIR=$SRC/aci2/mfw
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
112
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
113 cfile_str2ind $SRCDIR/ti1_key.c
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
114 cfile_str2ind $SRCDIR/ti1_tmr.c
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
115 cfile_str2ind $SRCDIR/mfw_mfw.c
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
116 cfile_str2ind $SRCDIR/mfw_win.c
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
117 cfile_str2ind $SRCDIR/mfw_kbd.c
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
118 cfile_str2ind $SRCDIR/mfw_tim.c
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
119 cfile_str2ind $SRCDIR/mfw_mnu.c
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
120 cfile_str2ind $SRCDIR/mfw_icn.c
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
121 cfile_str2ind $SRCDIR/mfw_ext.c
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
122 cfile_str2ind $SRCDIR/mfw_cm.c
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
123 cfile_str2ind $SRCDIR/mfw_ss.c
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
124 cfile_str2ind $SRCDIR/mfw_nm.c
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
125 cfile_str2ind $SRCDIR/mfw_nma.c
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
126 cfile_str2ind $SRCDIR/mfw_sim.c
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
127 cfile_str2ind $SRCDIR/mfw_sima.c
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
128 cfile_str2ind $SRCDIR/mfw_sms.c
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
129 cfile_str2ind $SRCDIR/mfw_phb.c
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
130 cfile_str2ind $SRCDIR/mfw_mme.c
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
131 cfile_str2ind $SRCDIR/mfw_cb.c
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
132 cfile_str2ind $SRCDIR/mfw_acie.c
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
133 cfile_str2ind $SRCDIR/mfw_sat.c
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
134 cfile_str2ind $SRCDIR/mfw_lng.c
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
135 cfile_str2ind $SRCDIR/mfw_cnvt.c
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
136 cfile_str2ind $SRCDIR/mfw_cphs.c
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
137 cfile_str2ind $SRCDIR/mfw_str.c
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
138 cfile_str2ind $SRCDIR/mfw_ffs.c
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
139
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
140 if [ "$GPRS" = 1 ]
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
141 then
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
142 cfile_str2ind $SRCDIR/mfw_gprs.c
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
143 fi
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
144
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
145 cfile_str2ind $SRCDIR/mfw_band.c
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
146 cfile_str2ind $SRCDIR/mfw_em.c
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
147 cfile_str2ind $SRCDIR/mfw_utils.c
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
148 cfile_str2ind $SRCDIR/mfw_aud.c
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
149 cfile_str2ind $SRCDIR/mfw_td.c
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
150
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
151 # ATB source modules
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
152
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
153 SRCDIR=$SRC/aci2/atb
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
154
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
155 cfile_str2ind $SRCDIR/ATBCommon.c
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
156 cfile_str2ind $SRCDIR/ATBDisplay.c
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
157 cfile_str2ind $SRCDIR/ATBEditor.c
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
158 cfile_str2ind $SRCDIR/ATBPb.c
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
159 cfile_str2ind $SRCDIR/ATBPbFS.c
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
160 cfile_str2ind $SRCDIR/ATBPbGI.c
|