source: trunk/example/makefile.am @ 3746

Last change on this file since 3746 was 3746, checked in by bradbell, 4 years ago

merge to branch: trunk
from repository: https://github.com/coin-or/CppAD
start hash code: 57d3215cae5e9da7b4c92e89f038d70870ef7327
end hash code: 9aebc1ca2c0949dec7c2d156517db26e60f28159

commit 9aebc1ca2c0949dec7c2d156517db26e60f28159
Author: Brad Bell <bradbell@…>
Date: Sun Nov 8 20:15:38 2015 -0800

Remove invisible white space.

commit a92ac50e9f4c8d0007ea5a245b3e23145dfcebfe
Author: Brad Bell <bradbell@…>
Date: Sun Nov 8 20:15:31 2015 -0800

Use vectorBool with partial sparsity patterns per pass to reduce memory requirements.


solve_callback.hpp: remove invisible white space.
rev_sparse_jac.hpp: fix bug (argument transposed).
bool_sparsity.cpp: remove invisible white space.

commit c09744b13ba2c70d6ffa857206d45560154d800a
Author: Brad Bell <bradbell@…>
Date: Sun Nov 8 03:22:57 2015 -0800

check_for_nan.hpp: fix minor type in documentation.

  • Property svn:keywords set to Id
File size: 4.8 KB
Line 
1# $Id: makefile.am 3746 2015-11-09 04:50:27Z 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 puts all it's preprocessor definitions in the cppad/configure.hpp
15DEFS          =
16# -------------------------------------------------------------------------
17if CppAD_ADOLC
18ADOLC_SRC_FILES    =  mul_level_adolc.cpp mul_level_adolc_ode.cpp
19ADOLC_EXTRA_FILES  =
20ADOLC_LIB          = -ladolc -lColPack -L$(ADOLC_DIR)/lib -L$(ADOLC_DIR)/lib64
21ADOLC_FLAGS        = -DCPPAD_ADOLC_EXAMPLES -I$(ADOLC_DIR)/include
22else
23ADOLC_EXTRA_FILES =  mul_level_adolc.cpp mul_level_adolc_ode.cpp
24ADOLC_SRC_FILES   =
25ADOLC_LIB         =
26ADOLC_FLAGS       =
27endif
28# -------------------------------------------------------------------------
29if CppAD_HAVE_AR
30if CppAD_EIGEN_DIR
31# make a special library so can have it's own compile flags (see configure.ac)
32EIGEN_EXTRA_FILES   =
33noinst_LIBRARIES    = libeigen.a
34libeigen_a_SOURCES  =  eigen_det.cpp eigen_array.cpp
35EIGEN_LIB           = -L. -leigen
36EIGEN_FLAGS         = -DCPPAD_EIGEN_EXAMPLES
37libeigen_a_CXXFLAGS = \
38        -g $(CXX_FLAGS_EIGEN) \
39        -DCPPAD_EIGEN_EXAMPLES \
40        -I$(EIGEN_DIR)/include
41else
42EIGEN_EXTRA_FILES   = eigen_det.cpp eigen_array.cpp
43EIGEN_LIB           =
44EIGEN_FLAGS         =
45endif
46else
47EIGEN_EXTRA_FILES   = eigen_det.cpp eigen_array.cpp
48EIGEN_LIB           =
49EIGEN_FLAGS         =
50endif
51# -------------------------------------------------------------------------
52# auto-tools does not support use of colpack
53EXTRA_DIST        =  \
54        test_one.sh.in \
55        colpack_hes.cpp \
56        colpack_jac.cpp \
57        $(ADOLC_EXTRA_FILES) \
58        $(EIGEN_EXTRA_FILES)
59#
60check_PROGRAMS    = example
61#
62if CppAD_MS_COMPILER
63AM_CXXFLAGS       = -EHsc -g $(ADOLC_FLAGS) $(EIGEN_FLAGS) $(CXX_FLAGS)
64else
65AM_CXXFLAGS       = -g $(ADOLC_FLAGS) $(EIGEN_FLAGS) $(CXX_FLAGS)
66endif
67#
68AM_CPPFLAGS       = \
69        -I. \
70        -I$(top_srcdir) \
71        $(BOOST_INCLUDE) \
72        $(EIGEN_INCLUDE) \
73        $(ADOLC_FLAGS) \
74        $(EIGEN_FLAGS)
75#
76LDADD        =  $(ADOLC_LIB)  $(BTHREAD_LIB) $(EIGEN_LIB) $(PTHREAD_LIB)
77#
78example_SOURCES   = \
79        $(ADOLC_SRC_FILES) \
80        \
81        example.cpp \
82        abort_recording.cpp \
83        abs.cpp \
84        acos.cpp \
85        acosh.cpp \
86        add.cpp \
87        add_eq.cpp \
88        ad_assign.cpp \
89        ad_ctor.cpp \
90        ad_fun.cpp \
91        ad_in_c.cpp \
92        ad_input.cpp \
93        ad_output.cpp \
94        asin.cpp \
95        asinh.cpp \
96        atan.cpp \
97        atanh.cpp \
98        atan2.cpp \
99        azmul.cpp \
100        base_alloc.hpp \
101        base_require.cpp \
102        bender_quad.cpp \
103        bool_fun.cpp \
104        bool_sparsity.cpp \
105        capacity_order.cpp \
106        change_param.cpp \
107        check_for_nan.cpp \
108        check_numeric_type.cpp \
109        check_simple_vector.cpp \
110        compare.cpp \
111        compare_change.cpp \
112        complex_poly.cpp \
113        cond_exp.cpp \
114        conj_grad.cpp \
115        cos.cpp \
116        cosh.cpp \
117        cppad_vector.cpp \
118        dependency.cpp \
119        div.cpp \
120        div_eq.cpp \
121        equal_op_seq.cpp \
122        erf.cpp \
123        error_handler.cpp \
124        exp.cpp \
125        expm1.cpp \
126        for_one.cpp \
127        for_two.cpp \
128        forward.cpp \
129        forward_dir.cpp \
130        forward_order.cpp \
131        for_sparse_jac.cpp \
132        fun_assign.cpp \
133        fun_check.cpp \
134        hes_lagrangian.cpp \
135        hes_lu_det.cpp \
136        hes_minor_det.cpp \
137        hessian.cpp \
138        hes_times_dir.cpp \
139        independent.cpp \
140        index_sort.cpp \
141        integer.cpp \
142        interface2c.cpp\
143        interp_onetape.cpp\
144        interp_retape.cpp\
145        jac_lu_det.cpp \
146        jac_minor_det.cpp \
147        jacobian.cpp \
148        num_limits.cpp \
149        log.cpp \
150        log1p.cpp \
151        log10.cpp \
152        lu_factor.cpp \
153        lu_invert.cpp \
154        lu_ratio.cpp \
155        lu_solve.cpp \
156        lu_vec_ad.cpp \
157        lu_vec_ad.hpp \
158        lu_vec_ad_ok.cpp \
159        mul.cpp \
160        mul_eq.cpp \
161        mul_level.cpp \
162        mul_level_ode.cpp \
163        nan.cpp \
164        near_equal.cpp \
165        near_equal_ext.cpp \
166        number_skip.cpp \
167        numeric_type.cpp \
168        ode_err_control.cpp \
169        ode_err_maxabs.cpp \
170        ode_gear.cpp \
171        ode_gear_control.cpp\
172        ode_stiff.cpp \
173        ode_taylor.cpp \
174        opt_val_hes.cpp \
175        optimize.cpp \
176        par_var.cpp \
177        poly.cpp \
178        pow.cpp \
179        pow_int.cpp \
180        print_for.cpp \
181        reverse_any.cpp \
182        reverse_one.cpp \
183        reverse_three.cpp \
184        reverse_two.cpp \
185        rev_one.cpp \
186        rev_sparse_hes.cpp \
187        rev_sparse_jac.cpp \
188        rev_two.cpp \
189        romberg_mul.cpp \
190        romberg_one.cpp \
191        rosen_34.cpp \
192        runge45_1.cpp \
193        runge45_2.cpp \
194        seq_property.cpp \
195        simple_vector.cpp \
196        sign.cpp \
197        sin.cpp \
198        sinh.cpp \
199        sparse_hessian.cpp \
200        sparse_jacobian.cpp \
201        sparse_sub_hes.cpp \
202        sparsity_sub.cpp \
203        sqrt.cpp \
204        stack_machine.cpp \
205        sub.cpp \
206        sub_eq.cpp \
207        sub_sparse_hes.cpp \
208        tan.cpp \
209        tanh.cpp \
210        tape_index.cpp \
211        thread_alloc.cpp \
212        unary_minus.cpp \
213        unary_plus.cpp \
214        value.cpp \
215        var2par.cpp \
216        vec_ad.cpp  \
217        vector_bool.cpp
218
219test: check
220        ./example
Note: See TracBrowser for help on using the repository browser.