Salome HOME
NPAL18095: Pb. with dump python and mesh group by filter.
[modules/smesh.git] / Makefile.in
1 #  Copyright (C) 2005  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
2 #  CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
3 #
4 #  This library is free software; you can redistribute it and/or
5 #  modify it under the terms of the GNU Lesser General Public
6 #  License as published by the Free Software Foundation; either
7 #  version 2.1 of the License.
8 #
9 #  This library is distributed in the hope that it will be useful,
10 #  but WITHOUT ANY WARRANTY; without even the implied warranty of
11 #  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
12 #  Lesser General Public License for more details.
13 #
14 #  You should have received a copy of the GNU Lesser General Public
15 #  License along with this library; if not, write to the Free Software
16 #  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
17 #
18 # See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
19 #
20 # -* Makefile *- 
21 #
22 # Author : Patrick GOLDBRONN (CEA)
23 # Date : 28/06/2001
24 # $Header$
25 #
26
27 # source path
28 top_srcdir=@top_srcdir@
29 top_builddir=.
30 srcdir=@srcdir@
31 VPATH=.:@srcdir@:@top_srcdir@/bin:./bin/salome:./resources:@top_srcdir@/resources:./bin:@top_srcdir@/idl
32
33
34 @COMMENCE@
35
36 SUBDIRS = idl src doc adm_local
37
38 RESOURCES_FILES = \
39 delete.png  \
40 mesh_add_sub.png \
41 mesh_algo_hexa.png \
42 mesh_algo_mefisto.png \
43 mesh_algo_quad.png \
44 mesh_algo_regular.png \
45 mesh_algo_tetra.png \
46 mesh_angle.png \
47 mesh_area.png \
48 mesh_aspect.png \
49 mesh_aspect_3d.png \
50 mesh_build_compound.png\
51 mesh_compute.png \
52 mesh_connectivity.png \
53 mesh_diagonal.png \
54 mesh_edit.png \
55 mesh_hexa_n.png \
56 mesh_hexa.png \
57 mesh_hypo_area.png \
58 mesh_hypo_length.png \
59 mesh_hypo_segment.png \
60 mesh_hypo_volume.png \
61 mesh_hypo_edit.png \
62 mesh_info.png \
63 advanced_mesh_info.png \
64 standard_mesh_info.png \
65 mesh_whatis.png \
66 mesh_init.png \
67 mesh_length.png \
68 mesh_length_2d.png \
69 mesh_free_edges.png \
70 mesh_free_edges_2d.png \
71 mesh_multi_edges.png \
72 mesh_multi_edges_2d.png \
73 mesh_line_n.png \
74 mesh_line.png \
75 mesh_move_node.png \
76 mesh_orientation.png \
77 mesh.png \
78 mesh_polygon.png \
79 mesh_polyhedron.png \
80 mesh_pyramid_n.png \
81 mesh_pyramid.png \
82 mesh_quad_n.png \
83 mesh_quad.png \
84 mesh_rem_element.png \
85 mesh_rem_node.png \
86 mesh_set_algo.png \
87 mesh_set_hypo.png \
88 mesh_shading.png \
89 mesh_shrink.png \
90 mesh_skew.png \
91 mesh_taper.png \
92 mesh_tetra_n.png \
93 mesh_tetra.png \
94 mesh_tree_algo_hexa.png \
95 mesh_tree_algo_mefisto.png \
96 mesh_tree_algo.png \
97 mesh_tree_algo_quad.png \
98 mesh_tree_algo_regular.png \
99 mesh_tree_algo_tetra.png \
100 mesh_tree_algo_netgen_2d3d.png \
101 mesh_tree_algo_netgen_2d.png \
102 mesh_tree_hypo_area.png \
103 mesh_tree_hypo_length.png \
104 mesh_tree_hypo.png \
105 mesh_tree_hypo_segment.png \
106 mesh_tree_hypo_volume.png \
107 mesh_tree_hypo_netgen.png \
108 mesh_tree_hypo_netgen_2d.png \
109 mesh_tree_mesh.png \
110 mesh_tree_importedmesh.png \
111 mesh_tree_mesh_warn.png \
112 mesh_tree_mesh_partial.png \
113 mesh_triangle_n.png \
114 mesh_triangle.png \
115 mesh_update.png \
116 mesh_vertex_n.png \
117 mesh_vertex.png \
118 mesh_volume_3d.png \
119 mesh_wireframe.png \
120 mesh_points.png \
121 mesh_wrap.png \
122 mesh_tree_group.png \
123 mesh_edit_group.png \
124 mesh_make_group.png \
125 mesh_union2tri.png \
126 mesh_uniontri.png \
127 mesh_cutquad.png \
128 mesh_smoothing.png \
129 mesh_renumbering_nodes.png \
130 mesh_renumbering_elements.png \
131 mesh_extrusion.png \
132 mesh_extrusionpath.png \
133 mesh_revolution.png \
134 ModuleMesh.png \
135 mesh_unionGroups.png \
136 mesh_intersectGroups.png \
137 mesh_cutGroups.png \
138 mesh_deleteGroups.png \
139 mesh_translation_vector.png \
140 mesh_translation_points.png \
141 mesh_rotation.png \
142 mesh_symmetry_point.png \
143 mesh_symmetry_axis.png \
144 mesh_symmetry_plane.png \
145 mesh_sew_freeborders.png \
146 mesh_sew_conform_freeborders.png \
147 mesh_sew_bordertoside.png \
148 mesh_sew_sideelements.png \
149 mesh_merge_nodes.png \
150 mesh_merge_elements.png \
151 select1.png \
152 SMESH_en.xml \
153 SMESH.config \
154 StdMeshers.xml \
155 SMESHCatalog.xml \
156 SalomeApp.xml \
157 mesh_pattern.png \
158 pattern_sample_2d.png \
159 pattern_sample_3D.png \
160 mesh_add.png \
161 mesh_remove.png \
162 mesh_quad_edge.png \
163 mesh_quad_triangle.png \
164 mesh_quad_quadrangle.png \
165 mesh_quad_tetrahedron.png \
166 mesh_quad_pyramid.png \
167 mesh_quad_pentahedron.png \
168 mesh_quad_hexahedron.png \
169 mesh_conv_to_quad.png \
170 mesh_tree_hypo_layers_distribution.png \
171 mesh_tree_algo_radial_prism.png \
172 mesh_tree_algo_projection_3d.png \
173 mesh_tree_algo_projection_2d.png \
174 mesh_hypo_source_edge.png \
175 mesh_hypo_source_3d.png \
176 mesh_hypo_layer_distribution.png \
177 mesh_hypo_source_face.png \
178 mesh_tree_hypo_source_face.png \
179 mesh_tree_hypo_source_edge.png \
180 mesh_tree_hypo_source_3d_shape.png \
181 mesh_tree_hypo_projection_3d.png \
182 mesh_tree_hypo_projection_2d.png \
183 mesh_node_to_point.png
184
185 BIN_SCRIPT= \
186 VERSION
187
188 # copy header files in common directory
189
190 include_list = include/salome/SALOMEconfig.h \
191                include/salome/SMESH_version.h
192
193 ifneq ($(HAVE_SSTREAM),yes)
194         include_list += include/salome/sstream
195 endif
196
197 inc: idl $(include_list)
198
199 bin: bin/salome/VERSION
200
201 bin/salome/VERSION : bin/VERSION
202         -$(RM) $@
203         $(LN_S) ../../$< $@
204
205 include/salome/SALOMEconfig.h: salome_adm/unix/SALOMEconfig.ref
206         -$(RM) $@
207         $(LN_S) ../../$< $@
208
209 # test if SALOMEconfig.h has changed (contents)
210 salome_adm/unix/SALOMEconfig.ref: salome_adm/unix/SALOMEconfig.h
211         @if ! [ -a $@ ]; then \
212           cp -p -f $< $@;        \
213         fi;                   \
214         if ! cmp $< $@; then  \
215           cp -p -f $< $@;        \
216         fi;                   \
217
218 include/salome/sstream: salome_adm/unix/sstream
219         -$(RM) $@
220         $(LN_S) ../../$< $@
221
222 include/salome/SMESH_version.h: SMESH_version.h
223         -$(RM) $@
224         $(LN_S) ../../$< $@
225
226 depend: depend_idl
227
228 depend_idl:
229         (cd idl ; $(MAKE) $@) || exit 1
230
231 # doc is already build : if you want to had documents, go manually to doc and run 'make doc'
232 #doc:
233 #       (cd doc && $(MAKE) $@) || exit 1
234
235 install-end:
236 # finish libtool install
237 #       @$(LT) --mode=finish $(libdir)
238
239 install-include: $(include_list)
240         $(INSTALL) -d  $(includedir)
241         @for f in X $(include_list); do                         \
242            if test $$f != X; then                               \
243              ($(INSTALL_DATA) -p $$f $(includedir)/. || exit 1);        \
244            fi;                                                  \
245         done
246
247 # install script in $(bindir) :
248 install-bin: $(BIN_SCRIPT)
249         $(INSTALL) -d  $(bindir)
250         if test $(BIN_SCRIPT)X != X; then                       \
251                 $(INSTALL_PROGRAM) $^ $(bindir);                \
252         fi
253
254 uninstall: uninstall-idl
255
256 uninstall-idl:
257         $(RM) $(idldir)/*.idl
258
259 distclean: distclean-other
260
261 distclean-other:
262         -$(RM) salome_adm/unix/*~ salome_adm/unix/*% salome_adm/unix/*.bak salome_adm/unix/*.new salome_adm/unix/*.old
263         -$(RM) salome_adm/unix/make_* 
264         -$(RM) salome_adm/unix/depend salome_adm/unix/SALOMEconfig.h 
265         -$(RM) config.cache config.log config.status 
266
267 @MODULE@
268
269 install: install-bin install-include install-end
270