1 #*************************************************************************
3 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
5 # Copyright 2000, 2010 Oracle and/or its affiliates.
7 # OpenOffice.org - a multi-platform office productivity suite
9 # This file is part of OpenOffice.org.
11 # OpenOffice.org is free software: you can redistribute it and/or modify
12 # it under the terms of the GNU Lesser General Public License version 3
13 # only, as published by the Free Software Foundation.
15 # OpenOffice.org is distributed in the hope that it will be useful,
16 # but WITHOUT ANY WARRANTY; without even the implied warranty of
17 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18 # GNU Lesser General Public License version 3 for more details
19 # (a copy is included in the LICENSE file that accompanied this code).
21 # You should have received a copy of the GNU Lesser General Public License
22 # version 3 along with OpenOffice.org. If not, see
23 # <http://www.openoffice.org/license.html>
24 # for a copy of the LGPLv3 License.
26 #*************************************************************************
33 # --- Settings -----------------------------------------------------
35 .INCLUDE
: settings.mk
37 # --- Files --------------------------------------------------------
39 TARFILE_NAME
=lp_solve_5.5
40 TARFILE_MD5
=26b3e95ddf3d9c077c480ea45874b3b8
43 PATCH_FILES
=lp_solve_5.5
-windows.patch
45 PATCH_FILES
=lp_solve_5.5.patch
46 ADDITIONAL_FILES
=lpsolve55
$/ccc.solaris lpsolve55
$/ccc.os2
56 .IF
"$(MINGW_SHARED_GCCLIB)"=="YES"
57 lpsolve_LDFLAGS
=-shared-libgcc
59 .IF
"$(MINGW_SHARED_GXXLIB)"=="YES"
60 lpsolve_LIBS
=$(MINGW_SHARED_LIBSTDCPP
)
62 BUILD_ACTION
=lpsolve_LDFLAGS
=$(lpsolve_LDFLAGS
) lpsolve_LIBS
=$(lpsolve_LIBS
) cmd
/c cgcc.bat
64 BUILD_ACTION
=cmd
/c cvc6.bat
65 OUT2LIB
=$(BUILD_DIR
)$/lpsolve55.lib
67 OUT2BIN
=$(BUILD_DIR
)$/lpsolve55.dll
69 BUILD_ACTION
=sh ccc.os2
70 OUT2LIB
=$(BUILD_DIR
)$/liblpsolve55.lib
73 .EXPORT
: EXTRA_CDEFS EXTRA_LINKFLAGS
74 BUILD_ACTION
=sh ccc.osx
75 OUT2LIB
=$(BUILD_DIR
)$/liblpsolve55.dylib
77 .IF
"$(COMNAME)"=="sunpro5"
78 BUILD_ACTION
=sh ccc.solaris
82 OUT2LIB
=$(BUILD_DIR
)$/liblpsolve55.so
86 OUT2INC
=lp_lib.h lp_types.h lp_utils.h lp_Hash.h lp_matrix.h lp_mipbb.h lp_SOS.h
88 # --- Targets ------------------------------------------------------