changeset 141:23768d96edce

compiling GPF libs: same symlink hacks as in Magnetite
author Mychaela Falconia <falcon@freecalypso.org>
date Wed, 06 Feb 2019 21:38:01 +0000
parents 2106617f1291
children f23927230610
files components/frame_na7_db_fl components/frame_na7_db_ir components/tif_na7_db_fl components/tif_na7_db_ir
diffstat 4 files changed, 50 insertions(+), 44 deletions(-) [+]
line wrap: on
line diff
--- a/components/frame_na7_db_fl	Wed Feb 06 21:17:00 2019 +0000
+++ b/components/frame_na7_db_fl	Wed Feb 06 21:38:01 2019 +0000
@@ -29,24 +29,24 @@
 
 SRCDIR=$SRC/gpf/frame
 
-c_file $SRCDIR/frame.c
-c_file $SRCDIR/vsi_sem.c
-c_file $SRCDIR/vsi_com.c
-c_file $SRCDIR/vsi_mem.c
-c_file $SRCDIR/vsi_tim.c
-c_file $SRCDIR/vsi_mis.c
-c_file $SRCDIR/vsi_drv.c
-c_file $SRCDIR/vsi_trc.c
-c_file $SRCDIR/vsi_pro.c
+cfile_symlink $SRCDIR/frame.c
+cfile_symlink $SRCDIR/vsi_sem.c
+cfile_symlink $SRCDIR/vsi_com.c
+cfile_symlink $SRCDIR/vsi_mem.c
+cfile_symlink $SRCDIR/vsi_tim.c
+cfile_symlink $SRCDIR/vsi_mis.c
+cfile_symlink $SRCDIR/vsi_drv.c
+cfile_symlink $SRCDIR/vsi_trc.c
+cfile_symlink $SRCDIR/vsi_pro.c
 if [ "$MEMSUPER" != 0 ]
 then
-	c_file $SRCDIR/vsi_ppm.c
+	cfile_symlink $SRCDIR/vsi_ppm.c
 fi
-c_file $SRCDIR/xalert.c
-c_file $SRCDIR/route.c
-c_file $SRCDIR/prf_func.c
-c_file $SRCDIR/frm_ext.c
-c_file $SRCDIR/frame_version.c
+cfile_symlink $SRCDIR/xalert.c
+cfile_symlink $SRCDIR/route.c
+cfile_symlink $SRCDIR/prf_func.c
+cfile_symlink $SRCDIR/frm_ext.c
+cfile_symlink $SRCDIR/frame_version.c
 
 # OSL
 
--- a/components/frame_na7_db_ir	Wed Feb 06 21:17:00 2019 +0000
+++ b/components/frame_na7_db_ir	Wed Feb 06 21:38:01 2019 +0000
@@ -29,24 +29,24 @@
 
 SRCDIR=$SRC/gpf/frame
 
-c_file $SRCDIR/frame.c
-c_file $SRCDIR/vsi_sem.c
-c_file $SRCDIR/vsi_com.c
-c_file $SRCDIR/vsi_mem.c
-c_file $SRCDIR/vsi_tim.c
-c_file $SRCDIR/vsi_mis.c
-c_file $SRCDIR/vsi_drv.c
-c_file $SRCDIR/vsi_trc.c
-c_file $SRCDIR/vsi_pro.c
+cfile_symlink $SRCDIR/frame.c
+cfile_symlink $SRCDIR/vsi_sem.c
+cfile_symlink $SRCDIR/vsi_com.c
+cfile_symlink $SRCDIR/vsi_mem.c
+cfile_symlink $SRCDIR/vsi_tim.c
+cfile_symlink $SRCDIR/vsi_mis.c
+cfile_symlink $SRCDIR/vsi_drv.c
+cfile_symlink $SRCDIR/vsi_trc.c
+cfile_symlink $SRCDIR/vsi_pro.c
 if [ "$MEMSUPER" != 0 ]
 then
-	c_file $SRCDIR/vsi_ppm.c
+	cfile_symlink $SRCDIR/vsi_ppm.c
 fi
-c_file $SRCDIR/xalert.c
-c_file $SRCDIR/route.c
-c_file $SRCDIR/prf_func.c
-c_file $SRCDIR/frm_ext.c
-c_file $SRCDIR/frame_version.c
+cfile_symlink $SRCDIR/xalert.c
+cfile_symlink $SRCDIR/route.c
+cfile_symlink $SRCDIR/prf_func.c
+cfile_symlink $SRCDIR/frm_ext.c
+cfile_symlink $SRCDIR/frame_version.c
 
 # OSL
 
--- a/components/tif_na7_db_fl	Wed Feb 06 21:17:00 2019 +0000
+++ b/components/tif_na7_db_fl	Wed Feb 06 21:38:01 2019 +0000
@@ -41,10 +41,13 @@
 
 SRCDIR=$SRC/gpf/tst
 
-c_file $SRCDIR/drv/tr2.c
-c_file $SRCDIR/drv/tif2.c
-c_file $SRCDIR/drv/ser_tr.c
-c_file $SRCDIR/drv/titrc.c
-c_file $SRCDIR/tst_pei.c
-c_file $SRCDIR/tstdriver.c
-c_file $SRCDIR/tif_version.c
+ln -sf $SRCDIR/drv $BUILD_DIR/$LIBNAME
+
+c_file ./drv/tr2.c
+c_file ./drv/tif2.c
+c_file ./drv/ser_tr.c
+c_file ./drv/titrc.c
+
+cfile_symlink $SRCDIR/tst_pei.c
+cfile_symlink $SRCDIR/tstdriver.c
+cfile_symlink $SRCDIR/tif_version.c
--- a/components/tif_na7_db_ir	Wed Feb 06 21:17:00 2019 +0000
+++ b/components/tif_na7_db_ir	Wed Feb 06 21:38:01 2019 +0000
@@ -41,10 +41,13 @@
 
 SRCDIR=$SRC/gpf/tst
 
-c_file $SRCDIR/drv/tr2.c
-c_file $SRCDIR/drv/tif2.c
-c_file $SRCDIR/drv/ser_tr.c
-c_file $SRCDIR/drv/titrc.c
-c_file $SRCDIR/tst_pei.c
-c_file $SRCDIR/tstdriver.c
-c_file $SRCDIR/tif_version.c
+ln -sf $SRCDIR/drv $BUILD_DIR/$LIBNAME
+
+c_file ./drv/tr2.c
+c_file ./drv/tif2.c
+c_file ./drv/ser_tr.c
+c_file ./drv/titrc.c
+
+cfile_symlink $SRCDIR/tst_pei.c
+cfile_symlink $SRCDIR/tstdriver.c
+cfile_symlink $SRCDIR/tif_version.c