comparison components/bmi @ 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 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 case "$UI_CONFIG" in
24 bigcolor)
25 CPPFLAGS="$CPPFLAGS -DCOLOURDISPLAY"
26 CPPFLAGS="$CPPFLAGS -DLSCREEN"
27 ;;
28 bigbw)
29 CPPFLAGS="$CPPFLAGS -DLSCREEN"
30 ;;
31 84x48)
32 ;;
33 *)
34 echo "Error: UI_CONFIG=$UI_CONFIG setting not understood" 1>&2
35 exit 1
36 esac
37
38 CPPFLAGS="$CPPFLAGS -DINT_PHONEBOOK"
39 CPPFLAGS="$CPPFLAGS -DNEW_EDITOR"
40 CPPFLAGS="$CPPFLAGS -DTRGT_G23"
41 CPPFLAGS="$CPPFLAGS -DAUS_CONDAT_TYPE_PORTING"
42 CPPFLAGS="$CPPFLAGS -DCCDTABLES_EXTERN"
43 CPPFLAGS="$CPPFLAGS -DOPTION_MULTITHREAD"
44 CPPFLAGS="$CPPFLAGS -DNEW_FRAME"
45 CPPFLAGS="$CPPFLAGS -DNEW_ENTITY"
46 CPPFLAGS="$CPPFLAGS -D_TARGET_"
47 CPPFLAGS="$CPPFLAGS -DSHARED_VSI"
48 CPPFLAGS="$CPPFLAGS -DALR"
49 CPPFLAGS="$CPPFLAGS -DFF_HOMEZONE"
50 CPPFLAGS="$CPPFLAGS -DFF_MMI_SAT_ICON"
51 CPPFLAGS="$CPPFLAGS -DFF_MMI_SMS_DYNAMIC"
52 CPPFLAGS="$CPPFLAGS -DFF_CPHS"
53 CPPFLAGS="$CPPFLAGS -D_TMS470"
54 CPPFLAGS="$CPPFLAGS -DUART"
55 CPPFLAGS="$CPPFLAGS -DFF_ATI"
56 CPPFLAGS="$CPPFLAGS -DPHONEBOOK_EXTENSION"
57
58 if [ "$GPRS" = 1 ]
59 then
60 CPPFLAGS="$CPPFLAGS -DGPRS"
61 fi
62
63 CPPFLAGS="$CPPFLAGS -DFF_EM_MODE"
64 CPPFLAGS="$CPPFLAGS -DMMI=2"
65 CPPFLAGS="$CPPFLAGS -DMFW"
66 CPPFLAGS="$CPPFLAGS -DAT_INTERPRETER"
67 CPPFLAGS="$CPPFLAGS -DUSE_L1FD_FUNC_INTERFACE"
68
69 if [ "$SRVC" != 0 ]
70 then
71 CPPFLAGS="$CPPFLAGS -DFAX_AND_DATA"
72 if [ "$SRVC" = 1 ]
73 then
74 CPPFLAGS="$CPPFLAGS -DFF_FAX"
75 fi
76 CPPFLAGS="$CPPFLAGS -DUSE_L2FD_FUNC_INTERFACE"
77 fi
78
79 CPPFLAGS="$CPPFLAGS -DSRVC=$SRVC"
80 CPPFLAGS="$CPPFLAGS -DNWARN"
81 CPPFLAGS="$CPPFLAGS -DSIM_TOOLKIT"
82 CPPFLAGS="$CPPFLAGS -DCHIPSET=$CHIPSET"
83 CPPFLAGS="$CPPFLAGS -DBOARD=41"
84
85 # Includes
86
87 CPPFLAGS="$CPPFLAGS -I$SRC/$CONDAT/com/inc"
88 CPPFLAGS="$CPPFLAGS -I$SRC/$GPF/inc"
89 CPPFLAGS="$CPPFLAGS -I$SRC/$CONDAT/com/include"
90 CPPFLAGS="$CPPFLAGS -I../../$CDGINC"
91 CPPFLAGS="$CPPFLAGS -I$SRC/ui3/bmi"
92 CPPFLAGS="$CPPFLAGS -I$SRC/ui3/mfw"
93 CPPFLAGS="$CPPFLAGS -I$SRC/$ACI/aci"
94 CPPFLAGS="$CPPFLAGS -I$SRC/$ACI/aci_dti_mng"
95 CPPFLAGS="$CPPFLAGS -I$SRC/$ACI/ksd"
96 CPPFLAGS="$CPPFLAGS -I$SRC/ui3/atb"
97 CPPFLAGS="$CPPFLAGS -I.."
98 CPPFLAGS="$CPPFLAGS -I../config"
99 CPPFLAGS="$CPPFLAGS -I$SRC/cs/riviera"
100 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_app"
101 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core"
102 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/abb"
103 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/armio"
104 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/clkm"
105 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/conf"
106 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/dma"
107 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/dsp_dwnld"
108 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/inth"
109 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/memif"
110 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/rhea"
111 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/security"
112 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/spi"
113 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/timer"
114 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/uart"
115 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/ulpd"
116 CPPFLAGS="$CPPFLAGS -I$SRC/cs/system"
117 CPPFLAGS="$CPPFLAGS -I$SRC/cs/layer1/include"
118 CPPFLAGS="$CPPFLAGS -I$SRC/cs/services"
119
120 # Source modules
121
122 SRCDIR=$SRC/ui3/bmi
123
124 cfile_str2ind $SRCDIR/mmiCall.c
125 cfile_str2ind $SRCDIR/mmiResources.c
126 cfile_str2ind $SRCDIR/mmiBlkLangDB.c
127 cfile_str2ind $SRCDIR/mmiBlkManager.c
128 cfile_str2ind $SRCDIR/mmiBlkResources.c
129 cfile_str2ind $SRCDIR/mmiBookCallDetailsWindow.c
130 cfile_str2ind $SRCDIR/mmiBookCallListWindow.c
131 cfile_str2ind $SRCDIR/mmiBookController.c
132 cfile_str2ind $SRCDIR/mmiBookDetailsWindow.c
133 cfile_str2ind $SRCDIR/mmiBookMenuWindow.c
134 cfile_str2ind $SRCDIR/mmiBookPhonebook.c
135 cfile_str2ind $SRCDIR/mmiBookSDNWindow.c
136 cfile_str2ind $SRCDIR/mmiBookSearchWindow.c
137 cfile_str2ind $SRCDIR/mmiBookServices.c
138 cfile_str2ind $SRCDIR/mmiBookShared.c
139 cfile_str2ind $SRCDIR/mmiBookUtils.c
140 cfile_str2ind $SRCDIR/mmiDialogs.c
141 cfile_str2ind $SRCDIR/mmiDummy.c
142 cfile_str2ind $SRCDIR/mmiIcons.c
143 cfile_str2ind $SRCDIR/mmiIdle.c
144 cfile_str2ind $SRCDIR/mmiLists.c
145 cfile_str2ind $SRCDIR/mmiMain.c
146 cfile_str2ind $SRCDIR/mmiMenu.c
147 cfile_str2ind $SRCDIR/mmiMmi.c
148 cfile_str2ind $SRCDIR/mmiNetwork.c
149 cfile_str2ind $SRCDIR/mmiPins.c
150 cfile_str2ind $SRCDIR/mmiServices.c
151 cfile_str2ind $SRCDIR/mmiSettings.c
152 cfile_str2ind $SRCDIR/mmiSmsBroadcast.c
153 cfile_str2ind $SRCDIR/mmiSounds.c
154 cfile_str2ind $SRCDIR/mmiSmsIdle.c
155 cfile_str2ind $SRCDIR/mmiSmsMenu.c
156 cfile_str2ind $SRCDIR/mmiSmsSend.c
157 cfile_str2ind $SRCDIR/mmiSmsRead.c
158 cfile_str2ind $SRCDIR/mmiSoftKeys.c
159 cfile_str2ind $SRCDIR/mmiStart.c
160 cfile_str2ind $SRCDIR/mmiTimeDate.c
161 cfile_str2ind $SRCDIR/mmiUserData.c
162 cfile_str2ind $SRCDIR/mmiSatCall.c
163 cfile_str2ind $SRCDIR/mmiSatInfo.c
164 cfile_str2ind $SRCDIR/mmiSatInput.c
165 cfile_str2ind $SRCDIR/mmiSatMenu.c
166 cfile_str2ind $SRCDIR/mmiSimToolkit.c
167 cfile_str2ind $SRCDIR/mmiVoiceMemo.c
168 cfile_str2ind $SRCDIR/mmiCalculatorMain.c
169 cfile_str2ind $SRCDIR/mmiMelody_data.c
170 cfile_str2ind $SRCDIR/mmiTimers.c
171 cfile_str2ind $SRCDIR/mmiAoc.c
172 cfile_str2ind $SRCDIR/mmiCPHS.c
173 cfile_str2ind $SRCDIR/mmiBand.c
174 cfile_str2ind $SRCDIR/mmiSatClassE.c
175
176 if [ "$GPRS" = 1 ]
177 then
178 cfile_str2ind $SRCDIR/mmiGprs.c
179 fi
180
181 cfile_str2ind $SRCDIR/mmiHomezone.c
182 cfile_str2ind $SRCDIR/AUICalcEditor.c
183 cfile_str2ind $SRCDIR/AUIEditor.c
184 cfile_str2ind $SRCDIR/AUIPinEditor.c
185 cfile_str2ind $SRCDIR/AUISymbol.c
186 cfile_str2ind $SRCDIR/AUITextEntry.c
187 cfile_str2ind $SRCDIR/mmiEm.c