File: Makefile.am

package info (click to toggle)
p4est 2.3.6-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 8,536 kB
  • sloc: ansic: 87,528; makefile: 855; sh: 635; perl: 272; python: 226; awk: 40; javascript: 23
file content (220 lines) | stat: -rw-r--r-- 9,438 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
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220

# This file is part of p4est.
# Makefile.am test
# included non-recursively from toplevel directory

p4est_test_programs =
if P4EST_ENABLE_BUILD_2D
p4est_test_programs += \
        test/p4est_test_comm test/p4est_test_hash \
        test/p4est_test_quadrants test/p4est_test_balance \
        test/p4est_test_partition test/p4est_test_coarsen \
        test/p4est_test_balance_type \
        test/p4est_test_order \
        test/p4est_test_load test/p4est_test_ghost \
        test/p4est_test_mesh_bijective test/p4est_test_conn_transformation \
        test/p4est_test_iterate test/p4est_test_lnodes \
        test/p4est_test_search test/p4est_test_brick \
	test/p4est_test_complete_subtree \
        test/p4est_test_partition_corr \
        test/p4est_test_conn_complete test/p4est_test_balance_seeds \
        test/p4est_test_wrap test/p4est_test_replace test/p4est_test_join \
        test/p4est_test_conn_reduce test/p4est_test_plex \
        test/p4est_test_connrefine \
        test/p4est_test_subcomm \
        test/p4est_test_nodes \
        test/p4est_test_version
if P4EST_WITH_METIS
p4est_test_programs += \
        test/p4est_test_reorder
endif
endif
if P4EST_ENABLE_BUILD_3D
p4est_test_programs += \
        test/p8est_test_quadrants test/p8est_test_balance \
        test/p8est_test_partition test/p8est_test_coarsen \
        test/p8est_test_balance_type \
        test/p8est_test_face_transform test/p8est_test_edge_face_corners \
        test/p8est_test_periodic \
        test/p8est_test_load test/p8est_test_ghost \
        test/p8est_test_mesh_bijective test/p8est_test_conn_transformation \
        test/p8est_test_iterate test/p8est_test_lnodes \
        test/p8est_test_search test/p8est_test_brick \
        test/p8est_test_partition_corr \
        test/p8est_test_conn_complete test/p8est_test_balance_seeds \
        test/p8est_test_wrap test/p8est_test_replace test/p8est_test_join \
        test/p8est_test_conn_reduce test/p8est_test_plex \
        test/p8est_test_connrefine \
        test/p8est_test_subcomm \
        test/p8est_test_nodes \
        test/p8est_test_version
if P4EST_WITH_METIS
p4est_test_programs += \
        test/p8est_test_reorder
endif
endif
if P4EST_ENABLE_BUILD_2D
if P4EST_ENABLE_BUILD_3D
if P4EST_ENABLE_BUILD_P6EST
p4est_test_programs += test/p6est_test_all
endif
endif
endif

check_PROGRAMS += $(p4est_test_programs)

## We must wrap this into P4EST_ENABLE_BUILD_2D etc.
## Otherwise automake generates the targets and it will be legal
## to call make test/p4est_test_comm even when BUILD_2D is off,
## which will fail due to missing dependencies from libp4est.so.

