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
17 SUBDIRS = idl src examples doc
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 \
49 Visu_streamlines.png \
50 Visu_graduated_axes.png
56 # copy header files in common directory
57 ifeq ($(HAVE_SSTREAM),yes)
58 include_list=include/salome/SALOMEconfig.h
60 include_list=include/salome/SALOMEconfig.h include/salome/sstream
63 inc: idl $(include_list)
65 include/salome/SALOMEconfig.h: salome_adm/unix/SALOMEconfig.ref
69 # test if SALOMEconfig.h has changed (contents)
70 salome_adm/unix/SALOMEconfig.ref: salome_adm/unix/SALOMEconfig.h
71 @if ! [ -a $@ ]; then \
74 if ! cmp $< $@; then \
78 include/salome/sstream: salome_adm/unix/sstream
85 (cd idl ; $(MAKE) $@) || exit 1
87 # doc is already build : if you want to had documents, go manually to doc and run 'make doc'
89 # (cd doc && $(MAKE) $@) || exit 1
92 # finish libtool install
93 # @$(LT) --mode=finish $(libdir)
95 install-include: $(include_list)
96 $(INSTALL) -d $(includedir)
97 @for f in X $(include_list); do \
98 if test $$f != X; then \
99 ($(INSTALL_DATA) -p $$f $(includedir)/. || exit 1); \
103 # install script in $(bindir) :
104 install-bin: $(BIN_SCRIPT)
105 $(INSTALL) -d $(bindir)
106 if test $(BIN_SCRIPT)X != X; then \
107 $(INSTALL_PROGRAM) $^ $(bindir); \
110 uninstall: uninstall-idl
113 $(RM) $(idldir)/*.idl
115 distclean: distclean-other
118 -$(RM) salome_adm/unix/*~ salome_adm/unix/*% salome_adm/unix/*.bak salome_adm/unix/*.new salome_adm/unix/*.old
119 -$(RM) salome_adm/unix/make_*
120 -$(RM) salome_adm/unix/depend salome_adm/unix/SALOMEconfig.h
121 -$(RM) config.cache config.log config.status
125 install: install-bin install-include install-end