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 \
79 # copy header files in common directory
80 OWN_CONFIG_H=@OWN_CONFIG_H@
82 ifeq ($(OWN_CONFIG_H),yes)
83 ifeq ($(HAVE_SSTREAM),yes)
84 include_list=include/salome/SALOMEconfig.h include/salome/config.h
86 include_list=include/salome/SALOMEconfig.h include/salome/config.h include/salome/sstream
89 ifeq ($(HAVE_SSTREAM),yes)
90 include_list=include/salome/SALOMEconfig.h
92 include_list=include/salome/SALOMEconfig.h include/salome/sstream
96 inc: idl $(include_list)
98 include/salome/SALOMEconfig.h: salome_adm/unix/SALOMEconfig.ref
102 # test if SALOMEconfig.h has changed (contents)
103 salome_adm/unix/SALOMEconfig.ref: salome_adm/unix/SALOMEconfig.h
104 @if ! [ -a $@ ]; then \
107 if ! cmp $< $@; then \
111 include/salome/config.h: salome_adm/unix/config.h
115 include/salome/sstream: salome_adm/unix/sstream
122 (cd idl ; $(MAKE) $@) || exit 1
124 # doc is already build : if you want to had documents, go manually to doc and run 'make doc'
126 # (cd doc && $(MAKE) $@) || exit 1
128 # Install make_commence make_conclude ... for other modules
130 ($(INSTALL) -d $(incmakedir) || exit 1);
131 (sed 's/^prefix=/#prefix=/' $(top_builddir)/adm_local/unix/make_commence > $(incmakedir)/make_commence || exit 1);
135 # finish libtool install
136 # @$(LT) --mode=finish $(libdir)
138 install-include: $(include_list)
139 $(INSTALL) -d $(includedir)
140 @for f in X $(include_list); do \
141 if test $$f != X; then \
142 (cp -p $$f $(includedir) || exit 1); \
146 # install script in $(bindir) :
147 install-bin: $(BIN_SCRIPT)
148 $(INSTALL) -d $(bindir)
149 $(INSTALL_PROGRAM) $^ $(bindir)
151 uninstall: uninstall-idl
154 $(RM) $(idldir)/*.idl
156 distclean: distclean-other
159 -$(RM) salome_adm/unix/*~ salome_adm/unix/*% salome_adm/unix/*.bak salome_adm/unix/*.new salome_adm/unix/*.old
160 -$(RM) salome_adm/unix/make_*
161 -$(RM) salome_adm/unix/depend salome_adm/unix/SALOMEconfig.h salome_adm/unix/config.h
162 -$(RM) config.cache config.log config.status
166 install: install-bin install-include install-make install-end