source: trunk/makefile.am @ 1338

Last change on this file since 1338 was 1338, checked in by bradbell, 12 years ago

trunk: Only put one copy of documentation in distribution.

doc.omh.in: link to web for other versions of documentation.
build.sh: build one doc version for distribution, but test all.
gpl_license: make work with new run_omhelp.sh, improve error checking.
makefile.am: let developers build developer documentation.
run_omhelp.sh: add printable and clean to list of options.
makefile.in: changes generated by automake from makefile.am.
whats_new_09.omh: user's view of the changes.

File size: 7.6 KB
Line 
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#
17if CppAD_POSTFIX
18postfix_dir  = $(POSTFIX_DIR)
19else
20postfix_dir  = .
21endif
22myincludedir = $(includedir)/$(postfix_dir)
23nobase_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
178if CppAD_INTRODUCTION
179INTRODUCTION = \
180        introduction/get_started \
181        introduction/exp_apx
182else
183INTRODUCTION =
184endif
185#
186# Did user specify --with-Example
187if CppAD_EXAMPLE
188EXAMPLE = example
189else
190EXAMPLE =
191endif
192#
193# Did user specify --with-TestMore
194if CppAD_TEST_MORE
195TEST_MORE = test_more
196else
197TEST_MORE =
198endif
199#
200if CppAD_SPEED
201# user specified --with-Speed -------------------------------------
202SPEED_CPPAD = speed/cppad speed/double speed/example speed/profile
203#
204if CppAD_ADOLC
205# Did user specify a value for ADOLC_DIR in configure command line
206SPEED_ADOLC    = speed/adolc
207endif
208#
209# Did user specify a value for FADBAD_DIR in configure command line
210if CppAD_FADBAD
211SPEED_FADBAD = speed/fadbad
212endif
213#
214# Did user specify a value for SACADO_DIR in configure command line
215if CppAD_SACADO
216SPEED_SACADO = speed/sacado
217endif
218# ----------------------------------------------------------------------
219# user did not specify --with-Speed
220else
221SPEED_CPPAD  =
222SPEED_ADOLC  =
223SPEED_FADBAD =
224SPEED_SACADO =
225endif
226# ----------------------------------------------------------------------
227# Did user specify --with-PrintFor
228if CppAD_PRINTFOR
229PRINTFOR = print_for
230else
231PRINTFOR =
232endif
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
239if CppAD_IPOPT_CPPAD
240IPOPT_CPPAD = ipopt_cppad
241else
242IPOPT_CPPAD =
243endif
244#
245SUBDIRS = \
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#
257EXTRA_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#
280dist-hook:
281        rm -rf `find $(distdir)/omh $(distdir)/openmp -name .svn`
282        rm $(distdir)/doc/error.wrd
283#
284if CppAD_DOCUMENTATION
285doc_prefix  = $(DESTDIR)$(datadir)
286doc_doc     = $(doc_prefix)/doc
287doc_postfix = $(doc_doc)/$(postfix_dir)
288doc_package = $(doc_postfix)/$(PACKAGE)-$(VERSION)
289install-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)
298endif
299#
Note: See TracBrowser for help on using the repository browser.