Commit 61ccd98b authored by Lynn Garren's avatar Lynn Garren
Browse files

get libraries from the build directory when running "make check"

parent 58038105
CLHEP-@PACKAGE@-@VERSION@ CLHEP-@PACKAGE@-@VERSION@
CLHEP-@PACKAGE@-@VERSION@ CLHEP-Random-@VERSION@
CLHEP-@PACKAGE@-@VERSION@ CLHEP-Matrix-@VERSION@
......@@ -31,6 +31,7 @@ AC_CONFIG_FILES([Makefile])
AC_CONFIG_FILES([RandomObjects/Makefile])
AC_CONFIG_FILES([src/Makefile])
AC_CONFIG_FILES([test/Makefile])
AC_CONFIG_FILES([RandomObjects-deps])
# Test driver program/script:
AC_CONFIG_FILES([test/testVectorDists.sh], [chmod +x test/testVectorDists.sh])
......@@ -41,7 +42,7 @@ AC_CONFIG_FILES([test/testVectorDists.sh], [chmod +x test/testVectorDists.sh])
RandomObjects_CPPFLAGS="-I$includedir"
RandomObjects_LDFLAGS="-L$libdir"
RandomObjects_LIBS="-lCLHEP-$PACKAGE-$VERSION $prefix/lib/libCLHEP-Random-$VERSION.so $prefix/lib/libCLHEP-Matrix-$VERSION.so -lm"
RandomObjects_LIBS="-lCLHEP-$PACKAGE-$VERSION -lCLHEP-Random-$VERSION -lCLHEP-Matrix-$VERSION"
AC_SUBST(RandomObjects_CPPFLAGS)
AC_SUBST(RandomObjects_LIBS)
......
# run gaussSpeed and gaussSmall interactively
# Applicable to each test program:
INCLUDES = -I../
LDADD = -L${top_builddir}/src @RandomObjects_LIBS@ # libraries to link, and whence
# libraries to link, and whence
LDADD = -L${top_builddir}/src -lCLHEP-@PACKAGE@-@VERSION@ \
-L${top_builddir}/../Random/src -lCLHEP-Random-@VERSION@ \
-L${top_builddir}/../Matrix/src -lCLHEP-Matrix-@VERSION@
# Identify executables needed during testing:
check_PROGRAMS = \
......
Supports Markdown
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