# Copyright (C) 2009 Stefan Vigerske and others.
# All Rights Reserved.
# This file is distributed under the Eclipse Public License.

## $Id: Makefile.am 2111 2017-11-07 03:40:06Z tkr $

AUTOMAKE_OPTIONS = foreign

########################################################################
#                             libOsiGrb                                 
########################################################################

# Name of the library compiled in this directory.
lib_LTLIBRARIES = libOsiGrb.la

# List all source files for this library, including headers
libOsiGrb_la_SOURCES = OsiGrbSolverInterface.cpp OsiGrbSolverInterface.hpp

# List all additionally required libraries
if DEPENDENCY_LINKING
libOsiGrb_la_LIBADD = $(OSILIB_LIBS) ../Osi/libOsi.la $(GRBLIB)
endif

# This is for libtool (on Windows)
libOsiGrb_la_LDFLAGS = $(LT_LDFLAGS)

# Here list all include flags, relative to this "srcdir" directory.  This
# "cygpath" stuff is necessary to compile with native compilers on Windows.
AM_CPPFLAGS = \
	-I`$(CYGPATH_W) $(srcdir)/../Osi` \
	-I`$(CYGPATH_W) $(GRBINCDIR)` \
	$(COINUTILS_CFLAGS)

# This line is necessary to allow VPATH compilation
DEFAULT_INCLUDES = -I. -I`$(CYGPATH_W) $(srcdir)` -I$(top_builddir)/src/Osi

########################################################################
#                Headers that need to be installed                     #
########################################################################

# Here list all the header files that are required by a user of the library,
# and that therefore should be installed in 'include/coin'
includecoindir = $(includedir)/coin
includecoin_HEADERS = OsiGrbSolverInterface.hpp
