@COMMENCE@
-SUBDIRS = idl src
-
-RESOURCES_FILES = \
-ModuleVisu.png \
-Visu_anim.png \
-Visu_cutplane.png \
-Visu_deformed.png \
-Visu_deformed_anim.png \
-Visu_eraseall.png \
-Visu_isosurfaces.png \
-Visu_plot2d.png \
-Visu_plot3d.png \
-Visu_points.png \
-Visu_sameas.png \
-Visu_scalars.png \
-Visu_scalars_anim.png \
-Visu_selectall.png \
-Visu_selectionactor.png \
-Visu_selectioncell.png \
-Visu_selectionedge.png \
-Visu_selectionpoint.png \
-Visu_selectonly.png \
-Visu_surface.png \
-Visu_vectors.png \
-Visu_wireframe.png \
-Visu_scaling.png \
-VISU_en.xml \
-VISU_fr.xml \
-VISUCatalog.xml \
-Visu_tree_visu.png \
-Visu_streamlines.png
-
-BIN_SCRIPT=
+SUBDIRS = idl src doc
+
+BIN_SCRIPT= \
+VERSION
# copy header files in common directory
inc: idl $(include_list)
-include/salome/SALOMEconfig.h: salome_adm/unix/SALOMEconfig.h
+include/salome/SALOMEconfig.h: salome_adm/unix/SALOMEconfig.ref
-$(RM) $@
$(LN_S) ../../$< $@
+# test if SALOMEconfig.h has changed (contents)
+salome_adm/unix/SALOMEconfig.ref: salome_adm/unix/SALOMEconfig.h
+ @if ! [ -a $@ ]; then \
+ cp -p -f $< $@; \
+ fi; \
+ if ! cmp $< $@; then \
+ cp -p -f $< $@; \
+ fi; \
+
include/salome/sstream: salome_adm/unix/sstream
-$(RM) $@
$(LN_S) ../../$< $@
$(INSTALL) -d $(includedir)
@for f in X $(include_list); do \
if test $$f != X; then \
- ($(INSTALL_DATA) $$f $(includedir)/. || exit 1); \
+ ($(INSTALL_DATA) -p $$f $(includedir)/. || exit 1); \
fi; \
done