3 # Author : Patrick GOLDBRONN (CEA)
9 top_srcdir=@top_srcdir@
12 VPATH=.:@srcdir@:@top_srcdir@/bin:@top_srcdir@/resources:./bin:@top_srcdir@/idl
17 SUBDIRS = idl src salome_adm
24 CatalogRessources.xml \
40 Application-Logo.png \
41 Application-Splash.png \
42 Application-About.png \
50 view_camera_dump.png \
97 # copy header files in common directory
98 ifeq ($(HAVE_SSTREAM),yes)
99 include_list=include/salome/SALOMEconfig.h
101 include_list=include/salome/SALOMEconfig.h include/salome/sstream
104 inc: idl $(include_list)
106 include/salome/SALOMEconfig.h: salome_adm/unix/SALOMEconfig.h
110 include/salome/sstream: salome_adm/unix/sstream
117 (cd idl ; $(MAKE) $@) || exit 1
119 # doc is already build : if you want to had documents, go manually to doc and run 'make doc'
121 # (cd doc && $(MAKE) $@) || exit 1
124 # finish libtool install
125 # @$(LT) --mode=finish $(libdir)
127 install-include: $(include_list)
128 $(INSTALL) -d $(includedir)
129 @for f in X $(include_list); do \
130 if test $$f != X; then \
131 ($(INSTALL_DATA) $$f $(includedir)/. || exit 1); \
135 # install script in $(bindir) :
136 install-bin: $(BIN_SCRIPT)
137 $(INSTALL) -d $(bindir)
138 $(INSTALL_PROGRAM) $^ $(bindir)
140 uninstall: uninstall-idl
143 $(RM) $(idldir)/*.idl
145 distclean: distclean-other
148 -$(RM) salome_adm/unix/*~ salome_adm/unix/*% salome_adm/unix/*.bak salome_adm/unix/*.new salome_adm/unix/*.old
149 -$(RM) salome_adm/unix/make_*
150 -$(RM) salome_adm/unix/depend salome_adm/unix/SALOMEconfig.h
151 -$(RM) config.cache config.log config.status
155 install: install-bin install-include install-end