comparison components/comlib @ 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 comlib.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 -DCL_IMEI_CALYPSO_PLATFORM"
22
23 # Includes
24
25 CPPFLAGS="$CPPFLAGS -I$SRC/$CONDAT/com/inc"
26 CPPFLAGS="$CPPFLAGS -I$SRC/$GPF/inc"
27 CPPFLAGS="$CPPFLAGS -I$SRC/$CONDAT/com/include"
28 CPPFLAGS="$CPPFLAGS -I../../$CDGINC"
29 CPPFLAGS="$CPPFLAGS -I../../$CDGPRIM"
30 CPPFLAGS="$CPPFLAGS -I.."
31 CPPFLAGS="$CPPFLAGS -I../config"
32 CPPFLAGS="$CPPFLAGS -I$SRC/cs/riviera"
33 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_app"
34 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core"
35 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/abb"
36 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/armio"
37 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/clkm"
38 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/conf"
39 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/dma"
40 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/dsp_dwnld"
41 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/inth"
42 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/memif"
43 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/rhea"
44 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/security"
45 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/spi"
46 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/timer"
47 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/uart"
48 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/ulpd"
49 CPPFLAGS="$CPPFLAGS -I$SRC/cs/system"
50 CPPFLAGS="$CPPFLAGS -I$SRC/cs/layer1/include"
51 CPPFLAGS="$CPPFLAGS -I$SRC/cs/services"
52
53 # Source modules
54
55 SRCDIR=$SRC/condat2/com/src/comlib
56
57 if [ "$SRVC" != 0 ]
58 then
59 cfile_str2ind $SRCDIR/cl_ribu.c
60 fi
61
62 if [ "$GPRS" = 1 ]
63 then
64 cfile_str2ind $SRCDIR/cl_rlcmac.c
65 fi
66
67 cfile_str2ind $SRCDIR/cl_md5.c
68 cfile_str2ind $SRCDIR/cl_imei.c
69 cfile_str2ind $SRCDIR/cl_des.c
70 cfile_str2ind $SRCDIR/cl_shrd.c
71 cfile_str2ind $SRCDIR/cl_list.c