if P4EST_ENABLE_BUILD_2D
test_p4est_test_comm_SOURCES = test/test_comm.c
test_p4est_test_hash_SOURCES = test/test_hash.c
test_p4est_test_quadrants_SOURCES = test/test_quadrants2.c
test_p4est_test_balance_SOURCES = test/test_balance2.c
test_p4est_test_partition_SOURCES = test/test_partition2.c
test_p4est_test_order_SOURCES = test/test_order.c
test_p4est_test_coarsen_SOURCES = test/test_coarsen2.c
test_p4est_test_balance_type_SOURCES = test/test_balance_type2.c
test_p4est_test_load_SOURCES = test/test_load2.c
test_p4est_test_ghost_SOURCES = test/test_ghost2.c
test_p4est_test_mesh_bijective_SOURCES = test/test_mesh_bijective2.c
test_p4est_test_conn_transformation_SOURCES = test/test_conn_transformation2.c
test_p4est_test_iterate_SOURCES = test/test_iterate2.c
test_p4est_test_lnodes_SOURCES = test/test_lnodes2.c
test_p4est_test_search_SOURCES = test/test_search2.c
test_p4est_test_complete_subtree_SOURCES = test/test_complete_subtree.c
test_p4est_test_brick_SOURCES = test/test_brick2.c
test_p4est_test_partition_corr_SOURCES = test/test_partition_corr2.c
test_p4est_test_conn_complete_SOURCES = test/test_conn_complete2.c
test_p4est_test_balance_seeds_SOURCES = test/test_balance_seeds2.c
test_p4est_test_wrap_SOURCES = test/test_wrap2.c
test_p4est_test_replace_SOURCES = test/test_replace2.c
test_p4est_test_join_SOURCES = test/test_join2.c
test_p4est_test_conn_reduce_SOURCES = test/test_conn_reduce2.c
test_p4est_test_plex_SOURCES = test/test_plex2.c
test_p4est_test_connrefine_SOURCES = test/test_connrefine2.c
test_p4est_test_subcomm_SOURCES = test/test_subcomm2.c
test_p4est_test_nodes_SOURCES = test/test_nodes2.c
test_p4est_test_version_SOURCES = test/test_version.c
if P4EST_WITH_METIS
test_p4est_test_reorder_SOURCES = test/test_reorder2.c
endif

test_p4est_test_plex_CPPFLAGS = @P4EST_PETSC_INCLUDE_DIRS@ $(AM_CPPFLAGS)
test_p4est_test_plex_LDADD = @P4EST_PETSC_LINK_LIBS@ $(LDADD)
endif

if P4EST_ENABLE_BUILD_3D
test_p8est_test_quadrants_SOURCES = test/test_quadrants3.c
test_p8est_test_balance_SOURCES = test/test_balance3.c
test_p8est_test_partition_SOURCES = test/test_partition3.c
test_p8est_test_coarsen_SOURCES = test/test_coarsen3.c
test_p8est_test_balance_type_SOURCES = test/test_balance_type3.c
test_p8est_test_face_transform_SOURCES = test/test_face_transform3.c
test_p8est_test_edge_face_corners_SOURCES = test/test_edge_face_corners3.c
test_p8est_test_periodic_SOURCES = test/test_periodic3.c
test_p8est_test_load_SOURCES = test/test_load3.c
test_p8est_test_ghost_SOURCES = test/test_ghost3.c
test_p8est_test_mesh_bijective_SOURCES = test/test_mesh_bijective3.c
test_p8est_test_conn_transformation_SOURCES = test/test_conn_transformation3.c
test_p8est_test_brick_SOURCES = test/test_brick3.c
test_p8est_test_iterate_SOURCES = test/test_iterate3.c
test_p8est_test_lnodes_SOURCES = test/test_lnodes3.c
test_p8est_test_search_SOURCES = test/test_search3.c
test_p8est_test_partition_corr_SOURCES = test/test_partition_corr3.c
test_p8est_test_conn_complete_SOURCES = test/test_conn_complete3.c
test_p8est_test_balance_seeds_SOURCES = test/test_balance_seeds3.c
test_p8est_test_wrap_SOURCES = test/test_wrap3.c
test_p8est_test_replace_SOURCES = test/test_replace3.c
test_p8est_test_join_SOURCES = test/test_join3.c
test_p8est_test_conn_reduce_SOURCES = test/test_conn_reduce3.c
test_p8est_test_plex_SOURCES = test/test_plex3.c
test_p8est_test_connrefine_SOURCES = test/test_connrefine3.c
test_p8est_test_subcomm_SOURCES = test/test_subcomm3.c
test_p8est_test_nodes_SOURCES = test/test_nodes3.c
test_p8est_test_version_SOURCES = test/test_version.c
if P4EST_WITH_METIS
test_p8est_test_reorder_SOURCES = test/test_reorder3.c
endif

