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.ref
110 # test if SALOMEconfig.h has changed (contents)
111 salome_adm/unix/SALOMEconfig.ref: salome_adm/unix/SALOMEconfig.h
112 @if ! [ -a $@ ]; then \
115 if ! cmp $< $@; then \
119 include/salome/sstream: salome_adm/unix/sstream
126 (cd idl ; $(MAKE) $@) || exit 1
128 # doc is already build : if you want to had documents, go manually to doc and run 'make doc'
130 # (cd doc && $(MAKE) $@) || exit 1
133 # finish libtool install
134 # @$(LT) --mode=finish $(libdir)
136 install-include: $(include_list)
137 $(INSTALL) -d $(includedir)
138 @for f in X $(include_list); do \
139 if test $$f != X; then \
140 ($(INSTALL_DATA) $$f $(includedir)/. || exit 1); \
144 # install script in $(bindir) :
145 install-bin: $(BIN_SCRIPT)
146 $(INSTALL) -d $(bindir)
147 $(INSTALL_PROGRAM) $^ $(bindir)
149 uninstall: uninstall-idl
152 $(RM) $(idldir)/*.idl
154 distclean: distclean-other
157 -$(RM) salome_adm/unix/*~ salome_adm/unix/*% salome_adm/unix/*.bak salome_adm/unix/*.new salome_adm/unix/*.old
158 -$(RM) salome_adm/unix/make_*
159 -$(RM) salome_adm/unix/depend salome_adm/unix/SALOMEconfig.h
160 -$(RM) config.cache config.log config.status
164 install: install-bin install-include install-end