# $Id: makefile.am 3785 2016-02-08 12:53:06Z bradbell $
# -----------------------------------------------------------------------------
# CppAD: C++ Algorithmic Differentiation: Copyright (C) 2003-15 Bradley M. Bell
#
# CppAD is distributed under multiple licenses. This distribution is under
# the terms of the
#                     GNU General Public License Version 3.
#
# A copy of this license is included in the COPYING file of this distribution.
# Please visit http://www.coin-or.org/CppAD/ for information on other licenses.
# -----------------------------------------------------------------------------
# automake input file
#
# CppAD pusts all it's preprocessor definitions in the cppad/configure.hpp
DEFS          =
#
if CppAD_OPENMP
TEST_OPENMP_FLAG   = -DCPPAD_TEST_OPENMP
else
TEST_OPENMP_FLAG   =
endif
#
check_PROGRAMS    = test_multi
#
AM_CPPFLAGS       = -I. \
	-I$(top_srcdir) \
	$(OPENMP_FLAGS) \
	$(BOOST_INCLUDE) \
	$(EIGEN_INCLUDE) \
	$(TEST_OPENMP_FLAG)
#
AM_CXXFLAGS       = -g $(ADOLC_FLAGS) $(CXX_FLAGS)
#
AM_LDFLAGS        = $(ADOLC_LIB) $(OPENMP_FLAGS)
#
test_multi_SOURCES  = \
	test_multi.cpp \
	user_atomic.cpp

test: check
	./test_multi
