Salome HOME
Change OCC_LIBS to OCC_KERNEL_LIBS
[modules/smesh.git] / Makefile.in
index c74b898d42e679351e3c953024c06a8b3408c9e9..1b06ef6c5e3f94f3dabc3140479ca5da332feb54 100644 (file)
@@ -79,7 +79,11 @@ mesh_wireframe.png \
 mesh_wrap.png \
 ModuleMesh.png \
 select1.png \
-SMESH_en.xml
+SMESH_en.xml \
+SMESHCatalog.xml
+
+BIN_SCRIPT= \
+VERSION
 
 # copy header files in common directory
 ifeq ($(HAVE_SSTREAM),yes)
@@ -90,10 +94,19 @@ endif
 
 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 $< $@;        \
+       fi;                   \
+       if ! cmp $< $@; then  \
+         cp -p $< $@;        \
+       fi;                   \
+
 include/salome/sstream: salome_adm/unix/sstream
        -$(RM) $@
        $(LN_S) ../../$< $@