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 doc
26 ModuleSupervision.png \
36 Superv_tree_superv.png
41 # copy header files in common directory
42 ifeq ($(HAVE_SSTREAM),yes)
43 include_list=include/salome/SALOMEconfig.h
45 include_list=include/salome/SALOMEconfig.h include/salome/sstream
48 inc: idl $(include_list)
50 include/salome/SALOMEconfig.h: salome_adm/unix/SALOMEconfig.ref
54 # test if SALOMEconfig.h has changed (contents)
55 salome_adm/unix/SALOMEconfig.ref: salome_adm/unix/SALOMEconfig.h
56 @if ! [ -a $@ ]; then \
59 if ! cmp $< $@; then \
63 include/salome/sstream: salome_adm/unix/sstream
70 (cd idl ; $(MAKE) $@) || exit 1
72 # doc is already build : if you want to had documents, go manually to doc and run 'make doc'
74 # (cd doc && $(MAKE) $@) || exit 1
77 # finish libtool install
78 # @$(LT) --mode=finish $(libdir)
80 install-include: $(include_list)
81 $(INSTALL) -d $(includedir)
82 @for f in X $(include_list); do \
83 if test $$f != X; then \
84 ($(INSTALL_DATA) -p $$f $(includedir)/. || exit 1); \
88 # install script in $(bindir) :
89 install-bin: $(BIN_SCRIPT)
90 $(INSTALL) -d $(bindir)
91 if test $(BIN_SCRIPT)X != X; then \
92 $(INSTALL_PROGRAM) $^ $(bindir); \
95 uninstall: uninstall-idl
100 distclean: distclean-other
103 -$(RM) salome_adm/unix/*~ salome_adm/unix/*% salome_adm/unix/*.bak salome_adm/unix/*.new salome_adm/unix/*.old
104 -$(RM) salome_adm/unix/make_*
105 -$(RM) salome_adm/unix/depend salome_adm/unix/SALOMEconfig.h
106 -$(RM) config.cache config.log config.status
110 install: install-bin install-include install-end