diff options
-rw-r--r-- | lpsolve/lp_solve_5.5.patch | 15 | ||||
-rw-r--r-- | lpsolve/makefile.mk | 14 | ||||
-rw-r--r-- | postprocess/packcomponents/makefile.mk | 2 | ||||
-rw-r--r-- | sccomp/Module_sccomp.mk | 4 |
4 files changed, 15 insertions, 20 deletions
diff --git a/lpsolve/lp_solve_5.5.patch b/lpsolve/lp_solve_5.5.patch index bca62f422fcd..2fdd679fafc4 100644 --- a/lpsolve/lp_solve_5.5.patch +++ b/lpsolve/lp_solve_5.5.patch @@ -133,18 +133,3 @@ +fi + +rm *.o 2>/dev/null ---- misc/build/lp_solve_5.5/lpsolve55/ccc.ios.orig Sun May 22 11:19:48 2011 -+++ misc/build/lp_solve_5.5/lpsolve55/ccc.ios Sun May 22 11:19:48 2011 -@@ -1 +1,11 @@ --dummy -+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' -+obj=`echo $src|sed -e 's/\.c/.o/g' -e 's!\([^ ]*/\)*!!g'` -+ -+opts='-O3' -+ -+def= -+ -+$CC -I.. -I../bfp -I../bfp/bfp_LUSOL -I../bfp/bfp_LUSOL/LUSOL -I../colamd -I../shared $opts $def -DYY_NEVER_INTERACTIVE -DPARSER_LP -DINVERSE_ACTIVE=INVERSE_LUSOL -DRoleIsExternalInvEngine -c $src -+ls -l -+ar -r liblpsolve55.a $obj -+rm $obj diff --git a/lpsolve/makefile.mk b/lpsolve/makefile.mk index c91e3a02de91..cfc3985d7140 100644 --- a/lpsolve/makefile.mk +++ b/lpsolve/makefile.mk @@ -36,6 +36,8 @@ TARGET=lpsolve # --- Files -------------------------------------------------------- +.IF "$(OS)" != "IOS" + TARFILE_NAME=lp_solve_5.5 TARFILE_MD5=26b3e95ddf3d9c077c480ea45874b3b8 @@ -77,10 +79,6 @@ OUT2BIN=$(BUILD_DIR)$/lpsolve55.dll .EXPORT: EXTRA_CDEFS EXTRA_LINKFLAGS verbose BUILD_ACTION=sh ccc.osx OUT2LIB=$(BUILD_DIR)$/liblpsolve55.dylib -.ELIF "$(OS)"=="IOS" -.EXPORT: EXTRA_CDEFS EXTRA_LINKFLAGS -BUILD_ACTION=sh ccc.ios -OUT2LIB=$(BUILD_DIR)$/liblpsolve55.a .ELSE .IF "$(COMNAME)"=="sunpro5" BUILD_ACTION=sh ccc.solaris @@ -95,9 +93,17 @@ OUT2LIB=$(BUILD_DIR)$/liblpsolve55.so OUT2INC=lp_lib.h lp_types.h lp_utils.h lp_Hash.h lp_matrix.h lp_mipbb.h lp_SOS.h + # --- Targets ------------------------------------------------------ .INCLUDE : set_ext.mk + +.ENDIF + .INCLUDE : target.mk + +.IF "$(OS)" != "IOS" + .INCLUDE : tg_ext.mk +.ENDIF diff --git a/postprocess/packcomponents/makefile.mk b/postprocess/packcomponents/makefile.mk index a5f2f81d7db4..a40841a622fb 100644 --- a/postprocess/packcomponents/makefile.mk +++ b/postprocess/packcomponents/makefile.mk @@ -85,7 +85,6 @@ my_components = \ component/sc/util/scfilt \ component/scaddins/source/analysis/analysis \ component/scaddins/source/datefunc/date \ - component/sccomp/source/solver/solver \ component/sd/util/sd \ component/sd/util/sdd \ component/sd/util/sdfilt \ @@ -209,6 +208,7 @@ my_components += \ .IF "$(OS)" != "IOS" my_components += \ + component/sccomp/source/solver/solver \ component/writerfilter/util/writerfilter \ component/writerperfect/util/wpftwriter \ component/writerperfect/util/wpftdraw \ diff --git a/sccomp/Module_sccomp.mk b/sccomp/Module_sccomp.mk index 634c0e2f868b..9eb167abc854 100644 --- a/sccomp/Module_sccomp.mk +++ b/sccomp/Module_sccomp.mk @@ -28,9 +28,13 @@ $(eval $(call gb_Module_Module,sccomp)) +ifneq ($(OS),IOS) + $(eval $(call gb_Module_add_targets,sccomp,\ AllLangResTarget_solver \ Library_solver \ )) +endif + # vim: set noet sw=4 ts=4: |