source: trunk/makefile.am @ 3680

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

merge to branch: trunk
from repository: https://github.com/coin-or/CppAD
start hash code: 071875a4beba3363e5fa9752426aec4762cd1caa
end hash code: 0bef506513a519e1073c6279d5c4cba9e5c3b180

commit 0bef506513a519e1073c6279d5c4cba9e5c3b180
Author: Brad Bell <bradbell@…>
Date: Thu May 7 12:14:32 2015 -0700

Add the acosh function (as an atomic operation when defined by compiler).

commit b3264fa17b2f65b65800423a0e243c9c3ccfe06a
Author: Brad Bell <bradbell@…>
Date: Wed May 6 20:25:38 2015 -0700

CMakeLists.txt: Change so test only check for compliation.

commit dcbac4d4f20cc383f2bd9edb02036659df40b791
Author: Brad Bell <bradbell@…>
Date: Wed May 6 15:06:28 2015 -0700

asinh.cpp: check higher orders, relax accuracy on test.

commit 5f8881993fedd18cccc3c74831133a8f8a9d17b0
Author: Brad Bell <bradbell@…>
Date: Wed May 6 14:36:18 2015 -0700

Change Acos to acos.
acos.cpp: remove trailing white space.

commit e828fa1f7c4c3848c727f14b1b7a8030071ee705
Author: Brad Bell <bradbell@…>
Date: Wed May 6 12:07:35 2015 -0700

Change Acos to acos.
acos.cpp: remove redundant index commands, remove trailing with space.

commit 3d16e5b9fe1bdafa4ad01d1d466bb72b792650fa
Author: Brad Bell <bradbell@…>
Date: Wed May 6 11:30:49 2015 -0700

op_code.hpp: Minor edits to AcosOp? commnets.

commit 58beaaad149b4ac29fae44589d7f8900bf8f4c40
Author: Brad Bell <bradbell@…>
Date: Wed May 6 10:51:43 2015 -0700

for_jac_sweep.hpp: Add missing AsinhOp? case.

commit 623c134870c522ae5e80bcf0f89d230902594c80
Author: Brad Bell <bradbell@…>
Date: Wed May 6 10:27:39 2015 -0700

Fix comment about AsinhOp? operator.

commit 226b14f6f4810f5abf1ca247aae541963efaf4d6
Author: Brad Bell <bradbell@…>
Date: Wed May 6 10:14:08 2015 -0700

Add derivative of F to make order zero case clearer.
acos_reverse.omh: Fix some sign errors.
asin_reverse.omh: Fix typo.
acos_forward.omh: Simplify by distributing minus sign.

commit 4682f4ee73e33b600b180086576e986f636a24dc
Author: Brad Bell <bradbell@…>
Date: Wed May 6 08:15:50 2015 -0700

acos_forward.omh: fix sign that depends on acos versus acosh.

commit 906ae10adf019ddda7f57dd165aab08fc55289c4
Author: Brad Bell <bradbell@…>
Date: Wed May 6 07:09:47 2015 -0700

  1. Fix inclusion of some temporary files in package (e.g., git_commit.sh).
  2. Simplify and improve using git ls-files and ls bin/check_*.
  3. Remove trailing white space.

commit 5096f4706a547bd76caa3766aa2c62802ef7f0bf
Author: Brad Bell <bradbell@…>
Date: Wed May 6 06:41:20 2015 -0700

Combine base type documentation for erf, asinh
(will add more functions to this list list).

commit b3535db5ad95bee90672abcaa686032d23bce2fc
Author: Brad Bell <bradbell@…>
Date: Tue May 5 18:01:11 2015 -0700

  1. Change Arc Cosine/Sine? to Inverse Cosine/Sine?.
  2. Change arcsin-> asin and arccos->acos.
  3. Remove index commands that are duplicates of words in titles.


acos_reverse.omh: Add acosh case to this page.

  • Property svn:keywords set to Id
