3 # Author : Patrick GOLDBRONN (CEA)
9 top_srcdir=@top_srcdir@
12 VPATH=.:@srcdir@:@top_srcdir@/bin:@top_srcdir@/resources:./bin:@top_srcdir@/idl:${KERNEL_ROOT_DIR}/idl/salome
25 Visu_deformed_anim.png \
27 Visu_isosurfaces.png \
33 Visu_scalars_anim.png \
35 Visu_selectionactor.png \
36 Visu_selectioncell.png \
37 Visu_selectionedge.png \
38 Visu_selectionpoint.png \
54 # copy header files in common directory
55 ifeq ($(HAVE_SSTREAM),yes)
56 include_list=include/salome/SALOMEconfig.h
58 include_list=include/salome/SALOMEconfig.h include/salome/sstream
61 inc: idl $(include_list)
63 include/salome/SALOMEconfig.h: salome_adm/unix/SALOMEconfig.ref
67 # test if SALOMEconfig.h has changed (contents)
68 salome_adm/unix/SALOMEconfig.ref: salome_adm/unix/SALOMEconfig.h
69 @if ! [ -a $@ ]; then \
72 if ! cmp $< $@; then \
76 include/salome/sstream: salome_adm/unix/sstream
83 (cd idl ; $(MAKE) $@) || exit 1
85 # doc is already build : if you want to had documents, go manually to doc and run 'make doc'
87 # (cd doc && $(MAKE) $@) || exit 1
90 # finish libtool install
91 # @$(LT) --mode=finish $(libdir)
93 install-include: $(include_list)
94 $(INSTALL) -d $(includedir)
95 @for f in X $(include_list); do \
96 if test $$f != X; then \
97 ($(INSTALL_DATA) $$f $(includedir)/. || exit 1); \
101 # install script in $(bindir) :
102 install-bin: $(BIN_SCRIPT)
103 $(INSTALL) -d $(bindir)
104 if test $(BIN_SCRIPT)X != X; then \
105 $(INSTALL_PROGRAM) $^ $(bindir); \
108 uninstall: uninstall-idl
111 $(RM) $(idldir)/*.idl
113 distclean: distclean-other
116 -$(RM) salome_adm/unix/*~ salome_adm/unix/*% salome_adm/unix/*.bak salome_adm/unix/*.new salome_adm/unix/*.old
117 -$(RM) salome_adm/unix/make_*
118 -$(RM) salome_adm/unix/depend salome_adm/unix/SALOMEconfig.h
119 -$(RM) config.cache config.log config.status
123 install: install-bin install-include install-end