2006-06-14 19:58:32 +06:00
|
|
|
# Copyright (C) 2005 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
|
|
|
|
# CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
|
|
|
|
#
|
|
|
|
# This library 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 2.1 of the License.
|
|
|
|
#
|
|
|
|
# This library 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 this library; if not, write to the Free Software
|
|
|
|
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
|
|
|
#
|
|
|
|
# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
|
|
|
|
#
|
2003-05-19 19:18:36 +06:00
|
|
|
# -* Makefile *-
|
|
|
|
#
|
|
|
|
# Author : Patrick GOLDBRONN (CEA)
|
|
|
|
# Date : 28/06/2001
|
|
|
|
# $Header$
|
|
|
|
#
|
|
|
|
|
|
|
|
# source path
|
|
|
|
top_srcdir=@top_srcdir@
|
|
|
|
top_builddir=.
|
|
|
|
srcdir=@srcdir@
|
2006-06-14 19:58:32 +06:00
|
|
|
VPATH=.:@srcdir@:@top_srcdir@/bin:./bin/salome:./resources:@top_srcdir@/resources:./bin:@top_srcdir@/idl
|
2003-05-19 19:18:36 +06:00
|
|
|
|
|
|
|
|
|
|
|
@COMMENCE@
|
|
|
|
|
2006-06-14 19:58:32 +06:00
|
|
|
SUBDIRS = idl src doc adm_local
|
2003-05-19 19:18:36 +06:00
|
|
|
|
|
|
|
RESOURCES_FILES = \
|
|
|
|
delete.png \
|
|
|
|
mesh_add_sub.png \
|
|
|
|
mesh_algo_hexa.png \
|
|
|
|
mesh_algo_mefisto.png \
|
|
|
|
mesh_algo_quad.png \
|
|
|
|
mesh_algo_regular.png \
|
2003-12-08 20:43:20 +05:00
|
|
|
mesh_algo_tetra.png \
|
2003-05-19 19:18:36 +06:00
|
|
|
mesh_angle.png \
|
|
|
|
mesh_area.png \
|
|
|
|
mesh_aspect.png \
|
2005-01-20 11:25:54 +05:00
|
|
|
mesh_aspect_3d.png \
|
2003-05-19 19:18:36 +06:00
|
|
|
mesh_compute.png \
|
|
|
|
mesh_connectivity.png \
|
|
|
|
mesh_diagonal.png \
|
|
|
|
mesh_edit.png \
|
|
|
|
mesh_hexa_n.png \
|
|
|
|
mesh_hexa.png \
|
|
|
|
mesh_hypo_area.png \
|
|
|
|
mesh_hypo_length.png \
|
|
|
|
mesh_hypo_segment.png \
|
|
|
|
mesh_hypo_volume.png \
|
2005-08-23 14:33:01 +06:00
|
|
|
mesh_hypo_edit.png \
|
2003-05-19 19:18:36 +06:00
|
|
|
mesh_info.png \
|
2004-12-17 16:07:35 +05:00
|
|
|
advanced_mesh_info.png \
|
|
|
|
standard_mesh_info.png \
|
2003-05-19 19:18:36 +06:00
|
|
|
mesh_init.png \
|
|
|
|
mesh_length.png \
|
2005-01-20 11:25:54 +05:00
|
|
|
mesh_length_2d.png \
|
2004-06-18 14:34:31 +06:00
|
|
|
mesh_free_edges.png \
|
2005-01-20 11:25:54 +05:00
|
|
|
mesh_free_edges_2d.png \
|
2004-06-18 14:34:31 +06:00
|
|
|
mesh_multi_edges.png \
|
2005-01-20 11:25:54 +05:00
|
|
|
mesh_multi_edges_2d.png \
|
2003-05-19 19:18:36 +06:00
|
|
|
mesh_line_n.png \
|
|
|
|
mesh_line.png \
|
|
|
|
mesh_move_node.png \
|
|
|
|
mesh_orientation.png \
|
|
|
|
mesh.png \
|
2005-06-07 19:22:20 +06:00
|
|
|
mesh_polygon.png \
|
|
|
|
mesh_polyhedron.png \
|
2003-05-19 19:18:36 +06:00
|
|
|
mesh_pyramid_n.png \
|
|
|
|
mesh_pyramid.png \
|
|
|
|
mesh_quad_n.png \
|
|
|
|
mesh_quad.png \
|
|
|
|
mesh_rem_element.png \
|
|
|
|
mesh_rem_node.png \
|
|
|
|
mesh_set_algo.png \
|
|
|
|
mesh_set_hypo.png \
|
|
|
|
mesh_shading.png \
|
|
|
|
mesh_shrink.png \
|
|
|
|
mesh_skew.png \
|
|
|
|
mesh_taper.png \
|
|
|
|
mesh_tetra_n.png \
|
|
|
|
mesh_tetra.png \
|
|
|
|
mesh_tree_algo_hexa.png \
|
|
|
|
mesh_tree_algo_mefisto.png \
|
|
|
|
mesh_tree_algo.png \
|
|
|
|
mesh_tree_algo_quad.png \
|
|
|
|
mesh_tree_algo_regular.png \
|
2003-12-08 20:43:20 +05:00
|
|
|
mesh_tree_algo_tetra.png \
|
2006-06-14 19:58:32 +06:00
|
|
|
mesh_tree_algo_netgen_2d3d.png \
|
|
|
|
mesh_tree_algo_netgen_2d.png \
|
2003-05-19 19:18:36 +06:00
|
|
|
mesh_tree_hypo_area.png \
|
|
|
|
mesh_tree_hypo_length.png \
|
|
|
|
mesh_tree_hypo.png \
|
|
|
|
mesh_tree_hypo_segment.png \
|
|
|
|
mesh_tree_hypo_volume.png \
|
2006-06-14 19:58:32 +06:00
|
|
|
mesh_tree_hypo_netgen.png \
|
|
|
|
mesh_tree_hypo_netgen_2d.png \
|
2003-05-19 19:18:36 +06:00
|
|
|
mesh_tree_mesh.png \
|
2004-06-18 14:34:31 +06:00
|
|
|
mesh_tree_importedmesh.png \
|
2003-05-19 19:18:36 +06:00
|
|
|
mesh_tree_mesh_warn.png \
|
|
|
|
mesh_triangle_n.png \
|
|
|
|
mesh_triangle.png \
|
|
|
|
mesh_update.png \
|
|
|
|
mesh_vertex_n.png \
|
|
|
|
mesh_vertex.png \
|
2005-10-28 17:56:18 +06:00
|
|
|
mesh_volume_3d.png \
|
2003-05-19 19:18:36 +06:00
|
|
|
mesh_wireframe.png \
|
2004-06-18 14:34:31 +06:00
|
|
|
mesh_points.png \
|
2003-05-19 19:18:36 +06:00
|
|
|
mesh_wrap.png \
|
2004-06-18 14:34:31 +06:00
|
|
|
mesh_tree_group.png \
|
|
|
|
mesh_edit_group.png \
|
|
|
|
mesh_make_group.png \
|
2004-12-01 15:48:31 +05:00
|
|
|
mesh_union2tri.png \
|
|
|
|
mesh_uniontri.png \
|
|
|
|
mesh_cutquad.png \
|
|
|
|
mesh_smoothing.png \
|
|
|
|
mesh_renumbering_nodes.png \
|
|
|
|
mesh_renumbering_elements.png \
|
|
|
|
mesh_extrusion.png \
|
2005-01-20 11:25:54 +05:00
|
|
|
mesh_extrusionpath.png \
|
2004-12-01 15:48:31 +05:00
|
|
|
mesh_revolution.png \
|
2003-05-19 19:18:36 +06:00
|
|
|
ModuleMesh.png \
|
2004-12-01 15:48:31 +05:00
|
|
|
mesh_unionGroups.png \
|
|
|
|
mesh_intersectGroups.png \
|
|
|
|
mesh_cutGroups.png \
|
|
|
|
mesh_deleteGroups.png \
|
|
|
|
mesh_translation_vector.png \
|
|
|
|
mesh_translation_points.png \
|
|
|
|
mesh_rotation.png \
|
|
|
|
mesh_symmetry_point.png \
|
|
|
|
mesh_symmetry_axis.png \
|
|
|
|
mesh_symmetry_plane.png \
|
|
|
|
mesh_sew_freeborders.png \
|
|
|
|
mesh_sew_conform_freeborders.png \
|
|
|
|
mesh_sew_bordertoside.png \
|
|
|
|
mesh_sew_sideelements.png \
|
|
|
|
mesh_merge_nodes.png \
|
2005-08-09 17:31:29 +06:00
|
|
|
mesh_merge_elements.png \
|
2003-05-19 19:18:36 +06:00
|
|
|
select1.png \
|
2003-05-20 13:15:46 +06:00
|
|
|
SMESH_en.xml \
|
2004-06-18 14:34:31 +06:00
|
|
|
SMESH.config \
|
|
|
|
StdMeshers.xml \
|
2003-12-08 20:43:20 +05:00
|
|
|
SMESHCatalog.xml \
|
2006-06-14 19:58:32 +06:00
|
|
|
SalomeApp.xml \
|
2004-12-01 15:48:31 +05:00
|
|
|
mesh_pattern.png \
|
|
|
|
pattern_sample_2d.png \
|
2005-01-20 11:25:54 +05:00
|
|
|
pattern_sample_3D.png \
|
|
|
|
mesh_add.png \
|
2006-06-14 19:58:32 +06:00
|
|
|
mesh_remove.png \
|
|
|
|
mesh_quad_edge.png \
|
|
|
|
mesh_quad_triangle.png \
|
|
|
|
mesh_quad_quadrangle.png \
|
|
|
|
mesh_quad_tetrahedron.png \
|
|
|
|
mesh_quad_pyramid.png \
|
|
|
|
mesh_quad_pentahedron.png \
|
|
|
|
mesh_quad_hexahedron.png \
|
|
|
|
mesh_conv_to_quad.png
|
2003-05-19 19:18:36 +06:00
|
|
|
|
2003-05-28 13:21:07 +06:00
|
|
|
BIN_SCRIPT= \
|
|
|
|
VERSION
|
|
|
|
|
2003-05-19 19:18:36 +06:00
|
|
|
# copy header files in common directory
|
2006-06-14 19:58:32 +06:00
|
|
|
|
|
|
|
include_list = include/salome/SALOMEconfig.h \
|
|
|
|
include/salome/SMESH_version.h
|
|
|
|
|
|
|
|
ifneq ($(HAVE_SSTREAM),yes)
|
|
|
|
include_list += include/salome/sstream
|
2003-05-19 19:18:36 +06:00
|
|
|
endif
|
|
|
|
|
|
|
|
inc: idl $(include_list)
|
|
|
|
|
2006-06-14 19:58:32 +06:00
|
|
|
bin: bin/salome/VERSION
|
|
|
|
|
|
|
|
bin/salome/VERSION : bin/VERSION
|
|
|
|
-$(RM) $@
|
|
|
|
$(LN_S) ../../$< $@
|
|
|
|
|
2003-06-12 16:37:21 +06:00
|
|
|
include/salome/SALOMEconfig.h: salome_adm/unix/SALOMEconfig.ref
|
2003-05-19 19:18:36 +06:00
|
|
|
-$(RM) $@
|
|
|
|
$(LN_S) ../../$< $@
|
|
|
|
|
2003-06-12 16:37:21 +06:00
|
|
|
# test if SALOMEconfig.h has changed (contents)
|
|
|
|
salome_adm/unix/SALOMEconfig.ref: salome_adm/unix/SALOMEconfig.h
|
|
|
|
@if ! [ -a $@ ]; then \
|
2004-06-18 14:34:31 +06:00
|
|
|
cp -p -f $< $@; \
|
2003-06-12 16:37:21 +06:00
|
|
|
fi; \
|
|
|
|
if ! cmp $< $@; then \
|
2004-06-18 14:34:31 +06:00
|
|
|
cp -p -f $< $@; \
|
2003-06-12 16:37:21 +06:00
|
|
|
fi; \
|
|
|
|
|
2003-05-19 19:18:36 +06:00
|
|
|
include/salome/sstream: salome_adm/unix/sstream
|
|
|
|
-$(RM) $@
|
|
|
|
$(LN_S) ../../$< $@
|
|
|
|
|
2006-06-14 19:58:32 +06:00
|
|
|
include/salome/SMESH_version.h: SMESH_version.h
|
|
|
|
-$(RM) $@
|
|
|
|
$(LN_S) ../../$< $@
|
|
|
|
|
2003-05-19 19:18:36 +06:00
|
|
|
depend: depend_idl
|
|
|
|
|
|
|
|
depend_idl:
|
|
|
|
(cd idl ; $(MAKE) $@) || exit 1
|
|
|
|
|
|
|
|
# doc is already build : if you want to had documents, go manually to doc and run 'make doc'
|
|
|
|
#doc:
|
|
|
|
# (cd doc && $(MAKE) $@) || exit 1
|
|
|
|
|
|
|
|
install-end:
|
|
|
|
# finish libtool install
|
|
|
|
# @$(LT) --mode=finish $(libdir)
|
|
|
|
|
|
|
|
install-include: $(include_list)
|
|
|
|
$(INSTALL) -d $(includedir)
|
|
|
|
@for f in X $(include_list); do \
|
|
|
|
if test $$f != X; then \
|
2004-06-18 14:34:31 +06:00
|
|
|
($(INSTALL_DATA) -p $$f $(includedir)/. || exit 1); \
|
2003-05-19 19:18:36 +06:00
|
|
|
fi; \
|
|
|
|
done
|
|
|
|
|
|
|
|
# install script in $(bindir) :
|
|
|
|
install-bin: $(BIN_SCRIPT)
|
|
|
|
$(INSTALL) -d $(bindir)
|
|
|
|
if test $(BIN_SCRIPT)X != X; then \
|
|
|
|
$(INSTALL_PROGRAM) $^ $(bindir); \
|
|
|
|
fi
|
|
|
|
|
|
|
|
uninstall: uninstall-idl
|
|
|
|
|
|
|
|
uninstall-idl:
|
|
|
|
$(RM) $(idldir)/*.idl
|
|
|
|
|
|
|
|
distclean: distclean-other
|
|
|
|
|
|
|
|
distclean-other:
|
|
|
|
-$(RM) salome_adm/unix/*~ salome_adm/unix/*% salome_adm/unix/*.bak salome_adm/unix/*.new salome_adm/unix/*.old
|
|
|
|
-$(RM) salome_adm/unix/make_*
|
|
|
|
-$(RM) salome_adm/unix/depend salome_adm/unix/SALOMEconfig.h
|
|
|
|
-$(RM) config.cache config.log config.status
|
|
|
|
|
|
|
|
@MODULE@
|
|
|
|
|
|
|
|
install: install-bin install-include install-end
|
|
|
|
|