~ubuntu-branches/ubuntu/trusty/rheolef/trusty

« back to all changes in this revision

Viewing changes to doc/pusrman/Makefile.am

  • Committer: Package Import Robot
  • Author(s): Pierre Saramito
  • Date: 2012-04-06 09:12:21 UTC
  • mfrom: (1.1.5)
  • Revision ID: package-import@ubuntu.com-20120406091221-m58me99p1nxqui49
Tags: 6.0-1
* New upstream release 6.0 (major changes):
  - massively distributed and parallel support
  - full FEM characteristic method (Lagrange-Gakerkin method) support
  - enhanced users documentation 
  - source code supports g++-4.7 (closes: #667356)
* debian/control: dependencies for MPI distributed solvers added
* debian/rules: build commands simplified
* debian/librheolef-dev.install: man1/* to man9/* added
* debian/changelog: package description rewritted (closes: #661689)

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
## process this file with automake to produce Makefile.in
 
2
#
 
3
# This file is part of Rheolef.
 
4
#
 
5
# Copyright (C) 2000-2009 Pierre Saramito 
 
6
#
 
7
# Rheolef is free software; you can redistribute it and/or modify
 
8
# it under the terms of the GNU General Public License as published by
 
9
# the Free Software Foundation; either version 2 of the License, or
 
10
# (at your option) any later version.
 
11
#
 
12
# Rheolef is distributed in the hope that it will be useful,
 
13
# but WITHOUT ANY WARRANTY; without even the implied warranty of
 
14
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 
15
# GNU General Public License for more details.
 
16
#
 
17
# You should have received a copy of the GNU General Public License
 
18
# along with Rheolef; if not, write to the Free Software
 
19
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
 
20
#
 
21
include ${top_builddir}/config/config.mk
 
22
 
 
23
MAIN    = rheolef
 
24
 
 
25
docdir = $(prefix)/share/doc/@doc_dir@
 
26
exampledir = $(docdir)/examples
 
27
 
 
28
# uncomment for html generation
 
29
HTML_MAIN =
 
30
#HTML_MAIN =    $(MAIN)
 
31
 
 
32
# -----------------------------------------------------------------------------
 
33
# the file set
 
34
# -----------------------------------------------------------------------------
 
35
 
 
36
TEX_INCLUDED =                                                  \
 
37
        fdl.tex                                                 \
 
38
        introduction.tex                                        \
 
39
        preface-v6.tex                                          \
 
40
        dirichlet.tex                                           \
 
41
        dirichlet-nh.tex                                        \
 
42
        neumann-nh.tex                                          \
 
43
        robin.tex                                               \
 
44
        dirichlet-nh-error.tex                                  \
 
45
        neumann-laplace.tex                                     \
 
46
        surface.tex                                             \
 
47
        surface-error.tex                                       \
 
48
        transmission.tex                                        \
 
49
        green.tex                                               \
 
50
        elasticity.tex                                          \
 
51
        stokes.tex                                              \
 
52
        incompressible-elasticity.tex                           \
 
53
        stabilized-stokes.tex                                   \
 
54
        axisymmetric.tex                                        \
 
55
        heat.tex                                                \
 
56
        navier-stokes.tex                                       \
 
57
        convect.tex                                             \
 
58
        p-laplacian.tex                                         \
 
59
        how-to-mesh.tex                                         \
 
60
        how-to-mesh-bamg.tex                                    \
 
61
        how-to-mesh-gmsh.tex
 
62
 
 
63
PNG_SRC =                                                       \
 
64
        dirichlet-2d-P1-gnuplot.png                             \
 
65
        dirichlet-2d-P2-gnuplot.png                             \
 
66
        dirichlet-2d-elevation-gnuplot.png                      \
 
67
        dirichlet-2d-elevation.png                              \
 
68
        red-cyan-glasses.png                                    \
 
69
        cube-3d-stereo-fig.png                                  \
 
70
        dirichlet-3d-mayavi-mix-fig.png                         \
 
71
        sphere_s_P1.png                                         \
 
72
        sphere_s_P3.png                                         \
 
73
        embankment-3d-fig.png                                   \
 
74
        embankment-3d-fill-fig.png                              \
 
75
        embankment-2d-tensor-fig.png                            \
 
76
        embankment-3d-tensor-fig.png                            \
 
77
        embankment-2d-s01-P1d-elevation-fig.png                 \
 
78
        embankment-3d-s01-P0-fig.png                            \
 
79
        embankment-3d-s01-P1d-fig.png                           \
 
80
        stokes-cavity-3d-fig.png                                \
 
81
        vorticity-cavity-2d-fig.png                             \
 
82
        vorticity-cavity-3d-fig.png                             \
 
83
        streamf-cavity-3d-fig.png                               \
 
84
        incompressible-elasticity-cube-fig.png                  \
 
85
        contraction-bubble-u.png                                \
 
86
        cube-gmsh-geo.png                                       \
 
87
        contraction-cmp-P2-psi.png                              \
 
88
        contraction-zr-P2-psi.png                               \
 
89
        heat-fig.png                                            \
 
90
        convect-fig.png                                         \
 
91
        p-laplacian-square-p=1,2-elevation.png
 
92
 
 
93
PDF_SRC =                                                       \
 
94
        dirichlet-2d-bw-gnuplot.pdf                             \
 
95
        square-ut.pdf                                           \
 
96
        square-P3-disto.pdf                                     \
 
97
        ball-t-P1.pdf                                           \
 
98
        ball-t-P4.pdf                                           \
 
99
        ball-q-P1.pdf                                           \
 
100
        ball-q-P3.pdf                                           \
 
101
        square-region-fig.pdf                                   \
 
102
        embankment-2d-fig.pdf                                   \
 
103
        embankment-2d-fill-fig.pdf                              \
 
104
        embankment-adapt-2d-P1-fig.pdf                          \
 
105
        embankment-adapt-2d-P2-fig.pdf                          \
 
106
        embankment-2d-s01-P0-fig.pdf                            \
 
107
        stokes-cavity-2d-fig.pdf                                \
 
108
        streamf-cavity-2d-fig.pdf                               \
 
109
        incompressible-elasticity-square-fig.pdf                \
 
110
        contraction-geo.pdf                                     \
 
111
        contraction-bubble-psi.pdf                              \
 
112
        contraction-P2-psi.pdf                                  \
 
113
        square-gmsh-geo.pdf                                     \
 
114
        navier-stokes-Re=100-geo.pdf                            \
 
115
        navier-stokes-Re=100-psi.pdf                            \
 
116
        navier-stokes-Re=400-geo.pdf                            \
 
117
        navier-stokes-Re=400-psi.pdf                            \
 
118
        navier-stokes-Re=1000-geo.pdf                           \
 
119
        navier-stokes-Re=1000-psi.pdf
 
120
 
 
121
FIGSRC =                                                        \
 
122
        square-cube-fig.fig                                     \
 
123
        synthese-fig.fig
 
124
 
 
125
PLOTSRC =                                                       \
 
126
        cvge-dirichlet-nh-l2.plot                               \
 
127
        cvge-dirichlet-nh-linf.plot                             \
 
128
        cvge-dirichlet-nh-h1.plot                               \
 
129
        cvge-dirichlet-nh-disto-l2.plot                         \
 
130
        cvge-dirichlet-nh-disto-linf.plot                       \
 
131
        cvge-dirichlet-nh-disto-h1.plot                         \
 
132
        cvge-dirichlet-nh-ball-t-l2.plot                        \
 
133
        cvge-dirichlet-nh-ball-t-linf.plot                      \
 
134
        cvge-dirichlet-nh-ball-t-h1.plot                        \
 
135
        cvge-dirichlet-nh-ball-q-l2.plot                        \
 
136
        cvge-dirichlet-nh-ball-q-linf.plot                      \
 
137
        cvge-dirichlet-nh-ball-q-h1.plot                        \
 
138
        cvge-helmholtz-s-sphere-l2.plot                         \
 
139
        cvge-helmholtz-s-sphere-linf.plot                       \
 
140
        cvge-helmholtz-s-sphere-h1.plot                         \
 
141
        transmission-1d-fig.plot                                \
 
142
        contraction-zr-P2-cut.plot                              \
 
143
        contraction-zr-P1-tau22-cut.plot                        \
 
144
        convect_cvge_Pk_err_l2_l2.plot                          \
 
145
        convect_cvge_Pk_err_linf_linf.plot                      \
 
146
        navier-stokes-cut-u0.plot                               \
 
147
        navier-stokes-cut-u1.plot                               \
 
148
        p-laplacian-square-p=1,2-cut.plot                       \
 
149
        p-laplacian-square-r2.plot                              \
 
150
        p-laplacian-square-r1.plot                              \
 
151
        p-laplacian-rate.plot                                   \
 
152
        p-laplacian-rate-log.plot                               \
 
153
        p-laplacian-newton-square-r1.plot                       \
 
154
        p-laplacian-newton-square-r2.plot                       \
 
155
        p-laplacian-damped-newton-square-r1.plot                \
 
156
        p-laplacian-damped-newton-square-r2.plot                \
 
157
        p-laplacian-newton-p=1,7.plot                           \
 
158
        p-laplacian-newton-p=1,6.plot                           \
 
159
        p-laplacian-newton-p=1,5.plot                           \
 
160
        p-laplacian-damped-newton-p=1,5.plot
 
161
 
 
162
PLOTDATA =                                                      \
 
163
        cvge-dirichlet-nh-P1-ut.gdat                            \
 
164
        cvge-dirichlet-nh-P2-ut.gdat                            \
 
165
        cvge-dirichlet-nh-P3-ut.gdat                            \
 
166
        cvge-dirichlet-nh-disto-P1-t.gdat                       \
 
167
        cvge-dirichlet-nh-disto-P2-t.gdat                       \
 
168
        cvge-dirichlet-nh-disto-P3-t.gdat                       \
 
169
        cvge-dirichlet-nh-disto-P4-t.gdat                       \
 
170
        cvge-dirichlet-nh-ball-P1-t.gdat                        \
 
171
        cvge-dirichlet-nh-ball-P2-t.gdat                        \
 
172
        cvge-dirichlet-nh-ball-P3-t.gdat                        \
 
173
        cvge-dirichlet-nh-ball-P4-t.gdat                        \
 
174
        cvge-dirichlet-nh-ball-P1-q.gdat                        \
 
175
        cvge-dirichlet-nh-ball-P2-q.gdat                        \
 
176
        cvge-dirichlet-nh-ball-P3-q.gdat                        \
 
177
        cvge-dirichlet-nh-ball-P4-q.gdat                        \
 
178
        cvge-helmholtz_s_sphere-P1-t.gdat                       \
 
179
        cvge-helmholtz_s_sphere-P2-t.gdat                       \
 
180
        cvge-helmholtz_s_sphere-P3-t.gdat                       \
 
181
        transmission-line-10.gdat                               \
 
182
        transmission-line-14.gdat                               \
 
183
        transmission-line-6.gdat                                \
 
184
        contraction-P2-cut.gdat                                 \
 
185
        contraction-zr-P2-cut.gdat                              \
 
186
        contraction-zr-P1-tau22-cut.gdat                        \
 
187
        convect_cvge_Pk.gdat                                    \
 
188
        navier-stokes-bench-cut-u0.gdat                         \
 
189
        navier-stokes-bench-cut-u1.gdat                         \
 
190
        navier-stokes-Re=100-dt=0.05-t2-2-cut-u0.gdat           \
 
191
        navier-stokes-Re=100-dt=0.05-t2-2-cut-u1.gdat           \
 
192
        navier-stokes-Re=400-dt=0.05-t2-2-cut-u0.gdat           \
 
193
        navier-stokes-Re=400-dt=0.05-t2-2-cut-u1.gdat           \
 
194
        navier-stokes-Re=1000-dt=0.02-t2-2-cut-u0.gdat          \
 
195
        navier-stokes-Re=1000-dt=0.02-t2-2-cut-u1.gdat          \
 
196
        p-laplacian-square-p=1.1.gdat                           \
 
197
        p-laplacian-square-p=1.2.gdat                           \
 
198
        p-laplacian-square-p=1.5.gdat                           \
 
199
        p-laplacian-square-p=2.5.gdat                           \
 
200
        p-laplacian-square-p=2.9.gdat                           \
 
201
        p-laplacian-square-p=2.95.gdat                          \
 
202
        p-laplacian-square-p=1,2-cut.gdat                       \
 
203
        p-laplacian-rate.gdat                                   \
 
204
        p-laplacian-newton-square-p=1.5.gdat                    \
 
205
        p-laplacian-newton-square-p=1.6.gdat                    \
 
206
        p-laplacian-newton-square-p=1.7.gdat                    \
 
207
        p-laplacian-newton-square-p=2.5.gdat                    \
 
208
        p-laplacian-newton-square-p=3.0.gdat                    \
 
209
        p-laplacian-newton-square-p=4.0.gdat                    \
 
210
        p-laplacian-newton-square-p=3.5.gdat                    \
 
211
        p-laplacian-damped-newton-square-p=3.0.gdat             \
 
212
        p-laplacian-damped-newton-square-p=4.0.gdat             \
 
213
        p-laplacian-damped-newton-square-p=5.0.gdat             \
 
214
        p-laplacian-damped-newton-square-p=10.0.gdat            \
 
215
        p-laplacian-damped-newton-square-p=1.2.gdat             \
 
216
        p-laplacian-damped-newton-square-p=1.3.gdat             \
 
217
        p-laplacian-damped-newton-square-p=1.4.gdat             \
 
218
        p-laplacian-damped-newton-square-p=1.5.gdat             \
 
219
        p-laplacian-damped-newton-n=50-p=1.5.gdat               \
 
220
        p-laplacian-damped-newton-n=40-p=1.5.gdat               \
 
221
        p-laplacian-damped-newton-n=30-p=1.5.gdat               \
 
222
        p-laplacian-damped-newton-n=20-p=1.5.gdat               \
 
223
        p-laplacian-damped-newton-n=10-p=1.5.gdat               \
 
224
        p-laplacian-newton-n=50-p=1.5.gdat                      \
 
225
        p-laplacian-newton-n=40-p=1.5.gdat                      \
 
226
        p-laplacian-newton-n=30-p=1.5.gdat                      \
 
227
        p-laplacian-newton-n=20-p=1.5.gdat                      \
 
228
        p-laplacian-newton-n=10-p=1.5.gdat                      \
 
229
        p-laplacian-newton-n=50-p=1.6.gdat                      \
 
230
        p-laplacian-newton-n=40-p=1.6.gdat                      \
 
231
        p-laplacian-newton-n=30-p=1.6.gdat                      \
 
232
        p-laplacian-newton-n=20-p=1.6.gdat                      \
 
233
        p-laplacian-newton-n=10-p=1.6.gdat                      \
 
234
        p-laplacian-newton-n=50-p=1.7.gdat                      \
 
235
        p-laplacian-newton-n=40-p=1.7.gdat                      \
 
236
        p-laplacian-newton-n=30-p=1.7.gdat                      \
 
237
        p-laplacian-newton-n=20-p=1.7.gdat                      \
 
238
        p-laplacian-newton-n=10-p=1.7.gdat
 
239
 
 
240
# requires gnuplot and fig2dev, so put it in tar.gz distrib
 
241
# but not in cvs distrib:
 
242
SPECIAL_GENERATED =                                             \
 
243
        ${FIGSRC:.fig=.pdf}                                     \
 
244
        ${PLOTSRC:.plot=.pdf}
 
245
 
 
246
EXTRA_DIST =                                                    \
 
247
        Makefile.am                                             \
 
248
        mk_version.sh                                           \
 
249
        plot2pdf.sh                                             \
 
250
        convect-1d.mac                                          \
 
251
        convect-2d.mac                                          \
 
252
        $(FIGSRC)                                               \
 
253
        ${PDF_SRC}                                              \
 
254
        ${PNG_SRC}                                              \
 
255
        ${SPECIAL_GENERATED}                                    \
 
256
        $(MAIN).tex                                             \
 
257
        synthese.tex                                            \
 
258
        $(MAIN).bib                                             \
 
259
        $(TEX_INCLUDED)                                         \
 
260
        $(PLOTSRC)                                              \
 
261
        $(PLOTDATA)
 
262
 
 
263
 
 
264
CLEANFILES = *.ii *.ii_pic *.gcov *.[oa1359] KCC_files/*        \
 
265
        *.glog KCC_pic/*                                        \
 
266
        ${DOC_TEX}                                              \
 
267
        $(MAIN).aux $(MAIN).dvi $(MAIN).idx                     \
 
268
        $(MAIN).ilg $(MAIN).ind $(MAIN).log $(MAIN).ps          \
 
269
        $(MAIN).bbl $(MAIN).blg $(MAIN).toc $(MAIN).lof         \
 
270
        $(MAIN).pdf texput.log *.log *.bamglog                  \
 
271
        $(MAIN).mtc1 $(MAIN).mtc                                \
 
272
        $(MAIN).cnx $(MAIN).fox $(MAIN).exx $(MAIN).prx         \
 
273
        $(MAIN).cnd $(MAIN).fod $(MAIN).exd $(MAIN).prd         \
 
274
        $(MAIN).out $(MAIN).brf
 
275
 
 
276
# added by automake1.9 : skip because non-local path
 
277
NONLOCAL_IGNORE =                                                       \
 
278
                Makefile.in                                             \
 
279
                $(srcdir)/Makefile.in
 
280
 
 
281
CVSIGNORE =                                                     \
 
282
        ${NONLOCAL_IGNORE}                                      \
 
283
        ${SPECIAL_GENERATED}
 
284
 
 
285
WCIGNORE =                                                      \
 
286
        ${NONLOCAL_IGNORE}                                      \
 
287
        $(PNG_SRC)                                              \
 
288
        ${PDF_SRC}                                              \
 
289
        $(PLOTDATA)                                             \
 
290
        $(VALID_OUTPUT)
 
291
 
 
292
# -----------------------------------------------------------------------------
 
293
# extra rules
 
294
# -----------------------------------------------------------------------------
 
295
 
 
296
dvi-local:                                                      \
 
297
        ${DOC_TEX}                                              \
 
298
        $(HTML_MAIN)                                            \
 
299
        $(MAIN).pdf                                             \
 
300
        synthese.pdf
 
301
 
 
302
clean-local:
 
303
 
 
304
real-clean: clean
 
305
        cd ${srcdir}; rm -f ${SPECIAL_GENERATED}
 
306
 
 
307
maintainer-clean-local: real-clean
 
308
 
 
309
SUFFIXES = .plot .fig .tex .dvi .ps .cc .ctex .pdf .png
 
310
 
 
311
INCLUDES =                                                      \
 
312
        -I${top_builddir}/include                               \
 
313
        @INCLUDES_FLOAT@
 
314
 
 
315
LDADD     =                                                     \
 
316
        ../../nfem/form_element/librheolef.la                   \
 
317
        $(LDADD_SPOOLES)                                        \
 
318
        $(LDADD_UMFPACK)                                        \
 
319
        $(LDADD_TAUCS)
 
320
 
 
321
EXAMPLE_FILES_INCLUDED =                                        \
 
322
        $(EXAMPLES_FILES)
 
323
 
 
324
synthese.pdf: synthese.tex                                      \
 
325
                ${FIGSRC:.fig=.pdf}
 
326
        if test x"${PDFLATEX}" != x""; then     \
 
327
             ${PDFLATEX} synthese;              \
 
328
        fi
 
329
 
 
330
$(MAIN).pdf $(MAIN).aux $(MAIN).idx $(MAIN).ind:                \
 
331
                $(MAIN).tex                                     \
 
332
                $(MAIN).bib                                     \
 
333
                ${DOC_TEX}                                      \
 
334
                ${TEX_INCLUDED}                                 \
 
335
                ${EXAMPLES_FILES}                               \
 
336
                ${FIGSRC:.fig=.pdf}                             \
 
337
                ${PLOTSRC:.plot=.pdf}                           \
 
338
                $(PNG_SRC)                                      \
 
339
                $(PDF_SRC)                                      \
 
340
                version.tex                                     \
 
341
                have_hyperref.tex
 
342
        /bin/rm -f $(MAIN).aux $(MAIN).idx $(MAIN).ind
 
343
        /bin/rm -f $(MAIN).toc $(MAIN).lot $(MAIN).lof
 
344
        if test x"${PDFLATEX}" != x"" -a x"${BIBTEX}" != x""    \
 
345
             -a x"${MAKEINDEX}" != x""; then                    \
 
346
             TEXINPUTS=":.:$(srcdir)/:$(top_srcdir)/doc/pexamples/:$$TEXINPUTS"; \
 
347
             BIBINPUTS=":.:$(srcdir)/:$(top_srcdir)/doc/pexamples/:$$TEXINPUTS"; \
 
348
             export TEXINPUTS BIBINPUTS; \
 
349
             rm -f $(MAIN).idx; \
 
350
             rm -f $(MAIN).bbl $(MAIN).aux $(MAIN).toc $(MAIN).lof; \
 
351
             rm -f $(MAIN).cnd $(MAIN).exd $(MAIN).fod $(MAIN).prd; \
 
352
             rm -f $(MAIN).cnx $(MAIN).exx $(MAIN).fox $(MAIN).prx; \
 
353
             ${PDFLATEX} $(MAIN)                \
 
354
          && ${BIBTEX} $(MAIN)          \
 
355
          && ${MAKEINDEX} -o $(MAIN).cnd $(MAIN).cnx    \
 
356
          && ${MAKEINDEX} -o $(MAIN).fod $(MAIN).fox    \
 
357
          && ${MAKEINDEX} -o $(MAIN).exd $(MAIN).exx    \
 
358
          && ${MAKEINDEX} -o $(MAIN).prd $(MAIN).prx    \
 
359
          && ${PDFLATEX} $(MAIN)                \
 
360
          && ${PDFLATEX} $(MAIN)                \
 
361
          && ${PDFLATEX} $(MAIN)                \
 
362
          && (grep Warning $*.log |                                     \
 
363
                 grep -v -e 'Foreign command' -e 'hyperref' || true)    \
 
364
          && test `grep Warning $*.log |                                \
 
365
                grep -v -i -e 'float'                                   \
 
366
                -e 'Foreign command'                                    \
 
367
                -e 'hyperref'                                           \
 
368
                -e 'minitoc'                                            \
 
369
                -e 'has changed'                                        \
 
370
                | wc -l` -eq 0;                                         \
 
371
        else                                                            \
 
372
          true;                                                         \
 
373
        fi
 
374
 
 
375
# uncomment: flags depend upon latex2html version
 
376
L2H_FLAGS = -white -image_type gif -noinfo -noaddress # -verbosity 3
 
377
 
 
378
version.tex: $(top_srcdir)/configure.ac $(srcdir)/$(MAIN).tex ${top_srcdir}/VERSION
 
379
        @/bin/sh ${srcdir}/mk_version.sh $(srcdir) $(top_srcdir) `cat $(top_srcdir)/VERSION` $(MAIN) $(exampledir)
 
380
 
 
381
have_hyperref.tex:
 
382
        if test x"${HAVE_LATEX_HYPEREF}" = x"YES"; then \
 
383
                echo "\\usepackage{hyperref}" > have_hyperref.tex; \
 
384
        else \
 
385
                echo "\\newcommand{\url}[1]{{\\tt {#1}}}" > have_hyperref.tex; \
 
386
        fi
 
387
 
 
388
.plot.pdf:
 
389
        bash plot2pdf.sh $<
 
390
 
 
391
lib:
 
392
        cd ../../config; ${MAKE}
 
393
        cd ../../util; ${MAKE}
 
394
        cd ../../skit; ${MAKE}
 
395
        cd ../../nfem; ${MAKE}
 
396
 
 
397
install-data-local: dvi
 
398
        $(MKDIRHIER) $(DESTDIR)$(docdir)
 
399
        if test -f rheolef.pdf; then                            \
 
400
            $(INSTALL_DATA) rheolef.pdf $(DESTDIR)$(docdir)/rheolef.pdf;        \
 
401
        fi
 
402
 
 
403
uninstall-local:
 
404
        rm -rf $(DESTDIR)$(docdir)/*
 
405
 
 
406
web-install: rheolef.pdf
 
407
        $(MKDIRHIER) $(WEB_DIR)
 
408
        $(INSTALL_DATA) rheolef.pdf $(WEB_DIR)/rheolef.pdf
 
409
 
 
410
number-of-pages: rheolef.ps
 
411
        @grep Pages rheolef.ps | sed -e '2,$$d' | awk '{print $$2}'
 
412
 
 
413
poid:
 
414
        du -s $(PDF_SRC) $(PNG_SRC) | sort -n