# Copyright (C) 2007-2008 CEA/DEN, EDF R&D # # This library is free software; you can redistribute it and/or # modify it under the terms of the GNU Lesser General Public # License as published by the Free Software Foundation; either # version 2.1 of the License. # # This library is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU # Lesser General Public License for more details. # # You should have received a copy of the GNU Lesser General Public # License along with this library; if not, write to the Free Software # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA # # See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com # include $(top_srcdir)/adm_local/unix/make_common_starter.am lib_LTLIBRARIES = libParaMEDMEMTest.la salomeinclude_HEADERS = MPIMainTest.hxx \ MPIAccessDECTest.hxx \ MPIAccessTest.hxx \ ParaMEDMEMTest.hxx EXTRA_DIST += MPIMainTest.hxx ParaMEDMEMTest_NonCoincidentDEC.cxx dist_libParaMEDMEMTest_la_SOURCES= \ ParaMEDMEMTest.cxx \ ParaMEDMEMTest_MPIProcessorGroup.cxx \ ParaMEDMEMTest_BlockTopology.cxx \ ParaMEDMEMTest_IntersectionDEC.cxx \ ParaMEDMEMTest_StructuredCoincidentDEC.cxx \ MPIAccessDECTest.cxx \ test_AllToAllDEC.cxx \ test_AllToAllvDEC.cxx \ test_AllToAllTimeDEC.cxx \ test_AllToAllvTimeDEC.cxx \ test_AllToAllvTimeDoubleDEC.cxx \ MPIAccessTest.cxx \ test_MPI_Access_Send_Recv.cxx \ test_MPI_Access_Cyclic_Send_Recv.cxx \ test_MPI_Access_SendRecv.cxx \ test_MPI_Access_ISend_IRecv.cxx \ test_MPI_Access_Cyclic_ISend_IRecv.cxx \ test_MPI_Access_ISendRecv.cxx \ test_MPI_Access_Probe.cxx \ test_MPI_Access_IProbe.cxx \ test_MPI_Access_Cancel.cxx \ test_MPI_Access_Send_Recv_Length.cxx \ test_MPI_Access_ISend_IRecv_Length.cxx \ test_MPI_Access_ISend_IRecv_Length_1.cxx \ test_MPI_Access_Time.cxx \ test_MPI_Access_Time_0.cxx \ test_MPI_Access_ISend_IRecv_BottleNeck.cxx libParaMEDMEMTest_la_CPPFLAGS= @CPPUNIT_INCLUDES@ \ $(MPI_INCLUDES) \ -I$(srcdir)/../../INTERP_KERNEL \ -I$(srcdir)/../../INTERP_KERNEL/Bases \ -I$(srcdir)/../../INTERP_KERNEL/Geometric2D \ -I$(srcdir)/../../ParaMEDMEM \ -I$(srcdir)/../../MEDCoupling \ -I$(srcdir)/../MEDLoader libParaMEDMEMTest_la_LDFLAGS= ../MEDLoader/libparamedmemmedloader.la @CPPUNIT_LIBS@ $(MPI_LIBS) if MED_ENABLE_KERNEL libParaMEDMEMTest_la_CPPFLAGS+= ${KERNEL_CXXFLAGS} libParaMEDMEMTest_la_LDFLAGS+= ${KERNEL_LDFLAGS} -lSALOMELocalTrace endif # Executables targets bin_PROGRAMS = TestParaMEDMEM \ TestMPIAccessDEC \ TestMPIAccess dist_TestParaMEDMEM_SOURCES = TestParaMEDMEM.cxx dist_TestMPIAccessDEC_SOURCES = TestMPIAccessDEC.cxx dist_TestMPIAccess_SOURCES = TestMPIAccess.cxx LDADD= $(MED2_LIBS) $(libMEDMEMTest_la_LDFLAGS) -lm $(MPI_LIBS) \ ../libparamedmem.la libParaMEDMEMTest.la \ ../../INTERP_KERNEL/libinterpkernel.la if MED_ENABLE_KERNEL LDADD+= -lSALOMEBasics endif if MED_ENABLE_FVM LDADD += $(FVM_LIBS) dist_libParaMEDMEMTest_la_SOURCES += ParaMEDMEMTest_NonCoincidentDEC.cxx libParaMEDMEMTest_la_CPPFLAGS+= -DMED_ENABLE_FVM $(FVM_INCLUDES) libParaMEDMEMTest_la_LDFLAGS+= $(FVM_LIBS) endif AM_CPPFLAGS= $(libParaMEDMEMTest_la_CPPFLAGS) UNIT_TEST_PROG = TestParaMEDMEM