From 14853b1d8466d4e3b5aa23ff14f2abacd4e7e8ef Mon Sep 17 00:00:00 2001 From: Daiki Ueno Date: Thu, 25 Jan 2018 13:00:06 +0100 Subject: build: Delay compilation of test-related stuff --- common/Makefile.am | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'common') diff --git a/common/Makefile.am b/common/Makefile.am index daa6fa2..d5af029 100644 --- a/common/Makefile.am +++ b/common/Makefile.am @@ -7,10 +7,13 @@ inc_HEADERS += \ noinst_LTLIBRARIES += \ libp11-common.la \ libp11-library.la \ - libp11-test.la \ libp11-tool.la \ $(NULL) +check_LTLIBRARIES += \ + libp11-test.la \ + $(NULL) + libp11_common_la_SOURCES = \ common/argv.c common/argv.h \ common/attrs.c common/attrs.h \ @@ -54,7 +57,7 @@ common_LIBS = \ libp11-common.la \ $(NULL) -check_PROGRAMS += \ +c_tests += \ test-tests \ test-compat \ test-hash \ @@ -109,7 +112,7 @@ test_tests_LDADD = $(common_LIBS) test_url_SOURCES = common/test-url.c test_url_LDADD = $(common_LIBS) -noinst_PROGRAMS += \ +check_PROGRAMS += \ frob-getauxval \ frob-getenv \ $(NULL) -- cgit v1.1