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
23 CatalogModuleGeneral.xml \
24 CatalogRessources.xml \
40 Application-Logo.png \
41 Application-Splash.png \
42 Application-About.png \
50 view_camera_dump.png \
92 insertComputerRessourcesCatalog.sh \
93 runClientDataTypeCatalog \
94 runClientModuleCatalog \
95 runClientRessourcesCatalog \
100 runRessourcesCatalog \
110 runTestContainerPy2 \
114 runTestNotification \
119 # copy header files in common directory
120 ifeq ($(HAVE_SSTREAM),yes)
121 include_list=include/salome/SALOMEconfig.h
123 include_list=include/salome/SALOMEconfig.h include/salome/sstream
126 inc: idl $(include_list)
128 include/salome/SALOMEconfig.h: salome_adm/unix/SALOMEconfig.h
132 include/salome/sstream: salome_adm/unix/sstream
139 (cd idl ; $(MAKE) $@) || exit 1
141 # doc is already build : if you want to had documents, go manually to doc and run 'make doc'
143 # (cd doc && $(MAKE) $@) || exit 1
146 # finish libtool install
147 # @$(LT) --mode=finish $(libdir)
149 install-include: $(include_list)
150 $(INSTALL) -d $(includedir)
151 @for f in X $(include_list); do \
152 if test $$f != X; then \
153 ($(INSTALL_DATA) $$f $(includedir)/. || exit 1); \
157 # install script in $(bindir) :
158 install-bin: $(BIN_SCRIPT)
159 $(INSTALL) -d $(bindir)
160 $(INSTALL_PROGRAM) $^ $(bindir)
162 uninstall: uninstall-idl
165 $(RM) $(idldir)/*.idl
167 distclean: distclean-other
170 -$(RM) salome_adm/unix/*~ salome_adm/unix/*% salome_adm/unix/*.bak salome_adm/unix/*.new salome_adm/unix/*.old
171 -$(RM) salome_adm/unix/make_*
172 -$(RM) salome_adm/unix/depend salome_adm/unix/SALOMEconfig.h
173 -$(RM) config.cache config.log config.status
177 install: install-bin install-include install-end