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_hypo_area.png \
80 mesh_tree_hypo_length.png \
82 mesh_tree_hypo_segment.png \
83 mesh_tree_hypo_volume.png \
85 mesh_tree_importedmesh.png \
86 mesh_tree_mesh_warn.png \
103 mesh_renumbering_nodes.png \
104 mesh_renumbering_elements.png \
106 mesh_extrusionpath.png \
107 mesh_revolution.png \
109 mesh_unionGroups.png \
110 mesh_intersectGroups.png \
112 mesh_deleteGroups.png \
113 mesh_translation_vector.png \
114 mesh_translation_points.png \
116 mesh_symmetry_point.png \
117 mesh_symmetry_axis.png \
118 mesh_symmetry_plane.png \
119 mesh_sew_freeborders.png \
120 mesh_sew_conform_freeborders.png \
121 mesh_sew_bordertoside.png \
122 mesh_sew_sideelements.png \
123 mesh_merge_nodes.png \
124 mesh_merge_elements.png \
131 pattern_sample_2d.png \
132 pattern_sample_3D.png \
136 mesh_quad_triangle.png \
137 mesh_quad_quadrangle.png \
138 mesh_quad_tetrahedron.png \
139 mesh_quad_pyramid.png \
140 mesh_quad_pentahedron.png \
141 mesh_quad_hexahedron.png
146 # copy header files in common directory
147 ifeq ($(HAVE_SSTREAM),yes)
148 include_list=include/salome/SALOMEconfig.h
150 include_list=include/salome/SALOMEconfig.h include/salome/sstream
153 inc: idl $(include_list)
155 include/salome/SALOMEconfig.h: salome_adm/unix/SALOMEconfig.ref
159 # test if SALOMEconfig.h has changed (contents)
160 salome_adm/unix/SALOMEconfig.ref: salome_adm/unix/SALOMEconfig.h
161 @if ! [ -a $@ ]; then \
164 if ! cmp $< $@; then \
168 include/salome/sstream: salome_adm/unix/sstream
175 (cd idl ; $(MAKE) $@) || exit 1
177 # doc is already build : if you want to had documents, go manually to doc and run 'make doc'
179 # (cd doc && $(MAKE) $@) || exit 1
182 # finish libtool install
183 # @$(LT) --mode=finish $(libdir)
185 install-include: $(include_list)
186 $(INSTALL) -d $(includedir)
187 @for f in X $(include_list); do \
188 if test $$f != X; then \
189 ($(INSTALL_DATA) -p $$f $(includedir)/. || exit 1); \
193 # install script in $(bindir) :
194 install-bin: $(BIN_SCRIPT)
195 $(INSTALL) -d $(bindir)
196 if test $(BIN_SCRIPT)X != X; then \
197 $(INSTALL_PROGRAM) $^ $(bindir); \
200 uninstall: uninstall-idl
203 $(RM) $(idldir)/*.idl
205 distclean: distclean-other
208 -$(RM) salome_adm/unix/*~ salome_adm/unix/*% salome_adm/unix/*.bak salome_adm/unix/*.new salome_adm/unix/*.old
209 -$(RM) salome_adm/unix/make_*
210 -$(RM) salome_adm/unix/depend salome_adm/unix/SALOMEconfig.h
211 -$(RM) config.cache config.log config.status
215 install: install-bin install-include install-end