File size: 10.6 KB
Line 
1# $Id: makefile.am 3680 2015-05-07 19:17:37Z 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#
13BUILT_SOURCES = $(top_srcdir)/cppad/configure.hpp
14$(top_srcdir)/cppad/configure.hpp: cppad/configure.hpp
15        cp cppad/configure.hpp $(top_srcdir)/cppad/configure.hpp
16#
17if CppAD_POSTFIX
18postfix_dir  = $(POSTFIX_DIR)
19else
20postfix_dir  = .
21endif
22#
23# Did user specify a value for ADOLC_DIR in configure command line
24if CppAD_ADOLC
25SPEED_ADOLC_TESTS   = speed/adolc
26else
27SPEED_ADOLC_TESTS   =
28endif
29#
30# Did user specify a value for FADBAD_DIR in configure command line
31if CppAD_FADBAD
32SPEED_FADBAD_TESTS  = speed/fadbad
33else
34SPEED_FADBAD_TESTS  =
35endif
36#
37# Did user specify a value for SACADO_DIR in configure command line
38if CppAD_SACADO
39SPEED_SACADO_TESTS  = speed/sacado
40else
41SPEED_SACADO_TESTS  =
42endif
43#
44# Did user specify a value for IPOPT_DIR in configure command line
45if CppAD_IPOPT
46IPOPT_TESTS = \
47        example/ipopt_solve \
48        cppad_ipopt/example \
49        cppad_ipopt/speed \
50        cppad_ipopt/test
51#
52IPOPT_DIRS = \
53        cppad_ipopt/src \
54        $(IPOPT_TESTS)
55#
56IPOPT_HEADER = \
57        cppad_ipopt/src/cppad_ipopt_nlp.hpp
58else
59IPOPT_TESTS  =
60IPOPT_DIRS   =
61IPOPT_HEADER =
62endif
63#
64# Is the library archiving program present
65if CppAD_HAVE_AR
66SPEED_TESTS = \
67        $(SPEED_ADOLC_TESTS)  \
68        speed/cppad \
69        speed/double \
70        speed/example \
71        $(SPEED_FADBAD_TESTS) \
72        speed/profile \
73        $(SPEED_SACADO_TESTS)
74#
75SPEED_DIRS = \
76        speed/src \
77        $(SPEED_TESTS)
78else
79        SPEED_DIRS =
80endif
81# ---------------------------------------------------------------------------
82myincludedir = $(includedir)/$(postfix_dir)
83#
84myinclude_HEADERS = \
85        $(IPOPT_HEADER)
86#
87nobase_myinclude_HEADERS =  \
88        cppad/CheckNumericType.h \
89        cppad/CheckSimpleVector.h \
90        cppad/CppAD.h \
91        cppad/CppAD_vector.h \
92        cppad/ErrorHandler.h \
93        cppad/LuFactor.h \
94        cppad/LuInvert.h \
95        cppad/LuSolve.h \
96        cppad/NearEqual.h \
97        cppad/OdeErrControl.h \
98        cppad/OdeGearControl.h \
99        cppad/OdeGear.h \
100        cppad/Poly.h \
101        cppad/PowInt.h \
102        cppad/RombergMul.h \
103        cppad/RombergOne.h \
104        cppad/Rosen34.h \
105        cppad/Runge45.h \
106        cppad/SpeedTest.h \
107        cppad/TrackNewDel.h \
108        \
109        cppad/base_require.hpp \
110        cppad/check_numeric_type.hpp \
111        cppad/check_simple_vector.hpp \
112        cppad/configure.hpp \
113        cppad/cppad.hpp \
114        cppad/elapsed_seconds.hpp \
115        cppad/example/base_adolc.hpp \
116        cppad/example/cppad_eigen.hpp \
117        cppad/example/eigen_plugin.hpp \
118        cppad/example/matrix_mul.hpp \
119        cppad/error_handler.hpp \
120        cppad/index_sort.hpp \
121        cppad/ipopt/solve.hpp \
122        cppad/ipopt/solve_callback.hpp \
123        cppad/ipopt/solve_result.hpp \
124        cppad/local/abort_recording.hpp \
125        cppad/local/abs.hpp \
126        cppad/local/abs_op.hpp \
127        cppad/local/acos_op.hpp \
128        cppad/local/acosh.hpp \
129        cppad/local/acosh_op.hpp \
130        cppad/local/ad_assign.hpp \
131        cppad/local/ad_binary.hpp \
132        cppad/local/ad_ctor.hpp \
133        cppad/local/add_eq.hpp \
134        cppad/local/add.hpp \
135        cppad/local/add_op.hpp \
136        cppad/local/ad_io.hpp \
137        cppad/local/ad_fun.hpp \
138        cppad/local/ad.hpp \
139        cppad/local/ad_tape.hpp \
140        cppad/local/ad_valued.hpp \
141        cppad/local/arithmetic.hpp \
142        cppad/local/asin_op.hpp \
143        cppad/local/asinh.hpp \
144        cppad/local/asinh_op.hpp \
145        cppad/local/atan2.hpp \
146        cppad/local/atan_op.hpp \
147        cppad/local/atomic_base.hpp \
148        cppad/local/base_complex.hpp \
149        cppad/local/base_cond_exp.hpp \
150        cppad/local/base_double.hpp \
151        cppad/local/base_float.hpp \
152        cppad/local/base_std_math.hpp \
153        cppad/local/bender_quad.hpp \
154        cppad/local/bool_fun.hpp \
155        cppad/local/bool_valued.hpp \
156        cppad/local/capacity_order.hpp \
157        cppad/local/checkpoint.hpp \
158        cppad/local/color_general.hpp \
159        cppad/local/color_symmetric.hpp \
160        cppad/local/compare.hpp \
161        cppad/local/comp_op.hpp \
162        cppad/local/compute_assign.hpp \
163        cppad/local/cond_exp.hpp \
164        cppad/local/cond_op.hpp \
165        cppad/local/convert.hpp \
166        cppad/local/cosh_op.hpp \
167        cppad/local/cos_op.hpp \
168        cppad/local/cppad_assert.hpp \
169        cppad/local/cppad_colpack.hpp \
170        cppad/local/cskip_op.hpp \
171        cppad/local/csum_op.hpp \
172        cppad/local/declare_ad.hpp \
173        cppad/local/define.hpp \
174        cppad/local/dependent.hpp \
175        cppad/local/discrete.hpp \
176        cppad/local/discrete_op.hpp \
177        cppad/local/div_eq.hpp \
178        cppad/local/div.hpp \
179        cppad/local/div_op.hpp \
180        cppad/local/drivers.hpp \
181        cppad/local/epsilon.hpp \
182        cppad/local/equal_op_seq.hpp \
183        cppad/local/erf.hpp \
184        cppad/local/erf_op.hpp \
185        cppad/local/exp_op.hpp \
186        cppad/local/for_jac_sweep.hpp \
187        cppad/local/for_one.hpp \
188        cppad/local/for_sparse_jac.hpp \
189        cppad/local/for_two.hpp \
190        cppad/local/forward0sweep.hpp \
191        cppad/local/forward1sweep.hpp \
192        cppad/local/forward2sweep.hpp \
193        cppad/local/forward.hpp \
194        cppad/local/fun_check.hpp \
195        cppad/local/fun_construct.hpp \
196        cppad/local/fun_eval.hpp \
197        cppad/local/hash_code.hpp \
198        cppad/local/hessian.hpp \
199        cppad/local/identical.hpp \
200        cppad/local/independent.hpp \
201        cppad/local/integer.hpp \
202        cppad/local/jacobian.hpp \
203        cppad/local/limits.hpp \
204        cppad/local/load_op.hpp \
205        cppad/local/log_op.hpp \
206        cppad/local/lu_ratio.hpp \
207        cppad/local/math_other.hpp \
208        cppad/local/mul_eq.hpp \
209        cppad/local/mul.hpp \
210        cppad/local/mul_op.hpp \
211        cppad/local/near_equal_ext.hpp \
212        cppad/local/num_skip.hpp \
213        cppad/local/omp_max_thread.hpp \
214        cppad/local/op_code.hpp \
215        cppad/local/op.hpp \
216        cppad/local/optimize.hpp \
217        cppad/local/opt_val_hes.hpp \
218        cppad/local/ordered.hpp \
219        cppad/local/parallel_ad.hpp \
220        cppad/local/parameter_op.hpp \
221        cppad/local/par_var.hpp \
222        cppad/local/player.hpp \
223        cppad/local/pod_vector.hpp \
224        cppad/local/pow.hpp \
225        cppad/local/pow_op.hpp \
226        cppad/local/print_for.hpp \
227        cppad/local/print_op.hpp \
228        cppad/local/prototype_op.hpp \
229        cppad/local/recorder.hpp \
230        cppad/local/reverse.hpp \
231        cppad/local/reverse_sweep.hpp \
232        cppad/local/rev_hes_sweep.hpp \
233        cppad/local/rev_jac_sweep.hpp \
234        cppad/local/rev_one.hpp \
235        cppad/local/rev_sparse_hes.hpp \
236        cppad/local/rev_sparse_jac.hpp \
237        cppad/local/rev_two.hpp \
238        cppad/local/sign.hpp \
239        cppad/local/sign_op.hpp \
240        cppad/local/sin_op.hpp \
241        cppad/local/sinh_op.hpp \
242        cppad/local/sparse_binary_op.hpp \
243        cppad/local/sparse_hessian.hpp \
244        cppad/local/sparse.hpp \
245        cppad/local/sparse_jacobian.hpp \
246        cppad/local/sparse_list.hpp \
247        cppad/local/sparse_pack.hpp \
248        cppad/local/sparse_pattern.hpp \
249        cppad/local/sparse_set.hpp \
250        cppad/local/sparse_unary_op.hpp \
251        cppad/local/sqrt_op.hpp \
252        cppad/local/std_math_ad.hpp \
253        cppad/local/std_set.hpp \
254        cppad/local/store_op.hpp \
255        cppad/local/sub_eq.hpp \
256        cppad/local/sub.hpp \
257        cppad/local/sub_op.hpp \
258        cppad/local/tanh_op.hpp \
259        cppad/local/tan_op.hpp \
260        cppad/local/tape_link.hpp \
261        cppad/local/test_vector.hpp \
262        cppad/local/testvector.hpp \
263        cppad/local/unary_minus.hpp \
264        cppad/local/unary_plus.hpp \
265        cppad/local/undef.hpp \
266        cppad/local/user_ad.hpp \
267        cppad/local/old_atomic.hpp \
268        cppad/local/value.hpp \
269        cppad/local/var2par.hpp \
270        cppad/local/vec_ad.hpp \
271        cppad/lu_factor.hpp \
272        cppad/lu_invert.hpp \
273        cppad/lu_solve.hpp \
274        cppad/memory_leak.hpp \
275        cppad/nan.hpp \
276        cppad/near_equal.hpp \
277        cppad/ode_err_control.hpp \
278        cppad/ode_gear_control.hpp \
279        cppad/ode_gear.hpp \
280        cppad/omp_alloc.hpp \
281        cppad/poly.hpp \
282        cppad/pow_int.hpp \
283        cppad/romberg_mul.hpp \
284        cppad/romberg_one.hpp \
285        cppad/rosen_34.hpp \
286        cppad/runge_45.hpp \
287        cppad/speed/det_33.hpp \
288        cppad/speed/det_by_lu.hpp \
289        cppad/speed/det_by_minor.hpp \
290        cppad/speed/det_grad_33.hpp \
291        cppad/speed/det_of_minor.hpp \
292        cppad/speed/mat_sum_sq.hpp \
293        cppad/speed/ode_evaluate.hpp \
294        cppad/speed/sparse_hes_fun.hpp \
295        cppad/speed/sparse_jac_fun.hpp \
296        cppad/speed_test.hpp \
297        cppad/speed/uniform_01.hpp \
298        cppad/thread_alloc.hpp \
299        cppad/time_test.hpp \
300        cppad/track_new_del.hpp \
301        cppad/vector.hpp
302# End nobase_myinclude_HEADERS (check_makefile.sh uses this comment)
303# ---------------------------------------------------------------
304#
305# No objects or executables are required to install CppAD.
306# See 'make test' below for building the tests.
307SUBDIRS =  \
308        $(IPOPT_DIRS) \
309        $(SPEED_DIRS) \
310        example \
311        example/atomic \
312        compare_c \
313        introduction/get_started \
314        introduction/exp_apx \
315        print_for \
316        multi_thread \
317        multi_thread/test_multi \
318        test_more
319#
320# note that bin/gpl_license.sh is deleted by dist-hook
321EXTRA_DIST = \
322        bin \
323        build.sh \
324        doc.omh \
325        doc \
326        epl-v10.txt \
327        epl-v10.html \
328        omh \
329        uw_copy_040507.html \
330        \
331        compare_c/CMakeLists.txt \
332        cppad/CMakeLists.txt \
333        pkgconfig/CMakeLists.txt \
334        example/CMakeLists.txt \
335        example/atomic/CMakeLists.txt \
336        example/ipopt_solve/CMakeLists.txt \
337        test_more/CMakeLists.txt \
338        CMakeLists.txt \
339        cppad_ipopt/src/CMakeLists.txt \
340        cppad_ipopt/example/CMakeLists.txt \
341        cppad_ipopt/test/CMakeLists.txt \
342        cppad_ipopt/CMakeLists.txt \
343        cppad_ipopt/speed/CMakeLists.txt \
344        speed/main.cpp \
345        speed/cppad/CMakeLists.txt \
346        speed/adolc/CMakeLists.txt \
347        speed/fadbad/CMakeLists.txt \
348        speed/src/CMakeLists.txt \
349        speed/example/CMakeLists.txt \
350        speed/CMakeLists.txt \
351        speed/double/CMakeLists.txt \
352        speed/profile/CMakeLists.txt \
353        speed/sacado/CMakeLists.txt \
354        multi_thread/bthread/CMakeLists.txt \
355        multi_thread/CMakeLists.txt \
356        multi_thread/openmp/CMakeLists.txt \
357        multi_thread/pthread/CMakeLists.txt \
358        print_for/CMakeLists.txt
359
360test_directory_list = \
361        $(IPOPT_TESTS) \
362        $(SPEED_TESTS) \
363        example \
364        example/atomic \
365        compare_c \
366        introduction/get_started \
367        introduction/exp_apx \
368        multi_thread \
369        multi_thread/test_multi \
370        print_for \
371        test_more
372
373test: all
374        rm -f test.log
375        touch test.log
376        echo "#! /bin/sh -e"                               >  test.sh
377        for dir in $(test_directory_list) ; do (                        \
378                echo "#"                                      >> test.sh ; \
379                echo "echo \"Running make test in $$dir\""    >> test.sh ; \
380                echo "cd $$dir "                              >> test.sh ; \
381                echo "make test"                              >> test.sh ; \
382                echo "cd $(ABS_TOP_BUILDDIR)"                 >> test.sh ; \
383        ) done
384        echo "exit 0"                                      >> test.sh
385        chmod +x test.sh
386        ./test.sh
387#
388dist-hook:
389        rm -rf `find . -name .svn`
390        rm $(distdir)/doc/error.wrd
391        rm $(distdir)/bin/gpl_license.sh
392#
393if CppAD_DOCUMENTATION
394doc_postfix = $(DESTDIR)$(datadir)/doc/$(postfix_dir)
395doc_package = $(DESTDIR)$(datadir)/doc/$(postfix_dir)/$(PACKAGE)-$(VERSION)
396install-data-hook:
397        if [ ! -e $(doc_postfix) ] ; then mkdir -p $(doc_postfix) ; fi
398        if [ -e $(doc_package) ] ; then rm -rf $(doc_package) ; fi
399        cp -a $(top_srcdir)/doc $(doc_package)
400        chmod -R a-w $(doc_package)
401        chmod -R u+w $(doc_package)
402        chmod -R a+r $(doc_package)
403endif
404#
405pkgconfigdir = $(datadir)/pkgconfig
406pkgconfig_DATA = pkgconfig/cppad.pc
Note: See TracBrowser for help on using the repository browser.