Browse Source

Merge remote-tracking branch 'jaacoppi/makefile'

master
Reece H. Dunn 7 years ago
parent
commit
d0eb30d647
1 changed files with 8 additions and 11 deletions
  1. 8
    11
      Makefile.am

+ 8
- 11
Makefile.am View File

lib_LTLIBRARIES = lib_LTLIBRARIES =
man1_MANS = man1_MANS =


noinst_bin_PROGRAMS =
noinst_bindir =

noinst_lib_LTLIBRARIES =
noinst_libdir =
check_PROGRAMS =
check_LTLIBRARIES =


##### 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 = \
${PCAUDIOLIB_CFLAGS} ${AM_CFLAGS} ${PCAUDIOLIB_CFLAGS} ${AM_CFLAGS}
src_libespeak_ng_test_la_SOURCES = $(src_libespeak_ng_la_SOURCES) src_libespeak_ng_test_la_SOURCES = $(src_libespeak_ng_la_SOURCES)


noinst_bin_PROGRAMS += tests/encoding.test
check_PROGRAMS += tests/encoding.test


tests_encoding_test_LDADD = src/libespeak-ng.la tests_encoding_test_LDADD = src/libespeak-ng.la
tests_encoding_test_SOURCES = tests/encoding.c tests_encoding_test_SOURCES = tests/encoding.c


noinst_bin_PROGRAMS += tests/readclause.test
check_PROGRAMS += tests/readclause.test


tests_readclause_test_CFLAGS = -Isrc/libespeak-ng ${AM_CFLAGS} tests_readclause_test_CFLAGS = -Isrc/libespeak-ng ${AM_CFLAGS}
tests_readclause_test_LDADD = src/libespeak-ng-test.la tests_readclause_test_LDADD = src/libespeak-ng-test.la
tests_readclause_test_SOURCES = tests/readclause.c tests_readclause_test_SOURCES = tests/readclause.c


noinst_bin_PROGRAMS += tests/api.test
check_PROGRAMS += tests/api.test


tests_api_test_CFLAGS = -Isrc/libespeak-ng ${AM_CFLAGS} tests_api_test_CFLAGS = -Isrc/libespeak-ng ${AM_CFLAGS}
tests_api_test_LDADD = src/libespeak-ng-test.la tests_api_test_LDADD = src/libespeak-ng-test.la
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


noinst_bin_PROGRAMS += tests/ssml-fuzzer.test
check_PROGRAMS += tests/ssml-fuzzer.test
tests_ssml_fuzzer_test_CFLAGS = ${AM_CFLAGS} tests_ssml_fuzzer_test_CFLAGS = ${AM_CFLAGS}
tests_ssml_fuzzer_test_SOURCES = tests/ssml-fuzzer.c tests_ssml_fuzzer_test_SOURCES = tests/ssml-fuzzer.c
tests_ssml_fuzzer_test_LDADD = src/libespeak-ng.la tests_ssml_fuzzer_test_LDADD = src/libespeak-ng.la

Loading…
Cancel
Save