Codebase list cppad / 839d30a
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
24 changed file(s) with 35 addition(s) and 70 deletion(s). Raw diff Collapse all Expand all
203203 CXX_FLAGS_FADBAD = @CXX_FLAGS_FADBAD@
204204 CYGPATH_W = @CYGPATH_W@
205205
206 # $Id$
207206 # -----------------------------------------------------------------------------
208 # CppAD: C++ Algorithmic Differentiation: Copyright (C) 2003-15 Bradley M. Bell
207 # CppAD: C++ Algorithmic Differentiation: Copyright (C) 2003-18 Bradley M. Bell
209208 #
210209 # CppAD is distributed under multiple licenses. This distribution is under
211210 # the terms of the
205205 CXX_FLAGS_FADBAD = @CXX_FLAGS_FADBAD@
206206 CYGPATH_W = @CYGPATH_W@
207207
208 # $Id$
209208 # -----------------------------------------------------------------------------
210 # CppAD: C++ Algorithmic Differentiation: Copyright (C) 2003-16 Bradley M. Bell
209 # CppAD: C++ Algorithmic Differentiation: Copyright (C) 2003-18 Bradley M. Bell
211210 #
212211 # CppAD is distributed under multiple licenses. This distribution is under
213212 # the terms of the
240240 CXX_FLAGS_FADBAD = @CXX_FLAGS_FADBAD@
241241 CYGPATH_W = @CYGPATH_W@
242242
243 # $Id$
244243 # -----------------------------------------------------------------------------
245 # CppAD: C++ Algorithmic Differentiation: Copyright (C) 2003-15 Bradley M. Bell
244 # CppAD: C++ Algorithmic Differentiation: Copyright (C) 2003-18 Bradley M. Bell
246245 #
247246 # CppAD is distributed under multiple licenses. This distribution is under
248247 # the terms of the
191191 CXX_FLAGS_FADBAD = @CXX_FLAGS_FADBAD@
192192 CYGPATH_W = @CYGPATH_W@
193193
194 # $Id$
195194 # -----------------------------------------------------------------------------
196 # CppAD: C++ Algorithmic Differentiation: Copyright (C) 2003-15 Bradley M. Bell
195 # CppAD: C++ Algorithmic Differentiation: Copyright (C) 2003-18 Bradley M. Bell
197196 #
198197 # CppAD is distributed under multiple licenses. This distribution is under
199198 # the terms of the
1313 DEFS =
1414 #
1515 # 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
2216 CPPAD_INCLUDE = -I$(top_srcdir)
23 endif
2417 #
2518 EXTRA_DIST = abs_normal.omh
2619 #
2720 check_PROGRAMS = abs_normal
2821 #
29 AM_CPPFLAGS = -I. $(CPPAD_INCLUDE) $(BOOST_INCLUDE) $(EIGEN_INCLUDE)
22 AM_CPPFLAGS = $(CPPAD_INCLUDE) $(BOOST_INCLUDE) $(EIGEN_INCLUDE)
3023 #
3124 AM_CXXFLAGS = $(CXX_FLAGS)
3225 #
203203 CYGPATH_W = @CYGPATH_W@
204204
205205 # -----------------------------------------------------------------------------
206 # CppAD: C++ Algorithmic Differentiation: Copyright (C) 2003-17 Bradley M. Bell
206 # CppAD: C++ Algorithmic Differentiation: Copyright (C) 2003-18 Bradley M. Bell
207207 #
208208 # CppAD is distributed under multiple licenses. This distribution is under
209209 # the terms of the
349349 top_build_prefix = @top_build_prefix@
350350 top_builddir = @top_builddir@
351351 top_srcdir = @top_srcdir@
352 @CppAD_PKG_CONFIG_FALSE@CPPAD_INCLUDE = -I$(top_srcdir)
353352 #
354353 # 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)
360355 #
361356 EXTRA_DIST = abs_normal.omh
362357 #
363 AM_CPPFLAGS = -I. $(CPPAD_INCLUDE) $(BOOST_INCLUDE) $(EIGEN_INCLUDE)
358 AM_CPPFLAGS = $(CPPAD_INCLUDE) $(BOOST_INCLUDE) $(EIGEN_INCLUDE)
364359 #
365360 AM_CXXFLAGS = $(CXX_FLAGS)
366361 #
201201 CYGPATH_W = @CYGPATH_W@
202202
203203 # -----------------------------------------------------------------------------
204 # CppAD: C++ Algorithmic Differentiation: Copyright (C) 2003-17 Bradley M. Bell
204 # CppAD: C++ Algorithmic Differentiation: Copyright (C) 2003-18 Bradley M. Bell
205205 #
206206 # CppAD is distributed under multiple licenses. This distribution is under
207207 # the terms of the
186186 CYGPATH_W = @CYGPATH_W@
187187
188188 # -----------------------------------------------------------------------------
189 # CppAD: C++ Algorithmic Differentiation: Copyright (C) 2003-17 Bradley M. Bell
189 # CppAD: C++ Algorithmic Differentiation: Copyright (C) 2003-18 Bradley M. Bell
190190 #
191191 # CppAD is distributed under multiple licenses. This distribution is under
192192 # the terms of the
190190 CXX_FLAGS_FADBAD = @CXX_FLAGS_FADBAD@
191191 CYGPATH_W = @CYGPATH_W@
192192
193 # $Id$
194193 # -----------------------------------------------------------------------------
195 # CppAD: C++ Algorithmic Differentiation: Copyright (C) 2003-16 Bradley M. Bell
194 # CppAD: C++ Algorithmic Differentiation: Copyright (C) 2003-18 Bradley M. Bell
196195 #
197196 # CppAD is distributed under multiple licenses. This distribution is under
198197 # the terms of the
6363 \
6464 harmonic.omh harmonic.cpp harmonic.hpp \
6565 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
6768 #
6869 bthread_test_SOURCES = \
6970 $(SHARED_SRC) \
103103 @CppAD_PTHREAD_TRUE@am__EXEEXT_3 = pthread_test$(EXEEXT)
104104 am__objects_1 = thread_test.$(OBJEXT) team_example.$(OBJEXT) \
105105 harmonic.$(OBJEXT) multi_atomic.$(OBJEXT) \
106 multi_newton.$(OBJEXT)
106 multi_newton.$(OBJEXT) checkpoint.$(OBJEXT)
107107 am__dirstamp = $(am__leading_dot)dirstamp
108108 am_bthread_test_OBJECTS = $(am__objects_1) \
109109 bthread/team_bthread.$(OBJEXT) bthread/a11c_bthread.$(OBJEXT) \
228228 CYGPATH_W = @CYGPATH_W@
229229
230230 # -----------------------------------------------------------------------------
231 # CppAD: C++ Algorithmic Differentiation: Copyright (C) 2003-17 Bradley M. Bell
231 # CppAD: C++ Algorithmic Differentiation: Copyright (C) 2003-18 Bradley M. Bell
232232 #
233233 # CppAD is distributed under multiple licenses. This distribution is under
234234 # the terms of the
411411 \
412412 harmonic.omh harmonic.cpp harmonic.hpp \
413413 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
415416
416417 #
417418 bthread_test_SOURCES = \
530531 distclean-compile:
531532 -rm -f *.tab.c
532533
534 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/checkpoint.Po@am__quote@
533535 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/harmonic.Po@am__quote@
534536 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/multi_atomic.Po@am__quote@
535537 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/multi_newton.Po@am__quote@
1919 fi
2020 case $i_program in
2121 0)
22 program=`echo "$program_list" | sed -e 's| \([^ ]*\).*|\1|'`
22 program=`echo "$program_list" | sed -e 's| *\([^ ]*\).*|\1|'`
2323 ;;
2424
2525 1)
26 program=`echo "$program_list" | sed -e 's| [^ ]* \([^ ]*\).*|\1|'`
26 program=`echo "$program_list" | sed -e 's| *[^ ]* *\([^ ]*\).*|\1|'`
2727 ;;
2828
2929 2)
30 program=`echo "$program_list" | sed -e 's| [^ ]* [^ ]* ||'`
30 program=`echo "$program_list" | sed -e 's| *[^ ]* [^ ]* *||'`
3131 ;;
3232 esac
3333 }
4040 program_list="$program $program_list"
4141 n_program=`expr $n_program + 1`
4242 fi
43 echo "program_list = $program_list"
44 echo "n_program = $n_program"
4543 done
44 echo "program_list = $program_list"
45 echo "n_program = $n_program"
4646 if [ "$n_program" = '0' ]
4747 then
4848 echo "example/multi_thread/test.sh: nothing to test"
188188 CXX_FLAGS_FADBAD = @CXX_FLAGS_FADBAD@
189189 CYGPATH_W = @CYGPATH_W@
190190
191 # $Id$
192191 # -----------------------------------------------------------------------------
193 # CppAD: C++ Algorithmic Differentiation: Copyright (C) 2003-16 Bradley M. Bell
192 # CppAD: C++ Algorithmic Differentiation: Copyright (C) 2003-18 Bradley M. Bell
194193 #
195194 # CppAD is distributed under multiple licenses. This distribution is under
196195 # the terms of the
1313 DEFS =
1414 #
1515 # 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
2216 CPPAD_INCLUDE = -I$(top_srcdir)
23 endif
2417 #
2518 # Microsoft project files
2619 EXTRA_DIST = test.sh
186186 CYGPATH_W = @CYGPATH_W@
187187
188188 # -----------------------------------------------------------------------------
189 # CppAD: C++ Algorithmic Differentiation: Copyright (C) 2003-17 Bradley M. Bell
189 # CppAD: C++ Algorithmic Differentiation: Copyright (C) 2003-18 Bradley M. Bell
190190 #
191191 # CppAD is distributed under multiple licenses. This distribution is under
192192 # the terms of the
332332 top_build_prefix = @top_build_prefix@
333333 top_builddir = @top_builddir@
334334 top_srcdir = @top_srcdir@
335 @CppAD_PKG_CONFIG_FALSE@CPPAD_INCLUDE = -I$(top_srcdir)
336335 #
337336 # 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)
343338 #
344339 # Microsoft project files
345340 EXTRA_DIST = test.sh
196196 CYGPATH_W = @CYGPATH_W@
197197
198198 # -----------------------------------------------------------------------------
199 # CppAD: C++ Algorithmic Differentiation: Copyright (C) 2003-17 Bradley M. Bell
199 # CppAD: C++ Algorithmic Differentiation: Copyright (C) 2003-18 Bradley M. Bell
200200 #
201201 # CppAD is distributed under multiple licenses. This distribution is under
202202 # the terms of the
204204 CYGPATH_W = @CYGPATH_W@
205205
206206 # -----------------------------------------------------------------------------
207 # CppAD: C++ Algorithmic Differentiation: Copyright (C) 2003-17 Bradley M. Bell
207 # CppAD: C++ Algorithmic Differentiation: Copyright (C) 2003-18 Bradley M. Bell
208208 #
209209 # CppAD is distributed under multiple licenses. This distribution is under
210210 # the terms of the
444444 example/multi_thread/bthread/CMakeLists.txt \
445445 example/multi_thread/CMakeLists.txt \
446446 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
450448
451449 test_directory_list = \
452450 $(IPOPT_TESTS) \
840840 example/multi_thread/bthread/CMakeLists.txt \
841841 example/multi_thread/CMakeLists.txt \
842842 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
846844
847845 test_directory_list = \
848846 $(IPOPT_TESTS) \
338338 top_builddir = @top_builddir@
339339 top_srcdir = @top_srcdir@
340340
341 # $Id$
342341 # -----------------------------------------------------------------------------
343 # CppAD: C++ Algorithmic Differentiation: Copyright (C) 2003-15 Bradley M. Bell
342 # CppAD: C++ Algorithmic Differentiation: Copyright (C) 2003-18 Bradley M. Bell
344343 #
345344 # CppAD is distributed under multiple licenses. This distribution is under
346345 # the terms of the
329329 top_builddir = @top_builddir@
330330 top_srcdir = @top_srcdir@
331331
332 # $Id$
333332 # -----------------------------------------------------------------------------
334 # CppAD: C++ Algorithmic Differentiation: Copyright (C) 2003-15 Bradley M. Bell
333 # CppAD: C++ Algorithmic Differentiation: Copyright (C) 2003-18 Bradley M. Bell
335334 #
336335 # CppAD is distributed under multiple licenses. This distribution is under
337336 # the terms of the
326326 top_builddir = @top_builddir@
327327 top_srcdir = @top_srcdir@
328328
329 # $Id$
330329 # -----------------------------------------------------------------------------
331 # CppAD: C++ Algorithmic Differentiation: Copyright (C) 2003-17 Bradley M. Bell
330 # CppAD: C++ Algorithmic Differentiation: Copyright (C) 2003-18 Bradley M. Bell
332331 #
333332 # CppAD is distributed under multiple licenses. This distribution is under
334333 # the terms of the
195195 CXX_FLAGS_FADBAD = @CXX_FLAGS_FADBAD@
196196 CYGPATH_W = @CYGPATH_W@
197197
198 # $Id$
199198 # -----------------------------------------------------------------------------
200 # CppAD: C++ Algorithmic Differentiation: Copyright (C) 2003-15 Bradley M. Bell
199 # CppAD: C++ Algorithmic Differentiation: Copyright (C) 2003-18 Bradley M. Bell
201200 #
202201 # CppAD is distributed under multiple licenses. This distribution is under
203202 # the terms of the
337337 top_srcdir = @top_srcdir@
338338
339339 # -----------------------------------------------------------------------------
340 # CppAD: C++ Algorithmic Differentiation: Copyright (C) 2003-17 Bradley M. Bell
340 # CppAD: C++ Algorithmic Differentiation: Copyright (C) 2003-18 Bradley M. Bell
341341 #
342342 # CppAD is distributed under multiple licenses. This distribution is under
343343 # the terms of the