FreeCalypso > hg > fc-selenite
comparison components/gdi @ 10:a8f9cc376e98
components: pruned import from Magnetite
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Sun, 15 Jul 2018 21:19:43 +0000 |
parents | |
children | 0a1a78944683 |
comparison
equal
deleted
inserted
replaced
9:6da1d56a96a3 | 10:a8f9cc376e98 |
---|---|
1 # Building gdi.lib | |
2 | |
3 CFLAGS="-me -mt -o -pw2 -x -mw" | |
4 | |
5 # Defines | |
6 | |
7 CPPFLAGS=-DCCDTABLES_EXTERN | |
8 CPPFLAGS="$CPPFLAGS -DOPTION_MULTITHREAD" | |
9 CPPFLAGS="$CPPFLAGS -DNEW_FRAME" | |
10 CPPFLAGS="$CPPFLAGS -DNEW_ENTITY" | |
11 CPPFLAGS="$CPPFLAGS -D_TARGET_" | |
12 CPPFLAGS="$CPPFLAGS -DSHARED_VSI" | |
13 CPPFLAGS="$CPPFLAGS -DALR" | |
14 CPPFLAGS="$CPPFLAGS -DFF_HOMEZONE" | |
15 CPPFLAGS="$CPPFLAGS -DFF_MMI_SAT_ICON" | |
16 CPPFLAGS="$CPPFLAGS -DFF_MMI_SMS_DYNAMIC" | |
17 CPPFLAGS="$CPPFLAGS -DFF_CPHS" | |
18 CPPFLAGS="$CPPFLAGS -D_TMS470" | |
19 CPPFLAGS="$CPPFLAGS -DUART" | |
20 CPPFLAGS="$CPPFLAGS -DFF_ATI" | |
21 CPPFLAGS="$CPPFLAGS -DNWARN" | |
22 CPPFLAGS="$CPPFLAGS -DFF_EM_MODE" | |
23 CPPFLAGS="$CPPFLAGS -DMMI=$MMI" | |
24 | |
25 if [ "$MMI" = 0 ] | |
26 then | |
27 CPPFLAGS="$CPPFLAGS -DACI" | |
28 elif [ "$MMI" = 2 ] | |
29 then | |
30 CPPFLAGS="$CPPFLAGS -DMFW" | |
31 fi | |
32 | |
33 CPPFLAGS="$CPPFLAGS -DMMI_HOMEZONE_ENABLED" | |
34 CPPFLAGS="$CPPFLAGS -DFF_MMI_SAT_ICON" | |
35 CPPFLAGS="$CPPFLAGS -DFF_MMI_SMS_DYNAMIC" | |
36 | |
37 if [ "$GPRS" = 1 ] | |
38 then | |
39 CPPFLAGS="$CPPFLAGS -DMMI_GPRS_ENABLED" | |
40 fi | |
41 | |
42 CPPFLAGS="$CPPFLAGS -DMMI_EM_ENABLED" | |
43 CPPFLAGS="$CPPFLAGS -DNO_ASCIIZ" | |
44 | |
45 case "$UI_CONFIG" in | |
46 bigcolor) | |
47 CPPFLAGS="$CPPFLAGS -DCOLOURDISPLAY" | |
48 CPPFLAGS="$CPPFLAGS -DLSCREEN" | |
49 ;; | |
50 bigbw) | |
51 CPPFLAGS="$CPPFLAGS -DLSCREEN" | |
52 ;; | |
53 84x48) | |
54 ;; | |
55 *) | |
56 echo "Error: UI_CONFIG=$UI_CONFIG setting not understood" 1>&2 | |
57 exit 1 | |
58 esac | |
59 | |
60 CPPFLAGS="$CPPFLAGS -DINT_PHONEBOOK" | |
61 CPPFLAGS="$CPPFLAGS -DNEW_EDITOR" | |
62 CPPFLAGS="$CPPFLAGS -DTRGT_G23" | |
63 CPPFLAGS="$CPPFLAGS -DAUS_CONDAT_TYPE_PORTING" | |
64 CPPFLAGS="$CPPFLAGS -DPHONEBOOK_EXTENSION" | |
65 | |
66 if [ "$GPRS" = 1 ] | |
67 then | |
68 CPPFLAGS="$CPPFLAGS -DGPRS" | |
69 fi | |
70 | |
71 CPPFLAGS="$CPPFLAGS -DCHIPSET=$CHIPSET" | |
72 CPPFLAGS="$CPPFLAGS -DBOARD=41" | |
73 CPPFLAGS="$CPPFLAGS -DCUST=0" | |
74 CPPFLAGS="$CPPFLAGS -DTESTMODE=1" | |
75 | |
76 # Includes | |
77 | |
78 CPPFLAGS="$CPPFLAGS -I$SRC/$CONDAT/com/inc" | |
79 CPPFLAGS="$CPPFLAGS -I$SRC/$GPF/inc" | |
80 CPPFLAGS="$CPPFLAGS -I$SRC/$CONDAT/com/include" | |
81 CPPFLAGS="$CPPFLAGS -I../../$CDGINC" | |
82 CPPFLAGS="$CPPFLAGS -I$SRC/$GPF/inc/nuc" | |
83 CPPFLAGS="$CPPFLAGS -I$SRC/condat2/com/src/driver" | |
84 CPPFLAGS="$CPPFLAGS -I../../$CDGPRIM" | |
85 CPPFLAGS="$CPPFLAGS -I.." | |
86 CPPFLAGS="$CPPFLAGS -I../config" | |
87 CPPFLAGS="$CPPFLAGS -I$SRC/cs/riviera" | |
88 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_app" | |
89 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core" | |
90 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/abb" | |
91 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/armio" | |
92 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/clkm" | |
93 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/conf" | |
94 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/dma" | |
95 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/dsp_dwnld" | |
96 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/inth" | |
97 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/memif" | |
98 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/rhea" | |
99 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/security" | |
100 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/spi" | |
101 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/timer" | |
102 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/uart" | |
103 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/ulpd" | |
104 CPPFLAGS="$CPPFLAGS -I$SRC/cs/system" | |
105 CPPFLAGS="$CPPFLAGS -I$SRC/cs/layer1/include" | |
106 CPPFLAGS="$CPPFLAGS -I$SRC/cs/services" | |
107 | |
108 # Source modules | |
109 | |
110 SRCDIR=$SRC/condat2/com/src/driver | |
111 | |
112 cfile_str2ind $SRCDIR/audio.c | |
113 cfile_str2ind $SRCDIR/display.c | |
114 cfile_str2ind $SRCDIR/keypad.c | |
115 cfile_str2ind $SRCDIR/light.c | |
116 cfile_str2ind $SRCDIR/power.c | |
117 cfile_str2ind $SRCDIR/rx.c | |
118 cfile_str2ind $SRCDIR/em.c | |
119 cfile_str2ind $SRCDIR/rtc.c | |
120 cfile_str2ind $SRCDIR/vmd.c | |
121 cfile_str2ind $SRCDIR/font_bitmaps.c | |
122 cfile_str2ind $SRCDIR/ffs_coat.c |