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
36 Application-Logo.png \
37 Application-Splash.png \
38 Application-About.png \
46 view_camera_dump.png \
84 # copy header files in common directory
85 OWN_CONFIG_H=@OWN_CONFIG_H@
87 ifeq ($(OWN_CONFIG_H),yes)
88 ifeq ($(HAVE_SSTREAM),yes)
89 include_list=include/salome/SALOMEconfig.h include/salome/config.h
91 include_list=include/salome/SALOMEconfig.h include/salome/config.h include/salome/sstream
94 ifeq ($(HAVE_SSTREAM),yes)
95 include_list=include/salome/SALOMEconfig.h
97 include_list=include/salome/SALOMEconfig.h include/salome/sstream
101 inc: idl $(include_list)
103 include/salome/SALOMEconfig.h: salome_adm/unix/SALOMEconfig.ref
107 # test if SALOMEconfig.h has changed (contents)
108 salome_adm/unix/SALOMEconfig.ref: salome_adm/unix/SALOMEconfig.h
109 @if ! [ -a $@ ]; then \
112 if ! cmp $< $@; then \
116 include/salome/config.h: salome_adm/unix/config.h
120 include/salome/sstream: salome_adm/unix/sstream
127 (cd idl ; $(MAKE) $@) || exit 1
129 # doc is already build : if you want to had documents, go manually to doc and run 'make doc'
131 # (cd doc && $(MAKE) $@) || exit 1
133 # Install make_commence make_conclude ... for other modules
135 ($(INSTALL) -d $(incmakedir) || exit 1);
136 (sed 's/^prefix=/#prefix=/' $(top_builddir)/adm_local/unix/make_commence > $(incmakedir)/make_commence || exit 1);
140 # finish libtool install
141 # @$(LT) --mode=finish $(libdir)
143 install-include: $(include_list)
144 $(INSTALL) -d $(includedir)
145 @for f in X $(include_list); do \
146 if test $$f != X; then \
147 (cp -p $$f $(includedir) || exit 1); \
151 # install script in $(bindir) :
152 install-bin: $(BIN_SCRIPT)
153 $(INSTALL) -d $(bindir)
154 $(INSTALL_PROGRAM) $^ $(bindir)
156 uninstall: uninstall-idl
159 $(RM) $(idldir)/*.idl
161 distclean: distclean-other
164 -$(RM) salome_adm/unix/*~ salome_adm/unix/*% salome_adm/unix/*.bak salome_adm/unix/*.new salome_adm/unix/*.old
165 -$(RM) salome_adm/unix/make_*
166 -$(RM) salome_adm/unix/depend salome_adm/unix/SALOMEconfig.h salome_adm/unix/config.h
167 -$(RM) config.cache config.log config.status
171 install: install-bin install-include install-make install-end