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
26 ModuleSupervision.png \
37 Superv_tree_superv.png
42 # copy header files in common directory
43 ifeq ($(HAVE_SSTREAM),yes)
44 include_list=include/salome/SALOMEconfig.h
46 include_list=include/salome/SALOMEconfig.h include/salome/sstream
49 inc: idl $(include_list)
51 include/salome/SALOMEconfig.h: salome_adm/unix/SALOMEconfig.ref
55 # test if SALOMEconfig.h has changed (contents)
56 salome_adm/unix/SALOMEconfig.ref: salome_adm/unix/SALOMEconfig.h
57 @if ! [ -a $@ ]; then \
60 if ! cmp $< $@; then \
64 include/salome/sstream: salome_adm/unix/sstream
71 (cd idl ; $(MAKE) $@) || exit 1
73 # doc is already build : if you want to had documents, go manually to doc and run 'make doc'
75 # (cd doc && $(MAKE) $@) || exit 1
78 # finish libtool install
79 # @$(LT) --mode=finish $(libdir)
81 install-include: $(include_list)
82 $(INSTALL) -d $(includedir)
83 @for f in X $(include_list); do \
84 if test $$f != X; then \
85 ($(INSTALL_DATA) -p $$f $(includedir)/. || exit 1); \
89 # install script in $(bindir) :
90 install-bin: $(BIN_SCRIPT)
91 $(INSTALL) -d $(bindir)
92 if test $(BIN_SCRIPT)X != X; then \
93 $(INSTALL_PROGRAM) $^ $(bindir); \
96 uninstall: uninstall-idl
101 distclean: distclean-other
104 -$(RM) salome_adm/unix/*~ salome_adm/unix/*% salome_adm/unix/*.bak salome_adm/unix/*.new salome_adm/unix/*.old
105 -$(RM) salome_adm/unix/make_*
106 -$(RM) salome_adm/unix/depend salome_adm/unix/SALOMEconfig.h
107 -$(RM) config.cache config.log config.status
111 install: install-bin install-include install-end