3 # Author : Patrick GOLDBRONN (CEA)
9 top_srcdir=@top_srcdir@
12 VPATH=.:@srcdir@:@top_srcdir@/bin:@top_srcdir@/resources:./bin:@top_srcdir@/idl
45 circlepointvector.png \
53 cylinderpointvector.png \
74 multirotationdouble.png \
75 multirotationsimple.png \
76 multitranslation.png \
77 multitranslationdouble.png \
78 multitranslationsimple.png \
87 planepointvector.png \
88 planeworkingface.png \
104 supressHolesOnFaceShell.png \
110 toruspointvector.png \
129 # copy header files in common directory
130 ifeq ($(HAVE_SSTREAM),yes)
131 include_list=include/salome/SALOMEconfig.h
133 include_list=include/salome/SALOMEconfig.h include/salome/sstream
136 inc: idl $(include_list)
138 include/salome/SALOMEconfig.h: salome_adm/unix/SALOMEconfig.ref
142 # test if SALOMEconfig.h has changed (contents)
143 salome_adm/unix/SALOMEconfig.ref: salome_adm/unix/SALOMEconfig.h
144 @if ! [ -a $@ ]; then \
147 if ! cmp $< $@; then \
151 include/salome/sstream: salome_adm/unix/sstream
158 (cd idl ; $(MAKE) $@) || exit 1
160 # doc is already build : if you want to had documents, go manually to doc and run 'make doc'
162 # (cd doc && $(MAKE) $@) || exit 1
165 # finish libtool install
166 # @$(LT) --mode=finish $(libdir)
168 install-include: $(include_list)
169 $(INSTALL) -d $(includedir)
170 @for f in X $(include_list); do \
171 if test $$f != X; then \
172 ($(INSTALL_DATA) $$f $(includedir)/. || exit 1); \
176 # install script in $(bindir) :
177 install-bin: $(BIN_SCRIPT)
178 $(INSTALL) -d $(bindir)
179 if test $(BIN_SCRIPT)X != X; then \
180 $(INSTALL_PROGRAM) $^ $(bindir); \
183 uninstall: uninstall-idl
186 $(RM) $(idldir)/*.idl
188 distclean: distclean-other
191 -$(RM) salome_adm/unix/*~ salome_adm/unix/*% salome_adm/unix/*.bak salome_adm/unix/*.new salome_adm/unix/*.old
192 -$(RM) salome_adm/unix/make_*
193 -$(RM) salome_adm/unix/depend salome_adm/unix/SALOMEconfig.h
194 -$(RM) config.cache config.log config.status
198 install: install-bin install-include install-end