diff components/aci-classic @ 11:f5c6ca078e2f

components/aci-classic: KSD sourceset added
author Mychaela Falconia <falcon@freecalypso.org>
date Tue, 27 Sep 2016 03:13:44 +0000
parents 352f80da6813
children be16a5124f86
line wrap: on
line diff
--- a/components/aci-classic	Tue Sep 27 02:31:03 2016 +0000
+++ b/components/aci-classic	Tue Sep 27 03:13:44 2016 +0000
@@ -398,3 +398,72 @@
 cfile_str2ind $SRCDIR/line_edit.c
 cfile_str2ind $SRCDIR/line_split.c
 cfile_str2ind $SRCDIR/dcm_f.c
+
+# KSD sourceset, new defines
+
+CPPFLAGS=-DCCDTABLES_EXTERN
+CPPFLAGS="$CPPFLAGS -DOPTION_MULTITHREAD"
+CPPFLAGS="$CPPFLAGS -DNEW_FRAME"
+CPPFLAGS="$CPPFLAGS -DNEW_ENTITY"
+CPPFLAGS="$CPPFLAGS -D_TARGET_"
+CPPFLAGS="$CPPFLAGS -DSHARED_VSI"
+CPPFLAGS="$CPPFLAGS -DALR"
+CPPFLAGS="$CPPFLAGS -DFF_HOMEZONE"
+CPPFLAGS="$CPPFLAGS -DFF_MMI_SAT_ICON"
+CPPFLAGS="$CPPFLAGS -DFF_MMI_SMS_DYNAMIC"
+CPPFLAGS="$CPPFLAGS -DFF_CPHS"
+CPPFLAGS="$CPPFLAGS -D_TMS470"
+CPPFLAGS="$CPPFLAGS -DUART"
+CPPFLAGS="$CPPFLAGS -DFF_ATI"
+CPPFLAGS="$CPPFLAGS -DNWARN"
+CPPFLAGS="$CPPFLAGS -DFF_EM_MODE"
+CPPFLAGS="$CPPFLAGS -DAT_INTERPRETER"
+CPPFLAGS="$CPPFLAGS -DUSE_L1FD_FUNC_INTERFACE"
+
+if [ "$SRVC" != 0 ]
+then
+	CPPFLAGS="$CPPFLAGS -DFAX_AND_DATA"
+	if [ "$SRVC" = 1 ]
+	then
+		CPPFLAGS="$CPPFLAGS -DFF_FAX"
+	fi
+	CPPFLAGS="$CPPFLAGS -DUSE_L2FD_FUNC_INTERFACE"
+fi
+
+CPPFLAGS="$CPPFLAGS -DSRVC=$SRVC"
+CPPFLAGS="$CPPFLAGS -DMMI=$MMI"
+
+if [ "$MMI" = 0 ]
+then
+	CPPFLAGS="$CPPFLAGS -DACI"
+elif [ "$MMI" = 2 ]
+then
+	CPPFLAGS="$CPPFLAGS -DMFW"
+fi
+
+CPPFLAGS="$CPPFLAGS -DPHONEBOOK_EXTENSION"
+
+if [ "$GPRS" = 1 ]
+then
+	CPPFLAGS="$CPPFLAGS -DGPRS"
+fi
+
+CPPFLAGS="$CPPFLAGS -DSMS_PDU_SUPPORT"
+CPPFLAGS="$CPPFLAGS -DSIM_TOOLKIT"
+
+# New includes
+
+CPPFLAGS="$CPPFLAGS -I$SRC/condat2/com/inc"
+CPPFLAGS="$CPPFLAGS -I$SRC/gpf2/inc"
+CPPFLAGS="$CPPFLAGS -I$SRC/condat2/com/include"
+CPPFLAGS="$CPPFLAGS -I../../cdg211/cdginc"
+CPPFLAGS="$CPPFLAGS -I$SRC/aci2/aci"
+CPPFLAGS="$CPPFLAGS -I$SRC/aci2/ksd"
+CPPFLAGS="$CPPFLAGS -I../../cdg211/prim"
+
+# KSD source modules
+
+SRCDIR=$SRC/aci2/ksd
+
+cfile_str2ind $SRCDIR/ksd.c
+cfile_str2ind $SRCDIR/ksd_utl.c