Commit 1bc5785f authored by Karl Wette's avatar Karl Wette
Browse files

Set LDADD in ./configure to LAL libraries, to be available in all Makefiles

Original: c316ed1f9a1b96b67e2d55b458e9e52e3ea0bf51
parent 9fabb1d0
......@@ -345,6 +345,9 @@ AM_CONDITIONAL([QTHREAD],[test x$qthread = xtrue])
# add gcc specific flags --- must be done at end or tests will break!
LALSUITE_ADD_GCC_FLAGS
# link any executables against LAL and LALSupport libraries
AC_SUBST([LDADD], ["\$(top_builddir)/lib/lal/liblal.la \$(top_builddir)/lib/lalsupport/src/liblalsupport.la"])
# add extra preprocessor flags
AM_CPPFLAGS="\$(TEST_CPPFLAGS) ${AM_CPPFLAGS}"
AM_CPPFLAGS="-DPKG_DATA_DIR='\"\$(pkgdatadir)/\"' ${AM_CPPFLAGS}"
......
include $(top_srcdir)/gnuscripts/lallibs_header_links.am
TEST_CPPFLAGS = -DTEST_DATA_DIR='"$(abs_srcdir)/"'
LDADD = \
$(top_builddir)/lib/lal/liblal.la \
$(top_builddir)/lib/lalsupport/src/liblalsupport.la
check_PROGRAMS = \
ConfigFileTest \
......
include $(top_srcdir)/gnuscripts/lallibs_header_links.am
TEST_CPPFLAGS = -DTEST_DATA_DIR='"$(abs_srcdir)/"'
LDADD = \
$(top_builddir)/lib/lal/liblal.la \
$(top_builddir)/lib/lalsupport/src/liblalsupport.la
check_PROGRAMS = \
TestJulianDay\
......
include $(top_srcdir)/gnuscripts/lallibs_header_links.am
TEST_CPPFLAGS = -DTEST_DATA_DIR='"$(abs_srcdir)/"'
LDADD = \
$(top_builddir)/lib/lal/liblal.la \
$(top_builddir)/lib/lalsupport/src/liblalsupport.la
noinst_HEADERS = \
ArrayFactoriesTest_source.c \
......
include $(top_srcdir)/gnuscripts/lallibs_header_links.am
TEST_CPPFLAGS = -DTEST_DATA_DIR='"$(abs_srcdir)/"'
LDADD = \
$(top_builddir)/lib/lal/liblal.la \
$(top_builddir)/lib/lalsupport/src/liblalsupport.la
check_PROGRAMS = \
ComplexFFTTest \
......
include $(top_srcdir)/gnuscripts/lallibs_header_links.am
TEST_CPPFLAGS = -DTEST_DATA_DIR='"$(abs_srcdir)/"'
LDADD = \
$(top_builddir)/lib/lal/liblal.la \
$(top_builddir)/lib/lalsupport/src/liblalsupport.la
check_PROGRAMS = \
GeocentricGeodeticTest \
......
include $(top_srcdir)/gnuscripts/lallibs_header_links.am
TEST_CPPFLAGS = -DTEST_DATA_DIR='"$(abs_srcdir)/"'
LDADD = \
$(top_builddir)/lib/lal/liblal.la \
$(top_builddir)/lib/lalsupport/src/liblalsupport.la
check_PROGRAMS = \
NoisePSDTest
......
include $(top_srcdir)/gnuscripts/lallibs_header_links.am
TEST_CPPFLAGS = -DTEST_DATA_DIR='"$(abs_srcdir)/"'
LDADD = \
$(top_builddir)/lib/lal/liblal.la \
$(top_builddir)/lib/lalsupport/src/liblalsupport.la
check_PROGRAMS = \
LALMomentTest \
......
include $(top_srcdir)/gnuscripts/lallibs_header_links.am
TEST_CPPFLAGS = -DTEST_DATA_DIR='"$(abs_srcdir)/"'
LDADD = \
$(top_builddir)/lib/lal/liblal.la \
$(top_builddir)/lib/lalsupport/src/liblalsupport.la
check_PROGRAMS = \
LALConstantsTest \
......
include $(top_srcdir)/gnuscripts/lallibs_header_links.am
TEST_CPPFLAGS = -DTEST_DATA_DIR='"$(abs_srcdir)/"'
LDADD = \
$(top_builddir)/lib/lal/liblal.la \
$(top_builddir)/lib/lalsupport/src/liblalsupport.la
check_PROGRAMS = \
BandPassTest \
......
include $(top_srcdir)/gnuscripts/lallibs_header_links.am
TEST_CPPFLAGS = -DTEST_DATA_DIR='"$(abs_srcdir)/"'
LDADD = \
$(top_builddir)/lib/lal/liblal.la \
$(top_builddir)/lib/lalsupport/src/liblalsupport.la
check_PROGRAMS = \
CoherentEstimationTest \
......
include $(top_srcdir)/gnuscripts/lallibs_header_links.am
TEST_CPPFLAGS = -DTEST_DATA_DIR='"$(abs_srcdir)/"'
LDADD = \
$(top_builddir)/lib/lal/liblal.la \
$(top_builddir)/lib/lalsupport/src/liblalsupport.la
check_PROGRAMS = \
CCoarseGrainFrequencySeriesTest \
......
include $(top_srcdir)/gnuscripts/lallibs_header_links.am
TEST_CPPFLAGS = -DTEST_DATA_DIR='"$(abs_srcdir)/"'
LDADD = \
$(top_builddir)/lib/lal/liblal.la \
$(top_builddir)/lib/lalsupport/src/liblalsupport.la
check_PROGRAMS = \
VectorOpsTest \
......
include $(top_srcdir)/gnuscripts/lallibs_header_links.am
TEST_CPPFLAGS = -DTEST_DATA_DIR='"$(abs_srcdir)/"'
LDADD = $(top_builddir)/lib/lal/liblal.la -lm
check_PROGRAMS = WindowTest
......
......@@ -406,6 +406,9 @@ fi
# add gcc specific flags
LALSUITE_ADD_GCC_FLAGS
# link any executables against LALApps library
AC_SUBST([LDADD], ["\$(top_builddir)/src/lalapps/liblalapps.la"])
# add extra preprocessor flags
AM_CPPFLAGS="-DPKG_DATA_DIR='\"\$(pkgdatadir)/\"' ${AM_CPPFLAGS}"
AM_CPPFLAGS="-I\$(top_builddir)/src/lalapps ${AM_CPPFLAGS}"
......
LDADD =
BUILT_SOURCES =
include $(top_srcdir)/gnuscripts/lalapps.am
......
LDADD =
BUILT_SOURCES =
include $(top_srcdir)/gnuscripts/lalapps.am
......
LDADD =
BUILT_SOURCES =
include $(top_srcdir)/gnuscripts/lalapps.am
......
LDADD =
BUILT_SOURCES =
include $(top_srcdir)/gnuscripts/lalapps.am
......
LDADD =
BUILT_SOURCES =
include $(top_srcdir)/gnuscripts/lalapps.am
......
LDADD =
BUILT_SOURCES =
include $(top_srcdir)/gnuscripts/lalapps.am
......
LDADD =
BUILT_SOURCES =
include $(top_srcdir)/gnuscripts/lalapps.am
......
LDADD =
BUILT_SOURCES =
include $(top_srcdir)/gnuscripts/lalapps.am
......
LDADD =
BUILT_SOURCES =
include $(top_srcdir)/gnuscripts/lalapps.am
......
LDADD =
BUILT_SOURCES =
include $(top_srcdir)/gnuscripts/lalapps.am
......
LDADD =
BUILT_SOURCES =
include $(top_srcdir)/gnuscripts/lalapps.am
......
LDADD =
BUILT_SOURCES =
include $(top_srcdir)/gnuscripts/lalapps.am
......
LDADD =
BUILT_SOURCES =
include $(top_srcdir)/gnuscripts/lalapps.am
......
LDADD =
BUILT_SOURCES =
include $(top_srcdir)/gnuscripts/lalapps.am
......
LDADD =
BUILT_SOURCES =
include $(top_srcdir)/gnuscripts/lalapps.am
......
LDADD =
BUILT_SOURCES =
include $(top_srcdir)/gnuscripts/lalapps.am
......
LDADD =
BUILT_SOURCES =
include $(top_srcdir)/gnuscripts/lalapps.am
......
LDADD =
BUILT_SOURCES =
include $(top_srcdir)/gnuscripts/lalapps.am
......
LDADD =
BUILT_SOURCES =
include $(top_srcdir)/gnuscripts/lalapps.am
......
LDADD =
BUILT_SOURCES =
include $(top_srcdir)/gnuscripts/lalapps.am
......
LDADD =
BUILT_SOURCES =
include $(top_srcdir)/gnuscripts/lalapps.am
......
LDADD =
BUILT_SOURCES =
include $(top_srcdir)/gnuscripts/lalapps.am
......
LDADD =
BUILT_SOURCES =
include $(top_srcdir)/gnuscripts/lalapps.am
......
LDADD =
BUILT_SOURCES =
include $(top_srcdir)/gnuscripts/lalapps.am
......
LDADD =
BUILT_SOURCES =
include $(top_srcdir)/gnuscripts/lalapps.am
......
LDADD =
BUILT_SOURCES =
include $(top_srcdir)/gnuscripts/lalapps.am
......
LDADD =
BUILT_SOURCES =
include $(top_srcdir)/gnuscripts/lalapps.am
......
LDADD =
BUILT_SOURCES =
include $(top_srcdir)/gnuscripts/lalapps.am
......
LDADD =
BUILT_SOURCES =
include $(top_srcdir)/gnuscripts/lalapps.am
......
LDADD =
BUILT_SOURCES =
include $(top_srcdir)/gnuscripts/lalapps.am
......
LDADD =
BUILT_SOURCES =
include $(top_srcdir)/gnuscripts/lalapps.am
......
......@@ -134,6 +134,9 @@ LALSUITE_USE_SWIG
# add gcc specific flags
LALSUITE_ADD_GCC_FLAGS
# link any executables against LALBurst library
AC_SUBST([LDADD], ["\$(top_builddir)/src/liblalburst.la"])
# add extra preprocessor flags
AM_CPPFLAGS="\$(TEST_CPPFLAGS) ${AM_CPPFLAGS}"
AM_CPPFLAGS="-DPKG_DATA_DIR='\"\$(pkgdatadir)/\"' ${AM_CPPFLAGS}"
......
TEST_CPPFLAGS = -DTEST_DATA_DIR='"$(abs_srcdir)/"'
LDADD = $(top_builddir)/src/liblalburst.la
check_PROGRAMS = \
CLRTest \
......
......@@ -121,6 +121,9 @@ LALSUITE_USE_SWIG
# add gcc specific flags
LALSUITE_ADD_GCC_FLAGS
# link any executables against LALDetChar library
AC_SUBST([LDADD], ["\$(top_builddir)/src/liblaldetchar.la"])
# add extra preprocessor flags
AM_CPPFLAGS="\$(TEST_CPPFLAGS) ${AM_CPPFLAGS}"
AM_CPPFLAGS="-DPKG_DATA_DIR='\"\$(pkgdatadir)/\"' ${AM_CPPFLAGS}"
......
TEST_CPPFLAGS = -DTEST_DATA_DIR='"$(abs_srcdir)/"'
LDADD = $(top_builddir)/src/liblaldetchar.la
check_PROGRAMS =
TESTS = $(check_PROGRAMS)
......
......@@ -147,6 +147,9 @@ LALSUITE_USE_SWIG
# add gcc specific flags
LALSUITE_ADD_GCC_FLAGS
# link any executables against LALFrame library
AC_SUBST([LDADD], ["\$(top_builddir)/src/liblalframe.la"])
# add extra preprocessor flags
AM_CPPFLAGS="\$(TEST_CPPFLAGS) ${AM_CPPFLAGS}"
AM_CPPFLAGS="-DPKG_DATA_DIR='\"\$(pkgdatadir)/\"' ${AM_CPPFLAGS}"
......
TEST_CPPFLAGS = -DTEST_DATA_DIR='"$(abs_srcdir)/"'
LDADD = $(top_builddir)/src/liblalframe.la
FRAMEFILES = \
F-TEST-600000000-60.gwf \
......
......@@ -193,6 +193,9 @@ AS_IF(
# add gcc specific flags
LALSUITE_ADD_GCC_FLAGS
# link any executables against LALInference library
AC_SUBST([LDADD], ["\$(top_builddir)/src/liblalinference.la"])
# add extra preprocessor flags
AM_CPPFLAGS="\$(TEST_CPPFLAGS) ${AM_CPPFLAGS}"
AM_CPPFLAGS="-DPKG_DATA_DIR='\"\$(pkgdatadir)/\"' ${AM_CPPFLAGS}"
......
SUBDIRS = baseline_images
TEST_CPPFLAGS = -DTEST_DATA_DIR='"$(abs_srcdir)/"'
LDADD = $(top_builddir)/src/liblalinference.la
if LALXML
......
......@@ -138,6 +138,9 @@ fi
# add gcc specific flags
LALSUITE_ADD_GCC_FLAGS
# link any executables against LALInspiral library
AC_SUBST([LDADD], ["\$(top_builddir)/src/liblalinspiral.la"])
# add extra preprocessor flags
AM_CPPFLAGS="\$(TEST_CPPFLAGS) ${AM_CPPFLAGS}"
AM_CPPFLAGS="-DPKG_DATA_DIR='\"\$(pkgdatadir)/\"' ${AM_CPPFLAGS}"
......
TEST_CPPFLAGS = -DTEST_DATA_DIR='"$(abs_srcdir)/"'
LDADD = $(top_builddir)/src/liblalinspiral.la
check_PROGRAMS = \
BCVTemplates \
......
......@@ -105,6 +105,9 @@ LALSUITE_USE_SWIG
# add gcc specific flags
LALSUITE_ADD_GCC_FLAGS
# link any executables against LALMetaIO library
AC_SUBST([LDADD], ["\$(top_builddir)/src/liblalmetaio.la"])
# add extra preprocessor flags
AM_CPPFLAGS="\$(TEST_CPPFLAGS) ${AM_CPPFLAGS}"
AM_CPPFLAGS="-DPKG_DATA_DIR='\"\$(pkgdatadir)/\"' ${AM_CPPFLAGS}"
......
......@@ -141,6 +141,9 @@ LALSUITE_USE_SWIG
# add gcc specific flags
LALSUITE_ADD_GCC_FLAGS
# link any executables against LALPulsar library
AC_SUBST([LDADD], ["\$(top_builddir)/src/liblalpulsar.la"])
# add extra preprocessor flags
AM_CPPFLAGS="\$(TEST_CPPFLAGS) ${AM_CPPFLAGS}"
AM_CPPFLAGS="-DPKG_DATA_DIR='\"\$(pkgdatadir)/\"' ${AM_CPPFLAGS}"
......
TEST_CPPFLAGS = -DTEST_DATA_DIR='"$(abs_srcdir)/"'
LDADD = $(top_builddir)/src/liblalpulsar.la
check_PROGRAMS = \
LALBarycenterTest \
......
......@@ -140,6 +140,9 @@ AM_CONDITIONAL([HAVE_OPENMP],[test "x$OPENMP_ENABLE_VAL" = "xENABLED"])
# add gcc specific flags
LALSUITE_ADD_GCC_FLAGS
# link any executables against LALSimulation library
AC_SUBST([LDADD], ["\$(top_builddir)/src/liblalsimulation.la"])
# add extra preprocessor flags
AM_CPPFLAGS="\$(TEST_CPPFLAGS) ${AM_CPPFLAGS}"
AM_CPPFLAGS="-DPKG_DATA_DIR='\"\$(pkgdatadir)/\"' ${AM_CPPFLAGS}"
......
TEST_CPPFLAGS = -DTEST_DATA_DIR='"$(abs_srcdir)/"'
LDADD = $(top_builddir)/src/liblalsimulation.la
if HAVE_OPENMP
OPENMPPROGRAMS = TestOpenMP
......
......@@ -103,6 +103,9 @@ LALSUITE_USE_SWIG
# add gcc specific flags
LALSUITE_ADD_GCC_FLAGS
# link any executables against LALStochastic library
AC_SUBST([LDADD], ["\$(top_builddir)/src/liblalstochastic.la"])
# add extra preprocessor flags
AM_CPPFLAGS="\$(TEST_CPPFLAGS) ${AM_CPPFLAGS}"
AM_CPPFLAGS="-DPKG_DATA_DIR='\"\$(pkgdatadir)/\"' ${AM_CPPFLAGS}"
......
TEST_CPPFLAGS = -DTEST_DATA_DIR='"$(abs_srcdir)/"'
LDADD = $(top_builddir)/src/liblalstochastic.la
check_PROGRAMS = \
StochasticCrossCorrelationStatisticTest \
......
......@@ -115,6 +115,9 @@ LALSUITE_USE_SWIG
# add gcc specific flags
LALSUITE_ADD_GCC_FLAGS
# link any executables against LALXML library
AC_SUBST([LDADD], ["\$(top_builddir)/src/liblalxml.la"])
# add extra preprocessor flags
AM_CPPFLAGS="\$(TEST_CPPFLAGS) ${AM_CPPFLAGS}"
AM_CPPFLAGS="-DPKG_DATA_DIR='\"\$(pkgdatadir)/\"' ${AM_CPPFLAGS}"
......
TEST_CPPFLAGS = -DTEST_DATA_DIR='"$(abs_srcdir)/"'
LDADD = $(top_builddir)/src/liblalxml.la
check_PROGRAMS = LALXMLTest
TESTS = $(check_PROGRAMS)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment