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 examples
26 ModuleSupervision.png \
35 Superv_tree_superv.png
40 # copy header files in common directory
41 ifeq ($(HAVE_SSTREAM),yes)
42 include_list=include/salome/SALOMEconfig.h
44 include_list=include/salome/SALOMEconfig.h include/salome/sstream
47 inc: idl $(include_list)
49 include/salome/SALOMEconfig.h: salome_adm/unix/SALOMEconfig.ref
53 # test if SALOMEconfig.h has changed (contents)
54 salome_adm/unix/SALOMEconfig.ref: salome_adm/unix/SALOMEconfig.h
55 @if ! [ -a $@ ]; then \
58 if ! cmp $< $@; then \
62 include/salome/sstream: salome_adm/unix/sstream
69 (cd idl ; $(MAKE) $@) || exit 1
71 # doc is already build : if you want to had documents, go manually to doc and run 'make doc'
73 # (cd doc && $(MAKE) $@) || exit 1
76 # finish libtool install
77 # @$(LT) --mode=finish $(libdir)
79 install-include: $(include_list)
80 $(INSTALL) -d $(includedir)
81 @for f in X $(include_list); do \
82 if test $$f != X; then \
83 ($(INSTALL_DATA) $$f $(includedir)/. || exit 1); \
87 # install script in $(bindir) :
88 install-bin: $(BIN_SCRIPT)
89 $(INSTALL) -d $(bindir)
90 if test $(BIN_SCRIPT)X != X; then \
91 $(INSTALL_PROGRAM) $^ $(bindir); \
94 uninstall: uninstall-idl
99 distclean: distclean-other
102 -$(RM) salome_adm/unix/*~ salome_adm/unix/*% salome_adm/unix/*.bak salome_adm/unix/*.new salome_adm/unix/*.old
103 -$(RM) salome_adm/unix/make_*
104 -$(RM) salome_adm/unix/depend salome_adm/unix/SALOMEconfig.h
105 -$(RM) config.cache config.log config.status
109 install: install-bin install-include install-end