comparison components/icn @ 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 icn.lib from TCS3/LoCosto source
2
3 CFLAGS="-me -mt -o -pw2 -x -mw"
4 CPPFLAGS=
5
6 # Defines
7
8 CPPFLAGS=-DMMI_HOMEZONE_ENABLED
9 CPPFLAGS="$CPPFLAGS -DFF_MMI_SAT_ICON"
10 CPPFLAGS="$CPPFLAGS -DFF_MMI_SMS_DYNAMIC"
11
12 if [ "$GPRS" = 1 ]
13 then
14 CPPFLAGS="$CPPFLAGS -DMMI_GPRS_ENABLED"
15 fi
16
17 CPPFLAGS="$CPPFLAGS -DMMI_EM_ENABLED"
18 CPPFLAGS="$CPPFLAGS -DNO_ASCIIZ"
19
20 case "$UI_CONFIG" in
21 bigcolor)
22 CPPFLAGS="$CPPFLAGS -DCOLOURDISPLAY"
23 CPPFLAGS="$CPPFLAGS -DLSCREEN"
24 ;;
25 bigbw)
26 CPPFLAGS="$CPPFLAGS -DLSCREEN"
27 ;;
28 84x48)
29 ;;
30 *)
31 echo "Error: UI_CONFIG=$UI_CONFIG setting not understood" 1>&2
32 exit 1
33 esac
34
35 CPPFLAGS="$CPPFLAGS -DINT_PHONEBOOK"
36 CPPFLAGS="$CPPFLAGS -DNEW_EDITOR"
37 CPPFLAGS="$CPPFLAGS -DTRGT_G23"
38 CPPFLAGS="$CPPFLAGS -DAUS_CONDAT_TYPE_PORTING"
39 CPPFLAGS="$CPPFLAGS -DCCDTABLES_EXTERN"
40 CPPFLAGS="$CPPFLAGS -DOPTION_MULTITHREAD"
41 CPPFLAGS="$CPPFLAGS -DNEW_FRAME"
42 CPPFLAGS="$CPPFLAGS -DNEW_ENTITY"
43 CPPFLAGS="$CPPFLAGS -D_TARGET_"
44 CPPFLAGS="$CPPFLAGS -DSHARED_VSI"
45 CPPFLAGS="$CPPFLAGS -DALR"
46 CPPFLAGS="$CPPFLAGS -DFF_HOMEZONE"
47 CPPFLAGS="$CPPFLAGS -DFF_MMI_SAT_ICON"
48 CPPFLAGS="$CPPFLAGS -DFF_MMI_SMS_DYNAMIC"
49 CPPFLAGS="$CPPFLAGS -DFF_CPHS"
50 CPPFLAGS="$CPPFLAGS -D_TMS470"
51 CPPFLAGS="$CPPFLAGS -DUART"
52 CPPFLAGS="$CPPFLAGS -DFF_ATI"
53 CPPFLAGS="$CPPFLAGS -DPHONEBOOK_EXTENSION"
54
55 if [ "$GPRS" = 1 ]
56 then
57 CPPFLAGS="$CPPFLAGS -DGPRS"
58 fi
59
60 CPPFLAGS="$CPPFLAGS -DFF_EM_MODE"
61 CPPFLAGS="$CPPFLAGS -DMMI=2"
62 CPPFLAGS="$CPPFLAGS -DMFW"
63 CPPFLAGS="$CPPFLAGS -DAT_INTERPRETER"
64 CPPFLAGS="$CPPFLAGS -DUSE_L1FD_FUNC_INTERFACE"
65
66 if [ "$SRVC" != 0 ]
67 then
68 CPPFLAGS="$CPPFLAGS -DFAX_AND_DATA"
69 if [ "$SRVC" = 1 ]
70 then
71 CPPFLAGS="$CPPFLAGS -DFF_FAX"
72 fi
73 CPPFLAGS="$CPPFLAGS -DUSE_L2FD_FUNC_INTERFACE"
74 fi
75
76 CPPFLAGS="$CPPFLAGS -DSRVC=$SRVC"
77 CPPFLAGS="$CPPFLAGS -DNWARN"
78 CPPFLAGS="$CPPFLAGS -DCHIPSET=$CHIPSET"
79 CPPFLAGS="$CPPFLAGS -DBOARD=41"
80
81 # Includes
82
83 CPPFLAGS="$CPPFLAGS -I$SRC/$CONDAT/com/inc"
84 CPPFLAGS="$CPPFLAGS -I$SRC/$GPF/inc"
85 CPPFLAGS="$CPPFLAGS -I$SRC/$CONDAT/com/include"
86 CPPFLAGS="$CPPFLAGS -I../../$CDGINC"
87 CPPFLAGS="$CPPFLAGS -I$SRC/ui3/bmi"
88 CPPFLAGS="$CPPFLAGS -I$SRC/ui3/mfw"
89 CPPFLAGS="$CPPFLAGS -I$SRC/$ACI/aci"
90 CPPFLAGS="$CPPFLAGS -I$SRC/$ACI/ksd"
91 CPPFLAGS="$CPPFLAGS -I.."
92 CPPFLAGS="$CPPFLAGS -I../config"
93 CPPFLAGS="$CPPFLAGS -I$SRC/cs/riviera"
94 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_app"
95 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core"
96 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/abb"
97 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/armio"
98 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/clkm"
99 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/conf"
100 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/dma"
101 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/dsp_dwnld"
102 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/inth"
103 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/memif"
104 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/rhea"
105 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/security"
106 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/spi"
107 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/timer"
108 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/uart"
109 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/ulpd"
110 CPPFLAGS="$CPPFLAGS -I$SRC/cs/system"
111 CPPFLAGS="$CPPFLAGS -I$SRC/cs/layer1/include"
112 CPPFLAGS="$CPPFLAGS -I$SRC/cs/services"
113
114 # Source modules
115
116 SRCDIR=$SRC/ui3/bmi/Icons
117
118 cfile_str2ind $SRCDIR/IcnAniPhone.c
119 cfile_str2ind $SRCDIR/IcnBattery.c
120 cfile_str2ind $SRCDIR/IcnBgdSquares.c
121 cfile_str2ind $SRCDIR/IcnBgdTI.c
122 cfile_str2ind $SRCDIR/IcnCallBackGround.c
123 cfile_str2ind $SRCDIR/IcnCipher.c
124 cfile_str2ind $SRCDIR/IcnDefs.c
125 cfile_str2ind $SRCDIR/IcnForward.c
126 cfile_str2ind $SRCDIR/IcnGprs.c
127 cfile_str2ind $SRCDIR/IcnHomezone.c
128 cfile_str2ind $SRCDIR/IcnKeylock.c
129 cfile_str2ind $SRCDIR/IcnLogoTI.c
130 cfile_str2ind $SRCDIR/IcnMainApp.c
131 cfile_str2ind $SRCDIR/IcnMainDiv.c
132 cfile_str2ind $SRCDIR/IcnMainMsg.c
133 cfile_str2ind $SRCDIR/IcnMainPhb.c
134 cfile_str2ind $SRCDIR/IcnMainRcl.c
135 cfile_str2ind $SRCDIR/IcnMainSec.c
136 cfile_str2ind $SRCDIR/IcnMainSet.c
137 cfile_str2ind $SRCDIR/IcnMainStk.c
138 cfile_str2ind $SRCDIR/IcnMainWap.c
139 cfile_str2ind $SRCDIR/IcnMessage.c
140 cfile_str2ind $SRCDIR/IcnNetBouygues.c
141 cfile_str2ind $SRCDIR/IcnNetChinamobile.c
142 cfile_str2ind $SRCDIR/IcnNetFareast.c
143 cfile_str2ind $SRCDIR/IcnNetorange.c
144 cfile_str2ind $SRCDIR/IcnNetSFR.c
145 cfile_str2ind $SRCDIR/IcnNetsonofon.c
146 cfile_str2ind $SRCDIR/IcnNetTMobile.c
147 cfile_str2ind $SRCDIR/IcnNetVodafone.c
148 cfile_str2ind $SRCDIR/IcnNetVodafoneD2.c
149 cfile_str2ind $SRCDIR/IcnPopupBgd.c
150 cfile_str2ind $SRCDIR/IcnSignal.c
151 cfile_str2ind $SRCDIR/IcnVoicemail.c