File: Makefile.am

package info (click to toggle)
freefem%2B%2B 4.11%2Bdfsg1-3
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 57,196 kB
  • sloc: cpp: 225,276; ansic: 29,162; makefile: 4,046; sh: 2,422; fortran: 1,115; perl: 865; pascal: 452; awk: 295; f90: 32; exp: 16
file content (159 lines) | stat: -rw-r--r-- 4,746 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
############################################################################
# This file is part of FreeFEM.                                            #
#                                                                          #
# FreeFEM is free software: you can redistribute it and/or modify          #
# it under the terms of the GNU Lesser General Public License as           #
# published by the Free Software Foundation, either version 3 of           #
# the License, or (at your option) any later version.                      #
#                                                                          #
# FreeFEM is distributed in the hope that it will be useful,               #
# but WITHOUT ANY WARRANTY; without even the implied warranty of           #
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the            #
# GNU Lesser General Public License for more details.                      #
#                                                                          #
# You should have received a copy of the GNU Lesser General Public License #
# along with FreeFEM. If not, see <http://www.gnu.org/licenses/>.          #
############################################################################
# SUMMARY : Makefile for FreeFEM
# LICENSE : LGPLv3
# ORG     : LJLL Universite Pierre et Marie Curie, Paris, FRANCE
# AUTHORS : ...
# E-MAIL  : ...

LOG_DRIVER = $(SHELL) $(top_srcdir)/bin/test-driver-ff
TESTS_ENVIRONMENT = TEST_FFPP=$(TEST_FFPP) FLAGS_FFPP=-nw LIST_CONDITIONAL="$(LIST_CONDITIONAL)"

all-local: all.edp regtests.edp freefem++.pref

TESTS_OTHER = 3d-Leman.edp \
	ArrayFE-3d.edp \
	beam-3d.edp \
	cone.edp \
	convect-3d.edp \
	cube-period.edp \
	cylinder-3d.edp \
	EqPoisson.edp \
	extract-boundary3d.edp \
	first.edp \
	intlevelset3d.edp \
	Lac.edp \
	Laplace3d.edp \
	LaplaceRT-3d.edp \
	meditddm.edp \
	NSI3d-carac.edp \
	NSI3d.edp \
	p.edp \
	periodic-3d.edp \
	Poisson.edp \
	pyramide.edp \
	sphere2.edp \
	sphere6.edp \
	Stokes.edp \
	TruncLac.edp \
	crack-3d.edp \
	periodic3.edp \
	LapDG3d1.edp \
	LapDG3d.edp

TESTS_METIS = schwarz-nm-3d.edp

TESTS_TETGEN = cylinder.edp \
	Poisson3d.edp \
	Poisson-cube-ballon.edp \
	refinesphere.edp \
	tetgencube.edp \
	tetgenholeregion.edp

TESTS_TETGEN_MMG = Sphere-Isocahedron.edp Period-Poisson-cube-ballon.edp \
	sphereincube.edp

TESTS_TETGEN_MMG_MSHMET = Laplace-Adapt-aniso-3d.edp

TESTS_TETGEN_GSL = bottle.edp

TESTS_TETGEN_MMG3D_MMG = fallingspheres.edp

TESTS_TETGEN_MSHMET = Laplace-Adapt-3d.edp

if METIS
CONDITIONAL_METIS = $(TESTS_METIS)
endif METIS

if TETGEN
CONDITIONAL_TETGEN = $(TESTS_TETGEN)
if MMG
CONDITIONAL_TETGEN_MMG = $(TESTS_TETGEN_MMG)
if MSHMET
CONDITIONAL_TETGEN_MMG_MSHMET = $(TESTS_TETGEN_MMG_MSHMET)
endif MSHMET
endif MMG

if GSL
CONDITIONAL_TETGEN_GSL = $(TESTS_TETGEN_GSL)
endif GSL
if MMG3D
if MMG
CONDITIONAL_TETGEN_MMG3D_MMG = $(TESTS_TETGEN_MMG3D_MMG)
endif MMG
endif MMG3D
if MSHMET
CONDITIONAL_TETGEN_MSHMET = $(TESTS_TETGEN_MSHMET)
endif MSHMET

endif TETGEN

TESTS = $(TESTS_OTHER) \
	$(TESTS_METIS) \
	$(TESTS_TETGEN) \
	$(TESTS_TETGEN_FREEYAMS) \
	$(TESTS_TETGEN_FREEYAMS_MMG3D_MSHMET) \
	$(TESTS_TETGEN_GSL)  \
	$(TESTS_TETGEN_MMG3D_MMG) \
	$(TESTS_TETGEN_MSHMET)

LIST_CONDITIONAL = $(TESTS_OTHER) \
	$(CONDITIONAL_METIS) \
	$(CONDITIONAL_TETGEN) \
	$(CONDITIONAL_TETGEN_MMG) \
	$(CONDITIONAL_TETGEN_MMG_MSHMET) \
	$(CONDITIONAL_TETGEN_GSL) \
	$(CONDITIONAL_TETGEN_MMG3D_MMG) \
	$(CONDITIONAL_TETGEN_MSHMET)

XFAIL_TESTS =

EXTRA_DIST = *.edp \
	all.edp \
	regtests.edp \
	regtests.m4 \
	ref.edp \
	dodecaedre01.mesh \
	lac-leman-v4.msh

all.edp: Makefile
	(echo "NoGraphicWindow=true;NoUseOfWait=true;int verbosityy=verbosity;int MEM1234=storageused();"; \
	for i in *`ls *.edp|grep -v -E '^(all|regtests|makeref|ref)\.edp$$' | LC_ALL=C sort` ; do \
		echo ' cout << "--------- file : '$$i' --------------------------------------------------------" << endl;' ;\
		echo "verbosity=verbosityy;searchMethod=0;" ; \
		echo \{ include \"$$i\"\;\}\; ;\
		echo ' cout << " mem leak = " <<storageused() - MEM1234 << endl << "------------------------------------------------------------------------------ " << endl;' ;\
	done) > $@

# To create a new set of reference values in "ref.edp"
Ref: makeref.edp freefem++.pref
	export FF_LOADPATH=../../plugin/seq/.;../../src/nw/FreeFem++-nw makeref.edp

makeref.edp: regtests.m4 ../../etc/config/m4/regtests.m4
	m4 regtests.m4 > makeref.edp

freefem++.pref:Makefile
	echo includepath = \"../../idp/\" > freefem++.pref
	echo loadpath = \"../../plugin/seq/\" >> freefem++.pref

3d-Leman.edp: freefem++.pref

# To check the scripts against their reference values
regtests.edp: regtests.m4 ../../etc/config/m4/regtests.m4
	m4 -DASSERT regtests.m4 > regtests.edp

FORCE: