Debian Codegraph @

CoinMP/src/Makefile.am

raw
1 # Copyright (C) 2006 International Business Machines and others.
2 # All Rights Reserved.
3 # This file is distributed under the Common Public License.
4
5 ## $Id: Makefile.am 547 2013-11-21 19:57:28Z stefan $
6
7 # Author: Andreas Waechter IBM 2006-04-13
8
9 AUTOMAKE_OPTIONS = foreign
10
11 ########################################################################
12 # libCoinMP #
13 ########################################################################
14
15 # Name of the library compiled in this directory. We want it to be installed
16 # in the 'lib' directory
17 lib_LTLIBRARIES = libCoinMP.la
18
19 # List all source files for this library, including headers
20 libCoinMP_la_SOURCES = \
21 CoinMP.cpp CoinMP.h \
22 CoinProblem.c CoinProblem.h \
23 CoinResult.c CoinResult.h \
24 CoinSolver.c CoinSolver.h \
25 CoinOption.c CoinOption.h \
26 CoinCbc.cpp CoinCbc.h \
27 CoinMPConfig.h
28
29 # List all additionally required libraries
30 if DEPENDENCY_LINKING
31 libCoinMP_la_LIBADD = $(COINMP_LIBS)
32 endif
33
34 # This is for libtool (on Windows)
35 libCoinMP_la_LDFLAGS = $(LT_LDFLAGS)
36
37 ########################################################################
38 # Additional flags #
39 ########################################################################
40
41 # Here list all include flags, relative to this "srcdir" directory. This
42 # "cygpath" stuff is necessary to compile with native compilers on Windows.
43 # "top_srcdir" refers to the basic directory for the main package that is
44 # being compiled.
45 AM_CPPFLAGS = $(COINMP_CFLAGS)
46
47 # This line is necessary to allow VPATH compilation
48 DEFAULT_INCLUDES = -I. -I`$(CYGPATH_W) $(srcdir)` -I.
49
50 ########################################################################
51 # Headers that need to be installed #
52 ########################################################################
53
54 # Here list all the header files that are required by a user of the library,
55 # and that therefore should be installed in 'install'
56 includecoindir = $(includedir)/coin
57 includecoin_HEADERS = CoinMP.h
58
59 #######################################################################
60 # Create the Config.h file that has all public defines and install it #
61 #######################################################################
62
63 install-exec-local:
64 $(install_sh_DATA) config_coinmp.h $(DESTDIR)$(includecoindir)/CoinMPConfig.h
65
66 uninstall-local:
67 rm -f $(DESTDIR)$(includecoindir)/CoinMPConfig.h
68