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 \
46 mesh_orientation.png \
52 mesh_rem_element.png \
62 mesh_tree_algo_hexa.png \
63 mesh_tree_algo_mefisto.png \
65 mesh_tree_algo_quad.png \
66 mesh_tree_algo_regular.png \
67 mesh_tree_algo_tetra.png \
68 mesh_tree_hypo_area.png \
69 mesh_tree_hypo_length.png \
71 mesh_tree_hypo_segment.png \
72 mesh_tree_hypo_volume.png \
74 mesh_tree_mesh_warn.png \
91 # copy header files in common directory
92 ifeq ($(HAVE_SSTREAM),yes)
93 include_list=include/salome/SALOMEconfig.h
95 include_list=include/salome/SALOMEconfig.h include/salome/sstream
98 inc: idl $(include_list)
100 include/salome/SALOMEconfig.h: salome_adm/unix/SALOMEconfig.ref
104 # test if SALOMEconfig.h has changed (contents)
105 salome_adm/unix/SALOMEconfig.ref: salome_adm/unix/SALOMEconfig.h
106 @if ! [ -a $@ ]; then \
109 if ! cmp $< $@; then \
113 include/salome/sstream: salome_adm/unix/sstream
120 (cd idl ; $(MAKE) $@) || exit 1
122 # doc is already build : if you want to had documents, go manually to doc and run 'make doc'
124 # (cd doc && $(MAKE) $@) || exit 1
127 # finish libtool install
128 # @$(LT) --mode=finish $(libdir)
130 install-include: $(include_list)
131 $(INSTALL) -d $(includedir)
132 @for f in X $(include_list); do \
133 if test $$f != X; then \
134 ($(INSTALL_DATA) $$f $(includedir)/. || exit 1); \
138 # install script in $(bindir) :
139 install-bin: $(BIN_SCRIPT)
140 $(INSTALL) -d $(bindir)
141 if test $(BIN_SCRIPT)X != X; then \
142 $(INSTALL_PROGRAM) $^ $(bindir); \
145 uninstall: uninstall-idl
148 $(RM) $(idldir)/*.idl
150 distclean: distclean-other
153 -$(RM) salome_adm/unix/*~ salome_adm/unix/*% salome_adm/unix/*.bak salome_adm/unix/*.new salome_adm/unix/*.old
154 -$(RM) salome_adm/unix/make_*
155 -$(RM) salome_adm/unix/depend salome_adm/unix/SALOMEconfig.h
156 -$(RM) config.cache config.log config.status
160 install: install-bin install-include install-end