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
41 view_camera_dump.png \
80 # copy header files in common directory
81 OWN_CONFIG_H=@OWN_CONFIG_H@
83 ifeq ($(OWN_CONFIG_H),yes)
84 ifeq ($(HAVE_SSTREAM),yes)
85 include_list=include/salome/SALOMEconfig.h include/salome/config.h
87 include_list=include/salome/SALOMEconfig.h include/salome/config.h include/salome/sstream
90 ifeq ($(HAVE_SSTREAM),yes)
91 include_list=include/salome/SALOMEconfig.h
93 include_list=include/salome/SALOMEconfig.h include/salome/sstream
97 inc: idl $(include_list)
99 include/salome/SALOMEconfig.h: salome_adm/unix/SALOMEconfig.ref
103 # test if SALOMEconfig.h has changed (contents)
104 salome_adm/unix/SALOMEconfig.ref: salome_adm/unix/SALOMEconfig.h
105 @if ! [ -a $@ ]; then \
108 if ! cmp $< $@; then \
112 include/salome/config.h: salome_adm/unix/config.h
116 include/salome/sstream: salome_adm/unix/sstream
123 (cd idl ; $(MAKE) $@) || exit 1
125 # doc is already build : if you want to had documents, go manually to doc and run 'make doc'
127 # (cd doc && $(MAKE) $@) || exit 1
129 # Install make_commence make_conclude ... for other modules
131 ($(INSTALL) -d $(incmakedir) || exit 1);
132 (sed 's/^prefix=/#prefix=/' $(top_builddir)/adm_local/unix/make_commence > $(incmakedir)/make_commence || exit 1);
136 # finish libtool install
137 # @$(LT) --mode=finish $(libdir)
139 install-include: $(include_list)
140 $(INSTALL) -d $(includedir)
141 @for f in X $(include_list); do \
142 if test $$f != X; then \
143 (cp -p $$f $(includedir) || exit 1); \
147 # install script in $(bindir) :
148 install-bin: $(BIN_SCRIPT)
149 $(INSTALL) -d $(bindir)
150 $(INSTALL_PROGRAM) $^ $(bindir)
152 uninstall: uninstall-idl
155 $(RM) $(idldir)/*.idl
157 distclean: distclean-other
160 -$(RM) salome_adm/unix/*~ salome_adm/unix/*% salome_adm/unix/*.bak salome_adm/unix/*.new salome_adm/unix/*.old
161 -$(RM) salome_adm/unix/make_*
162 -$(RM) salome_adm/unix/depend salome_adm/unix/SALOMEconfig.h salome_adm/unix/config.h
163 -$(RM) config.cache config.log config.status
167 install: install-bin install-include install-make install-end