test_p8est_test_plex_CPPFLAGS = @P4EST_PETSC_INCLUDE_DIRS@ $(AM_CPPFLAGS)
test_p8est_test_plex_LDADD = @P4EST_PETSC_LINK_LIBS@ $(LDADD)
endif

if P4EST_ENABLE_BUILD_2D
if P4EST_ENABLE_BUILD_3D
if P4EST_ENABLE_BUILD_P6EST
test_p6est_test_all_SOURCES = test/test_all6.c
endif
endif
endif

TESTS += $(p4est_test_programs)

LINT_CSOURCES += \
        $(test_p4est_test_comm_SOURCES) \
        $(test_p4est_test_hash_SOURCES) \
        $(test_p4est_test_quadrants_SOURCES) \
        $(test_p4est_test_balance_SOURCES) \
        $(test_p4est_test_partition_SOURCES) \
        $(test_p4est_test_order_SOURCES) \
        $(test_p4est_test_coarsen_SOURCES) \
        $(test_p4est_test_balance_type_SOURCES) \
        $(test_p4est_test_load_SOURCES) \
        $(test_p4est_test_ghost_SOURCES) \
        $(test_p4est_test_mesh_bijective_SOURCES) \
        $(test_p4est_test_conn_transformation_SOURCES) \
        $(test_p4est_test_iterate_SOURCES) \
        $(test_p4est_test_lnodes_SOURCES) \
        $(test_p4est_test_search_SOURCES) \
        $(test_p4est_test_complete_subtree_SOURCES) \
        $(test_p4est_test_brick_SOURCES) \
        $(test_p4est_test_partition_corr_SOURCES) \
        $(test_p4est_test_reorder_SOURCES) \
        $(test_p4est_test_balance_seeds_SOURCES) \
        $(test_p4est_test_wrap_SOURCES) \
        $(test_p4est_test_replace_SOURCES) \
        $(test_p4est_test_join_SOURCES) \
        $(test_p4est_test_conn_reduce_SOURCES) \
        $(test_p4est_test_plex_SOURCES) \
        $(test_p4est_test_connrefine_SOURCES) \
        $(test_p4est_test_subcomm_SOURCES) \
        $(test_p4est_test_nodes_SOURCES) \
        $(test_p4est_test_version_SOURCES) \
        $(test_p8est_test_quadrants_SOURCES) \
        $(test_p8est_test_balance_SOURCES) \
        $(test_p8est_test_partition_SOURCES) \
        $(test_p8est_test_coarsen_SOURCES) \
        $(test_p8est_test_balance_type_SOURCES) \
        $(test_p8est_test_face_transform_SOURCES) \
        $(test_p8est_test_edge_face_corners_SOURCES) \
        $(test_p8est_test_periodic_SOURCES) \
        $(test_p8est_test_load_SOURCES) \
        $(test_p8est_test_ghost_SOURCES) \
        $(test_p8est_test_mesh_bijective_SOURCES) \
        $(test_p8est_test_conn_transformation_SOURCES) \
        $(test_p8est_test_brick_SOURCES) \
        $(test_p8est_test_iterate_SOURCES) \
        $(test_p8est_test_lnodes_SOURCES) \
        $(test_p8est_test_search_SOURCES) \
        $(test_p8est_test_reorder_SOURCES) \
        $(test_p8est_test_partition_corr_SOURCES) \
        $(test_p8est_test_balance_seeds_SOURCES) \
        $(test_p8est_test_wrap_SOURCES) \
        $(test_p8est_test_replace_SOURCES) \
        $(test_p8est_test_join_SOURCES) \
        $(test_p8est_test_conn_reduce_SOURCES) \
        $(test_p8est_test_plex_SOURCES) \
        $(test_p8est_test_connrefine_SOURCES) \
        $(test_p8est_test_subcomm_SOURCES) \
        $(test_p8est_test_nodes_SOURCES) \
        $(test_p8est_test_version_SOURCES) \
        $(test_p6est_test_all_SOURCES)

if P4EST_WITH_METIS
LINT_CSOURCES += \
        $(test_p4est_test_reorder_SOURCES) \
        $(test_p8est_test_reorder_SOURCES)
endif