Salome HOME
fix PythonDump: do not write distruction in PythonDump as creation is not written
[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/
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:@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_compute.png \
51 mesh_connectivity.png \
52 mesh_diagonal.png \
53 mesh_edit.png \
54 mesh_hexa_n.png \
55 mesh_hexa.png \
56 mesh_hypo_area.png \
57 mesh_hypo_length.png \
58 mesh_hypo_segment.png \
59 mesh_hypo_volume.png \
60 mesh_hypo_edit.png \
61 mesh_info.png \
62 advanced_mesh_info.png \
63 standard_mesh_info.png \
64 mesh_init.png \
65 mesh_length.png \
66 mesh_length_2d.png \
67 mesh_free_edges.png \
68 mesh_free_edges_2d.png \
69 mesh_multi_edges.png \
70 mesh_multi_edges_2d.png \
71 mesh_line_n.png \
72 mesh_line.png \
73 mesh_move_node.png \
74 mesh_orientation.png \
75 mesh.png \
76 mesh_polygon.png \
77 mesh_polyhedron.png \
78 mesh_pyramid_n.png \
79 mesh_pyramid.png \
80 mesh_quad_n.png \
81 mesh_quad.png \
82 mesh_rem_element.png \
83 mesh_rem_node.png \
84 mesh_set_algo.png \
85 mesh_set_hypo.png \
86 mesh_shading.png \
87 mesh_shrink.png \
88 mesh_skew.png \
89 mesh_taper.png \
90 mesh_tetra_n.png \
91 mesh_tetra.png \
92 mesh_tree_algo_hexa.png \
93 mesh_tree_algo_mefisto.png \
94 mesh_tree_algo.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 \
102 mesh_tree_hypo.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 \
107 mesh_tree_mesh.png \
108 mesh_tree_importedmesh.png \
109 mesh_tree_mesh_warn.png \
110 mesh_triangle_n.png \
111 mesh_triangle.png \
112 mesh_update.png \
113 mesh_vertex_n.png \
114 mesh_vertex.png \
115 mesh_volume_3d.png \
116 mesh_wireframe.png \
117 mesh_points.png \
118 mesh_wrap.png \
119 mesh_tree_group.png \
120 mesh_edit_group.png \
121 mesh_make_group.png \
122 mesh_union2tri.png \
123 mesh_uniontri.png \
124 mesh_cutquad.png \
125 mesh_smoothing.png \
126 mesh_renumbering_nodes.png \
127 mesh_renumbering_elements.png \
128 mesh_extrusion.png \
129 mesh_extrusionpath.png \
130 mesh_revolution.png \
131 ModuleMesh.png \
132 mesh_unionGroups.png \
133 mesh_intersectGroups.png \
134 mesh_cutGroups.png \
135 mesh_deleteGroups.png \
136 mesh_translation_vector.png \
137 mesh_translation_points.png \
138 mesh_rotation.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 \
148 select1.png \
149 SMESH_en.xml \
150 SMESH.config \
151 StdMeshers.xml \
152 SMESHCatalog.xml \
153 SalomeApp.xml \
154 mesh_pattern.png \
155 pattern_sample_2d.png \
156 pattern_sample_3D.png \
157 mesh_add.png \
158 mesh_remove.png \
159 mesh_quad_edge.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
167
168 BIN_SCRIPT= \
169 VERSION
170
171 # copy header files in common directory
172 ifeq ($(HAVE_SSTREAM),yes)
173   include_list=include/salome/SALOMEconfig.h
174 else
175   include_list=include/salome/SALOMEconfig.h include/salome/sstream
176 endif
177
178 inc: idl $(include_list)
179
180 include/salome/SALOMEconfig.h: salome_adm/unix/SALOMEconfig.ref
181         -$(RM) $@
182         $(LN_S) ../../$< $@
183
184 # test if SALOMEconfig.h has changed (contents)
185 salome_adm/unix/SALOMEconfig.ref: salome_adm/unix/SALOMEconfig.h
186         @if ! [ -a $@ ]; then \
187           cp -p -f $< $@;        \
188         fi;                   \
189         if ! cmp $< $@; then  \
190           cp -p -f $< $@;        \
191         fi;                   \
192
193 include/salome/sstream: salome_adm/unix/sstream
194         -$(RM) $@
195         $(LN_S) ../../$< $@
196
197 depend: depend_idl
198
199 depend_idl:
200         (cd idl ; $(MAKE) $@) || exit 1
201
202 # doc is already build : if you want to had documents, go manually to doc and run 'make doc'
203 #doc:
204 #       (cd doc && $(MAKE) $@) || exit 1
205
206 install-end:
207 # finish libtool install
208 #       @$(LT) --mode=finish $(libdir)
209
210 install-include: $(include_list)
211         $(INSTALL) -d  $(includedir)
212         @for f in X $(include_list); do                         \
213            if test $$f != X; then                               \
214              ($(INSTALL_DATA) -p $$f $(includedir)/. || exit 1);        \
215            fi;                                                  \
216         done
217
218 # install script in $(bindir) :
219 install-bin: $(BIN_SCRIPT)
220         $(INSTALL) -d  $(bindir)
221         if test $(BIN_SCRIPT)X != X; then                       \
222                 $(INSTALL_PROGRAM) $^ $(bindir);                \
223         fi
224
225 uninstall: uninstall-idl
226
227 uninstall-idl:
228         $(RM) $(idldir)/*.idl
229
230 distclean: distclean-other
231
232 distclean-other:
233         -$(RM) salome_adm/unix/*~ salome_adm/unix/*% salome_adm/unix/*.bak salome_adm/unix/*.new salome_adm/unix/*.old
234         -$(RM) salome_adm/unix/make_* 
235         -$(RM) salome_adm/unix/depend salome_adm/unix/SALOMEconfig.h 
236         -$(RM) config.cache config.log config.status 
237
238 @MODULE@
239
240 install: install-bin install-include install-end
241