diff --git a/shsrc/lshsrc/mk-micasa_ff-dl b/shsrc/lshsrc/mk-micasa_ff-dl new file mode 100755 index 00000000..87305cc9 --- /dev/null +++ b/shsrc/lshsrc/mk-micasa_ff-dl @@ -0,0 +1,33 @@ +#!/bin/bash +set -x +mk-dirs +cd ../../ +PR=`pwd` +echo $PR +cd $PR/make + +MAJ_SSS_NO=`cat majver.txt` +MIN_SSS_NO=`cat minver.txt` +REV_SSS_NO=`cat revver.txt` + +export BLD_NO=$MAJ_SSS_NO.$MIN_SSS_NO.$REV_SSS_NO + +HOST_ARCH=`uname -a | grep -c x86_64` +if [ $HOST_ARCH -gt 0 ] +then ARCH_LIB=64 +else +ARCH_LIB= +fi + + +cd $PR/c_adlib/ad_ff/native +(make -I $PR/make -f Makefile ROOT=$PR PLAT=lux MODULE=shared MIN_NUM=\"$MIN_SSS_NO\" PROD_NUM=\"$MAJ_SSS_NO\" BLD_VER=\"$BLD_NO\" ARC=\"$ARCH_LIB\" XTRA=ndbg XTRA_CFLAGS="-O2 -fmessage-length=0 -Wall" $2 $3 $4 $5) +RCODE=$? +rm -f $COMMON_FILES +if(test $RCODE != 0) +then +exit $RCODE +else +ln -sf $PR/lib$ARCH_LIB/lux/dbg/libad_ff.so.$BLD_NO $PR/lib$ARCH_LIB/lux/dbg/libad_ff.so.$MAJ_SSS_NO +exit 0 +fi diff --git a/shsrc/lshsrc/mk-micasa_ff-ol b/shsrc/lshsrc/mk-micasa_ff-ol new file mode 100755 index 00000000..d77dd54e --- /dev/null +++ b/shsrc/lshsrc/mk-micasa_ff-ol @@ -0,0 +1,32 @@ +#!/bin/bash +set -x +mk-dirs +cd ../../ +PR=`pwd` +echo $PR +cd $PR/make + +MAJ_SSS_NO=`cat majver.txt` +MIN_SSS_NO=`cat minver.txt` +REV_SSS_NO=`cat revver.txt` + +export BLD_NO=$MAJ_SSS_NO.$MIN_SSS_NO.$REV_SSS_NO + +HOST_ARCH=`uname -a | grep -c x86_64` +if [ $HOST_ARCH -gt 0 ] +then ARCH_LIB=64 +else +ARCH_LIB= +fi + +cd $PR/c_adlib/ad_ff/native +(make -I $PR/make -f Makefile ROOT=$PR PLAT=lux MODULE=shared MIN_NUM=\"$MIN_SSS_NO\" PROD_NUM=\"$MAJ_SSS_NO\" BLD_VER=\"$BLD_NO\" ARC=\"$ARCH_LIB\" XTRA=ndbg XTRA_CFLAGS="-O2 -fmessage-length=0 -Wall" $2 $3 $4 $5) +RCODE=$? +rm -f $COMMON_FILES +if(test $RCODE != 0) +then +exit $RCODE +else +ln -sf $PR/lib$ARCH_LIB/lux/dbg/libad_ff.so.$BLD_NO $PR/lib$ARCH_LIB/lux/dbg/libad_ff.so.$MAJ_SSS_NO +exit 0 +fi diff --git a/shsrc/lshsrc/mk-micasa_ffwrap-dl b/shsrc/lshsrc/mk-micasa_ffwrap-dl new file mode 100755 index 00000000..14e833f9 --- /dev/null +++ b/shsrc/lshsrc/mk-micasa_ffwrap-dl @@ -0,0 +1,31 @@ +#!/bin/bash +set -x +mk-dirs +cd ../../ +PR=`pwd` +cd $PR/make + +MAJ_SSS_NO=`cat majver.txt` +MIN_SSS_NO=`cat minver.txt` +REV_SSS_NO=`cat revver.txt` + +export BLD_NO=$MAJ_SSS_NO.$MIN_SSS_NO.$REV_SSS_NO + +HOST_ARCH=`uname -a | grep -c x86_64` +if [ $HOST_ARCH -gt 0 ] +then ARCH_LIB=64 +else +ARCH_LIB= +fi + + +cd $PR/c_adlib/ad_ff +(make -I $PR/make -f Makefile ROOT=$PR PLAT=lux EXT=lib MODULE=ffwrap MIN_NUM=\"$MIN_SSS_NO\" PROD_NUM=\"$MAJ_SSS_NO\" BLD_VER=\"$BLD_NO\" ARC=\"$ARCH_LIB\" XTRA_CFLAGS="-debug" XTRA=dbg $2 $3 $4 $5 $6) +RCODE=$? + +if(test $RCODE != 0) +then +exit $RCODE +else +exit 0 +fi diff --git a/shsrc/lshsrc/mk-micasa_ffwrap-ol b/shsrc/lshsrc/mk-micasa_ffwrap-ol new file mode 100755 index 00000000..395e0ed1 --- /dev/null +++ b/shsrc/lshsrc/mk-micasa_ffwrap-ol @@ -0,0 +1,31 @@ +#!/bin/bash +set -x +mk-dirs +cd ../../ +PR=`pwd` +cd $PR/make + +MAJ_SSS_NO=`cat majver.txt` +MIN_SSS_NO=`cat minver.txt` +REV_SSS_NO=`cat revver.txt` + +export BLD_NO=$MAJ_SSS_NO.$MIN_SSS_NO.$REV_SSS_NO + +HOST_ARCH=`uname -a | grep -c x86_64` +if [ $HOST_ARCH -gt 0 ] +then ARCH_LIB=64 +else +ARCH_LIB= +fi + + +cd $PR/c_adlib/ad_ff +(make -I $PR/make -f Makefile ROOT=$PR PLAT=lux EXT=lib MODULE=ffwrap MIN_NUM=\"$MIN_SSS_NO\" PROD_NUM=\"$MAJ_SSS_NO\" BLD_VER=\"$BLD_NO\" ARC=\"$ARCH_LIB\" XTRA_CFLAGS="" XTRA=ndbg $2 $3 $4 $5 $6) +RCODE=$? + +if(test $RCODE != 0) +then +exit $RCODE +else +exit 0 +fi