master: autotools: test of pkg-config in */makefile.am removed (not properly implemented).
makefile.am: move checkpoint.* here.
test.sh: fix cycling through available programs.
makefile.am: move example/multi_thread/checkpoint.* to local makefile.am
Brad Bell
5 years ago
203 | 203 |
CXX_FLAGS_FADBAD = @CXX_FLAGS_FADBAD@
|
204 | 204 |
CYGPATH_W = @CYGPATH_W@
|
205 | 205 |
|
206 | |
# $Id$
|
207 | 206 |
# -----------------------------------------------------------------------------
|
208 | |
# CppAD: C++ Algorithmic Differentiation: Copyright (C) 2003-15 Bradley M. Bell
|
|
207 |
# CppAD: C++ Algorithmic Differentiation: Copyright (C) 2003-18 Bradley M. Bell
|
209 | 208 |
#
|
210 | 209 |
# CppAD is distributed under multiple licenses. This distribution is under
|
211 | 210 |
# the terms of the
|
205 | 205 |
CXX_FLAGS_FADBAD = @CXX_FLAGS_FADBAD@
|
206 | 206 |
CYGPATH_W = @CYGPATH_W@
|
207 | 207 |
|
208 | |
# $Id$
|
209 | 208 |
# -----------------------------------------------------------------------------
|
210 | |
# CppAD: C++ Algorithmic Differentiation: Copyright (C) 2003-16 Bradley M. Bell
|
|
209 |
# CppAD: C++ Algorithmic Differentiation: Copyright (C) 2003-18 Bradley M. Bell
|
211 | 210 |
#
|
212 | 211 |
# CppAD is distributed under multiple licenses. This distribution is under
|
213 | 212 |
# the terms of the
|
240 | 240 |
CXX_FLAGS_FADBAD = @CXX_FLAGS_FADBAD@
|
241 | 241 |
CYGPATH_W = @CYGPATH_W@
|
242 | 242 |
|
243 | |
# $Id$
|
244 | 243 |
# -----------------------------------------------------------------------------
|
245 | |
# CppAD: C++ Algorithmic Differentiation: Copyright (C) 2003-15 Bradley M. Bell
|
|
244 |
# CppAD: C++ Algorithmic Differentiation: Copyright (C) 2003-18 Bradley M. Bell
|
246 | 245 |
#
|
247 | 246 |
# CppAD is distributed under multiple licenses. This distribution is under
|
248 | 247 |
# the terms of the
|
191 | 191 |
CXX_FLAGS_FADBAD = @CXX_FLAGS_FADBAD@
|
192 | 192 |
CYGPATH_W = @CYGPATH_W@
|
193 | 193 |
|
194 | |
# $Id$
|
195 | 194 |
# -----------------------------------------------------------------------------
|
196 | |
# CppAD: C++ Algorithmic Differentiation: Copyright (C) 2003-15 Bradley M. Bell
|
|
195 |
# CppAD: C++ Algorithmic Differentiation: Copyright (C) 2003-18 Bradley M. Bell
|
197 | 196 |
#
|
198 | 197 |
# CppAD is distributed under multiple licenses. This distribution is under
|
199 | 198 |
# the terms of the
|
13 | 13 |
DEFS =
|
14 | 14 |
#
|
15 | 15 |
# Make sure that ../cppad-uninstalled.pc works for determining cflags
|
16 | |
if CppAD_PKG_CONFIG
|
17 | |
CPPAD_INCLUDE = `( \
|
18 | |
export PKG_CONFIG_PATH=$(top_builddir)/pkgconfig ; \
|
19 | |
pkg-config --cflags cppad \
|
20 | |
)`
|
21 | |
else
|
22 | 16 |
CPPAD_INCLUDE = -I$(top_srcdir)
|
23 | |
endif
|
24 | 17 |
#
|
25 | 18 |
EXTRA_DIST = abs_normal.omh
|
26 | 19 |
#
|
27 | 20 |
check_PROGRAMS = abs_normal
|
28 | 21 |
#
|
29 | |
AM_CPPFLAGS = -I. $(CPPAD_INCLUDE) $(BOOST_INCLUDE) $(EIGEN_INCLUDE)
|
|
22 |
AM_CPPFLAGS = $(CPPAD_INCLUDE) $(BOOST_INCLUDE) $(EIGEN_INCLUDE)
|
30 | 23 |
#
|
31 | 24 |
AM_CXXFLAGS = $(CXX_FLAGS)
|
32 | 25 |
#
|
203 | 203 |
CYGPATH_W = @CYGPATH_W@
|
204 | 204 |
|
205 | 205 |
# -----------------------------------------------------------------------------
|
206 | |
# CppAD: C++ Algorithmic Differentiation: Copyright (C) 2003-17 Bradley M. Bell
|
|
206 |
# CppAD: C++ Algorithmic Differentiation: Copyright (C) 2003-18 Bradley M. Bell
|
207 | 207 |
#
|
208 | 208 |
# CppAD is distributed under multiple licenses. This distribution is under
|
209 | 209 |
# the terms of the
|
|
349 | 349 |
top_build_prefix = @top_build_prefix@
|
350 | 350 |
top_builddir = @top_builddir@
|
351 | 351 |
top_srcdir = @top_srcdir@
|
352 | |
@CppAD_PKG_CONFIG_FALSE@CPPAD_INCLUDE = -I$(top_srcdir)
|
353 | 352 |
#
|
354 | 353 |
# Make sure that ../cppad-uninstalled.pc works for determining cflags
|
355 | |
@CppAD_PKG_CONFIG_TRUE@CPPAD_INCLUDE = `( \
|
356 | |
@CppAD_PKG_CONFIG_TRUE@ export PKG_CONFIG_PATH=$(top_builddir)/pkgconfig ; \
|
357 | |
@CppAD_PKG_CONFIG_TRUE@ pkg-config --cflags cppad \
|
358 | |
@CppAD_PKG_CONFIG_TRUE@)`
|
359 | |
|
|
354 |
CPPAD_INCLUDE = -I$(top_srcdir)
|
360 | 355 |
#
|
361 | 356 |
EXTRA_DIST = abs_normal.omh
|
362 | 357 |
#
|
363 | |
AM_CPPFLAGS = -I. $(CPPAD_INCLUDE) $(BOOST_INCLUDE) $(EIGEN_INCLUDE)
|
|
358 |
AM_CPPFLAGS = $(CPPAD_INCLUDE) $(BOOST_INCLUDE) $(EIGEN_INCLUDE)
|
364 | 359 |
#
|
365 | 360 |
AM_CXXFLAGS = $(CXX_FLAGS)
|
366 | 361 |
#
|
201 | 201 |
CYGPATH_W = @CYGPATH_W@
|
202 | 202 |
|
203 | 203 |
# -----------------------------------------------------------------------------
|
204 | |
# CppAD: C++ Algorithmic Differentiation: Copyright (C) 2003-17 Bradley M. Bell
|
|
204 |
# CppAD: C++ Algorithmic Differentiation: Copyright (C) 2003-18 Bradley M. Bell
|
205 | 205 |
#
|
206 | 206 |
# CppAD is distributed under multiple licenses. This distribution is under
|
207 | 207 |
# the terms of the
|
186 | 186 |
CYGPATH_W = @CYGPATH_W@
|
187 | 187 |
|
188 | 188 |
# -----------------------------------------------------------------------------
|
189 | |
# CppAD: C++ Algorithmic Differentiation: Copyright (C) 2003-17 Bradley M. Bell
|
|
189 |
# CppAD: C++ Algorithmic Differentiation: Copyright (C) 2003-18 Bradley M. Bell
|
190 | 190 |
#
|
191 | 191 |
# CppAD is distributed under multiple licenses. This distribution is under
|
192 | 192 |
# the terms of the
|
190 | 190 |
CXX_FLAGS_FADBAD = @CXX_FLAGS_FADBAD@
|
191 | 191 |
CYGPATH_W = @CYGPATH_W@
|
192 | 192 |
|
193 | |
# $Id$
|
194 | 193 |
# -----------------------------------------------------------------------------
|
195 | |
# CppAD: C++ Algorithmic Differentiation: Copyright (C) 2003-16 Bradley M. Bell
|
|
194 |
# CppAD: C++ Algorithmic Differentiation: Copyright (C) 2003-18 Bradley M. Bell
|
196 | 195 |
#
|
197 | 196 |
# CppAD is distributed under multiple licenses. This distribution is under
|
198 | 197 |
# the terms of the
|
63 | 63 |
\
|
64 | 64 |
harmonic.omh harmonic.cpp harmonic.hpp \
|
65 | 65 |
multi_atomic.omh multi_atomic.cpp multi_atomic.hpp \
|
66 | |
multi_newton.omh multi_newton.cpp multi_newton.hpp
|
|
66 |
multi_newton.omh multi_newton.cpp multi_newton.hpp \
|
|
67 |
checkpoint.omh checkpoint.cpp checkpoint.hpp
|
67 | 68 |
#
|
68 | 69 |
bthread_test_SOURCES = \
|
69 | 70 |
$(SHARED_SRC) \
|
103 | 103 |
@CppAD_PTHREAD_TRUE@am__EXEEXT_3 = pthread_test$(EXEEXT)
|
104 | 104 |
am__objects_1 = thread_test.$(OBJEXT) team_example.$(OBJEXT) \
|
105 | 105 |
harmonic.$(OBJEXT) multi_atomic.$(OBJEXT) \
|
106 | |
multi_newton.$(OBJEXT)
|
|
106 |
multi_newton.$(OBJEXT) checkpoint.$(OBJEXT)
|
107 | 107 |
am__dirstamp = $(am__leading_dot)dirstamp
|
108 | 108 |
am_bthread_test_OBJECTS = $(am__objects_1) \
|
109 | 109 |
bthread/team_bthread.$(OBJEXT) bthread/a11c_bthread.$(OBJEXT) \
|
|
228 | 228 |
CYGPATH_W = @CYGPATH_W@
|
229 | 229 |
|
230 | 230 |
# -----------------------------------------------------------------------------
|
231 | |
# CppAD: C++ Algorithmic Differentiation: Copyright (C) 2003-17 Bradley M. Bell
|
|
231 |
# CppAD: C++ Algorithmic Differentiation: Copyright (C) 2003-18 Bradley M. Bell
|
232 | 232 |
#
|
233 | 233 |
# CppAD is distributed under multiple licenses. This distribution is under
|
234 | 234 |
# the terms of the
|
|
411 | 411 |
\
|
412 | 412 |
harmonic.omh harmonic.cpp harmonic.hpp \
|
413 | 413 |
multi_atomic.omh multi_atomic.cpp multi_atomic.hpp \
|
414 | |
multi_newton.omh multi_newton.cpp multi_newton.hpp
|
|
414 |
multi_newton.omh multi_newton.cpp multi_newton.hpp \
|
|
415 |
checkpoint.omh checkpoint.cpp checkpoint.hpp
|
415 | 416 |
|
416 | 417 |
#
|
417 | 418 |
bthread_test_SOURCES = \
|
|
530 | 531 |
distclean-compile:
|
531 | 532 |
-rm -f *.tab.c
|
532 | 533 |
|
|
534 |
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/checkpoint.Po@am__quote@
|
533 | 535 |
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/harmonic.Po@am__quote@
|
534 | 536 |
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/multi_atomic.Po@am__quote@
|
535 | 537 |
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/multi_newton.Po@am__quote@
|
19 | 19 |
fi
|
20 | 20 |
case $i_program in
|
21 | 21 |
0)
|
22 | |
program=`echo "$program_list" | sed -e 's| \([^ ]*\).*|\1|'`
|
|
22 |
program=`echo "$program_list" | sed -e 's| *\([^ ]*\).*|\1|'`
|
23 | 23 |
;;
|
24 | 24 |
|
25 | 25 |
1)
|
26 | |
program=`echo "$program_list" | sed -e 's| [^ ]* \([^ ]*\).*|\1|'`
|
|
26 |
program=`echo "$program_list" | sed -e 's| *[^ ]* *\([^ ]*\).*|\1|'`
|
27 | 27 |
;;
|
28 | 28 |
|
29 | 29 |
2)
|
30 | |
program=`echo "$program_list" | sed -e 's| [^ ]* [^ ]* ||'`
|
|
30 |
program=`echo "$program_list" | sed -e 's| *[^ ]* [^ ]* *||'`
|
31 | 31 |
;;
|
32 | 32 |
esac
|
33 | 33 |
}
|
|
40 | 40 |
program_list="$program $program_list"
|
41 | 41 |
n_program=`expr $n_program + 1`
|
42 | 42 |
fi
|
43 | |
echo "program_list = $program_list"
|
44 | |
echo "n_program = $n_program"
|
45 | 43 |
done
|
|
44 |
echo "program_list = $program_list"
|
|
45 |
echo "n_program = $n_program"
|
46 | 46 |
if [ "$n_program" = '0' ]
|
47 | 47 |
then
|
48 | 48 |
echo "example/multi_thread/test.sh: nothing to test"
|
188 | 188 |
CXX_FLAGS_FADBAD = @CXX_FLAGS_FADBAD@
|
189 | 189 |
CYGPATH_W = @CYGPATH_W@
|
190 | 190 |
|
191 | |
# $Id$
|
192 | 191 |
# -----------------------------------------------------------------------------
|
193 | |
# CppAD: C++ Algorithmic Differentiation: Copyright (C) 2003-16 Bradley M. Bell
|
|
192 |
# CppAD: C++ Algorithmic Differentiation: Copyright (C) 2003-18 Bradley M. Bell
|
194 | 193 |
#
|
195 | 194 |
# CppAD is distributed under multiple licenses. This distribution is under
|
196 | 195 |
# the terms of the
|
13 | 13 |
DEFS =
|
14 | 14 |
#
|
15 | 15 |
# Make sure that ../cppad-uninstalled.pc works for determining cflags
|
16 | |
if CppAD_PKG_CONFIG
|
17 | |
CPPAD_INCLUDE = `( \
|
18 | |
export PKG_CONFIG_PATH=$(top_builddir)/pkgconfig ; \
|
19 | |
pkg-config --cflags cppad \
|
20 | |
)`
|
21 | |
else
|
22 | 16 |
CPPAD_INCLUDE = -I$(top_srcdir)
|
23 | |
endif
|
24 | 17 |
#
|
25 | 18 |
# Microsoft project files
|
26 | 19 |
EXTRA_DIST = test.sh
|
186 | 186 |
CYGPATH_W = @CYGPATH_W@
|
187 | 187 |
|
188 | 188 |
# -----------------------------------------------------------------------------
|
189 | |
# CppAD: C++ Algorithmic Differentiation: Copyright (C) 2003-17 Bradley M. Bell
|
|
189 |
# CppAD: C++ Algorithmic Differentiation: Copyright (C) 2003-18 Bradley M. Bell
|
190 | 190 |
#
|
191 | 191 |
# CppAD is distributed under multiple licenses. This distribution is under
|
192 | 192 |
# the terms of the
|
|
332 | 332 |
top_build_prefix = @top_build_prefix@
|
333 | 333 |
top_builddir = @top_builddir@
|
334 | 334 |
top_srcdir = @top_srcdir@
|
335 | |
@CppAD_PKG_CONFIG_FALSE@CPPAD_INCLUDE = -I$(top_srcdir)
|
336 | 335 |
#
|
337 | 336 |
# Make sure that ../cppad-uninstalled.pc works for determining cflags
|
338 | |
@CppAD_PKG_CONFIG_TRUE@CPPAD_INCLUDE = `( \
|
339 | |
@CppAD_PKG_CONFIG_TRUE@ export PKG_CONFIG_PATH=$(top_builddir)/pkgconfig ; \
|
340 | |
@CppAD_PKG_CONFIG_TRUE@ pkg-config --cflags cppad \
|
341 | |
@CppAD_PKG_CONFIG_TRUE@)`
|
342 | |
|
|
337 |
CPPAD_INCLUDE = -I$(top_srcdir)
|
343 | 338 |
#
|
344 | 339 |
# Microsoft project files
|
345 | 340 |
EXTRA_DIST = test.sh
|
196 | 196 |
CYGPATH_W = @CYGPATH_W@
|
197 | 197 |
|
198 | 198 |
# -----------------------------------------------------------------------------
|
199 | |
# CppAD: C++ Algorithmic Differentiation: Copyright (C) 2003-17 Bradley M. Bell
|
|
199 |
# CppAD: C++ Algorithmic Differentiation: Copyright (C) 2003-18 Bradley M. Bell
|
200 | 200 |
#
|
201 | 201 |
# CppAD is distributed under multiple licenses. This distribution is under
|
202 | 202 |
# the terms of the
|
204 | 204 |
CYGPATH_W = @CYGPATH_W@
|
205 | 205 |
|
206 | 206 |
# -----------------------------------------------------------------------------
|
207 | |
# CppAD: C++ Algorithmic Differentiation: Copyright (C) 2003-17 Bradley M. Bell
|
|
207 |
# CppAD: C++ Algorithmic Differentiation: Copyright (C) 2003-18 Bradley M. Bell
|
208 | 208 |
#
|
209 | 209 |
# CppAD is distributed under multiple licenses. This distribution is under
|
210 | 210 |
# the terms of the
|
444 | 444 |
example/multi_thread/bthread/CMakeLists.txt \
|
445 | 445 |
example/multi_thread/CMakeLists.txt \
|
446 | 446 |
example/multi_thread/openmp/CMakeLists.txt \
|
447 | |
example/multi_thread/pthread/CMakeLists.txt \
|
448 | |
example/multi_thread/checkpoint.omh \
|
449 | |
example/multi_thread/checkpoint.cpp
|
|
447 |
example/multi_thread/pthread/CMakeLists.txt
|
450 | 448 |
|
451 | 449 |
test_directory_list = \
|
452 | 450 |
$(IPOPT_TESTS) \
|
840 | 840 |
example/multi_thread/bthread/CMakeLists.txt \
|
841 | 841 |
example/multi_thread/CMakeLists.txt \
|
842 | 842 |
example/multi_thread/openmp/CMakeLists.txt \
|
843 | |
example/multi_thread/pthread/CMakeLists.txt \
|
844 | |
example/multi_thread/checkpoint.omh \
|
845 | |
example/multi_thread/checkpoint.cpp
|
|
843 |
example/multi_thread/pthread/CMakeLists.txt
|
846 | 844 |
|
847 | 845 |
test_directory_list = \
|
848 | 846 |
$(IPOPT_TESTS) \
|
338 | 338 |
top_builddir = @top_builddir@
|
339 | 339 |
top_srcdir = @top_srcdir@
|
340 | 340 |
|
341 | |
# $Id$
|
342 | 341 |
# -----------------------------------------------------------------------------
|
343 | |
# CppAD: C++ Algorithmic Differentiation: Copyright (C) 2003-15 Bradley M. Bell
|
|
342 |
# CppAD: C++ Algorithmic Differentiation: Copyright (C) 2003-18 Bradley M. Bell
|
344 | 343 |
#
|
345 | 344 |
# CppAD is distributed under multiple licenses. This distribution is under
|
346 | 345 |
# the terms of the
|
329 | 329 |
top_builddir = @top_builddir@
|
330 | 330 |
top_srcdir = @top_srcdir@
|
331 | 331 |
|
332 | |
# $Id$
|
333 | 332 |
# -----------------------------------------------------------------------------
|
334 | |
# CppAD: C++ Algorithmic Differentiation: Copyright (C) 2003-15 Bradley M. Bell
|
|
333 |
# CppAD: C++ Algorithmic Differentiation: Copyright (C) 2003-18 Bradley M. Bell
|
335 | 334 |
#
|
336 | 335 |
# CppAD is distributed under multiple licenses. This distribution is under
|
337 | 336 |
# the terms of the
|
326 | 326 |
top_builddir = @top_builddir@
|
327 | 327 |
top_srcdir = @top_srcdir@
|
328 | 328 |
|
329 | |
# $Id$
|
330 | 329 |
# -----------------------------------------------------------------------------
|
331 | |
# CppAD: C++ Algorithmic Differentiation: Copyright (C) 2003-17 Bradley M. Bell
|
|
330 |
# CppAD: C++ Algorithmic Differentiation: Copyright (C) 2003-18 Bradley M. Bell
|
332 | 331 |
#
|
333 | 332 |
# CppAD is distributed under multiple licenses. This distribution is under
|
334 | 333 |
# the terms of the
|
195 | 195 |
CXX_FLAGS_FADBAD = @CXX_FLAGS_FADBAD@
|
196 | 196 |
CYGPATH_W = @CYGPATH_W@
|
197 | 197 |
|
198 | |
# $Id$
|
199 | 198 |
# -----------------------------------------------------------------------------
|
200 | |
# CppAD: C++ Algorithmic Differentiation: Copyright (C) 2003-15 Bradley M. Bell
|
|
199 |
# CppAD: C++ Algorithmic Differentiation: Copyright (C) 2003-18 Bradley M. Bell
|
201 | 200 |
#
|
202 | 201 |
# CppAD is distributed under multiple licenses. This distribution is under
|
203 | 202 |
# the terms of the
|
337 | 337 |
top_srcdir = @top_srcdir@
|
338 | 338 |
|
339 | 339 |
# -----------------------------------------------------------------------------
|
340 | |
# CppAD: C++ Algorithmic Differentiation: Copyright (C) 2003-17 Bradley M. Bell
|
|
340 |
# CppAD: C++ Algorithmic Differentiation: Copyright (C) 2003-18 Bradley M. Bell
|
341 | 341 |
#
|
342 | 342 |
# CppAD is distributed under multiple licenses. This distribution is under
|
343 | 343 |
# the terms of the
|