source: trunk/test_more/makefile.am @ 3683

Last change on this file since 3683 was 3683, checked in by bradbell, 5 years ago

merge to branch: trunk
from repository: https://github.com/coin-or/CppAD
start hash code: febe930d34888cf37df862a1bf118229b9bf37a5
end hash code: 494270b7d9413bba508ae4944e44e33b6f7be05b

commit 494270b7d9413bba508ae4944e44e33b6f7be05b
Author: Brad Bell <bradbell@…>
Date: Sat May 9 19:20:51 2015 -0700

  1. Fix duplicate expm1 in example and test_more makefile.am, CMakeLists.txt.
  2. Extend log theory to include log1p function.


log_forward.omh: remove trailing white space
log_reverse.omh: remove trailing white space

commit d2e5c615a1d620d364c7c73f47f9db18aa4bcba3
Author: Brad Bell <bradbell@…>
Date: Sat May 9 10:09:24 2015 -0700

Add new flags to configure.ac and include auto-tools automatic changes.


test_one.sh.in: handel case where space between name and (void).
exp_reverse.omh: change plural to singular.
test_one.sh.in: handel case where space between name and (void).

commit c62e0f95b359b188556d49fb7e3a75b0eaad12e4
Author: Brad Bell <bradbell@…>
Date: Sat May 9 07:14:17 2015 -0700

Remove trialing white space.

commit f443608ff6f29ed5ff05fa136543d6f2baab7757
Author: Brad Bell <bradbell@…>
Date: Sat May 9 07:13:53 2015 -0700

Fix some warnings when using eigen_vector for the test vector.


configure.ac: Comments for auto-tool commands that will result in many makefile.in changes.
makefile.in: automatic change from corresponding makefile.am.
test_one.sh.in: use cppad_cxx_flags to determine if c++11.
makefile.in: automatic change from corresponding makefile.am.
exp_forward.omh: Fix z{(0)} to be correct for both cases.
makefile.in: automatic change from corresponding makefile.am.

commit 003b9c373b2b77fde81427f57ee3db364fea5eff
Author: Brad Bell <bradbell@…>
Date: Sat May 9 04:53:44 2015 -0700

Add expm1 function.

commit a2b3d2fd72cda066e110368860452c5299211c30
Author: Brad Bell <bradbell@…>
Date: Fri May 8 19:39:12 2015 -0700

CMakeLists.txt: simplify ENDFOREACH command.

commit 31016ed04a3fd618456de115fd98c58f07b89f3e
Author: Brad Bell <bradbell@…>
Date: Fri May 8 17:04:34 2015 -0700

check_example.sh: Fix check that all examples are in list, remove trailing white space.
exp.cpp: minor white space edit.
example_list.omh: add examples that were missing.

commit e48ff330292e90ba40baffa8b2d1b2d12c44f099
Author: Brad Bell <bradbell@…>
Date: Fri May 8 16:31:28 2015 -0700

  1. Add expm1 funtion to exp theory.
  2. Change Exp -> exp.
  3. Remove redundant index commands.
  4. Remove trailing white space.


exp.cpp: more modern names in example.

  • Property svn:keywords set to Id
