Newer
Older
# $Id$
# possible options
#LDADD = $(UG_LDFLAGS) $(AMIRAMESH_LDFLAGS) $(UG_LIBS) $(AMIRAMESH_LIBS)
#AM_CPPFLAGS = $(UG_CPPFLAGS) $(AMIRAMESH_CPPFLAGS)
# Lapack++
LAPACKPP_CPPFLAGS = -I/home/haile/sander/lapack++-inst/include/lapackpp
LAPACKPP_LDFLAGS = -L/home/haile/sander/lapack++-inst/lib -llapackpp
#IPOPT_DIR = /home/haile/sander/COIN/Ipopt
#IPOPT_LDADD = -L$(IPOPT_DIR)/lib -lipopt -llapack -lblas -lg2c
#IPOPT_CPPFLAGS = -I$(IPOPT_DIR)/IPOPT/include -DHAVE_IPOPT
# Include and linker paths to the new C++ IPOpt library
IPOPT_CPP_DIR = /home/haile/sander/CoinIpopt/build
IPOPT_LDADD = -L$(IPOPT_CPP_DIR)/lib -lipopt -llapack -lblas -lgfortran
IPOPT_CPPFLAGS = -I$(IPOPT_CPP_DIR)/include -DHAVE_IPOPT_CPP
# Hack around the insufficient build system: add to references
# to ag-common by hand
AM_CPPFLAGS += -I../../dune/ag-common
noinst_PROGRAMS = staticrod staticrod2 rod3d dirneucoupling

Oliver Sander
committed
staticrod2_SOURCES = staticrod2.cc
dirneucoupling_SOURCES = dirneucoupling.cc
dirneucoupling_CXXFLAGS = $(UG_CPPFLAGS) $(AMIRAMESH_CPPFLAGS) $(IPOPT_CPPFLAGS) \
dirneucoupling_LDADD = $(UG_LDFLAGS) $(AMIRAMESH_LDFLAGS) $(UG_LIBS) $(AMIRAMESH_LIBS) \
$(IPOPT_LDADD) $(LAPACKPP_LDFLAGS)
# don't follow the full GNU-standard
# we need automake 1.5
AUTOMAKE_OPTIONS = foreign 1.5