comparison components/mfw-tcs3 @ 433:f6ea8d4a5cd8

components/mfw-tcs3: recipe created, starting to compile
author Mychaela Falconia <falcon@freecalypso.org>
date Mon, 22 Jan 2018 00:43:18 +0000
parents components/mfw@59143cd42ec7
children fd1d9063ad40
comparison
equal deleted inserted replaced
432:f914fb46e1a5 433:f6ea8d4a5cd8
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 if [ "$TARGET" != c139 -a "$TARGET" != c11x ]
56 then
57 CPPFLAGS="$CPPFLAGS -DCOLOURDISPLAY"
58 CPPFLAGS="$CPPFLAGS -DLSCREEN"
59 fi
60
61 CPPFLAGS="$CPPFLAGS -DINT_PHONEBOOK"
62 CPPFLAGS="$CPPFLAGS -DNEW_EDITOR"
63 CPPFLAGS="$CPPFLAGS -DTRGT_G23"
64 CPPFLAGS="$CPPFLAGS -DAUS_CONDAT_TYPE_PORTING"
65 CPPFLAGS="$CPPFLAGS -DPHONEBOOK_EXTENSION"
66
67 if [ "$GPRS" = 1 ]
68 then
69 CPPFLAGS="$CPPFLAGS -DGPRS"
70 fi
71
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/$ACI/aci"
81 CPPFLAGS="$CPPFLAGS -I$SRC/$ACI/ksd"
82 CPPFLAGS="$CPPFLAGS -I$SRC/ui3/atb"
83 CPPFLAGS="$CPPFLAGS -I$SRC/ui3/mfw"
84 CPPFLAGS="$CPPFLAGS -I$SRC/$ACI/aci_ext"
85 CPPFLAGS="$CPPFLAGS -I$SRC/$ACI/aci_dti_mng"
86 CPPFLAGS="$CPPFLAGS -I.."
87 CPPFLAGS="$CPPFLAGS -I../config"
88 CPPFLAGS="$CPPFLAGS -I$SRC/cs/riviera"
89 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_app"
90 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core"
91 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/abb"
92 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/armio"
93 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/clkm"
94 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/conf"
95 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/dma"
96 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/dsp_dwnld"
97 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/inth"
98 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/memif"
99 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/rhea"
100 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/security"
101 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/spi"
102 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/timer"
103 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/uart"
104 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/ulpd"
105 CPPFLAGS="$CPPFLAGS -I$SRC/cs/system"
106 CPPFLAGS="$CPPFLAGS -I$SRC/cs/layer1/include"
107 CPPFLAGS="$CPPFLAGS -I$SRC/cs/services"
108
109 # MFW source modules
110
111 SRCDIR=$SRC/ui3/mfw
112
113 cfile_str2ind $SRCDIR/ti1_key.c
114 cfile_str2ind $SRCDIR/ti1_tmr.c
115 cfile_str2ind $SRCDIR/mfw_mfw.c
116 cfile_str2ind $SRCDIR/mfw_win.c
117 cfile_str2ind $SRCDIR/mfw_kbd.c
118 cfile_str2ind $SRCDIR/mfw_tim.c
119 cfile_str2ind $SRCDIR/mfw_mnu.c
120 cfile_str2ind $SRCDIR/mfw_icn.c
121 cfile_str2ind $SRCDIR/mfw_ext.c
122 cfile_str2ind $SRCDIR/mfw_cm.c
123 cfile_str2ind $SRCDIR/mfw_ss.c
124 cfile_str2ind $SRCDIR/mfw_nm.c
125 cfile_str2ind $SRCDIR/mfw_nma.c
126 cfile_str2ind $SRCDIR/mfw_sim.c
127 cfile_str2ind $SRCDIR/mfw_sima.c
128 cfile_str2ind $SRCDIR/mfw_sms.c
129 cfile_str2ind $SRCDIR/mfw_phb.c
130 cfile_str2ind $SRCDIR/mfw_mme.c
131 cfile_str2ind $SRCDIR/mfw_cb.c
132 cfile_str2ind $SRCDIR/mfw_acie.c
133 cfile_str2ind $SRCDIR/mfw_sat.c
134 cfile_str2ind $SRCDIR/mfw_lng.c
135 cfile_str2ind $SRCDIR/mfw_cnvt.c
136 cfile_str2ind $SRCDIR/mfw_cphs.c
137 cfile_str2ind $SRCDIR/mfw_str.c
138 cfile_str2ind $SRCDIR/mfw_ffs.c
139
140 if [ "$GPRS" = 1 ]
141 then
142 cfile_str2ind $SRCDIR/mfw_gprs.c
143 fi
144
145 cfile_str2ind $SRCDIR/mfw_band.c
146 cfile_str2ind $SRCDIR/mfw_em.c
147 cfile_str2ind $SRCDIR/mfw_utils.c
148 cfile_str2ind $SRCDIR/mfw_aud.c
149 cfile_str2ind $SRCDIR/mfw_td.c
150
151 # ATB source modules
152
153 SRCDIR=$SRC/ui3/atb
154
155 cfile_str2ind $SRCDIR/ATBCommon.c
156 cfile_str2ind $SRCDIR/ATBDisplay.c
157 cfile_str2ind $SRCDIR/ATBEditor.c
158 cfile_str2ind $SRCDIR/ATBPb.c
159 cfile_str2ind $SRCDIR/ATBPbFS.c
160 cfile_str2ind $SRCDIR/ATBPbGI.c