FreeCalypso > hg > fc-magnetite
comparison components/bmi-tcs3 @ 423:627d8ab425df
starting to compile TCS3 version of BMI, drowning in errors
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Sun, 21 Jan 2018 03:59:57 +0000 |
parents | |
children | 504b9cd42c37 |
comparison
equal
deleted
inserted
replaced
422:5fbcfd465de0 | 423:627d8ab425df |
---|---|
1 # Building bmi.lib from TCS3/LoCosto source | |
2 | |
3 CFLAGS="-me -mt -o -pw2 -x -mw" | |
4 CPPFLAGS= | |
5 | |
6 make_version bmi | |
7 cfile_plain bmi_version.c | |
8 | |
9 # Defines | |
10 | |
11 CPPFLAGS=-DMMI_HOMEZONE_ENABLED | |
12 CPPFLAGS="$CPPFLAGS -DFF_MMI_SAT_ICON" | |
13 CPPFLAGS="$CPPFLAGS -DFF_MMI_SMS_DYNAMIC" | |
14 | |
15 if [ "$GPRS" = 1 ] | |
16 then | |
17 CPPFLAGS="$CPPFLAGS -DMMI_GPRS_ENABLED" | |
18 fi | |
19 | |
20 CPPFLAGS="$CPPFLAGS -DMMI_EM_ENABLED" | |
21 CPPFLAGS="$CPPFLAGS -DNO_ASCIIZ" | |
22 | |
23 if [ "$TARGET" != c139 -a "$TARGET" != c11x ] | |
24 then | |
25 CPPFLAGS="$CPPFLAGS -DCOLOURDISPLAY" | |
26 CPPFLAGS="$CPPFLAGS -DLSCREEN" | |
27 fi | |
28 | |
29 CPPFLAGS="$CPPFLAGS -DINT_PHONEBOOK" | |
30 CPPFLAGS="$CPPFLAGS -DNEW_EDITOR" | |
31 CPPFLAGS="$CPPFLAGS -DTRGT_G23" | |
32 CPPFLAGS="$CPPFLAGS -DAUS_CONDAT_TYPE_PORTING" | |
33 CPPFLAGS="$CPPFLAGS -DCCDTABLES_EXTERN" | |
34 CPPFLAGS="$CPPFLAGS -DOPTION_MULTITHREAD" | |
35 CPPFLAGS="$CPPFLAGS -DNEW_FRAME" | |
36 CPPFLAGS="$CPPFLAGS -DNEW_ENTITY" | |
37 CPPFLAGS="$CPPFLAGS -D_TARGET_" | |
38 CPPFLAGS="$CPPFLAGS -DSHARED_VSI" | |
39 CPPFLAGS="$CPPFLAGS -DALR" | |
40 CPPFLAGS="$CPPFLAGS -DFF_HOMEZONE" | |
41 CPPFLAGS="$CPPFLAGS -DFF_MMI_SAT_ICON" | |
42 CPPFLAGS="$CPPFLAGS -DFF_MMI_SMS_DYNAMIC" | |
43 CPPFLAGS="$CPPFLAGS -DFF_CPHS" | |
44 CPPFLAGS="$CPPFLAGS -D_TMS470" | |
45 CPPFLAGS="$CPPFLAGS -DUART" | |
46 CPPFLAGS="$CPPFLAGS -DFF_ATI" | |
47 CPPFLAGS="$CPPFLAGS -DPHONEBOOK_EXTENSION" | |
48 | |
49 if [ "$GPRS" = 1 ] | |
50 then | |
51 CPPFLAGS="$CPPFLAGS -DGPRS" | |
52 fi | |
53 | |
54 CPPFLAGS="$CPPFLAGS -DFF_EM_MODE" | |
55 CPPFLAGS="$CPPFLAGS -DMMI=2" | |
56 CPPFLAGS="$CPPFLAGS -DMFW" | |
57 CPPFLAGS="$CPPFLAGS -DAT_INTERPRETER" | |
58 CPPFLAGS="$CPPFLAGS -DUSE_L1FD_FUNC_INTERFACE" | |
59 | |
60 if [ "$SRVC" != 0 ] | |
61 then | |
62 CPPFLAGS="$CPPFLAGS -DFAX_AND_DATA" | |
63 if [ "$SRVC" = 1 ] | |
64 then | |
65 CPPFLAGS="$CPPFLAGS -DFF_FAX" | |
66 fi | |
67 CPPFLAGS="$CPPFLAGS -DUSE_L2FD_FUNC_INTERFACE" | |
68 fi | |
69 | |
70 CPPFLAGS="$CPPFLAGS -DSRVC=$SRVC" | |
71 CPPFLAGS="$CPPFLAGS -DNWARN" | |
72 CPPFLAGS="$CPPFLAGS -DSIM_TOOLKIT" | |
73 | |
74 # Includes | |
75 | |
76 CPPFLAGS="$CPPFLAGS -I$SRC/$CONDAT/com/inc" | |
77 CPPFLAGS="$CPPFLAGS -I$SRC/$GPF/inc" | |
78 CPPFLAGS="$CPPFLAGS -I$SRC/$CONDAT/com/include" | |
79 CPPFLAGS="$CPPFLAGS -I../../$CDGINC" | |
80 CPPFLAGS="$CPPFLAGS -I$SRC/ui3/bmi" | |
81 CPPFLAGS="$CPPFLAGS -I$SRC/ui3/mfw" | |
82 CPPFLAGS="$CPPFLAGS -I$SRC/$ACI/aci" | |
83 CPPFLAGS="$CPPFLAGS -I$SRC/$ACI/ksd" | |
84 CPPFLAGS="$CPPFLAGS -I$SRC/ui3/atb" | |
85 CPPFLAGS="$CPPFLAGS -I.." | |
86 CPPFLAGS="$CPPFLAGS -I../config" | |
87 CPPFLAGS="$CPPFLAGS -I$SRC/cs/riviera" | |
88 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_app" | |
89 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core" | |
90 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/abb" | |
91 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/armio" | |
92 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/clkm" | |
93 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/conf" | |
94 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/dma" | |
95 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/dsp_dwnld" | |
96 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/inth" | |
97 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/memif" | |
98 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/rhea" | |
99 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/security" | |
100 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/spi" | |
101 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/timer" | |
102 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/uart" | |
103 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/ulpd" | |
104 CPPFLAGS="$CPPFLAGS -I$SRC/cs/system" | |
105 CPPFLAGS="$CPPFLAGS -I$SRC/cs/layer1/include" | |
106 CPPFLAGS="$CPPFLAGS -I$SRC/cs/services" | |
107 | |
108 # Source modules | |
109 | |
110 SRCDIR=$SRC/ui3/bmi | |
111 | |
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 |