1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-04-05 18:16:23 +03:00
occt/samples/java/adm/SunOS/TKNativePaint.lnk
2012-03-05 19:23:40 +04:00

79 lines
1.8 KiB
Plaintext
Executable File

if (!($?CCHOME)) setenv CCHOME "/opt/DEV5_1/SUNWspro/bin/CC "
if (!($?CCFLAGS)) setenv CCFLAGS " -xchip=ultra -xarch=v8 -G -mt "
if (!($?STLPortHome)) then
setenv STLPortLib "."
else
if (!($?STLPortLib_CC)) setenv STLPortLib_CC "stlport_gcc"
if (!($?STLPortLib)) setenv STLPortLib "$STLPortHome/lib"
setenv STLPortLib "$STLPortLib -l$STLPortLib_CC"
endif
${CCHOME} ${CCFLAGS} -o ${SAMPLE_ROOT}/${STATION}/lib//libTKNativePaint.so \
-L${SAMPLE_ROOT}/${STATION}/lib \
-L${CASROOT}/${STATION}/lib -L${STLPortLib} \
${SAMPLE_ROOT}/${STATION}/obj/SampleNativePaint/CASCADEView3d.o \
${SAMPLE_ROOT}/${STATION}/obj/SampleNativePaint/CASCADEView2d.o \
\
-lTKernel \
-lTKMath \
-lTKGeomBase \
-lTKG2d \
-lTKG3d \
-lTKBRep \
-lTKGeomAlgo \
-lTKTopAlgo \
-lTKPrim \
-lTKHLR \
-lTKService \
-lTKV2d \
-lTKV3d \
-lTKjcas \
\
-L${JAVAHOME}/jre/lib/sparc -ljawt \
\
-lC -lc ;
set ld_status=$status
if ( $?LD_LIBRARY_PATH ) then
set ld_library_path=$LD_LIBRARY_PATH
endif
if ( $?LD_LIBRARY_PATH ) then
setenv LD_LIBRARY_PATH ${SAMPLE_ROOT}/${STATION}/lib:${CASROOT}/${STATION}/lib::${LD_LIBRARY_PATH}
else
setenv LD_LIBRARY_PATH ${SAMPLE_ROOT}/${STATION}/lib:${CASROOT}/${STATION}/lib:
endif
echo "Check of undefined symbols with LD_LIBRARY_PATH : $LD_LIBRARY_PATH"
/usr/ccs/bin/ld -o /dev/null \
\
${SAMPLE_ROOT}/${STATION}/lib//libTKNativePaint.so\
-lTKernel \
-lTKMath \
-lTKGeomBase \
-lTKG2d \
-lTKG3d \
-lTKBRep \
-lTKGeomAlgo \
-lTKTopAlgo \
-lTKPrim \
-lTKHLR \
-lTKService \
-lTKV2d \
-lTKV3d \
-lTKjcas \
\
-L${JAVAHOME}/jre/lib/sparc -ljawt \
\
;
if ( $status ) then
echo "Check failed"
else
echo "Check successed"
endif
if ( $?ld_library_path ) then
setenv LD_LIBRARY_PATH $ld_library_path
else
unsetenv LD_LIBRARY_PATH
endif
set status=$ld_status