Integration of OCCT 6.5.0 from SVN
[occt.git] / samples / java / adm / Linux / TKSamples.lnk
1 if (!($?CCHOME))   setenv CCHOME   "g++ "
2 if (!($?CCFLAGS))  setenv CCFLAGS  " -shared "
3
4 if (!($?STLPortHome)) then
5     setenv STLPortLib           "."
6 else
7     if (!($?STLPortLib_CC))     setenv STLPortLib_CC    "stlport_gcc"
8     if (!($?STLPortLib))        setenv STLPortLib       "$STLPortHome/lib"
9     setenv STLPortLib           "$STLPortLib -l$STLPortLib_CC"
10 endif
11
12 ${CCHOME} ${CCFLAGS} -o ${SAMPLE_ROOT}/${STATION}/lib//libTKSamples.so \
13  -L${SAMPLE_ROOT}/${STATION}/lib \
14  -L${CASROOT}/${STATION}/lib -L${STLPortLib} \
15 \
16  ${SAMPLE_ROOT}/${STATION}/obj/SampleAISBasicPackage/SampleAISBasicPackage.o \
17  ${SAMPLE_ROOT}/${STATION}/obj/SampleAISDisplayModePackage/SampleAISDisplayModePackage.o \
18  ${SAMPLE_ROOT}/${STATION}/obj/SampleAISSelectPackage/SampleAISSelectPackage.o \
19  ${SAMPLE_ROOT}/${STATION}/obj/SampleDisplayAnimationPackage/SampleDisplayAnimationPackage.o \
20  ${SAMPLE_ROOT}/${STATION}/obj/SampleGeometryPackage/SampleGeometryPackage.o \
21  ${SAMPLE_ROOT}/${STATION}/obj/SampleHLRPackage/SampleHLRPackage.o \
22  ${SAMPLE_ROOT}/${STATION}/obj/SampleImportExportPackage/SampleImportExportPackage.o \
23  ${SAMPLE_ROOT}/${STATION}/obj/SamplesTopologyPackage/SamplesTopologyPackage.o \
24  ${SAMPLE_ROOT}/${STATION}/obj/User/User_Cylinder.o \
25  ${SAMPLE_ROOT}/${STATION}/obj/ISession/ISession_Point.o \
26  ${SAMPLE_ROOT}/${STATION}/obj/ISession/ISession_Curve.o \
27  ${SAMPLE_ROOT}/${STATION}/obj/ISession/ISession_Surface.o \
28  ${SAMPLE_ROOT}/${STATION}/obj/ISession/ISession_Text.o \
29  ${SAMPLE_ROOT}/${STATION}/obj/ISession/ISession_Direction.o \
30  ${SAMPLE_ROOT}/${STATION}/obj/ISession2D/ISession2D_InteractiveContext.o \
31  ${SAMPLE_ROOT}/${STATION}/obj/ISession2D/ISession2D_SensitiveCurve.o \
32  ${SAMPLE_ROOT}/${STATION}/obj/ISession2D/ISession2D_Curve.o \
33  ${SAMPLE_ROOT}/${STATION}/obj/ISession2D/ISession2D_ObjectOwner.o \
34  ${SAMPLE_ROOT}/${STATION}/obj/ISession2D/ISession2D_Shape.o \
35 \
36  -lTKernel \
37  -lTKBool \
38  -lTKGeomAlgo \
39  -lTKXSBase \
40  -lTKIGES \
41  -lTKFeat \
42  -lTKMath \
43  -lTKG3d \
44  -lTKG2d \
45  -lTKOffset \
46  -lTKGeomBase \
47  -lTKTopAlgo \
48  -lTKV3d \
49  -lTKService \
50  -lPTKernel \
51  -lTKShapeSchema \
52  -lTKShHealing \
53  -lTKBRep \
54  -lTKFillet \
55  -lTKHLR \
56  -lTKV2d \
57  -lTKPShape \
58  -lTKMesh \
59  -lTKSTEP \
60  -lTKPrim \
61   \
62   \
63   \
64   \
65  ;
66  set ld_status=$status
67  if ( $ld_status ) then
68    echo "Check failed"
69  else
70    echo "Check successed"
71  endif
72