119
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
1 # Building bmi.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 bmi
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
7 cfile_plain bmi_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=-DMMI_HOMEZONE_ENABLED
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
12 CPPFLAGS="$CPPFLAGS -DFF_MMI_SAT_ICON"
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
13 CPPFLAGS="$CPPFLAGS -DFF_MMI_SMS_DYNAMIC"
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
14
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
15 if [ "$GPRS" = 1 ]
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
16 then
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
17 CPPFLAGS="$CPPFLAGS -DMMI_GPRS_ENABLED"
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
18 fi
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
19
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
20 CPPFLAGS="$CPPFLAGS -DMMI_EM_ENABLED"
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
21 CPPFLAGS="$CPPFLAGS -DNO_ASCIIZ"
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
22
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
23 if [ "$TARGET" != c139 ]
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
24 then
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
25 CPPFLAGS="$CPPFLAGS -DCOLOURDISPLAY"
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
26 CPPFLAGS="$CPPFLAGS -DLSCREEN"
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
27 fi
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
28
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
29 CPPFLAGS="$CPPFLAGS -DINT_PHONEBOOK"
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
30 CPPFLAGS="$CPPFLAGS -DNEW_EDITOR"
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
31 CPPFLAGS="$CPPFLAGS -DTRGT_G23"
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
32 CPPFLAGS="$CPPFLAGS -DAUS_CONDAT_TYPE_PORTING"
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
33 CPPFLAGS="$CPPFLAGS -DCCDTABLES_EXTERN"
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
34 CPPFLAGS="$CPPFLAGS -DOPTION_MULTITHREAD"
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
35 CPPFLAGS="$CPPFLAGS -DNEW_FRAME"
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
36 CPPFLAGS="$CPPFLAGS -DNEW_ENTITY"
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
37 CPPFLAGS="$CPPFLAGS -D_TARGET_"
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
38 CPPFLAGS="$CPPFLAGS -DSHARED_VSI"
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
39 CPPFLAGS="$CPPFLAGS -DALR"
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
40 CPPFLAGS="$CPPFLAGS -DFF_HOMEZONE"
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
41 CPPFLAGS="$CPPFLAGS -DFF_MMI_SAT_ICON"
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
42 CPPFLAGS="$CPPFLAGS -DFF_MMI_SMS_DYNAMIC"
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
43 CPPFLAGS="$CPPFLAGS -DFF_CPHS"
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
44 CPPFLAGS="$CPPFLAGS -D_TMS470"
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
45 CPPFLAGS="$CPPFLAGS -DUART"
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
46 CPPFLAGS="$CPPFLAGS -DFF_ATI"
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
47 CPPFLAGS="$CPPFLAGS -DPHONEBOOK_EXTENSION"
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
48
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
49 if [ "$GPRS" = 1 ]
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
50 then
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
51 CPPFLAGS="$CPPFLAGS -DGPRS"
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
52 fi
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
53
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
54 CPPFLAGS="$CPPFLAGS -DFF_EM_MODE"
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
55 CPPFLAGS="$CPPFLAGS -DMMI=2"
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
56 CPPFLAGS="$CPPFLAGS -DMFW"
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
57 CPPFLAGS="$CPPFLAGS -DAT_INTERPRETER"
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
58 CPPFLAGS="$CPPFLAGS -DUSE_L1FD_FUNC_INTERFACE"
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
59
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
60 if [ "$SRVC" != 0 ]
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
61 then
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
62 CPPFLAGS="$CPPFLAGS -DFAX_AND_DATA"
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
63 if [ "$SRVC" = 1 ]
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
64 then
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
65 CPPFLAGS="$CPPFLAGS -DFF_FAX"
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
66 fi
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
67 CPPFLAGS="$CPPFLAGS -DUSE_L2FD_FUNC_INTERFACE"
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
68 fi
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
69
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
70 CPPFLAGS="$CPPFLAGS -DSRVC=$SRVC"
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
71 CPPFLAGS="$CPPFLAGS -DNWARN"
|
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/bmi"
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
81 CPPFLAGS="$CPPFLAGS -I$SRC/aci2/mfw"
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
82 CPPFLAGS="$CPPFLAGS -I$SRC/aci2/aci"
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
83 CPPFLAGS="$CPPFLAGS -I$SRC/aci2/ksd"
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
84 CPPFLAGS="$CPPFLAGS -I$SRC/aci2/atb"
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
85 CPPFLAGS="$CPPFLAGS -I.."
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
86 CPPFLAGS="$CPPFLAGS -I../config"
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
87 CPPFLAGS="$CPPFLAGS -I$SRC/cs/riviera"
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
88 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_app"
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
89 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core"
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
90 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/abb"
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
91 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/armio"
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
92 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/clkm"
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
93 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/conf"
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
94 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/dma"
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
95 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/dsp_dwnld"
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
96 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/inth"
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
97 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/memif"
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
98 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/rhea"
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
99 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/security"
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
100 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/spi"
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
101 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/timer"
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
102 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/uart"
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
103 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/ulpd"
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
104 CPPFLAGS="$CPPFLAGS -I$SRC/cs/system"
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
105 CPPFLAGS="$CPPFLAGS -I$SRC/cs/layer1/include"
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
106 CPPFLAGS="$CPPFLAGS -I$SRC/cs/services"
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
107
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
108 # Source modules
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
109
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
110 SRCDIR=$SRC/aci2/bmi
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
111
|
121
|
112 cfile_str2ind $SRCDIR/mmiCall.c
|
|
113 cfile_str2ind $SRCDIR/mmiResources.c
|
|
114 cfile_str2ind $SRCDIR/mmiBlkLangDB.c
|
|
115 cfile_str2ind $SRCDIR/mmiBlkManager.c
|
|
116 cfile_str2ind $SRCDIR/mmiBlkResources.c
|
|
117 cfile_str2ind $SRCDIR/mmiBookCallDetailsWindow.c
|
|
118 cfile_str2ind $SRCDIR/mmiBookCallListWindow.c
|
|
119 cfile_str2ind $SRCDIR/mmiBookController.c
|
|
120 cfile_str2ind $SRCDIR/mmiBookDetailsWindow.c
|
|
121 cfile_str2ind $SRCDIR/mmiBookMenuWindow.c
|
|
122 cfile_str2ind $SRCDIR/mmiBookPhonebook.c
|
|
123 cfile_str2ind $SRCDIR/mmiBookSDNWindow.c
|
|
124 cfile_str2ind $SRCDIR/mmiBookSearchWindow.c
|
|
125 cfile_str2ind $SRCDIR/mmiBookServices.c
|
|
126 cfile_str2ind $SRCDIR/mmiBookShared.c
|
|
127 cfile_str2ind $SRCDIR/mmiBookUtils.c
|
|
128 cfile_str2ind $SRCDIR/mmiDialogs.c
|
|
129 cfile_str2ind $SRCDIR/mmiDummy.c
|
|
130 cfile_str2ind $SRCDIR/mmiIcons.c
|
|
131 cfile_str2ind $SRCDIR/mmiIdle.c
|
|
132 cfile_str2ind $SRCDIR/mmiLists.c
|
|
133 cfile_str2ind $SRCDIR/mmiMain.c
|
|
134 cfile_str2ind $SRCDIR/mmiMenu.c
|
|
135 cfile_str2ind $SRCDIR/mmiMmi.c
|
|
136 cfile_str2ind $SRCDIR/mmiNetwork.c
|
|
137 cfile_str2ind $SRCDIR/mmiPins.c
|
|
138 cfile_str2ind $SRCDIR/mmiServices.c
|
|
139 cfile_str2ind $SRCDIR/mmiSettings.c
|
|
140 cfile_str2ind $SRCDIR/mmiSmsBroadcast.c
|
|
141 cfile_str2ind $SRCDIR/mmiSounds.c
|
|
142 cfile_str2ind $SRCDIR/mmiSmsIdle.c
|
|
143 cfile_str2ind $SRCDIR/mmiSmsMenu.c
|
|
144 cfile_str2ind $SRCDIR/mmiSmsSend.c
|
|
145 cfile_str2ind $SRCDIR/mmiSmsRead.c
|
|
146 cfile_str2ind $SRCDIR/mmiSoftKeys.c
|
|
147 cfile_str2ind $SRCDIR/mmiStart.c
|
|
148 cfile_str2ind $SRCDIR/mmiTimeDate.c
|
|
149 cfile_str2ind $SRCDIR/mmiUserData.c
|
|
150 cfile_str2ind $SRCDIR/mmiSatCall.c
|
|
151 cfile_str2ind $SRCDIR/mmiSatInfo.c
|
|
152 cfile_str2ind $SRCDIR/mmiSatInput.c
|
|
153 cfile_str2ind $SRCDIR/mmiSatMenu.c
|
|
154 cfile_str2ind $SRCDIR/mmiSimToolkit.c
|
|
155 cfile_str2ind $SRCDIR/mmiVoiceMemo.c
|
|
156 cfile_str2ind $SRCDIR/mmiCalculatorMain.c
|
|
157 cfile_str2ind $SRCDIR/mmiMelody_data.c
|
|
158 cfile_str2ind $SRCDIR/mmiTimers.c
|
|
159 cfile_str2ind $SRCDIR/mmiAoc.c
|
|
160 cfile_str2ind $SRCDIR/mmiCPHS.c
|
|
161 cfile_str2ind $SRCDIR/mmiBand.c
|
|
162 cfile_str2ind $SRCDIR/mmiSatClassE.c
|
|
163
|
|
164 if [ "$GPRS" = 1 ]
|
|
165 then
|
|
166 cfile_str2ind $SRCDIR/mmiGprs.c
|
|
167 fi
|
|
168
|
|
169 cfile_str2ind $SRCDIR/mmiHomezone.c
|
|
170 cfile_str2ind $SRCDIR/AUICalcEditor.c
|
|
171 cfile_str2ind $SRCDIR/AUIEditor.c
|
|
172 cfile_str2ind $SRCDIR/AUIPinEditor.c
|
|
173 cfile_str2ind $SRCDIR/AUISymbol.c
|
|
174 cfile_str2ind $SRCDIR/AUITextEntry.c
|
|
175 cfile_str2ind $SRCDIR/mmiEm.c
|