3 # Author : Patrick GOLDBRONN (CEA)
9 top_srcdir=@top_srcdir@
12 VPATH=.:@srcdir@:@top_srcdir@/bin:@top_srcdir@/resources:./bin:@top_srcdir@/idl
17 SUBDIRS = idl src doc adm_local
23 mesh_algo_mefisto.png \
25 mesh_algo_regular.png \
32 mesh_connectivity.png \
38 mesh_hypo_length.png \
39 mesh_hypo_segment.png \
40 mesh_hypo_volume.png \
43 advanced_mesh_info.png \
44 standard_mesh_info.png \
49 mesh_free_edges_2d.png \
50 mesh_multi_edges.png \
51 mesh_multi_edges_2d.png \
55 mesh_orientation.png \
63 mesh_rem_element.png \
73 mesh_tree_algo_hexa.png \
74 mesh_tree_algo_mefisto.png \
76 mesh_tree_algo_quad.png \
77 mesh_tree_algo_regular.png \
78 mesh_tree_algo_tetra.png \
79 mesh_tree_algo_netgen_2d3d.png \
80 mesh_tree_algo_netgen_2d.png \
81 mesh_tree_hypo_area.png \
82 mesh_tree_hypo_length.png \
84 mesh_tree_hypo_segment.png \
85 mesh_tree_hypo_volume.png \
86 mesh_tree_hypo_netgen.png \
87 mesh_tree_hypo_netgen_2d.png \
89 mesh_tree_importedmesh.png \
90 mesh_tree_mesh_warn.png \
100 mesh_tree_group.png \
101 mesh_edit_group.png \
102 mesh_make_group.png \
107 mesh_renumbering_nodes.png \
108 mesh_renumbering_elements.png \
110 mesh_extrusionpath.png \
111 mesh_revolution.png \
113 mesh_unionGroups.png \
114 mesh_intersectGroups.png \
116 mesh_deleteGroups.png \
117 mesh_translation_vector.png \
118 mesh_translation_points.png \
120 mesh_symmetry_point.png \
121 mesh_symmetry_axis.png \
122 mesh_symmetry_plane.png \
123 mesh_sew_freeborders.png \
124 mesh_sew_conform_freeborders.png \
125 mesh_sew_bordertoside.png \
126 mesh_sew_sideelements.png \
127 mesh_merge_nodes.png \
128 mesh_merge_elements.png \
136 pattern_sample_2d.png \
137 pattern_sample_3D.png \
141 mesh_quad_triangle.png \
142 mesh_quad_quadrangle.png \
143 mesh_quad_tetrahedron.png \
144 mesh_quad_pyramid.png \
145 mesh_quad_pentahedron.png \
146 mesh_quad_hexahedron.png \
147 mesh_conv_to_quad.png
152 # copy header files in common directory
153 ifeq ($(HAVE_SSTREAM),yes)
154 include_list=include/salome/SALOMEconfig.h
156 include_list=include/salome/SALOMEconfig.h include/salome/sstream
159 inc: idl $(include_list)
161 include/salome/SALOMEconfig.h: salome_adm/unix/SALOMEconfig.ref
165 # test if SALOMEconfig.h has changed (contents)
166 salome_adm/unix/SALOMEconfig.ref: salome_adm/unix/SALOMEconfig.h
167 @if ! [ -a $@ ]; then \
170 if ! cmp $< $@; then \
174 include/salome/sstream: salome_adm/unix/sstream
181 (cd idl ; $(MAKE) $@) || exit 1
183 # doc is already build : if you want to had documents, go manually to doc and run 'make doc'
185 # (cd doc && $(MAKE) $@) || exit 1
188 # finish libtool install
189 # @$(LT) --mode=finish $(libdir)
191 install-include: $(include_list)
192 $(INSTALL) -d $(includedir)
193 @for f in X $(include_list); do \
194 if test $$f != X; then \
195 ($(INSTALL_DATA) -p $$f $(includedir)/. || exit 1); \
199 # install script in $(bindir) :
200 install-bin: $(BIN_SCRIPT)
201 $(INSTALL) -d $(bindir)
202 if test $(BIN_SCRIPT)X != X; then \
203 $(INSTALL_PROGRAM) $^ $(bindir); \
206 uninstall: uninstall-idl
209 $(RM) $(idldir)/*.idl
211 distclean: distclean-other
214 -$(RM) salome_adm/unix/*~ salome_adm/unix/*% salome_adm/unix/*.bak salome_adm/unix/*.new salome_adm/unix/*.old
215 -$(RM) salome_adm/unix/make_*
216 -$(RM) salome_adm/unix/depend salome_adm/unix/SALOMEconfig.h
217 -$(RM) config.cache config.log config.status
221 install: install-bin install-include install-end