source: trunk/CoinMP/src/Makefile.am @ 524

Last change on this file since 524 was 428, checked in by stefan, 8 years ago

fixup buildsystem

  • fix compiler warnings
  • get C code compiling with C compiler (no C++ style comments allowed!)
  • remove unnecessary package checks, CoinMP seems to depend on Clp, OsiClp?, and Cbc only
  • fix link to mailing list
  • fix copyright statement
  • remove unnecessary config_default.h, CoinMP does not use config header files
  • remove old addlibs file
  • create useable Makefile for example
  • fix directory where example source is installed
  • fix addlibs file for cl compiler
  • fix include of Makemain.inc
  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 2.3 KB
Line 
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 428 2011-08-07 15:02:46Z bjarni $
6
7# Author:  Andreas Waechter           IBM    2006-04-13
8
9AUTOMAKE_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
17lib_LTLIBRARIES = libCoinMP.la
18
19# List all source files for this library, including headers
20libCoinMP_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# This is for libtool (on Windows)
30libCoinMP_la_LDFLAGS = $(LT_LDFLAGS)
31
32########################################################################
33#                            Additional flags                          #
34########################################################################
35
36# Here list all include flags, relative to this "srcdir" directory.  This
37# "cygpath" stuff is necessary to compile with native compilers on Windows.
38# "top_srcdir" refers to the basic directory for the main package that is
39# being compiled.
40AM_CPPFLAGS = $(COINMP_CFLAGS)
41
42# This line is necessary to allow VPATH compilation
43DEFAULT_INCLUDES = -I. -I`$(CYGPATH_W) $(srcdir)` -I.
44
45########################################################################
46#                Headers that need to be installed                     #
47########################################################################
48
49# Here list all the header files that are required by a user of the library,
50# and that therefore should be installed in 'install'
51includecoindir = $(includedir)/coin
52includecoin_HEADERS = CoinMP.h
53
54#######################################################################
55# Create the Config.h file that has all public defines and install it #
56#######################################################################
57
58install-exec-local:
59        $(install_sh_DATA) config_coinmp.h $(DESTDIR)$(includecoindir)/CoinMPConfig.h
60
61uninstall-local:
62        rm -f $(DESTDIR)$(includecoindir)/CoinMPConfig.h
63
Note: See TracBrowser for help on using the repository browser.