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
24 Visu_deformed_anim.png \
26 Visu_isosurfaces.png \
32 Visu_scalars_anim.png \
34 Visu_selectionactor.png \
35 Visu_selectioncell.png \
36 Visu_selectionedge.png \
37 Visu_selectionpoint.png \
53 # copy header files in common directory
54 ifeq ($(HAVE_SSTREAM),yes)
55 include_list=include/salome/SALOMEconfig.h
57 include_list=include/salome/SALOMEconfig.h include/salome/sstream
60 inc: idl $(include_list)
62 include/salome/SALOMEconfig.h: salome_adm/unix/SALOMEconfig.ref
66 # test if SALOMEconfig.h has changed (contents)
67 salome_adm/unix/SALOMEconfig.ref: salome_adm/unix/SALOMEconfig.h
68 @if ! [ -a $@ ]; then \
71 if ! cmp $< $@; then \
75 include/salome/sstream: salome_adm/unix/sstream
82 (cd idl ; $(MAKE) $@) || exit 1
84 # doc is already build : if you want to had documents, go manually to doc and run 'make doc'
86 # (cd doc && $(MAKE) $@) || exit 1
89 # finish libtool install
90 # @$(LT) --mode=finish $(libdir)
92 install-include: $(include_list)
93 $(INSTALL) -d $(includedir)
94 @for f in X $(include_list); do \
95 if test $$f != X; then \
96 ($(INSTALL_DATA) $$f $(includedir)/. || exit 1); \
100 # install script in $(bindir) :
101 install-bin: $(BIN_SCRIPT)
102 $(INSTALL) -d $(bindir)
103 if test $(BIN_SCRIPT)X != X; then \
104 $(INSTALL_PROGRAM) $^ $(bindir); \
107 uninstall: uninstall-idl
110 $(RM) $(idldir)/*.idl
112 distclean: distclean-other
115 -$(RM) salome_adm/unix/*~ salome_adm/unix/*% salome_adm/unix/*.bak salome_adm/unix/*.new salome_adm/unix/*.old
116 -$(RM) salome_adm/unix/make_*
117 -$(RM) salome_adm/unix/depend salome_adm/unix/SALOMEconfig.h
118 -$(RM) config.cache config.log config.status
122 install: install-bin install-include install-end