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