1 # Copyright (C) 2005 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
2 # CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
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.
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.
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
18 # See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
22 # Author : Patrick GOLDBRONN (CEA)
28 top_srcdir=@top_srcdir@
31 VPATH=.:@srcdir@:@top_srcdir@/bin:./bin/salome:./resources:@top_srcdir@/resources:./bin:@top_srcdir@/idl
36 SUBDIRS = idl src doc adm_local
42 mesh_algo_mefisto.png \
44 mesh_algo_regular.png \
51 mesh_connectivity.png \
57 mesh_hypo_length.png \
58 mesh_hypo_segment.png \
59 mesh_hypo_volume.png \
62 advanced_mesh_info.png \
63 standard_mesh_info.png \
68 mesh_free_edges_2d.png \
69 mesh_multi_edges.png \
70 mesh_multi_edges_2d.png \
74 mesh_orientation.png \
82 mesh_rem_element.png \
92 mesh_tree_algo_hexa.png \
93 mesh_tree_algo_mefisto.png \
95 mesh_tree_algo_quad.png \
96 mesh_tree_algo_regular.png \
97 mesh_tree_algo_tetra.png \
98 mesh_tree_algo_netgen_2d3d.png \
99 mesh_tree_algo_netgen_2d.png \
100 mesh_tree_hypo_area.png \
101 mesh_tree_hypo_length.png \
103 mesh_tree_hypo_segment.png \
104 mesh_tree_hypo_volume.png \
105 mesh_tree_hypo_netgen.png \
106 mesh_tree_hypo_netgen_2d.png \
108 mesh_tree_importedmesh.png \
109 mesh_tree_mesh_warn.png \
110 mesh_triangle_n.png \
119 mesh_tree_group.png \
120 mesh_edit_group.png \
121 mesh_make_group.png \
126 mesh_renumbering_nodes.png \
127 mesh_renumbering_elements.png \
129 mesh_extrusionpath.png \
130 mesh_revolution.png \
132 mesh_unionGroups.png \
133 mesh_intersectGroups.png \
135 mesh_deleteGroups.png \
136 mesh_translation_vector.png \
137 mesh_translation_points.png \
139 mesh_symmetry_point.png \
140 mesh_symmetry_axis.png \
141 mesh_symmetry_plane.png \
142 mesh_sew_freeborders.png \
143 mesh_sew_conform_freeborders.png \
144 mesh_sew_bordertoside.png \
145 mesh_sew_sideelements.png \
146 mesh_merge_nodes.png \
147 mesh_merge_elements.png \
155 pattern_sample_2d.png \
156 pattern_sample_3D.png \
160 mesh_quad_triangle.png \
161 mesh_quad_quadrangle.png \
162 mesh_quad_tetrahedron.png \
163 mesh_quad_pyramid.png \
164 mesh_quad_pentahedron.png \
165 mesh_quad_hexahedron.png \
166 mesh_conv_to_quad.png
171 # copy header files in common directory
173 include_list = include/salome/SALOMEconfig.h \
174 include/salome/SMESH_version.h
176 ifneq ($(HAVE_SSTREAM),yes)
177 include_list += include/salome/sstream
180 inc: idl $(include_list)
182 bin: bin/salome/VERSION
184 bin/salome/VERSION : bin/VERSION
188 include/salome/SALOMEconfig.h: salome_adm/unix/SALOMEconfig.ref
192 # test if SALOMEconfig.h has changed (contents)
193 salome_adm/unix/SALOMEconfig.ref: salome_adm/unix/SALOMEconfig.h
194 @if ! [ -a $@ ]; then \
197 if ! cmp $< $@; then \
201 include/salome/sstream: salome_adm/unix/sstream
205 include/salome/SMESH_version.h: SMESH_version.h
212 (cd idl ; $(MAKE) $@) || exit 1
214 # doc is already build : if you want to had documents, go manually to doc and run 'make doc'
216 # (cd doc && $(MAKE) $@) || exit 1
219 # finish libtool install
220 # @$(LT) --mode=finish $(libdir)
222 install-include: $(include_list)
223 $(INSTALL) -d $(includedir)
224 @for f in X $(include_list); do \
225 if test $$f != X; then \
226 ($(INSTALL_DATA) -p $$f $(includedir)/. || exit 1); \
230 # install script in $(bindir) :
231 install-bin: $(BIN_SCRIPT)
232 $(INSTALL) -d $(bindir)
233 if test $(BIN_SCRIPT)X != X; then \
234 $(INSTALL_PROGRAM) $^ $(bindir); \
237 uninstall: uninstall-idl
240 $(RM) $(idldir)/*.idl
242 distclean: distclean-other
245 -$(RM) salome_adm/unix/*~ salome_adm/unix/*% salome_adm/unix/*.bak salome_adm/unix/*.new salome_adm/unix/*.old
246 -$(RM) salome_adm/unix/make_*
247 -$(RM) salome_adm/unix/depend salome_adm/unix/SALOMEconfig.h
248 -$(RM) config.cache config.log config.status
252 install: install-bin install-include install-end