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//libSampleViewer3DJni.so \
 -L${SAMPLE_ROOT}/${STATION}/lib \
 -L${CASROOT}/${STATION}/lib -L${STLPortLib} \
\
${SAMPLE_ROOT}/${STATION}/obj/SampleViewer3DJni/SampleViewer3DJni_AIS_InteractiveContext_java.o \
${SAMPLE_ROOT}/${STATION}/obj/SampleViewer3DJni/SampleViewer3DJni_AlienImage_AlienImage_java.o \
${SAMPLE_ROOT}/${STATION}/obj/SampleViewer3DJni/SampleViewer3DJni_Aspect_Array1OfEdge_java.o \
${SAMPLE_ROOT}/${STATION}/obj/SampleViewer3DJni/SampleViewer3DJni_Aspect_GraphicDriver_java.o \
${SAMPLE_ROOT}/${STATION}/obj/SampleViewer3DJni/SampleViewer3DJni_Graphic3d_Array1OfVertexC_java.o \
${SAMPLE_ROOT}/${STATION}/obj/SampleViewer3DJni/SampleViewer3DJni_Graphic3d_Array1OfVertex_java.o \
${SAMPLE_ROOT}/${STATION}/obj/SampleViewer3DJni/SampleViewer3DJni_Graphic3d_Array1OfVertexNC_java.o \
${SAMPLE_ROOT}/${STATION}/obj/SampleViewer3DJni/SampleViewer3DJni_Graphic3d_Array1OfVertexN_java.o \
${SAMPLE_ROOT}/${STATION}/obj/SampleViewer3DJni/SampleViewer3DJni_Graphic3d_Array1OfVertexNT_java.o \
${SAMPLE_ROOT}/${STATION}/obj/SampleViewer3DJni/SampleViewer3DJni_Graphic3d_Array2OfVertex_java.o \
${SAMPLE_ROOT}/${STATION}/obj/SampleViewer3DJni/SampleViewer3DJni_Graphic3d_Array2OfVertexN_java.o \
${SAMPLE_ROOT}/${STATION}/obj/SampleViewer3DJni/SampleViewer3DJni_Graphic3d_Array2OfVertexNT_java.o \
${SAMPLE_ROOT}/${STATION}/obj/SampleViewer3DJni/SampleViewer3DJni_Graphic3d_GraphicDriver_java.o \
${SAMPLE_ROOT}/${STATION}/obj/SampleViewer3DJni/SampleViewer3DJni_Graphic3d_HArray1OfBytes_java.o \
${SAMPLE_ROOT}/${STATION}/obj/SampleViewer3DJni/SampleViewer3DJni_Graphic3d_Vector_java.o \
${SAMPLE_ROOT}/${STATION}/obj/SampleViewer3DJni/SampleViewer3DJni_Graphic3d_Vertex_java.o \
${SAMPLE_ROOT}/${STATION}/obj/SampleViewer3DJni/SampleViewer3DJni_Graphic3d_VertexNC_java.o \
${SAMPLE_ROOT}/${STATION}/obj/SampleViewer3DJni/SampleViewer3DJni_Graphic3d_VertexN_java.o \
${SAMPLE_ROOT}/${STATION}/obj/SampleViewer3DJni/SampleViewer3DJni_SampleViewer3DPackage_java.o \
${SAMPLE_ROOT}/${STATION}/obj/SampleViewer3DJni/SampleViewer3DJni_Standard_Type_java.o \
${SAMPLE_ROOT}/${STATION}/obj/SampleViewer3DJni/SampleViewer3DJni_TCollection_AsciiString_java.o \
${SAMPLE_ROOT}/${STATION}/obj/SampleViewer3DJni/SampleViewer3DJni_TCollection_ExtendedString_java.o \
${SAMPLE_ROOT}/${STATION}/obj/SampleViewer3DJni/SampleViewer3DJni_TColStd_Array1OfInteger_java.o \
${SAMPLE_ROOT}/${STATION}/obj/SampleViewer3DJni/SampleViewer3DJni_TColStd_Array1OfReal_java.o \
${SAMPLE_ROOT}/${STATION}/obj/SampleViewer3DJni/SampleViewer3DJni_TColStd_Array2OfReal_java.o \
${SAMPLE_ROOT}/${STATION}/obj/SampleViewer3DJni/SampleViewer3DJni_TColStd_HArray1OfReal_java.o \
${SAMPLE_ROOT}/${STATION}/obj/SampleViewer3DJni/SampleViewer3DJni_V3d_Viewer_java.o \
${SAMPLE_ROOT}/${STATION}/obj/SampleViewer3DJni/SampleViewer3DJni_V3d_View_java.o \
${SAMPLE_ROOT}/${STATION}/obj/SampleViewer3DJni/SampleViewer3DJni_Viewer_Viewer_java.o \
${SAMPLE_ROOT}/${STATION}/obj/SampleViewer3DJni/SampleViewer3DJni_Viewer_View_java.o \
\
 -lTKjcas \
 -lTKSamples2 \
 -lTKPrim \
 -lTKV3d \
 -lTKernel \
 -lTKGeomAlgo \
 -lTKGeomBase \
 -lTKBool \
 -lTKTopAlgo \
 -lTKBRep \
 -lTKHLR \
 -lTKG2d \
 -lTKV2d \
 -lTKService \
 -lTKMath \
 -lTKG3d \
 -lsocket -lnsl -lsunmath -lm -ldl \
  \
  \
  \
  \
 -L/usr/openwin/lib -lX11 -lXext -lXmu \
 -L/usr/openwin/lib -ldps \
 -lC -lc ;
 set ld_status=$status
 if ( $?LD_LIBRARY_PATH ) then
  set ld_library_path=$LD_LIBRARY_PATH
 endif