3 # Author : Patrick GOLDBRONN (CEA)
9 top_srcdir=@top_srcdir@
12 VPATH=.:@srcdir@:@top_srcdir@/bin:@top_srcdir@/resources:./bin:@top_srcdir@/idl:${KERNEL_ROOT_DIR}/idl/salome
31 # copy header files in common directory
32 ifeq ($(HAVE_SSTREAM),yes)
33 include_list=include/salome/SALOMEconfig.h
35 include_list=include/salome/SALOMEconfig.h include/salome/sstream
38 inc: idl $(include_list)
40 include/salome/SALOMEconfig.h: salome_adm/unix/SALOMEconfig.h
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 if test $(BIN_SCRIPT)X != X; then \
73 $(INSTALL_PROGRAM) $^ $(bindir); \
76 uninstall: uninstall-idl
81 distclean: distclean-other
84 -$(RM) salome_adm/unix/*~ salome_adm/unix/*% salome_adm/unix/*.bak salome_adm/unix/*.new salome_adm/unix/*.old
85 -$(RM) salome_adm/unix/make_*
86 -$(RM) salome_adm/unix/depend salome_adm/unix/SALOMEconfig.h
87 -$(RM) config.cache config.log config.status
91 install: install-bin install-include install-end