comparison components/alr-tcs3 @ 112:2a5d2c78e5d4

components/alr-tcs3: does NOT compile
author Mychaela Falconia <falcon@freecalypso.org>
date Thu, 06 Oct 2016 02:01:01 +0000
parents
children 30203d5aeb74
comparison
equal deleted inserted replaced
111:42f459b5187c 112:2a5d2c78e5d4
1 # Building alr.lib from the TCS3.2 ALR source
2
3 CFLAGS="-me -mt -o -pw2 -x -mw"
4 CPPFLAGS=
5
6 make_version alr
7 cfile_plain alr_version.c
8
9 # Defines
10
11 CPPFLAGS=-DCCDTABLES_EXTERN
12 CPPFLAGS="$CPPFLAGS -DOPTION_MULTITHREAD"
13 CPPFLAGS="$CPPFLAGS -DNEW_FRAME"
14 CPPFLAGS="$CPPFLAGS -DNEW_ENTITY"
15 CPPFLAGS="$CPPFLAGS -D_TARGET_"
16 CPPFLAGS="$CPPFLAGS -DSHARED_VSI"
17 CPPFLAGS="$CPPFLAGS -DALR"
18 CPPFLAGS="$CPPFLAGS -DFF_HOMEZONE"
19 CPPFLAGS="$CPPFLAGS -DFF_MMI_SAT_ICON"
20 CPPFLAGS="$CPPFLAGS -DFF_MMI_SMS_DYNAMIC"
21 CPPFLAGS="$CPPFLAGS -DFF_CPHS"
22 CPPFLAGS="$CPPFLAGS -D_TMS470"
23 CPPFLAGS="$CPPFLAGS -DUART"
24 CPPFLAGS="$CPPFLAGS -DFF_ATI"
25 CPPFLAGS="$CPPFLAGS -DFF_EM_MODE"
26 CPPFLAGS="$CPPFLAGS -DAT_INTERPRETER"
27 CPPFLAGS="$CPPFLAGS -DUSE_L1FD_FUNC_INTERFACE"
28
29 if [ "$SRVC" != 0 ]
30 then
31 CPPFLAGS="$CPPFLAGS -DFAX_AND_DATA"
32 if [ "$SRVC" = 1 ]
33 then
34 CPPFLAGS="$CPPFLAGS -DFF_FAX"
35 fi
36 CPPFLAGS="$CPPFLAGS -DUSE_L2FD_FUNC_INTERFACE"
37 fi
38
39 CPPFLAGS="$CPPFLAGS -DSRVC=$SRVC"
40 CPPFLAGS="$CPPFLAGS -DMMI=$MMI"
41
42 if [ "$MMI" = 0 ]
43 then
44 CPPFLAGS="$CPPFLAGS -DACI"
45 elif [ "$MMI" = 2 ]
46 then
47 CPPFLAGS="$CPPFLAGS -DMFW"
48 fi
49
50 CPPFLAGS="$CPPFLAGS -DPHONEBOOK_EXTENSION"
51
52 if [ "$GPRS" = 1 ]
53 then
54 CPPFLAGS="$CPPFLAGS -DGPRS"
55 fi
56
57 CPPFLAGS="$CPPFLAGS -DHAS_FLASH_EPROM"
58 CPPFLAGS="$CPPFLAGS -DFF_MULTIBAND"
59 CPPFLAGS="$CPPFLAGS -DALR=1"
60 CPPFLAGS="$CPPFLAGS -DCHIPSET=10"
61 CPPFLAGS="$CPPFLAGS -DNWARN"
62
63 # Includes
64
65 SRCDIR=$SRC/g23m-gsm/alr
66
67 CPPFLAGS="$CPPFLAGS -I$SRC/$CONDAT/com/inc"
68 CPPFLAGS="$CPPFLAGS -I$SRC/$GPF/inc"
69 CPPFLAGS="$CPPFLAGS -I$SRC/$CONDAT/com/include"
70 CPPFLAGS="$CPPFLAGS -I../../$CDGINC"
71 CPPFLAGS="$CPPFLAGS -I$SRCDIR"
72 CPPFLAGS="$CPPFLAGS -I.."
73 CPPFLAGS="$CPPFLAGS -I../config"
74 CPPFLAGS="$CPPFLAGS -I$SRC/cs/riviera"
75 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_app"
76 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core"
77 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/abb"
78 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/armio"
79 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/clkm"
80 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/conf"
81 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/dma"
82 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/dsp_dwnld"
83 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/inth"
84 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/memif"
85 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/rhea"
86 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/security"
87 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/spi"
88 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/timer"
89 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/uart"
90 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/ulpd"
91 CPPFLAGS="$CPPFLAGS -I$SRC/cs/system"
92 CPPFLAGS="$CPPFLAGS -I$SRC/cs/layer1/include"
93 CPPFLAGS="$CPPFLAGS -I$SRC/cs/services"
94
95 # Source modules
96
97 cfile_str2ind $SRCDIR/alr_cs.c
98 cfile_str2ind $SRCDIR/alr_csf.c
99 cfile_str2ind $SRCDIR/alr_main.c
100 cfile_str2ind $SRCDIR/alr_nc.c
101 cfile_str2ind $SRCDIR/alr_pch.c
102 cfile_str2ind $SRCDIR/alr_pei.c
103 cfile_str2ind $SRCDIR/alr_rach.c
104 cfile_str2ind $SRCDIR/alr_sc.c
105 cfile_str2ind $SRCDIR/alr_dedi.c
106 cfile_str2ind $SRCDIR/alr_mmi.c
107 cfile_str2ind $SRCDIR/alr_cbch.c
108 cfile_str2ind $SRCDIR/alr_trc.c
109 cfile_str2ind $SRCDIR/alr_tim.c
110 cfile_str2ind $SRCDIR/alr_em.c
111
112 if [ "$GPRS" = 1 ]
113 then
114 cfile_str2ind $SRCDIR/alr_gprs.c
115 fi