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