Integration of OCCT 6.5.0 from SVN
[occt.git] / samples / java / adm / Linux / TKjcas.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//libTKjcas.so \
13  -L${SAMPLE_ROOT}/${STATION}/lib \
14  -L${CASROOT}/${STATION}/lib -L${STLPortLib} \
15 \
16  ${SAMPLE_ROOT}/${STATION}/obj/jcas/jcas.o \
17  ${SAMPLE_ROOT}/${STATION}/obj/jcas/jcas_Object.o \
18  ${SAMPLE_ROOT}/${STATION}/obj/jcas/jcas_Transient.o \
19 \
20  -lTKernel \
21  ;
22  set ld_status=$status
23  if ( $ld_status ) then
24    echo "Check failed"
25  else
26    echo "Check successed"
27  endif
28