9 top_srcdir=@top_srcdir@
12 VPATH=.:@srcdir@:@top_srcdir@/bin:@top_srcdir@/resources:./bin:@top_srcdir@/idl
18 RESOURCES_FILES = HELLOCatalog.xml HELLO.png HELLO_en.xml \
21 BIN_SCRIPT= VERSION runAppli runSalome.py
23 # copy header files in common directory
24 ifeq ($(HAVE_SSTREAM),yes)
25 include_list=include/salome/SALOMEconfig.h
27 include_list=include/salome/SALOMEconfig.h include/salome/sstream
30 inc: idl $(include_list)
32 include/salome/SALOMEconfig.h: salome_adm/unix/SALOMEconfig.ref
36 # test if SALOMEconfig.h has changed (contents)
37 salome_adm/unix/SALOMEconfig.ref: salome_adm/unix/SALOMEconfig.h
38 @if ! [ -a $@ ]; then \
41 if ! cmp $< $@; then \
45 include/salome/sstream: salome_adm/unix/sstream
52 (cd idl ; $(MAKE) $@) || exit 1
54 # doc is already build : if you want to had documents, go manually to doc and run 'make doc'
56 # (cd doc && $(MAKE) $@) || exit 1
59 # finish libtool install
60 # @$(LT) --mode=finish $(libdir)
62 install-include: $(include_list)
63 $(INSTALL) -d $(includedir)
64 @for f in X $(include_list); do \
65 if test $$f != X; then \
66 ($(INSTALL_DATA) $$f $(includedir)/. || exit 1); \
70 # install script in $(bindir) :
71 install-bin: $(BIN_SCRIPT)
72 $(INSTALL) -d $(bindir)
73 $(INSTALL_PROGRAM) $^ $(bindir)
75 uninstall: uninstall-idl
80 distclean: distclean-other
83 -$(RM) salome_adm/unix/*~ salome_adm/unix/*% salome_adm/unix/*.bak salome_adm/unix/*.new salome_adm/unix/*.old
84 -$(RM) salome_adm/unix/make_*
85 -$(RM) salome_adm/unix/depend salome_adm/unix/SALOMEconfig.h
86 -$(RM) config.cache config.log config.status
90 install: install-bin install-include install-end