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