Browse Source

Don't build or install test libraries with make and make install.

Using make check builds but does not install them.
master
Juho Hiltunen 7 years ago
parent
commit
52b999ab4e
1 changed files with 3 additions and 3 deletions
  1. 3
    3
      Makefile.am

+ 3
- 3
Makefile.am View File

noinst_bin_PROGRAMS = noinst_bin_PROGRAMS =
noinst_bindir = noinst_bindir =


noinst_lib_LTLIBRARIES =
check_LTLIBRARIES =
noinst_libdir = noinst_libdir =


##### ChangeLog: ##### ChangeLog:
# Test version of libespeak-ng.so with access to the internal APIs, so they can # 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 # be accessed in the test code. This version should not be installed, as the
# internal APIs are not guaranteed to be stable between releases. # 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_LDFLAGS = $(src_libespeak_ng_la_LDFLAGS)
src_libespeak_ng_test_la_CFLAGS = \ src_libespeak_ng_test_la_CFLAGS = \
if !HAVE_LIBFUZZER if !HAVE_LIBFUZZER
# libfuzzrunner is a stub implementation of libFuzzer that calls the # libfuzzrunner is a stub implementation of libFuzzer that calls the
# LLVMFuzzerTestOneInput with the files passed to the fuzzer program. # 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_CFLAGS = -Isrc/libespeak-ng ${AM_CFLAGS}
tests_libfuzzrunner_la_SOURCES = tests/fuzzrunner.c tests_libfuzzrunner_la_SOURCES = tests/fuzzrunner.c
endif endif

Loading…
Cancel
Save