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
|
452
4d7c2ccb5814
config mechanism: high-level UI config made separate from target display drivers
Mychaela Falconia <falcon@freecalypso.org>
diff
changeset
|
20 case "$UI_CONFIG" in
|
4d7c2ccb5814
config mechanism: high-level UI config made separate from target display drivers
Mychaela Falconia <falcon@freecalypso.org>
diff
changeset
|
21 bigcolor)
|
451
fd1d9063ad40
config mechanism: added ability to build D-Sample B&W UI configuration
Mychaela Falconia <falcon@freecalypso.org>
diff
changeset
|
22 CPPFLAGS="$CPPFLAGS -DCOLOURDISPLAY"
|
452
4d7c2ccb5814
config mechanism: high-level UI config made separate from target display drivers
Mychaela Falconia <falcon@freecalypso.org>
diff
changeset
|
23 CPPFLAGS="$CPPFLAGS -DLSCREEN"
|
4d7c2ccb5814
config mechanism: high-level UI config made separate from target display drivers
Mychaela Falconia <falcon@freecalypso.org>
diff
changeset
|
24 ;;
|
4d7c2ccb5814
config mechanism: high-level UI config made separate from target display drivers
Mychaela Falconia <falcon@freecalypso.org>
diff
changeset
|
25 bigbw)
|
4d7c2ccb5814
config mechanism: high-level UI config made separate from target display drivers
Mychaela Falconia <falcon@freecalypso.org>
diff
changeset
|
26 CPPFLAGS="$CPPFLAGS -DLSCREEN"
|
4d7c2ccb5814
config mechanism: high-level UI config made separate from target display drivers
Mychaela Falconia <falcon@freecalypso.org>
diff
changeset
|
27 ;;
|
4d7c2ccb5814
config mechanism: high-level UI config made separate from target display drivers
Mychaela Falconia <falcon@freecalypso.org>
diff
changeset
|
28 84x48)
|
4d7c2ccb5814
config mechanism: high-level UI config made separate from target display drivers
Mychaela Falconia <falcon@freecalypso.org>
diff
changeset
|
29 ;;
|
4d7c2ccb5814
config mechanism: high-level UI config made separate from target display drivers
Mychaela Falconia <falcon@freecalypso.org>
diff
changeset
|
30 *)
|
4d7c2ccb5814
config mechanism: high-level UI config made separate from target display drivers
Mychaela Falconia <falcon@freecalypso.org>
diff
changeset
|
31 echo "Error: UI_CONFIG=$UI_CONFIG setting not understood" 1>&2
|
4d7c2ccb5814
config mechanism: high-level UI config made separate from target display drivers
Mychaela Falconia <falcon@freecalypso.org>
diff
changeset
|
32 exit 1
|
4d7c2ccb5814
config mechanism: high-level UI config made separate from target display drivers
Mychaela Falconia <falcon@freecalypso.org>
diff
changeset
|
33 esac
|
124
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
34
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
35 CPPFLAGS="$CPPFLAGS -DINT_PHONEBOOK"
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
36 CPPFLAGS="$CPPFLAGS -DNEW_EDITOR"
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
37 CPPFLAGS="$CPPFLAGS -DTRGT_G23"
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
38 CPPFLAGS="$CPPFLAGS -DAUS_CONDAT_TYPE_PORTING"
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
39 CPPFLAGS="$CPPFLAGS -DCCDTABLES_EXTERN"
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
40 CPPFLAGS="$CPPFLAGS -DOPTION_MULTITHREAD"
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
41 CPPFLAGS="$CPPFLAGS -DNEW_FRAME"
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
42 CPPFLAGS="$CPPFLAGS -DNEW_ENTITY"
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
43 CPPFLAGS="$CPPFLAGS -D_TARGET_"
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
44 CPPFLAGS="$CPPFLAGS -DSHARED_VSI"
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
45 CPPFLAGS="$CPPFLAGS -DALR"
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
46 CPPFLAGS="$CPPFLAGS -DFF_HOMEZONE"
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
47 CPPFLAGS="$CPPFLAGS -DFF_MMI_SAT_ICON"
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
48 CPPFLAGS="$CPPFLAGS -DFF_MMI_SMS_DYNAMIC"
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
49 CPPFLAGS="$CPPFLAGS -DFF_CPHS"
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
50 CPPFLAGS="$CPPFLAGS -D_TMS470"
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
51 CPPFLAGS="$CPPFLAGS -DUART"
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
52 CPPFLAGS="$CPPFLAGS -DFF_ATI"
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
53 CPPFLAGS="$CPPFLAGS -DPHONEBOOK_EXTENSION"
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
54
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
55 if [ "$GPRS" = 1 ]
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
56 then
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
57 CPPFLAGS="$CPPFLAGS -DGPRS"
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
58 fi
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
59
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
60 CPPFLAGS="$CPPFLAGS -DFF_EM_MODE"
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
61 CPPFLAGS="$CPPFLAGS -DMMI=2"
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
62 CPPFLAGS="$CPPFLAGS -DMFW"
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
63 CPPFLAGS="$CPPFLAGS -DAT_INTERPRETER"
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
64 CPPFLAGS="$CPPFLAGS -DUSE_L1FD_FUNC_INTERFACE"
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
65
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
66 if [ "$SRVC" != 0 ]
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
67 then
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
68 CPPFLAGS="$CPPFLAGS -DFAX_AND_DATA"
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
69 if [ "$SRVC" = 1 ]
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
70 then
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
71 CPPFLAGS="$CPPFLAGS -DFF_FAX"
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
72 fi
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
73 CPPFLAGS="$CPPFLAGS -DUSE_L2FD_FUNC_INTERFACE"
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
74 fi
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
75
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
76 CPPFLAGS="$CPPFLAGS -DSRVC=$SRVC"
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
77 CPPFLAGS="$CPPFLAGS -DNWARN"
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
78
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
79 # Includes
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
80
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
81 CPPFLAGS="$CPPFLAGS -I$SRC/$CONDAT/com/inc"
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
82 CPPFLAGS="$CPPFLAGS -I$SRC/$GPF/inc"
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
83 CPPFLAGS="$CPPFLAGS -I$SRC/$CONDAT/com/include"
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
84 CPPFLAGS="$CPPFLAGS -I../../$CDGINC"
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
85 CPPFLAGS="$CPPFLAGS -I$SRC/aci2/bmi"
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
86 CPPFLAGS="$CPPFLAGS -I$SRC/aci2/mfw"
|
419
59143cd42ec7
failed attempt to build TCS211 UI atop of the hybrid config
Mychaela Falconia <falcon@freecalypso.org>
diff
changeset
|
87 CPPFLAGS="$CPPFLAGS -I$SRC/$ACI/aci"
|
59143cd42ec7
failed attempt to build TCS211 UI atop of the hybrid config
Mychaela Falconia <falcon@freecalypso.org>
diff
changeset
|
88 CPPFLAGS="$CPPFLAGS -I$SRC/$ACI/ksd"
|
124
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
89 CPPFLAGS="$CPPFLAGS -I.."
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
90 CPPFLAGS="$CPPFLAGS -I../config"
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
91 CPPFLAGS="$CPPFLAGS -I$SRC/cs/riviera"
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
92 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_app"
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
93 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core"
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
94 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/abb"
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
95 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/armio"
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
96 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/clkm"
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
97 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/conf"
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
98 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/dma"
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
99 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/dsp_dwnld"
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
100 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/inth"
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
101 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/memif"
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
102 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/rhea"
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
103 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/security"
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
104 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/spi"
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
105 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/timer"
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
106 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/uart"
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
107 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/ulpd"
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
108 CPPFLAGS="$CPPFLAGS -I$SRC/cs/system"
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
109 CPPFLAGS="$CPPFLAGS -I$SRC/cs/layer1/include"
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
110 CPPFLAGS="$CPPFLAGS -I$SRC/cs/services"
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
111
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
112 # Source modules
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
113
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
114 SRCDIR=$SRC/aci2/bmi/Icons
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
115
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
116 cfile_str2ind $SRCDIR/IcnAniPhone.c
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
117 cfile_str2ind $SRCDIR/IcnBattery.c
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
118 cfile_str2ind $SRCDIR/IcnBgdSquares.c
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
119 cfile_str2ind $SRCDIR/IcnBgdTI.c
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
120 cfile_str2ind $SRCDIR/IcnCallBackGround.c
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
121 cfile_str2ind $SRCDIR/IcnCipher.c
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
122 cfile_str2ind $SRCDIR/IcnDefs.c
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
123 cfile_str2ind $SRCDIR/IcnForward.c
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
124 cfile_str2ind $SRCDIR/IcnGprs.c
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
125 cfile_str2ind $SRCDIR/IcnHomezone.c
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
126 cfile_str2ind $SRCDIR/IcnKeylock.c
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
127 cfile_str2ind $SRCDIR/IcnLogoTI.c
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
128 cfile_str2ind $SRCDIR/IcnMainApp.c
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
129 cfile_str2ind $SRCDIR/IcnMainDiv.c
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
130 cfile_str2ind $SRCDIR/IcnMainMsg.c
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
131 cfile_str2ind $SRCDIR/IcnMainPhb.c
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
132 cfile_str2ind $SRCDIR/IcnMainRcl.c
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
133 cfile_str2ind $SRCDIR/IcnMainSec.c
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
134 cfile_str2ind $SRCDIR/IcnMainSet.c
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
135 cfile_str2ind $SRCDIR/IcnMainStk.c
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
136 cfile_str2ind $SRCDIR/IcnMainWap.c
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
137 cfile_str2ind $SRCDIR/IcnMessage.c
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
138 cfile_str2ind $SRCDIR/IcnNetBouygues.c
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
139 cfile_str2ind $SRCDIR/IcnNetChinamobile.c
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
140 cfile_str2ind $SRCDIR/IcnNetFareast.c
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
141 cfile_str2ind $SRCDIR/IcnNetorange.c
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
142 cfile_str2ind $SRCDIR/IcnNetSFR.c
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
143 cfile_str2ind $SRCDIR/IcnNetsonofon.c
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
144 cfile_str2ind $SRCDIR/IcnNetTMobile.c
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
145 cfile_str2ind $SRCDIR/IcnNetVodafone.c
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
146 cfile_str2ind $SRCDIR/IcnNetVodafoneD2.c
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
147 cfile_str2ind $SRCDIR/IcnPopupBgd.c
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
148 cfile_str2ind $SRCDIR/IcnSignal.c
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
149 cfile_str2ind $SRCDIR/IcnVoicemail.c
|