xref: /aoo41x/ext_libraries/coinmp/makefile.mk (revision 5e6e248a)
127b2fc91SAndre Fischer#**************************************************************
227b2fc91SAndre Fischer#
327b2fc91SAndre Fischer#  Licensed to the Apache Software Foundation (ASF) under one
427b2fc91SAndre Fischer#  or more contributor license agreements.  See the NOTICE file
527b2fc91SAndre Fischer#  distributed with this work for additional information
627b2fc91SAndre Fischer#  regarding copyright ownership.  The ASF licenses this file
727b2fc91SAndre Fischer#  to you under the Apache License, Version 2.0 (the
827b2fc91SAndre Fischer#  "License"); you may not use this file except in compliance
927b2fc91SAndre Fischer#  with the License.  You may obtain a copy of the License at
1027b2fc91SAndre Fischer#
1127b2fc91SAndre Fischer#    http://www.apache.org/licenses/LICENSE-2.0
1227b2fc91SAndre Fischer#
1327b2fc91SAndre Fischer#  Unless required by applicable law or agreed to in writing,
1427b2fc91SAndre Fischer#  software distributed under the License is distributed on an
1527b2fc91SAndre Fischer#  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
1627b2fc91SAndre Fischer#  KIND, either express or implied.  See the License for the
1727b2fc91SAndre Fischer#  specific language governing permissions and limitations
1827b2fc91SAndre Fischer#  under the License.
1927b2fc91SAndre Fischer#
2027b2fc91SAndre Fischer#**************************************************************
2127b2fc91SAndre Fischer
2227b2fc91SAndre FischerPRJ=.
2327b2fc91SAndre Fischer
2427b2fc91SAndre FischerPRJNAME=coinmp
2527b2fc91SAndre FischerTARGET=coinmp
2627b2fc91SAndre Fischer
2727b2fc91SAndre Fischer# --- Settings -----------------------------------------------------
2827b2fc91SAndre Fischer
2927b2fc91SAndre Fischer.INCLUDE :	settings.mk
3027b2fc91SAndre Fischer
3127b2fc91SAndre Fischer# --- Files --------------------------------------------------------
3227b2fc91SAndre Fischer
3327b2fc91SAndre Fischer.IF "$(ENABLE_COINMP)"!="YES"
3427b2fc91SAndre Fischer
3527b2fc91SAndre Fischerall:
3627b2fc91SAndre Fischer	@echo "CoinMP is disabled and will not be built."
3727b2fc91SAndre Fischer
3827b2fc91SAndre Fischer.ELSE
3927b2fc91SAndre Fischer
40d3c6bc50SAndre FischerTARFILE_NAME=CoinMP-1.6.0
41d3c6bc50SAndre FischerTARFILE_MD5=2b5f1ca58d6ef30f18f1415b65bed81c
4227b2fc91SAndre Fischer
4327b2fc91SAndre Fischer.IF "$(COM)"=="MSC"
44*5e6e248aSAndre FischerBUILD_ACTION=$(COMPATH)$/vcpackages$/vcbuild.exe CoinMP\\MSVisualStudio\\v9\\CoinMP.sln "Release|Win32"
4527b2fc91SAndre Fischer.ELSE
4627b2fc91SAndre FischerCONFIGURE_ACTION=./configure
47949cad05SAriel Constenla-HaileCONFIGURE_FLAGS=--disable-pkg-config --disable-bzlib --disable-zlib
4827b2fc91SAndre FischerBUILD_ACTION=$(GNUMAKE)
4927b2fc91SAndre Fischer.ENDIF
5027b2fc91SAndre Fischer
5127b2fc91SAndre FischerOUT2INC+=CoinMP$/src/CoinMP.h
5227b2fc91SAndre Fischer
5327b2fc91SAndre Fischer.IF "$(OS)"=="WNT"
5427b2fc91SAndre FischerOUT2BIN+=CoinMP$/MSVisualStudio$/v9$/release$/CoinMP.dll
5527b2fc91SAndre FischerOUT2LIB+=CoinMP$/MSVisualStudio$/v9$/release$/CoinMP.lib
5627b2fc91SAndre Fischer.ELSE
5727b2fc91SAndre FischerOUT2LIB+=CoinMP$/src$/.libs$/libCoinMP*$(DLLPOST)*
5827b2fc91SAndre FischerOUT2LIB+=CoinUtils$/src$/.libs$/libCoinUtils*$(DLLPOST)*
5927b2fc91SAndre FischerOUT2LIB+=Cbc$/src$/.libs$/libCbc*$(DLLPOST)*
6027b2fc91SAndre FischerOUT2LIB+=Cbc$/src$/OsiCbc$/.libs$/libOsiCbc*$(DLLPOST)*
6127b2fc91SAndre FischerOUT2LIB+=Cgl$/src$/.libs$/libCgl*$(DLLPOST)*
6227b2fc91SAndre FischerOUT2LIB+=Clp$/src$/.libs$/libClp*$(DLLPOST)*
6327b2fc91SAndre FischerOUT2LIB+=Clp$/src$/OsiClp$/.libs$/libOsiClp*$(DLLPOST)*
6427b2fc91SAndre FischerOUT2LIB+=Osi$/src$/Osi$/.libs$/libOsi*$(DLLPOST)*
6527b2fc91SAndre Fischer.ENDIF
6627b2fc91SAndre Fischer
6727b2fc91SAndre Fischer
6827b2fc91SAndre Fischer
6927b2fc91SAndre Fischer# --- Targets ------------------------------------------------------
7027b2fc91SAndre Fischer
7127b2fc91SAndre Fischer.INCLUDE : set_ext.mk
7227b2fc91SAndre Fischer.INCLUDE : target.mk
7327b2fc91SAndre Fischer.INCLUDE : tg_ext.mk
7427b2fc91SAndre Fischer
7527b2fc91SAndre Fischer.ENDIF
76