1# Copyright (C) 2006 International Business Machines and others.
2# All Rights Reserved.
3# This file is distributed under the Eclipse Public License.
4
5## $Id: Makefile.am 2111 2017-11-07 03:40:06Z tkr $
6
7# Author:  Andreas Waechter           IBM    2006-04-13
8
9AUTOMAKE_OPTIONS = foreign
10
11########################################################################
12#                             libOsiXpr                                #
13########################################################################
14
15# Name of the library compiled in this directory.
16lib_LTLIBRARIES = libOsiXpr.la
17
18# List all source files for this library, including headers
19libOsiXpr_la_SOURCES = \
20	OsiXprSolverInterface.cpp OsiXprSolverInterface.hpp
21
22# List all additionally required libraries
23if DEPENDENCY_LINKING
24libOsiXpr_la_LIBADD = $(OSILIB_LIBS) ../Osi/libOsi.la $(XPRLIB)
25endif
26
27# This is for libtool (on Windows)
28libOsiXpr_la_LDFLAGS = $(LT_LDFLAGS)
29
30# Here list all include flags, relative to this "srcdir" directory.  This
31# "cygpath" stuff is necessary to compile with native compilers on Windows.
32# "top_srcdir" refers to the basic directory for the main package that is
33# being compiled.
34AM_CPPFLAGS = \
35	-I`$(CYGPATH_W) $(srcdir)/../Osi` \
36	-I`$(CYGPATH_W) $(XPRINCDIR)` \
37	$(COINUTILS_CFLAGS)
38
39# This line is necessary to allow VPATH compilation
40DEFAULT_INCLUDES = -I. -I`$(CYGPATH_W) $(srcdir)` -I$(top_builddir)/src/Osi
41
42########################################################################
43#                Headers that need to be installed                     #
44########################################################################
45
46# Here list all the header files that are required by a user of the library,
47# and that therefore should be installed in 'include/coin'
48includecoindir = $(includedir)/coin
49includecoin_HEADERS = OsiXprSolverInterface.hpp
50