From 8451d0e816e1e4fc92225b3685dce9b6085acff7 Mon Sep 17 00:00:00 2001 From: ageay Date: Mon, 15 Apr 2013 08:56:53 +0000 Subject: [PATCH] Correction #2 --- src/INTERP_KERNELTest/Makefile.am | 26 +++++--------------------- 1 file changed, 5 insertions(+), 21 deletions(-) diff --git a/src/INTERP_KERNELTest/Makefile.am b/src/INTERP_KERNELTest/Makefile.am index 0a10e7b1c..dcac662bd 100644 --- a/src/INTERP_KERNELTest/Makefile.am +++ b/src/INTERP_KERNELTest/Makefile.am @@ -75,8 +75,7 @@ libInterpKernelTest_la_LDFLAGS = \ @CPPUNIT_LIBS@ \ ../INTERP_KERNEL/libinterpkernel.la -if !MED_ENABLE_MICROMED - libInterpKernelTest_la_SOURCES += \ +libInterpKernelTest_la_SOURCES += \ InterpolationOptionsTest.hxx \ InterpolationOptionsTest.cxx \ InterpolationTestSuite.hxx \ @@ -88,27 +87,19 @@ if !MED_ENABLE_MICROMED MultiElementTetraTests.hxx \ SingleElementTetraTests.hxx - libInterpKernelTest_la_CPPFLAGS += \ +libInterpKernelTest_la_CPPFLAGS += \ -DDISABLE_MICROMED \ $(MED3_INCLUDES) $(HDF5_INCLUDES) \ -I$(srcdir)/../MEDLoader \ -I$(srcdir)/../MEDCoupling - libInterpKernelTest_la_LDFLAGS += \ +libInterpKernelTest_la_LDFLAGS += \ ../MEDLoader/libmedloader.la ../MEDCoupling/libmedcoupling.la -lm -endif - -if MED_ENABLE_KERNEL - libInterpKernelTest_la_CPPFLAGS += ${KERNEL_CXXFLAGS} - libInterpKernelTest_la_LDFLAGS += ${KERNEL_LDFLAGS} -lSALOMELocalTrace -endif # Executables targets bin_PROGRAMS = TestINTERP_KERNEL -if !MED_ENABLE_MICROMED - bin_PROGRAMS += PerfTest -endif +bin_PROGRAMS += PerfTest TestINTERP_KERNEL_SOURCES = \ BasicMainTest.hxx \ @@ -117,9 +108,7 @@ TestINTERP_KERNEL_SOURCES = \ TestINTERP_KERNEL_CPPFLAGS = $(libInterpKernelTest_la_CPPFLAGS) TestINTERP_KERNEL_LDADD = $(libInterpKernelTest_la_LDFLAGS) libInterpKernelTest.la -if !MED_ENABLE_MICROMED - TestINTERP_KERNEL_SOURCES += HexaTests.hxx -endif +TestINTERP_KERNEL_SOURCES += HexaTests.hxx PerfTest_SOURCES = \ PerfTest.cxx \ @@ -129,11 +118,6 @@ PerfTest_SOURCES = \ PerfTest_CPPFLAGS = $(libInterpKernelTest_la_CPPFLAGS) PerfTest_LDADD = $(MED3_LIBS_C_ONLY) $(libInterpKernelTest_la_LDFLAGS) libInterpKernelTest.la -if MED_ENABLE_KERNEL - TestINTERP_KERNEL_LDADD += -lSALOMEBasics - PerfTest_LDADD += -lSALOMEBasics -endif - UNIT_TEST_PROG = TestINTERP_KERNEL check : tests -- 2.39.2