comparison components/mfw @ 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 mfw.lib from TCS3/LoCosto source
2
3 CFLAGS="-me -mt -o -pw2 -x -mw"
4 CPPFLAGS=
5
6 make_version mfw
7 cfile_plain mfw_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 -DAT_INTERPRETER"
28 CPPFLAGS="$CPPFLAGS -DUSE_L1FD_FUNC_INTERFACE"
29
30 if [ "$SRVC" != 0 ]
31 then
32 CPPFLAGS="$CPPFLAGS -DFAX_AND_DATA"
33 if [ "$SRVC" = 1 ]
34 then
35 CPPFLAGS="$CPPFLAGS -DFF_FAX"
36 fi
37 CPPFLAGS="$CPPFLAGS -DUSE_L2FD_FUNC_INTERFACE"
38 fi
39
40 CPPFLAGS="$CPPFLAGS -DSRVC=$SRVC"
41 CPPFLAGS="$CPPFLAGS -DMMI=2"
42 CPPFLAGS="$CPPFLAGS -DMFW"
43 CPPFLAGS="$CPPFLAGS -DMMI_HOMEZONE_ENABLED"
44 CPPFLAGS="$CPPFLAGS -DFF_MMI_SAT_ICON"
45 CPPFLAGS="$CPPFLAGS -DFF_MMI_SMS_DYNAMIC"
46
47 if [ "$GPRS" = 1 ]
48 then
49 CPPFLAGS="$CPPFLAGS -DMMI_GPRS_ENABLED"
50 fi
51
52 CPPFLAGS="$CPPFLAGS -DMMI_EM_ENABLED"
53 CPPFLAGS="$CPPFLAGS -DNO_ASCIIZ"
54
55 case "$UI_CONFIG" in
56 bigcolor)
57 CPPFLAGS="$CPPFLAGS -DCOLOURDISPLAY"
58 CPPFLAGS="$CPPFLAGS -DLSCREEN"
59 ;;
60 bigbw)
61 CPPFLAGS="$CPPFLAGS -DLSCREEN"
62 ;;
63 84x48)
64 ;;
65 *)
66 echo "Error: UI_CONFIG=$UI_CONFIG setting not understood" 1>&2
67 exit 1
68 esac
69
70 CPPFLAGS="$CPPFLAGS -DINT_PHONEBOOK"
71 CPPFLAGS="$CPPFLAGS -DNEW_EDITOR"
72 CPPFLAGS="$CPPFLAGS -DTRGT_G23"
73 CPPFLAGS="$CPPFLAGS -DAUS_CONDAT_TYPE_PORTING"
74 CPPFLAGS="$CPPFLAGS -DPHONEBOOK_EXTENSION"
75
76 if [ "$GPRS" = 1 ]
77 then
78 CPPFLAGS="$CPPFLAGS -DGPRS"
79 fi
80
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/$ACI/aci"
92 CPPFLAGS="$CPPFLAGS -I$SRC/$ACI/ksd"
93 CPPFLAGS="$CPPFLAGS -I$SRC/ui3/atb"
94 CPPFLAGS="$CPPFLAGS -I$SRC/ui3/mfw"
95 CPPFLAGS="$CPPFLAGS -I$SRC/$ACI/aci_ext"
96 CPPFLAGS="$CPPFLAGS -I$SRC/$ACI/aci_dti_mng"
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 # MFW source modules
121
122 SRCDIR=$SRC/ui3/mfw
123
124 cfile_str2ind $SRCDIR/ti1_key.c
125 cfile_str2ind $SRCDIR/ti1_tmr.c
126 cfile_str2ind $SRCDIR/mfw_mfw.c
127 cfile_str2ind $SRCDIR/mfw_win.c
128 cfile_str2ind $SRCDIR/mfw_kbd.c
129 cfile_str2ind $SRCDIR/mfw_tim.c
130 cfile_str2ind $SRCDIR/mfw_mnu.c
131 cfile_str2ind $SRCDIR/mfw_icn.c
132 cfile_str2ind $SRCDIR/mfw_ext.c
133 cfile_str2ind $SRCDIR/mfw_cm.c
134 cfile_str2ind $SRCDIR/mfw_ss.c
135 cfile_str2ind $SRCDIR/mfw_nm.c
136 cfile_str2ind $SRCDIR/mfw_nma.c
137 cfile_str2ind $SRCDIR/mfw_sim.c
138 cfile_str2ind $SRCDIR/mfw_sima.c
139 cfile_str2ind $SRCDIR/mfw_sms.c
140 cfile_str2ind $SRCDIR/mfw_phb.c
141 cfile_str2ind $SRCDIR/mfw_mme.c
142 cfile_str2ind $SRCDIR/mfw_cb.c
143 cfile_str2ind $SRCDIR/mfw_acie.c
144 cfile_str2ind $SRCDIR/mfw_sat.c
145 cfile_str2ind $SRCDIR/mfw_lng.c
146 cfile_str2ind $SRCDIR/mfw_cnvt.c
147 cfile_str2ind $SRCDIR/mfw_cphs.c
148 cfile_str2ind $SRCDIR/mfw_str.c
149 cfile_str2ind $SRCDIR/mfw_ffs.c
150
151 if [ "$GPRS" = 1 ]
152 then
153 cfile_str2ind $SRCDIR/mfw_gprs.c
154 fi
155
156 cfile_str2ind $SRCDIR/mfw_band.c
157 cfile_str2ind $SRCDIR/mfw_em.c
158 cfile_str2ind $SRCDIR/mfw_utils.c
159 cfile_str2ind $SRCDIR/mfw_aud.c
160 cfile_str2ind $SRCDIR/mfw_td.c
161
162 # ATB source modules
163
164 SRCDIR=$SRC/ui3/atb
165
166 cfile_str2ind $SRCDIR/ATBCommon.c
167 cfile_str2ind $SRCDIR/ATBDisplay.c
168 cfile_str2ind $SRCDIR/ATBEditor.c
169 cfile_str2ind $SRCDIR/ATBPb.c
170 cfile_str2ind $SRCDIR/ATBPbFS.c
171 cfile_str2ind $SRCDIR/ATBPbGI.c