1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61
|
#-------------------------------------------------------------------------------
# This file is part of the "Finite Volume Mesh" library, intended to provide
# finite volume mesh and associated fields I/O and manipulation services.
#
# Copyright (C) 2004-2008 EDF
#
# 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, or (at your option) any later version.
#
# 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., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
#-------------------------------------------------------------------------------
# Add any debug flags
if DEBUG
DEBUG_CPPFLAGS = -DDEBUG
else
DEBUG_CPPFLAGS = -DNDEBUG
endif
# Main part
AM_CPPFLAGS = $(DEBUG_CPPFLAGS) -I$(top_srcdir)/src @BFT_CPPFLAGS@ @MPI_CPPFLAGS@
AM_CFLAGS =
AM_LDFLAGS = @BFT_LDFLAGS@ @HDF5_LDFLAGS@ @MED_LDFLAGS@ @CGNS_LDFLAGS@ \
@MPI_LDFLAGS@
LDADD = $(top_builddir)/src/libfvm.la \
@BFT_LIBS@ @HDF5_LIBS@ @MED_LIBS@ @CGNS_LIBS@ @MPI_LIBS@
check_PROGRAMS = \
fvm_file_test \
fvm_interface_test \
fvm_selector_test \
fvm_selector_postfix_test
fvm_file_test_SOURCES = fvm_file_test.c
fvm_interface_test_SOURCES = fvm_interface_test.c
fvm_selector_test_SOURCES = fvm_selector_test.c
fvm_selector_postfix_test_SOURCES = fvm_selector_postfix_test.c
if HAVE_MPI
check_PROGRAMS += fvm_coupling_test
fvm_coupling_test_SOURCES = fvm_coupling_test.c
fvm_coupling_test_CPPFLAGS = $(DEBUG_CPPFLAGS) -I$(top_srcdir)/src @BFT_CPPFLAGS@ @MPI_CPPFLAGS@
fvm_coupling_test_LDFLAGS = @BFT_LDFLAGS@ @MPI_LDFLAGS@
fvm_coupling_test_LDADD = $(top_builddir)/src/libfvm_coupl.la \
@BFT_LIBS@ @MPI_LIBS@
endif
# Uncomment for tests execution at "make check"
#TESTS=$(check_PROGRAMS)
|