]> SALOME platform Git repositories - tools/medcoupling.git/commitdiff
Salome HOME
correcting Makefile.am
authorndjinga <ndjinga>
Mon, 18 Feb 2008 09:56:21 +0000 (09:56 +0000)
committerndjinga <ndjinga>
Mon, 18 Feb 2008 09:56:21 +0000 (09:56 +0000)
src/INTERP_KERNEL/Makefile.am
src/INTERP_KERNEL/Test/Makefile.am

index 6483b1ccdc81deaac18851c0107c3cfae9e38c76..aee2f9b02fab68b17045402c5c0b066b76a012cc 100644 (file)
@@ -55,7 +55,7 @@ BoundingBox.cxx\
 TetraAffineTransform.cxx\
 Remapper.cxx
 
-libinterpkernel_la_LDFLAGS= $(MED2_LIBS) $(HDF5_LIBS) -lmed_V2_1 $(STDLIB) -lmedmem   -lutil
+libinterpkernel_la_LDFLAGS= $(MED2_LIBS) $(HDF5_LIBS) ../MEDWrapper/V2_1/Core/libmed_V2_1.la $(STDLIB) ../MEDMEM/libmedmem.la  -lutil -lm
 
 libinterpkernel_la_CPPFLAGS=  @CXXTMPDPTHFLAGS@ \
        -I$(srcdir) -I$(srcdir)/../MEDMEM $(BOOST_CPPFLAGS) -DOPTIMIZE -DLOG_LEVEL=0 \
@@ -68,8 +68,8 @@ if MED_ENABLE_KERNEL
     libinterpkernel_la_LDFLAGS+= ${KERNEL_LDFLAGS} -lSALOMELocalTrace 
 endif
 
-AM_CPPFLAGS= $(libmedmem_la_CPPFLAGS)
-LDADD= $(libmedmem_la_LDFLAGS) -lm libmedmem.la
+AM_CPPFLAGS= $(libinterpkernel_la_CPPFLAGS)
+LDADD= $(libinterpkernel_la_LDFLAGS)
 if MED_ENABLE_KERNEL
      LDADD+=-lSALOMEBasics
 endif
index 7c61f9f12fe4dcf86218ce673d371c691c1d94c8..970a4ffd45a703c315e5c83cf4011eaad3a574de 100644 (file)
@@ -35,7 +35,8 @@ salomeinclude_HEADERS = CppUnitTest.hxx \
                 BBTreeTest.hxx \
                 RemapperTest.hxx \
                 SingleElementPlanarTests.hxx \
-                MultiElementPlanarTests.hxx 
+                MultiElement2DTests.hxx \
+                InterpolationPlanarTestSuite.hxx       
 
 EXTRA_DIST += BasicMainTest.hxx
 
@@ -49,11 +50,12 @@ dist_libInterpKernelTest_la_SOURCES= \
 
 libInterpKernelTest_la_CPPFLAGS= @CPPUNIT_INCLUDES@ $(MED2_INCLUDES) $(HDF5_INCLUDES) \
        -I$(srcdir)/.. -I$(srcdir)/../../MEDWrapper/V2_1/Core -I$(srcdir)/../../MEDMEM  -DOPTIMIZE -DLOG_LEVEL=0
-libInterpKernelTest_la_LDFLAGS= @CPPUNIT_LIBS@
+libInterpKernelTest_la_LDFLAGS= @CPPUNIT_LIBS@         ../../MEDWrapper/V2_1/Core/libmed_V2_1.la  \
+                                                       ../libinterpkernel.la ../../MEDMEM/libmedmem.la  -lm
 
 if MED_ENABLE_KERNEL
     libInterpKernelTest_la_CPPFLAGS+= ${KERNEL_CXXFLAGS}
-    libInterpKernelTest_la_LDFLAGS+= ${KERNEL_LDFLAGS} -lSALOMELocalTrace 
+    libInterpKernelTest_la_LDFLAGS+= ${KERNEL_LDFLAGS} -lSALOMELocalTrace
 endif
 
 # Executables targets
@@ -63,8 +65,8 @@ bin_PROGRAMS = TestInterpKernel \
 dist_TestInterpKernel_SOURCES= TestInterpKernel.cxx
 dist_PerfTest_SOURCES= PerfTest.cxx
 
-LDADD= $(MED2_LIBS) $(libInterpKernelTest_la_LDFLAGS) -lm \
-       ../../MEDWrapper/V2_1/Core/libmed_V2_1.la ../libinterpkernel.la ../../MEDMEM/libmedmem.la libInterpKernelTest.la
+LDADD= $(MED2_LIBS) $(libInterpKernelTest_la_LDFLAGS) \
+       libInterpKernelTest.la
 if MED_ENABLE_KERNEL
      LDADD+= -lSALOMEBasics
 endif