comparison components/gdi @ 26:648d079d4e58

gdi.lib done
author Mychaela Falconia <falcon@freecalypso.org>
date Thu, 29 Sep 2016 08:07:32 +0000
parents
children bfcfbffd2736
comparison
equal deleted inserted replaced
25:53232836b105 26:648d079d4e58
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 -DCOLOURDISPLAY"
44 CPPFLAGS="$CPPFLAGS -DNO_ASCIIZ"
45 CPPFLAGS="$CPPFLAGS -DLSCREEN"
46 CPPFLAGS="$CPPFLAGS -DINT_PHONEBOOK"
47 CPPFLAGS="$CPPFLAGS -DNEW_EDITOR"
48 CPPFLAGS="$CPPFLAGS -DTRGT_G23"
49 CPPFLAGS="$CPPFLAGS -DAUS_CONDAT_TYPE_PORTING"
50 CPPFLAGS="$CPPFLAGS -DPHONEBOOK_EXTENSION"
51
52 if [ "$GPRS" = 1 ]
53 then
54 CPPFLAGS="$CPPFLAGS -DGPRS"
55 fi
56
57 CPPFLAGS="$CPPFLAGS -DCHIPSET=10"
58 CPPFLAGS="$CPPFLAGS -DBOARD=41"
59 CPPFLAGS="$CPPFLAGS -DCUST=0"
60 CPPFLAGS="$CPPFLAGS -DTESTMODE=1"
61
62 # Includes
63
64 CPPFLAGS="$CPPFLAGS -I$SRC/$CONDAT/com/inc"
65 CPPFLAGS="$CPPFLAGS -I$SRC/$GPF/inc"
66 CPPFLAGS="$CPPFLAGS -I$SRC/$CONDAT/com/include"
67 CPPFLAGS="$CPPFLAGS -I../../$CDGINC"
68 CPPFLAGS="$CPPFLAGS -I$SRC/$GPF/inc/nuc"
69 CPPFLAGS="$CPPFLAGS -I$SRC/condat2/com/src/driver"
70 CPPFLAGS="$CPPFLAGS -I../../$CDGPRIM"
71 CPPFLAGS="$CPPFLAGS -I.."
72 CPPFLAGS="$CPPFLAGS -I../config"
73 CPPFLAGS="$CPPFLAGS -I$SRC/cs/riviera"
74 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_app"
75 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core"
76 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/abb"
77 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/armio"
78 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/clkm"
79 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/conf"
80 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/dma"
81 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/dsp_dwnld"
82 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/inth"
83 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/memif"
84 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/rhea"
85 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/security"
86 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/spi"
87 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/timer"
88 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/uart"
89 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/ulpd"
90 CPPFLAGS="$CPPFLAGS -I$SRC/cs/system"
91 CPPFLAGS="$CPPFLAGS -I$SRC/cs/layer1/include"
92 CPPFLAGS="$CPPFLAGS -I$SRC/cs/services"
93
94 # Source modules
95
96 SRCDIR=$SRC/condat2/com/src/driver
97
98 cfile_str2ind $SRCDIR/audio.c
99 cfile_str2ind $SRCDIR/display.c
100 cfile_str2ind $SRCDIR/keypad.c
101 cfile_str2ind $SRCDIR/light.c
102 cfile_str2ind $SRCDIR/power.c
103 cfile_str2ind $SRCDIR/rx.c
104 cfile_str2ind $SRCDIR/em.c
105 cfile_str2ind $SRCDIR/rtc.c
106 cfile_str2ind $SRCDIR/vmd.c
107 cfile_str2ind $SRCDIR/font_bitmaps.c
108 cfile_str2ind $SRCDIR/ffs_coat.c