3 # Author : Patrick GOLDBRONN (CEA)
9 top_srcdir=@top_srcdir@
12 VPATH=.:@srcdir@:@top_srcdir@/bin:@top_srcdir@/resources:./bin:@top_srcdir@/idl
23 mesh_algo_mefisto.png \
25 mesh_algo_regular.png \
31 mesh_connectivity.png \
37 mesh_hypo_length.png \
38 mesh_hypo_segment.png \
39 mesh_hypo_volume.png \
44 mesh_multi_edges.png \
48 mesh_orientation.png \
54 mesh_rem_element.png \
64 mesh_tree_algo_hexa.png \
65 mesh_tree_algo_mefisto.png \
67 mesh_tree_algo_quad.png \
68 mesh_tree_algo_regular.png \
69 mesh_tree_algo_tetra.png \
70 mesh_tree_hypo_area.png \
71 mesh_tree_hypo_length.png \
73 mesh_tree_hypo_segment.png \
74 mesh_tree_hypo_volume.png \
76 mesh_tree_importedmesh.png \
77 mesh_tree_mesh_warn.png \
100 # copy header files in common directory
101 ifeq ($(HAVE_SSTREAM),yes)
102 include_list=include/salome/SALOMEconfig.h
104 include_list=include/salome/SALOMEconfig.h include/salome/sstream
107 inc: idl $(include_list)
109 include/salome/SALOMEconfig.h: salome_adm/unix/SALOMEconfig.ref
113 # test if SALOMEconfig.h has changed (contents)
114 salome_adm/unix/SALOMEconfig.ref: salome_adm/unix/SALOMEconfig.h
115 @if ! [ -a $@ ]; then \
118 if ! cmp $< $@; then \
122 include/salome/sstream: salome_adm/unix/sstream
129 (cd idl ; $(MAKE) $@) || exit 1
131 # doc is already build : if you want to had documents, go manually to doc and run 'make doc'
133 # (cd doc && $(MAKE) $@) || exit 1
136 # finish libtool install
137 # @$(LT) --mode=finish $(libdir)
139 install-include: $(include_list)
140 $(INSTALL) -d $(includedir)
141 @for f in X $(include_list); do \
142 if test $$f != X; then \
143 ($(INSTALL_DATA) -p $$f $(includedir)/. || exit 1); \
147 # install script in $(bindir) :
148 install-bin: $(BIN_SCRIPT)
149 $(INSTALL) -d $(bindir)
150 if test $(BIN_SCRIPT)X != X; then \
151 $(INSTALL_PROGRAM) $^ $(bindir); \
154 uninstall: uninstall-idl
157 $(RM) $(idldir)/*.idl
159 distclean: distclean-other
162 -$(RM) salome_adm/unix/*~ salome_adm/unix/*% salome_adm/unix/*.bak salome_adm/unix/*.new salome_adm/unix/*.old
163 -$(RM) salome_adm/unix/make_*
164 -$(RM) salome_adm/unix/depend salome_adm/unix/SALOMEconfig.h
165 -$(RM) config.cache config.log config.status
169 install: install-bin install-include install-end