1
## process this file with automake to produce Makefile.in
3
# This file is part of Rheolef.
5
# Copyright (C) 2000-2009 Pierre Saramito
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.
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.
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
21
include ${top_builddir}/config/config.mk
25
docdir = $(prefix)/share/doc/@doc_dir@
26
exampledir = $(docdir)/examples
28
# uncomment for html generation
32
# -----------------------------------------------------------------------------
34
# -----------------------------------------------------------------------------
44
dirichlet-nh-error.tex \
52
incompressible-elasticity.tex \
53
stabilized-stokes.tex \
60
how-to-mesh-bamg.tex \
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 \
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 \
87
contraction-cmp-P2-psi.png \
88
contraction-zr-P2-psi.png \
91
p-laplacian-square-p=1,2-elevation.png
94
dirichlet-2d-bw-gnuplot.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
122
square-cube-fig.fig \
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
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
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}
255
${SPECIAL_GENERATED} \
264
CLEANFILES = *.ii *.ii_pic *.gcov *.[oa1359] KCC_files/* \
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
276
# added by automake1.9 : skip because non-local path
279
$(srcdir)/Makefile.in
292
# -----------------------------------------------------------------------------
294
# -----------------------------------------------------------------------------
305
cd ${srcdir}; rm -f ${SPECIAL_GENERATED}
307
maintainer-clean-local: real-clean
309
SUFFIXES = .plot .fig .tex .dvi .ps .cc .ctex .pdf .png
312
-I${top_builddir}/include \
316
../../nfem/form_element/librheolef.la \
321
EXAMPLE_FILES_INCLUDED = \
324
synthese.pdf: synthese.tex \
326
if test x"${PDFLATEX}" != x""; then \
327
${PDFLATEX} synthese; \
330
$(MAIN).pdf $(MAIN).aux $(MAIN).idx $(MAIN).ind: \
336
${FIGSRC:.fig=.pdf} \
337
${PLOTSRC:.plot=.pdf} \
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; \
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' \
375
# uncomment: flags depend upon latex2html version
376
L2H_FLAGS = -white -image_type gif -noinfo -noaddress # -verbosity 3
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)
382
if test x"${HAVE_LATEX_HYPEREF}" = x"YES"; then \
383
echo "\\usepackage{hyperref}" > have_hyperref.tex; \
385
echo "\\newcommand{\url}[1]{{\\tt {#1}}}" > have_hyperref.tex; \
392
cd ../../config; ${MAKE}
393
cd ../../util; ${MAKE}
394
cd ../../skit; ${MAKE}
395
cd ../../nfem; ${MAKE}
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; \
404
rm -rf $(DESTDIR)$(docdir)/*
406
web-install: rheolef.pdf
407
$(MKDIRHIER) $(WEB_DIR)
408
$(INSTALL_DATA) rheolef.pdf $(WEB_DIR)/rheolef.pdf
410
number-of-pages: rheolef.ps
411
@grep Pages rheolef.ps | sed -e '2,$$d' | awk '{print $$2}'
414
du -s $(PDF_SRC) $(PNG_SRC) | sort -n