File size: 4.1 KB
Line 
1# $Id: makefile.am 3683 2015-05-10 02:24:16Z bradbell $
2# -----------------------------------------------------------------------------
3# CppAD: C++ Algorithmic Differentiation: Copyright (C) 2003-15 Bradley M. Bell
4#
5# CppAD is distributed under multiple licenses. This distribution is under
6# the terms of the
7#                     Eclipse Public License Version 1.0.
8#
9# A copy of this license is included in the COPYING file of this distribution.
10# Please visit http://www.coin-or.org/CppAD/ for information on other licenses.
11# -----------------------------------------------------------------------------
12# automake input file
13#
14# CppAD pusts all it's preprocessor definitions in the cppad/configure.hpp
15DEFS          =
16#
17# -------------------------------------------------------------------------
18if CppAD_OPENMP
19OPENMP_SRC_FILES   = alloc_openmp.cpp
20else
21OPENMP_SRC_FILES   =
22endif
23# -------------------------------------------------------------------------
24if CppAD_ADOLC
25ADOLC_SRC_FILES   = base_adolc.cpp
26ADOLC_EXTRA_FILES =
27ADOLC_LIB         = -ladolc -lColPack -L$(ADOLC_DIR)/lib -L$(ADOLC_DIR)/lib64
28ADOLC_FLAGS       = -DCPPAD_ADOLC_TEST -I$(ADOLC_DIR)/include
29else
30ADOLC_EXTRA_FILES = base_adolc.cpp
31ADOLC_SRC_FILES   =
32ADOLC_LIB         =
33ADOLC_FLAGS       =
34endif
35# -------------------------------------------------------------------------
36if CppAD_IPOPT
37IPOPT_SRC_FILES   = ipopt_solve.cpp
38IPOPT_EXTRA_FILES =
39IPOPT_LIB         = -lipopt \
40        $(CPPAD_IPOPT_LIBS) $(FCLIBS) $(PTHREAD_LIB) $(DL_LIB)
41IPOPT_FLAGS       = -DCPPAD_IPOPT_TEST -I$(IPOPT_DIR)/include
42else
43IPOPT_EXTRA_FILES = ipopt_solve.cpp
44IPOPT_SRC_FILES   =
45IPOPT_LIB         =
46IPOPT_FLAGS       =
47endif
48# -------------------------------------------------------------------------
49if CppAD_EIGEN_DIR
50# make a special library so can have it's own compile flags (see configure.ac)
51EIGEN_EXTRA_FILES   =
52noinst_LIBRARIES    = libeigen.a
53libeigen_a_SOURCES  =  cppad_eigen.cpp
54EIGEN_LIB           = -L. -leigen
55libeigen_a_CXXFLAGS = \
56        -g \
57        $(CXX_FLAGS_EIGEN) \
58        -DCPPAD_EIGEN_TEST \
59         -I$(EIGEN_DIR)/include
60else
61EIGEN_EXTRA_FILES   = cppad_eigen.cpp
62EIGEN_LIB           =
63endif
64# -------------------------------------------------------------------------
65# Microsoft project files and script to run a single test
66EXTRA_DIST        =  \
67        test_one.sh.in  \
68        $(ADOLC_EXTRA_FILES) \
69        $(IPOPT_EXTRA_FILES) \
70        $(EIGEN_EXTRA_FILES)
71#
72check_PROGRAMS    = test_more
73#
74AM_CPPFLAGS       = -I. \
75        -I$(top_srcdir) \
76        $(BOOST_INCLUDE) \
77        $(EIGEN_INCLUDE) \
78        $(ADOLC_FLAGS) \
79        $(IPOPT_FLAGS) \
80        $(OPENMP_FLAGS)
81#
82AM_CXXFLAGS       = -g $(ADOLC_FLAGS) $(IPOPT_FLAGS) $(CXX_FLAGS)
83#
84AM_LDFLAGS        = $(OPENMP_FLAGS)
85LDADD             = $(ADOLC_LIB) $(IPOPT_LIB) $(EIGEN_LIB) $(OPENMP_FLAGS)
86#
87test_more_SOURCES  = \
88        $(ADOLC_SRC_FILES) \
89        $(IPOPT_SRC_FILES) \
90        $(OPENMP_SRC_FILES) \
91        test_more.cpp \
92        abs.cpp \
93        acos.cpp \
94        acosh.cpp \
95        adfun_copy.cpp \
96        asin.cpp \
97        asinh.cpp \
98        assign.cpp \
99        add.cpp \
100        add_eq.cpp \
101        add_zero.cpp \
102        atan.cpp \
103        atanh.cpp \
104        atan2.cpp \
105        base_alloc.cpp \
106        check_simple_vector.cpp \
107        checkpoint.cpp \
108        compare.cpp \
109        compare_change.cpp \
110        cond_exp.cpp \
111        cond_exp_ad.cpp \
112        cond_exp_rev.cpp \
113        copy.cpp \
114        cos.cpp \
115        cosh.cpp \
116        dbl_epsilon.cpp \
117        div.cpp \
118        div_eq.cpp \
119        div_zero_one.cpp \
120        erf.cpp \
121        exp.cpp \
122        expm1.cpp \
123        extern_value.cpp \
124        extern_value.hpp \
125        for_hess.cpp \
126        for_sparse_jac.cpp \
127        forward.cpp \
128        forward_dir.cpp \
129        forward_order.cpp \
130        from_base.cpp \
131        fun_check.cpp \
132        jacobian.cpp \
133        limits.cpp \
134        log.cpp \
135        log10.cpp \
136        mul.cpp \
137        mul_eq.cpp \
138        mul_level.cpp \
139        mul_zero_one.cpp \
140        near_equal_ext.cpp \
141        neg.cpp \
142        ode_err_control.cpp \
143        optimize.cpp \
144        parameter.cpp \
145        poly.cpp \
146        pow.cpp \
147        pow_int.cpp \
148        print_for.cpp \
149        romberg_one.cpp \
150        rosen_34.cpp \
151        runge_45.cpp \
152        reverse.cpp \
153        rev_sparse_hes.cpp \
154        rev_sparse_jac.cpp \
155        rev_two.cpp \
156        simple_vector.cpp \
157        sin.cpp \
158        sin_cos.cpp \
159        sinh.cpp \
160        sparse_hessian.cpp \
161        sparse_jacobian.cpp \
162        sparse_vec_ad.cpp \
163        sqrt.cpp \
164        std_math.cpp \
165        sub.cpp \
166        sub_eq.cpp \
167        sub_zero.cpp \
168        tan.cpp \
169        test_vector.cpp \
170        track_new_del.cpp \
171        value.cpp \
172        vec_ad.cpp \
173        vec_ad_par.cpp \
174        vec_unary.cpp
175
176test: check
177        ./test_more
Note: See TracBrowser for help on using the repository browser.