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 --- trust/Makefile.am | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) (limited to 'trust') diff --git a/trust/Makefile.am b/trust/Makefile.am index ba9c738..59df751 100644 --- a/trust/Makefile.am +++ b/trust/Makefile.am @@ -1,7 +1,11 @@ noinst_LTLIBRARIES += \ + libtrust-data.la \ + $(NULL) + +check_LTLIBRARIES += \ libtrust-testable.la \ - libtrust-data.la + $(NULL) libtrust_data_la_SOURCES = \ trust/asn1.c trust/asn1.h \ @@ -136,7 +140,7 @@ trust_LIBS = \ $(HASH_LIBS) \ $(NULL) -noinst_LTLIBRARIES += \ +check_LTLIBRARIES += \ libtrust-test.la libtrust_test_la_SOURCES = \ @@ -144,7 +148,7 @@ libtrust_test_la_SOURCES = \ trust/digest.c \ $(NULL) -check_PROGRAMS += \ +c_tests += \ test-digest \ test-asn1 \ test-base64 \ @@ -233,7 +237,7 @@ test_x509_SOURCES = trust/test-x509.c test_x509_LDADD = $(trust_LIBS) test_x509_CFLAGS = $(trust_CFLAGS) -noinst_PROGRAMS += \ +check_PROGRAMS += \ frob-pow \ frob-token \ frob-nss-trust \ -- cgit v1.1