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
29 # copy header files in common directory
30 ifeq ($(HAVE_SSTREAM),yes)
31 include_list=include/salome/SALOMEconfig.h
33 include_list=include/salome/SALOMEconfig.h include/salome/sstream
36 inc: idl $(include_list)
38 include/salome/SALOMEconfig.h: salome_adm/unix/SALOMEconfig.h
42 include/salome/sstream: salome_adm/unix/sstream
49 (cd idl ; $(MAKE) $@) || exit 1
51 # doc is already build : if you want to had documents, go manually to doc and run 'make doc'
53 # (cd doc && $(MAKE) $@) || exit 1
56 # finish libtool install
57 # @$(LT) --mode=finish $(libdir)
59 install-include: $(include_list)
60 $(INSTALL) -d $(includedir)
61 @for f in X $(include_list); do \
62 if test $$f != X; then \
63 ($(INSTALL_DATA) $$f $(includedir)/. || exit 1); \
67 # install script in $(bindir) :
68 install-bin: $(BIN_SCRIPT)
69 $(INSTALL) -d $(bindir)
70 if test $(BIN_SCRIPT)X != X; then \
71 $(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