diff components/mm @ 22:0a1a78944683

components: first automated conversion pass
author Mychaela Falconia <falcon@freecalypso.org>
date Sun, 15 Jul 2018 22:53:50 +0000
parents a8f9cc376e98
children a9a7d531e673
line wrap: on
line diff
--- a/components/mm	Sun Jul 15 22:20:36 2018 +0000
+++ b/components/mm	Sun Jul 15 22:53:50 2018 +0000
@@ -4,7 +4,7 @@
 CPPFLAGS=
 
 make_version mm
-cfile_plain mm_version.c
+c_file mm_version.c
 
 # Defines
 
@@ -62,10 +62,10 @@
 
 SRCDIR=$SRC/g23m-gsm/mm
 
-CPPFLAGS="$CPPFLAGS -I$SRC/$CONDAT/com/inc"
-CPPFLAGS="$CPPFLAGS -I$SRC/$GPF/inc"
-CPPFLAGS="$CPPFLAGS -I$SRC/$CONDAT/com/include"
-CPPFLAGS="$CPPFLAGS -I../../$CDGINC"
+CPPFLAGS="$CPPFLAGS -I$SRC/condat/com/inc"
+CPPFLAGS="$CPPFLAGS -I$SRC/gpf/inc"
+CPPFLAGS="$CPPFLAGS -I$SRC/condat/com/include"
+CPPFLAGS="$CPPFLAGS -I../../cdg-hybrid/cdginc"
 CPPFLAGS="$CPPFLAGS -I$SRCDIR"
 CPPFLAGS="$CPPFLAGS -I.."
 CPPFLAGS="$CPPFLAGS -I../config"
@@ -92,24 +92,24 @@
 
 # Source modules
 
-cfile_str2ind $SRCDIR/mm_csf.c
-cfile_str2ind $SRCDIR/mm_forf.c
-cfile_str2ind $SRCDIR/mm_forp.c
-cfile_str2ind $SRCDIR/mm_mmf.c
-cfile_str2ind $SRCDIR/mm_mmp.c
-cfile_str2ind $SRCDIR/mm_mms.c
-cfile_str2ind $SRCDIR/mm_pei.c
-cfile_str2ind $SRCDIR/mm_regf.c
-cfile_str2ind $SRCDIR/mm_regp.c
-cfile_str2ind $SRCDIR/mm_regs.c
-cfile_str2ind $SRCDIR/mm_tim.c
-cfile_str2ind $SRCDIR/mm_fors.c
+c_file $SRCDIR/mm_csf.c
+c_file $SRCDIR/mm_forf.c
+c_file $SRCDIR/mm_forp.c
+c_file $SRCDIR/mm_mmf.c
+c_file $SRCDIR/mm_mmp.c
+c_file $SRCDIR/mm_mms.c
+c_file $SRCDIR/mm_pei.c
+c_file $SRCDIR/mm_regf.c
+c_file $SRCDIR/mm_regp.c
+c_file $SRCDIR/mm_regs.c
+c_file $SRCDIR/mm_tim.c
+c_file $SRCDIR/mm_fors.c
 
 if [ "$GPRS" = 1 ]
 then
-	cfile_str2ind $SRCDIR/mm_gmm.c
-	cfile_str2ind $SRCDIR/mm_gprs.c
-	cfile_str2ind $SRCDIR/mm_gprsp.c
+	c_file $SRCDIR/mm_gmm.c
+	c_file $SRCDIR/mm_gprs.c
+	c_file $SRCDIR/mm_gprsp.c
 fi
 
-cfile_str2ind $SRCDIR/mm_em.c
+c_file $SRCDIR/mm_em.c