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 \
30 mesh_connectivity.png \
36 mesh_hypo_length.png \
37 mesh_hypo_segment.png \
38 mesh_hypo_volume.png \
45 mesh_orientation.png \
51 mesh_rem_element.png \
61 mesh_tree_algo_hexa.png \
62 mesh_tree_algo_mefisto.png \
64 mesh_tree_algo_quad.png \
65 mesh_tree_algo_regular.png \
66 mesh_tree_hypo_area.png \
67 mesh_tree_hypo_length.png \
69 mesh_tree_hypo_segment.png \
70 mesh_tree_hypo_volume.png \
72 mesh_tree_mesh_warn.png \
88 # copy header files in common directory
89 ifeq ($(HAVE_SSTREAM),yes)
90 include_list=include/salome/SALOMEconfig.h
92 include_list=include/salome/SALOMEconfig.h include/salome/sstream
95 inc: idl $(include_list)
97 include/salome/SALOMEconfig.h: salome_adm/unix/SALOMEconfig.ref
101 # test if SALOMEconfig.h has changed (contents)
102 salome_adm/unix/SALOMEconfig.ref: salome_adm/unix/SALOMEconfig.h
103 @if ! [ -a $@ ]; then \
106 if ! cmp $< $@; then \
110 include/salome/sstream: salome_adm/unix/sstream
117 (cd idl ; $(MAKE) $@) || exit 1
119 # doc is already build : if you want to had documents, go manually to doc and run 'make doc'
121 # (cd doc && $(MAKE) $@) || exit 1
124 # finish libtool install
125 # @$(LT) --mode=finish $(libdir)
127 install-include: $(include_list)
128 $(INSTALL) -d $(includedir)
129 @for f in X $(include_list); do \
130 if test $$f != X; then \
131 ($(INSTALL_DATA) $$f $(includedir)/. || exit 1); \
135 # install script in $(bindir) :
136 install-bin: $(BIN_SCRIPT)
137 $(INSTALL) -d $(bindir)
138 if test $(BIN_SCRIPT)X != X; then \
139 $(INSTALL_PROGRAM) $^ $(bindir); \
142 uninstall: uninstall-idl
145 $(RM) $(idldir)/*.idl
147 distclean: distclean-other
150 -$(RM) salome_adm/unix/*~ salome_adm/unix/*% salome_adm/unix/*.bak salome_adm/unix/*.new salome_adm/unix/*.old
151 -$(RM) salome_adm/unix/make_*
152 -$(RM) salome_adm/unix/depend salome_adm/unix/SALOMEconfig.h
153 -$(RM) config.cache config.log config.status
157 install: install-bin install-include install-end