Integration of OCCT 6.5.0 from SVN
[occt.git] / samples / java / adm / SunOS / TKNativePaint.lnk
1 if (!($?CCHOME))   setenv CCHOME   "/opt/DEV5_1/SUNWspro/bin/CC "
2 if (!($?CCFLAGS))  setenv CCFLAGS  " -xchip=ultra -xarch=v8  -G -mt "
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//libTKNativePaint.so \
13  -L${SAMPLE_ROOT}/${STATION}/lib \
14  -L${CASROOT}/${STATION}/lib -L${STLPortLib} \
15 ${SAMPLE_ROOT}/${STATION}/obj/SampleNativePaint/CASCADEView3d.o \
16 ${SAMPLE_ROOT}/${STATION}/obj/SampleNativePaint/CASCADEView2d.o \
17 \
18 -lTKernel \
19 -lTKMath \
20 -lTKGeomBase \
21 -lTKG2d \
22 -lTKG3d \
23 -lTKBRep \
24 -lTKGeomAlgo \
25 -lTKTopAlgo \
26 -lTKPrim \
27 -lTKHLR \
28 -lTKService \
29 -lTKV2d \
30 -lTKV3d \
31 -lTKjcas \
32  \
33  -L${JAVAHOME}/jre/lib/sparc -ljawt \
34  \
35  -lC -lc ;
36  set ld_status=$status
37  if ( $?LD_LIBRARY_PATH ) then
38   set ld_library_path=$LD_LIBRARY_PATH
39  endif
40 if ( $?LD_LIBRARY_PATH ) then
41  setenv LD_LIBRARY_PATH ${SAMPLE_ROOT}/${STATION}/lib:${CASROOT}/${STATION}/lib::${LD_LIBRARY_PATH}
42 else
43  setenv LD_LIBRARY_PATH ${SAMPLE_ROOT}/${STATION}/lib:${CASROOT}/${STATION}/lib:
44 endif
45 echo "Check of undefined symbols with LD_LIBRARY_PATH : $LD_LIBRARY_PATH"
46 /usr/ccs/bin/ld -o /dev/null \
47 \
48 ${SAMPLE_ROOT}/${STATION}/lib//libTKNativePaint.so\
49 -lTKernel \
50 -lTKMath \
51 -lTKGeomBase \
52 -lTKG2d \
53 -lTKG3d \
54 -lTKBRep \
55 -lTKGeomAlgo \
56 -lTKTopAlgo \
57 -lTKPrim \
58 -lTKHLR \
59 -lTKService \
60 -lTKV2d \
61 -lTKV3d \
62 -lTKjcas \
63  \
64   -L${JAVAHOME}/jre/lib/sparc -ljawt \
65  \
66 ;
67  if ( $status ) then
68    echo "Check failed"
69  else
70    echo "Check successed"
71  endif
72  if ( $?ld_library_path ) then
73   setenv LD_LIBRARY_PATH $ld_library_path
74  else
75   unsetenv LD_LIBRARY_PATH
76  endif
77  set status=$ld_status
78