xref: /trunk/ext_libraries/coinmp/makefile.mk (revision 29eacd91)
1#**************************************************************
2#
3#  Licensed to the Apache Software Foundation (ASF) under one
4#  or more contributor license agreements.  See the NOTICE file
5#  distributed with this work for additional information
6#  regarding copyright ownership.  The ASF licenses this file
7#  to you under the Apache License, Version 2.0 (the
8#  "License"); you may not use this file except in compliance
9#  with the License.  You may obtain a copy of the License at
10#
11#    http://www.apache.org/licenses/LICENSE-2.0
12#
13#  Unless required by applicable law or agreed to in writing,
14#  software distributed under the License is distributed on an
15#  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16#  KIND, either express or implied.  See the License for the
17#  specific language governing permissions and limitations
18#  under the License.
19#
20#**************************************************************
21
22PRJ=.
23
24PRJNAME=coinmp
25TARGET=coinmp
26
27# --- Settings -----------------------------------------------------
28
29.INCLUDE :	settings.mk
30
31# --- Files --------------------------------------------------------
32
33.IF "$(ENABLE_COINMP)"!="YES"
34
35all:
36	@echo "CoinMP is disabled and will not be built."
37
38.ELSE
39
40TARFILE_NAME=CoinMP-1.6.0
41TARFILE_MD5=2b5f1ca58d6ef30f18f1415b65bed81c
42
43PATCH_FILES=coinmp-1.6.0.patch
44
45.IF "$(COM)"=="MSC"
46BUILD_ACTION=$(COMPATH)$/vcpackages$/vcbuild.exe CoinMP\\MSVisualStudio\\v9\\CoinMP.sln "Release|Win32"
47.ELSE
48CONFIGURE_ACTION=./configure
49CONFIGURE_FLAGS=--disable-pkg-config --disable-bzlib --disable-zlib
50BUILD_ACTION=$(GNUMAKE)
51.ENDIF
52
53OUT2INC+=CoinMP$/src/CoinMP.h
54
55.IF "$(OS)"=="WNT"
56OUT2BIN+=CoinMP$/MSVisualStudio$/v9$/release$/CoinMP.dll
57OUT2LIB+=CoinMP$/MSVisualStudio$/v9$/release$/CoinMP.lib
58.ELSE
59OUT2LIB+=CoinMP$/src$/.libs$/libCoinMP*$(DLLPOST)*
60OUT2LIB+=CoinUtils$/src$/.libs$/libCoinUtils*$(DLLPOST)*
61OUT2LIB+=Cbc$/src$/.libs$/libCbc*$(DLLPOST)*
62OUT2LIB+=Cbc$/src$/OsiCbc$/.libs$/libOsiCbc*$(DLLPOST)*
63OUT2LIB+=Cgl$/src$/.libs$/libCgl*$(DLLPOST)*
64OUT2LIB+=Clp$/src$/.libs$/libClp*$(DLLPOST)*
65OUT2LIB+=Clp$/src$/OsiClp$/.libs$/libOsiClp*$(DLLPOST)*
66OUT2LIB+=Osi$/src$/Osi$/.libs$/libOsi*$(DLLPOST)*
67.ENDIF
68
69
70
71# --- Targets ------------------------------------------------------
72
73.INCLUDE : set_ext.mk
74.INCLUDE : target.mk
75.INCLUDE : tg_ext.mk
76
77.ENDIF
78