From 52b999ab4e861526122151c74770f8f0d2b147fd Mon Sep 17 00:00:00 2001 From: Juho Hiltunen Date: Sat, 31 Mar 2018 11:36:49 +0300 Subject: [PATCH] Don't build or install test libraries with make and make install. Using make check builds but does not install them. --- Makefile.am | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Makefile.am b/Makefile.am index 09edecc1..d87dcd35 100644 --- a/Makefile.am +++ b/Makefile.am @@ -30,7 +30,7 @@ man1_MANS = noinst_bin_PROGRAMS = noinst_bindir = -noinst_lib_LTLIBRARIES = +check_LTLIBRARIES = noinst_libdir = ##### ChangeLog: @@ -220,7 +220,7 @@ src_espeak_ng_SOURCES = src/espeak-ng.c # Test version of libespeak-ng.so with access to the internal APIs, so they can # be accessed in the test code. This version should not be installed, as the # internal APIs are not guaranteed to be stable between releases. -lib_LTLIBRARIES += src/libespeak-ng-test.la +check_LTLIBRARIES += src/libespeak-ng-test.la src_libespeak_ng_test_la_LDFLAGS = $(src_libespeak_ng_la_LDFLAGS) src_libespeak_ng_test_la_CFLAGS = \ @@ -264,7 +264,7 @@ check: tests/encoding.check \ if !HAVE_LIBFUZZER # libfuzzrunner is a stub implementation of libFuzzer that calls the # LLVMFuzzerTestOneInput with the files passed to the fuzzer program. -lib_LTLIBRARIES += tests/libfuzzrunner.la +check_LTLIBRARIES += tests/libfuzzrunner.la tests_libfuzzrunner_la_CFLAGS = -Isrc/libespeak-ng ${AM_CFLAGS} tests_libfuzzrunner_la_SOURCES = tests/fuzzrunner.c endif