makefile.mk (8e162c1b) makefile.mk (29920ea1)
1#**************************************************************
1#**************************************************************
2#
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
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#
10#
11# http://www.apache.org/licenses/LICENSE-2.0
11# http://www.apache.org/licenses/LICENSE-2.0
12#
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.
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#
19#
20#**************************************************************
21
22PRJ=.
23
24PRJNAME=coinmp
25TARGET=coinmp
26
27# --- Settings -----------------------------------------------------

--- 9 unchanged lines hidden (view full) ---

37
38.ELIF "$(SYSTEM_COINMP)"=="YES"
39
40all:
41 @echo "Using system CoinMP. Does not have to be built."
42
43.ELSE
44
20#**************************************************************
21
22PRJ=.
23
24PRJNAME=coinmp
25TARGET=coinmp
26
27# --- Settings -----------------------------------------------------

--- 9 unchanged lines hidden (view full) ---

37
38.ELIF "$(SYSTEM_COINMP)"=="YES"
39
40all:
41 @echo "Using system CoinMP. Does not have to be built."
42
43.ELSE
44
45TARFILE_NAME=CoinMP-1.6.0
46TARFILE_MD5=2b5f1ca58d6ef30f18f1415b65bed81c
45TARFILE_NAME=CoinMP-1.7.6
46TARFILE_MD5=1cce53bf4b40ae29790d2c5c9f8b1129
47
47
48PATCH_FILES=coinmp-1.6.0.patch coinmp-1.6.0-clang.patch
48PATCH_FILES=coinmp-1.7.6.patch coinmp-1.7.6-clang.patch
49
50.IF "$(COM)"=="MSC"
51BUILD_ACTION=$(COMPATH)$/vcpackages$/vcbuild.exe -useenv CoinMP\\MSVisualStudio\\v9\\CoinMP.sln "Release|Win32"
52.ELSE
53CONFIGURE_ACTION=./configure
54#CONFIGURE_FLAGS=--disable-pkg-config --disable-bzlib --disable-zlib CC='$(CC) $(ARCH_FLAGS)' CXX='$(CXX) $(ARCH_FLAGS)' CFLAGS='$(ARCH_FLAGS) -Wc,-arch -Wc,i386' CPPFLAGS='$(ARCH_FLAGS)' LDFLAGS='$(ARCH_FLAGS)' compiler_flags='$(ARCH_FLAGS)'
55CONFIGURE_FLAGS=--disable-pkg-config --disable-bzlib --disable-zlib CC='$(CC) $(ARCH_FLAGS)' CXX='$(CXX) $(ARCH_FLAGS)'
56#BUILD_ACTION= CC="$(CC) $(ARCH_FLAGS)" CPP="$(CXX) $(ARCH_FLAGS)" $(GNUMAKE) -j8
49
50.IF "$(COM)"=="MSC"
51BUILD_ACTION=$(COMPATH)$/vcpackages$/vcbuild.exe -useenv CoinMP\\MSVisualStudio\\v9\\CoinMP.sln "Release|Win32"
52.ELSE
53CONFIGURE_ACTION=./configure
54#CONFIGURE_FLAGS=--disable-pkg-config --disable-bzlib --disable-zlib CC='$(CC) $(ARCH_FLAGS)' CXX='$(CXX) $(ARCH_FLAGS)' CFLAGS='$(ARCH_FLAGS) -Wc,-arch -Wc,i386' CPPFLAGS='$(ARCH_FLAGS)' LDFLAGS='$(ARCH_FLAGS)' compiler_flags='$(ARCH_FLAGS)'
55CONFIGURE_FLAGS=--disable-pkg-config --disable-bzlib --disable-zlib CC='$(CC) $(ARCH_FLAGS)' CXX='$(CXX) $(ARCH_FLAGS)'
56#BUILD_ACTION= CC="$(CC) $(ARCH_FLAGS)" CPP="$(CXX) $(ARCH_FLAGS)" $(GNUMAKE) -j8
57BUILD_ACTION= $(GNUMAKE) -j8
57BUILD_ACTION= $(GNUMAKE) -j$(MAXPROCESS)
58.ENDIF
59
60OUT2INC+=CoinMP$/src/CoinMP.h
61
62.IF "$(OS)"=="WNT"
63OUT2BIN+=CoinMP$/MSVisualStudio$/v9$/release$/CoinMP.dll
64OUT2LIB+=CoinMP$/MSVisualStudio$/v9$/release$/CoinMP.lib
65.ELSE

--- 19 unchanged lines hidden ---
58.ENDIF
59
60OUT2INC+=CoinMP$/src/CoinMP.h
61
62.IF "$(OS)"=="WNT"
63OUT2BIN+=CoinMP$/MSVisualStudio$/v9$/release$/CoinMP.dll
64OUT2LIB+=CoinMP$/MSVisualStudio$/v9$/release$/CoinMP.lib
65.ELSE

--- 19 unchanged lines hidden ---