1 | # ----------------------------------------------------------------------------- |
---|
2 | # CppAD: C++ Algorithmic Differentiation: Copyright (C) 2003-08 Bradley M. Bell |
---|
3 | # |
---|
4 | # CppAD is distributed under multiple licenses. This distribution is under |
---|
5 | # the terms of the |
---|
6 | # Common Public License Version 1.0. |
---|
7 | # |
---|
8 | # A copy of this license is included in the COPYING file of this distribution. |
---|
9 | # Please visit http://www.coin-or.org/CppAD/ for information on other licenses. |
---|
10 | # ----------------------------------------------------------------------------- |
---|
11 | # |
---|
12 | # automake input file |
---|
13 | # |
---|
14 | # Note that config.h is needed by VC++; i.e., for users that do not run |
---|
15 | # the configure script but rather use the project files |
---|
16 | # |
---|
17 | if CppAD_POSTFIX |
---|
18 | postfix_dir = $(POSTFIX_DIR) |
---|
19 | else |
---|
20 | postfix_dir = . |
---|
21 | endif |
---|
22 | myincludedir = $(includedir)/$(postfix_dir) |
---|
23 | nobase_myinclude_HEADERS = \ |
---|
24 | cppad/TrackNewDel.h \ |
---|
25 | cppad/SpeedTest.h \ |
---|
26 | cppad/Runge45.h \ |
---|
27 | cppad/Rosen34.h \ |
---|
28 | cppad/RombergOne.h \ |
---|
29 | cppad/RombergMul.h \ |
---|
30 | cppad/PowInt.h \ |
---|
31 | cppad/Poly.h \ |
---|
32 | cppad/OdeGearControl.h \ |
---|
33 | cppad/OdeGear.h \ |
---|
34 | cppad/OdeErrControl.h \ |
---|
35 | cppad/NearEqual.h \ |
---|
36 | cppad/LuSolve.h \ |
---|
37 | cppad/LuInvert.h \ |
---|
38 | cppad/LuFactor.h \ |
---|
39 | cppad/ErrorHandler.h \ |
---|
40 | cppad/CppAD_vector.h \ |
---|
41 | cppad/CppAD.h \ |
---|
42 | cppad/CheckSimpleVector.h \ |
---|
43 | cppad/CheckNumericType.h \ |
---|
44 | cppad/config.h \ |
---|
45 | cppad/check_numeric_type.hpp \ |
---|
46 | cppad/check_simple_vector.hpp \ |
---|
47 | cppad/cppad.hpp \ |
---|
48 | cppad/declare.hpp \ |
---|
49 | cppad/vector.hpp \ |
---|
50 | cppad/error_handler.hpp \ |
---|
51 | cppad/lu_factor.hpp \ |
---|
52 | cppad/lu_invert.hpp \ |
---|
53 | cppad/lu_solve.hpp \ |
---|
54 | cppad/nan.hpp \ |
---|
55 | cppad/near_equal.hpp \ |
---|
56 | cppad/ode_err_control.hpp \ |
---|
57 | cppad/ode_gear.hpp \ |
---|
58 | cppad/ode_gear_control.hpp \ |
---|
59 | cppad/poly.hpp \ |
---|
60 | cppad/pow_int.hpp \ |
---|
61 | cppad/romberg_one.hpp \ |
---|
62 | cppad/romberg_mul.hpp \ |
---|
63 | cppad/rosen_34.hpp \ |
---|
64 | cppad/runge_45.hpp \ |
---|
65 | cppad/speed_test.hpp \ |
---|
66 | cppad/std_math_unary.hpp \ |
---|
67 | cppad/track_new_del.hpp \ |
---|
68 | cppad/local/ad.hpp \ |
---|
69 | cppad/local/ad_binary.hpp \ |
---|
70 | cppad/local/ad_copy.hpp \ |
---|
71 | cppad/local/ad_fun.hpp \ |
---|
72 | cppad/local/ad_tape.hpp \ |
---|
73 | cppad/local/ad_valued.hpp \ |
---|
74 | cppad/local/abort_recording.hpp \ |
---|
75 | cppad/local/abs.hpp \ |
---|
76 | cppad/local/abs_op.hpp \ |
---|
77 | cppad/local/acos_op.hpp \ |
---|
78 | cppad/local/add.hpp \ |
---|
79 | cppad/local/add_eq.hpp \ |
---|
80 | cppad/local/add_op.hpp \ |
---|
81 | cppad/local/arithmetic.hpp \ |
---|
82 | cppad/local/asin_op.hpp \ |
---|
83 | cppad/local/atan2.hpp \ |
---|
84 | cppad/local/atan_op.hpp \ |
---|
85 | cppad/local/base_complex.hpp \ |
---|
86 | cppad/local/bender_quad.hpp \ |
---|
87 | cppad/local/bool_fun.hpp \ |
---|
88 | cppad/local/bool_fun_link.hpp \ |
---|
89 | cppad/local/bool_valued.hpp \ |
---|
90 | cppad/local/cap_taylor.hpp \ |
---|
91 | cppad/local/compare.hpp \ |
---|
92 | cppad/local/compute_assign.hpp \ |
---|
93 | cppad/local/cond_exp.hpp \ |
---|
94 | cppad/local/convert.hpp \ |
---|
95 | cppad/local/cppad_assert.hpp \ |
---|
96 | cppad/local/declare_ad.hpp \ |
---|
97 | cppad/local/default.hpp \ |
---|
98 | cppad/local/define.hpp \ |
---|
99 | cppad/local/dependent.hpp \ |
---|
100 | cppad/local/discrete.hpp \ |
---|
101 | cppad/local/div.hpp \ |
---|
102 | cppad/local/div_eq.hpp \ |
---|
103 | cppad/local/div_op.hpp \ |
---|
104 | cppad/local/drivers.hpp \ |
---|
105 | cppad/local/equal_op_seq.hpp \ |
---|
106 | cppad/local/erf.hpp \ |
---|
107 | cppad/local/exp_op.hpp \ |
---|
108 | cppad/local/for_one.hpp \ |
---|
109 | cppad/local/for_two.hpp \ |
---|
110 | cppad/local/for_jac_sweep.hpp \ |
---|
111 | cppad/local/for_sparse_jac.hpp \ |
---|
112 | cppad/local/forward.hpp \ |
---|
113 | cppad/local/forward_sweep.hpp \ |
---|
114 | cppad/local/forward0sweep.hpp \ |
---|
115 | cppad/local/fun_check.hpp \ |
---|
116 | cppad/local/fun_eval.hpp \ |
---|
117 | cppad/local/fun_construct.hpp \ |
---|
118 | cppad/local/hessian.hpp \ |
---|
119 | cppad/local/identical.hpp \ |
---|
120 | cppad/local/independent.hpp \ |
---|
121 | cppad/local/integer.hpp \ |
---|
122 | cppad/local/jacobian.hpp \ |
---|
123 | cppad/local/log_op.hpp \ |
---|
124 | cppad/local/lu_ratio.hpp \ |
---|
125 | cppad/local/math_other.hpp \ |
---|
126 | cppad/local/mul.hpp \ |
---|
127 | cppad/local/mul_eq.hpp \ |
---|
128 | cppad/local/mul_op.hpp \ |
---|
129 | cppad/local/omp_max_thread.hpp \ |
---|
130 | cppad/local/op.hpp \ |
---|
131 | cppad/local/op_code.hpp \ |
---|
132 | cppad/local/ordered.hpp \ |
---|
133 | cppad/local/output.hpp \ |
---|
134 | cppad/local/par_var.hpp \ |
---|
135 | cppad/local/pow.hpp \ |
---|
136 | cppad/local/preprocessor.hpp \ |
---|
137 | cppad/local/print_for.hpp \ |
---|
138 | cppad/local/near_equal_ext.hpp \ |
---|
139 | cppad/local/reverse.hpp \ |
---|
140 | cppad/local/rev_hes_sweep.hpp \ |
---|
141 | cppad/local/rev_jac_sweep.hpp \ |
---|
142 | cppad/local/rev_one.hpp \ |
---|
143 | cppad/local/rev_sparse_jac.hpp \ |
---|
144 | cppad/local/rev_sparse_hes.hpp \ |
---|
145 | cppad/local/rev_two.hpp \ |
---|
146 | cppad/local/reverse_sweep.hpp \ |
---|
147 | cppad/local/sin_cos.hpp \ |
---|
148 | cppad/local/sparse.hpp \ |
---|
149 | cppad/local/sparse_hessian.hpp \ |
---|
150 | cppad/local/sparse_jacobian.hpp \ |
---|
151 | cppad/local/sqrt_op.hpp \ |
---|
152 | cppad/local/std_math_ad.hpp \ |
---|
153 | cppad/local/sub.hpp \ |
---|
154 | cppad/local/sub_eq.hpp \ |
---|
155 | cppad/local/sub_op.hpp \ |
---|
156 | cppad/local/tape_link.hpp \ |
---|
157 | cppad/local/recorder.hpp \ |
---|
158 | cppad/local/player.hpp \ |
---|
159 | cppad/local/test_vector.hpp \ |
---|
160 | cppad/local/user_ad.hpp \ |
---|
161 | cppad/local/unary_minus.hpp \ |
---|
162 | cppad/local/unary_plus.hpp \ |
---|
163 | cppad/local/vec_ad.hpp \ |
---|
164 | cppad/local/undef.hpp \ |
---|
165 | cppad/local/value.hpp \ |
---|
166 | cppad/local/var2par.hpp \ |
---|
167 | cppad/speed/det_33.hpp \ |
---|
168 | cppad/speed/det_by_lu.hpp \ |
---|
169 | cppad/speed/det_by_minor.hpp \ |
---|
170 | cppad/speed/det_grad_33.hpp \ |
---|
171 | cppad/speed/det_of_minor.hpp \ |
---|
172 | cppad/speed/ode_evaluate.hpp \ |
---|
173 | cppad/speed/sparse_evaluate.hpp \ |
---|
174 | cppad/speed/uniform_01.hpp |
---|
175 | # |
---|
176 | # |
---|
177 | # Did user specify --with-Introduction |
---|
178 | if CppAD_INTRODUCTION |
---|
179 | INTRODUCTION = \ |
---|
180 | introduction/get_started \ |
---|
181 | introduction/exp_apx |
---|
182 | else |
---|
183 | INTRODUCTION = |
---|
184 | endif |
---|
185 | # |
---|
186 | # Did user specify --with-Example |
---|
187 | if CppAD_EXAMPLE |
---|
188 | EXAMPLE = example |
---|
189 | else |
---|
190 | EXAMPLE = |
---|
191 | endif |
---|
192 | # |
---|
193 | # Did user specify --with-TestMore |
---|
194 | if CppAD_TEST_MORE |
---|
195 | TEST_MORE = test_more |
---|
196 | else |
---|
197 | TEST_MORE = |
---|
198 | endif |
---|
199 | # |
---|
200 | if CppAD_SPEED |
---|
201 | # user specified --with-Speed ------------------------------------- |
---|
202 | SPEED_CPPAD = speed/cppad speed/double speed/example speed/profile |
---|
203 | # |
---|
204 | if CppAD_ADOLC |
---|
205 | # Did user specify a value for ADOLC_DIR in configure command line |
---|
206 | SPEED_ADOLC = speed/adolc |
---|
207 | endif |
---|
208 | # |
---|
209 | # Did user specify a value for FADBAD_DIR in configure command line |
---|
210 | if CppAD_FADBAD |
---|
211 | SPEED_FADBAD = speed/fadbad |
---|
212 | endif |
---|
213 | # |
---|
214 | # Did user specify a value for SACADO_DIR in configure command line |
---|
215 | if CppAD_SACADO |
---|
216 | SPEED_SACADO = speed/sacado |
---|
217 | endif |
---|
218 | # ---------------------------------------------------------------------- |
---|
219 | # user did not specify --with-Speed |
---|
220 | else |
---|
221 | SPEED_CPPAD = |
---|
222 | SPEED_ADOLC = |
---|
223 | SPEED_FADBAD = |
---|
224 | SPEED_SACADO = |
---|
225 | endif |
---|
226 | # ---------------------------------------------------------------------- |
---|
227 | # Did user specify --with-PrintFor |
---|
228 | if CppAD_PRINTFOR |
---|
229 | PRINTFOR = print_for |
---|
230 | else |
---|
231 | PRINTFOR = |
---|
232 | endif |
---|
233 | # |
---|
234 | # --------------------------------------------------------------- |
---|
235 | # Did user specify a value for IPOPT_DIR in configure command line |
---|
236 | # |
---|
237 | # --------------------------------------------------------------- |
---|
238 | # Did user specify a value for IPOPT_DIR in configure command line |
---|
239 | if CppAD_IPOPT_CPPAD |
---|
240 | IPOPT_CPPAD = ipopt_cppad |
---|
241 | else |
---|
242 | IPOPT_CPPAD = |
---|
243 | endif |
---|
244 | # |
---|
245 | SUBDIRS = \ |
---|
246 | $(IPOPT_CPPAD) \ |
---|
247 | $(IPOPT_CPPAD) \ |
---|
248 | $(EXAMPLE) \ |
---|
249 | $(INTRODUCTION) \ |
---|
250 | $(PRINTFOR) \ |
---|
251 | $(SPEED_CPPAD) \ |
---|
252 | $(SPEED_ADOLC) \ |
---|
253 | $(SPEED_FADBAD) \ |
---|
254 | $(SPEED_SACADO) \ |
---|
255 | $(TEST_MORE) |
---|
256 | # |
---|
257 | EXTRA_DIST = \ |
---|
258 | build.sh \ |
---|
259 | check_example.sh \ |
---|
260 | check_include_file.sh \ |
---|
261 | check_include_omh.sh \ |
---|
262 | check_include_def.sh \ |
---|
263 | clean_cppad.sh \ |
---|
264 | cpl1.0.txt \ |
---|
265 | dev.omh \ |
---|
266 | doc \ |
---|
267 | doc.omh \ |
---|
268 | doc.omh.in \ |
---|
269 | fix_aclocal.sh \ |
---|
270 | fix_makefile.sh \ |
---|
271 | omh \ |
---|
272 | openmp/example_a11c.cpp \ |
---|
273 | openmp/multi_newton.cpp \ |
---|
274 | openmp/multi_newton.hpp \ |
---|
275 | openmp/sum_i_inv.cpp \ |
---|
276 | openmp/run.sh \ |
---|
277 | run_omhelp.sh \ |
---|
278 | uw_copy_040507.html |
---|
279 | # |
---|
280 | dist-hook: |
---|
281 | rm -rf `find $(distdir)/omh $(distdir)/openmp -name .svn` |
---|
282 | rm $(distdir)/doc/error.wrd |
---|
283 | # |
---|
284 | if CppAD_DOCUMENTATION |
---|
285 | doc_prefix = $(DESTDIR)$(datadir) |
---|
286 | doc_doc = $(doc_prefix)/doc |
---|
287 | doc_postfix = $(doc_doc)/$(postfix_dir) |
---|
288 | doc_package = $(doc_postfix)/$(PACKAGE)-$(VERSION) |
---|
289 | install-data-hook: |
---|
290 | if [ ! -e $(doc_prefix) ] ; then mkdir $(doc_prefix) ; fi |
---|
291 | if [ ! -e $(doc_doc) ] ; then mkdir $(doc_doc) ; fi |
---|
292 | if [ ! -e $(doc_postfix) ] ; then mkdir $(doc_postfix) ; fi |
---|
293 | if [ -e $(doc_package) ] ; then rm -rf $(doc_package) ; fi |
---|
294 | cp -a $(top_builddir)/doc $(doc_package) |
---|
295 | chmod -R a-w $(doc_package) |
---|
296 | chmod -R u+w $(doc_package) |
---|
297 | chmod -R a+r $(doc_package) |
---|
298 | endif |
---|
299 | # |
---|