2007-11-23 14:29:22 -06:00
|
|
|
*** misc/lp_solve_5.5/lpsolve55/ccc.solaris Fri Nov 23 21:38:12 2007
|
|
|
|
--- misc/build/lp_solve_5.5/lpsolve55/ccc.solaris Fri Nov 23 21:58:29 2007
|
|
|
|
***************
|
|
|
|
*** 1 ****
|
|
|
|
! dummy
|
|
|
|
--- 1,25 ----
|
|
|
|
! src='../lp_MDO.c ../shared/commonlib.c ../shared/mmio.c ../shared/myblas.c ../ini.c ../fortify.c ../colamd/colamd.c ../lp_rlp.c ../lp_crash.c ../bfp/bfp_LUSOL/lp_LUSOL.c ../bfp/bfp_LUSOL/LUSOL/lusol.c ../lp_Hash.c ../lp_lib.c ../lp_wlp.c ../lp_matrix.c ../lp_mipbb.c ../lp_MPS.c ../lp_params.c ../lp_presolve.c ../lp_price.c ../lp_pricePSE.c ../lp_report.c ../lp_scale.c ../lp_simplex.c ../lp_SOS.c ../lp_utils.c ../yacc_read.c'
|
|
|
|
! c=cc
|
|
|
|
!
|
|
|
|
! def=
|
|
|
|
! so=
|
|
|
|
! if [ "$PLATFORM" = "SCO_UNIX" ]
|
|
|
|
! then def='-dy -K PIC -DNOLONGLONG'
|
|
|
|
! dl=-lc
|
|
|
|
! else dl=-ldl
|
|
|
|
! so=y
|
|
|
|
! fi
|
|
|
|
!
|
|
|
|
! opts='-xO3'
|
|
|
|
!
|
|
|
|
! $c -s -c -I.. -I../shared -I../bfp -I../bfp/bfp_LUSOL -I../bfp/bfp_LUSOL/LUSOL -I../colamd $opts $def -DYY_NEVER_INTERACTIVE -DPARSER_LP -DINVERSE_ACTIVE=INVERSE_LUSOL -DRoleIsExternalInvEngine $src
|
|
|
|
! ar rv liblpsolve55.a `echo $src|sed s/[.]c/.o/g|sed 's/[^ ]*\///g'`
|
|
|
|
! ranlib liblpsolve55.a
|
|
|
|
!
|
|
|
|
! if [ "$so" != "" ]
|
|
|
|
! then
|
|
|
|
! $c -K pic -s -c -I.. -I../shared -I../bfp -I../bfp/bfp_LUSOL -I../bfp/bfp_LUSOL/LUSOL -I../colamd -I. $opts -DYY_NEVER_INTERACTIVE -DPARSER_LP -DINVERSE_ACTIVE=INVERSE_LUSOL -DRoleIsExternalInvEngine $src
|
2007-12-20 08:58:45 -06:00
|
|
|
! $c -G -Bsymbolic -h liblpsolve55.so -o liblpsolve55.so `echo $src|sed s/[.]c/.o/g|sed 's/[^ ]*\///g'` $SOLARLIB -lc -lm -ldl
|
2007-11-23 14:29:22 -06:00
|
|
|
! fi
|
|
|
|
!
|
|
|
|
! rm *.o 2>/dev/null
|