]> SALOME platform Git repositories - modules/med.git/commitdiff
Salome HOME
Commit changes after trying to use the MED module as a stand alone one.
authornadir <nadir>
Fri, 4 Nov 2005 09:51:51 +0000 (09:51 +0000)
committernadir <nadir>
Fri, 4 Nov 2005 09:51:51 +0000 (09:51 +0000)
Practically linking with SALOMEBasics KERNEL Library should be done when
$MED_WITH_KERNEL is equal to yes. The Med Module should be tested even in a
stand alone configuration (ie without-kernel).

src/INTERPOLATION/Makefile.in
src/MEDMEM/Makefile.in

index 250f2a56a133c4386833a0353e4c8e4ae7e712bc..da0fbfd98ef378f10d195a8d7d348dd177807b66 100644 (file)
@@ -85,7 +85,7 @@ CXXFLAGS+=-U_DEBUG_ @CXXTMPDPTHFLAGS@
 LDFLAGS+=-lm $(MED2_LIBS) $(HDF5_LIBS) -lMEDWrapper_V2_1
 
 #LDFLAGSFORBIN+=$(MED2_LIBS) $(HDF5_LIBS) -L../.libs -lmedmem
-LDFLAGSFORBIN+=-lm $(MED2_LIBS) $(HDF5_LIBS) -L../.libs -lmedmem -lMEDWrapper_V2_1 -lMEDWrapperBase -lSALOMEBasics
+LDFLAGSFORBIN+=-lm $(MED2_LIBS) $(HDF5_LIBS) -L../.libs -lmedmem -lMEDWrapper_V2_1 -lMEDWrapperBase
 
 ifeq ($(MED_WITH_KERNEL),yes)
   CPPFLAGS+= -I${KERNEL_ROOT_DIR}/include/salome
@@ -94,7 +94,7 @@ ifeq ($(MED_WITH_KERNEL),yes)
   LDFLAGS+= -lSALOMELocalTrace -L${KERNEL_ROOT_DIR}/lib/salome
 
   #LDFLAGSFORBIN+= -lSalomeLoggerServer -L${KERNEL_ROOT_DIR}/lib/salome
-  LDFLAGSFORBIN+= -lSALOMELocalTrace -L${KERNEL_ROOT_DIR}/lib/salome
+  LDFLAGSFORBIN+= -lSALOMELocalTrace -lSALOMEBasics -L${KERNEL_ROOT_DIR}/lib/salome
 endif
 
 LIBSFORBIN=
index 1f25a87fe21acb3b1cd8c44d4cb908b2a5147103..fb0adfb847ee4dd2b8b1141c73f6d07b6e1c5a2e 100644 (file)
@@ -145,13 +145,13 @@ LDFLAGS+=$(MED2_LIBS) $(HDF5_LIBS) -lMEDWrapper_V2_1 $(STDLIB)
 
 #LDFLAGSFORBIN+=$(MED2_LIBS) $(HDF5_LIBS)
 # change motivated by the bug KERNEL4778.
-LDFLAGSFORBIN+=-lm $(MED2_LIBS) $(HDF5_LIBS) -lMEDWrapper_V2_1 -lMEDWrapperBase -lSALOMEBasics
+LDFLAGSFORBIN+=-lm $(MED2_LIBS) $(HDF5_LIBS) -lMEDWrapper_V2_1 -lMEDWrapperBase
 
 ifeq ($(MED_WITH_KERNEL),yes)
   CPPFLAGS+= -I${KERNEL_ROOT_DIR}/include/salome
   CXXFLAGS+= -I${KERNEL_ROOT_DIR}/include/salome
   LDFLAGS+= -lSALOMELocalTrace  -L${KERNEL_ROOT_DIR}/lib/salome
-  LDFLAGSFORBIN+= -lSALOMELocalTrace  -L${KERNEL_ROOT_DIR}/lib/salome
+  LDFLAGSFORBIN+= -lSALOMELocalTrace -lSALOMEBasics -L${KERNEL_ROOT_DIR}/lib/salome
 endif
 
 LIBSFORBIN=