3 # Author : Patrick GOLDBRONN (CEA)
9 top_srcdir=@top_srcdir@
12 VPATH=.:@srcdir@:@top_srcdir@/bin:./bin/salome:@top_srcdir@/resources:./bin:@top_srcdir@/idl
35 Application-Logo.png \
36 Application-Splash.png \
37 Application-About.png \
44 view_camera_dump.png \
82 # copy header files in common directory
83 OWN_CONFIG_H=@OWN_CONFIG_H@
85 ifeq ($(OWN_CONFIG_H),yes)
86 ifeq ($(HAVE_SSTREAM),yes)
87 include_list=include/salome/SALOMEconfig.h include/salome/config.h
89 include_list=include/salome/SALOMEconfig.h include/salome/config.h include/salome/sstream
92 ifeq ($(HAVE_SSTREAM),yes)
93 include_list=include/salome/SALOMEconfig.h
95 include_list=include/salome/SALOMEconfig.h include/salome/sstream
99 inc: idl $(include_list)
101 include/salome/SALOMEconfig.h: salome_adm/unix/SALOMEconfig.ref
105 # test if SALOMEconfig.h has changed (contents)
106 salome_adm/unix/SALOMEconfig.ref: salome_adm/unix/SALOMEconfig.h
107 @if ! [ -a $@ ]; then \
110 if ! cmp $< $@; then \
114 include/salome/config.h: salome_adm/unix/config.h
118 include/salome/sstream: salome_adm/unix/sstream
125 (cd idl ; $(MAKE) $@) || exit 1
127 # doc is already build : if you want to had documents, go manually to doc and run 'make doc'
129 # (cd doc && $(MAKE) $@) || exit 1
131 # Install make_commence make_conclude ... for other modules
133 ($(INSTALL) -d $(incmakedir) || exit 1);
134 (sed 's/^prefix=/#prefix=/' $(top_builddir)/adm_local/unix/make_commence > $(incmakedir)/make_commence || exit 1);
138 # finish libtool install
139 # @$(LT) --mode=finish $(libdir)
141 install-include: $(include_list)
142 $(INSTALL) -d $(includedir)
143 @for f in X $(include_list); do \
144 if test $$f != X; then \
145 (cp -p $$f $(includedir) || exit 1); \
149 # install script in $(bindir) :
150 install-bin: $(BIN_SCRIPT)
151 $(INSTALL) -d $(bindir)
152 $(INSTALL_PROGRAM) $^ $(bindir)
154 uninstall: uninstall-idl
157 $(RM) $(idldir)/*.idl
159 distclean: distclean-other
162 -$(RM) salome_adm/unix/*~ salome_adm/unix/*% salome_adm/unix/*.bak salome_adm/unix/*.new salome_adm/unix/*.old
163 -$(RM) salome_adm/unix/make_*
164 -$(RM) salome_adm/unix/depend salome_adm/unix/SALOMEconfig.h salome_adm/unix/config.h
165 -$(RM) config.cache config.log config.status
169 install: install-bin install-include install-make install-end