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 ExecHELLO.png
20 BIN_SCRIPT= VERSION runAppli runSalome.py
22 # copy header files in common directory
23 ifeq ($(HAVE_SSTREAM),yes)
24 include_list=include/salome/SALOMEconfig.h
26 include_list=include/salome/SALOMEconfig.h include/salome/sstream
29 inc: idl $(include_list)
31 include/salome/SALOMEconfig.h: salome_adm/unix/SALOMEconfig.ref
35 # test if SALOMEconfig.h has changed (contents)
36 salome_adm/unix/SALOMEconfig.ref: salome_adm/unix/SALOMEconfig.h
37 @if ! [ -a $@ ]; then \
40 if ! cmp $< $@; then \
44 include/salome/sstream: salome_adm/unix/sstream
51 (cd idl ; $(MAKE) $@) || exit 1
53 # doc is already build : if you want to had documents, go manually to doc and run 'make doc'
55 # (cd doc && $(MAKE) $@) || exit 1
58 # finish libtool install
59 # @$(LT) --mode=finish $(libdir)
61 install-include: $(include_list)
62 $(INSTALL) -d $(includedir)
63 @for f in X $(include_list); do \
64 if test $$f != X; then \
65 ($(INSTALL_DATA) $$f $(includedir)/. || exit 1); \
69 # install script in $(bindir) :
70 install-bin: $(BIN_SCRIPT)
71 $(INSTALL) -d $(bindir)
72 $(INSTALL_PROGRAM) $^ $(bindir)
74 uninstall: uninstall-idl
79 distclean: distclean-other
82 -$(RM) salome_adm/unix/*~ salome_adm/unix/*% salome_adm/unix/*.bak salome_adm/unix/*.new salome_adm/unix/*.old
83 -$(RM) salome_adm/unix/make_*
84 -$(RM) salome_adm/unix/depend salome_adm/unix/SALOMEconfig.h
85 -$(RM) config.cache config.log config.status
89 install: install-bin install-include install-end