2014-04-13 16:43:03 +02:00
|
|
|
DEFS = @DEFS@ -DDATADIR=\"$(top_srcdir)/data\" -DSRCDIR=\"$(srcdir)\" -DPSL_FILE=\"$(PSL_FILE)\" -DPSL_TESTFILE=\"$(PSL_TESTFILE)\"
|
2014-03-24 20:41:46 +01:00
|
|
|
AM_CPPFLAGS = -I$(top_srcdir)/include
|
2014-05-31 18:56:07 +02:00
|
|
|
LDADD = ../src/libpsl.la
|
2014-03-20 17:17:24 +01:00
|
|
|
|
2014-04-17 13:09:29 +02:00
|
|
|
if WITH_BUILTIN
|
|
|
|
|
2014-04-16 10:55:57 +02:00
|
|
|
PSL_TESTS = test-is-public test-is-public-builtin test-is-public-all test-registrable-domain \
|
|
|
|
test-is-cookie-domain-acceptable
|
2014-03-20 17:17:24 +01:00
|
|
|
|
2014-04-17 13:09:29 +02:00
|
|
|
else
|
|
|
|
|
|
|
|
# ./configure'd with '--disable-builtin'
|
|
|
|
# Do not call test-is-public-builtin here: it does not make sense.
|
|
|
|
# Do not call test-registrable-domain here: it would fail due to missing punycode entries in PSL file.
|
|
|
|
PSL_TESTS = test-is-public test-is-public-all test-is-cookie-domain-acceptable
|
|
|
|
|
|
|
|
endif
|
|
|
|
|
2014-03-20 17:17:24 +01:00
|
|
|
check_PROGRAMS = $(PSL_TESTS)
|
|
|
|
|
|
|
|
TESTS_ENVIRONMENT = TESTS_VALGRIND="@VALGRIND_ENVIRONMENT@"
|
|
|
|
TESTS = $(PSL_TESTS)
|