Salome HOME
-lSalomeLoggerServer replaced by -lSALOMELocalTrace according to bug
[modules/med.git] / Makefile.in
index 493e48a28768a918a95b01de2f88d27d0730c04b..358348bb5fd69da3a9600d2fc8d70237f338fa37 100644 (file)
@@ -17,13 +17,15 @@ VPATH=.:@srcdir@:@top_srcdir@/bin:@top_srcdir@/resources:./bin:@top_srcdir@/idl:
 SUBDIRS = idl src
 
 RESOURCES_FILES = \
-Med_en.xml \
+MEDCatalog.xml \
+MED_en.xml \
 Data.png \
 Infos.png \
 Structure.png \
 ModuleMed.png
 
-BIN_SCRIPT=
+BIN_SCRIPT= \
+VERSION
 
 
 # copy header files in common directory
@@ -35,10 +37,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) ../../$< $@