Makefile.am 999 Bytes
Newer Older
1

2 3
asn1-def-test.c: test.asn
	$(ASN1PARSER) -o asn1-def-test.c $(srcdir)/test.asn
4

5
INCLUDES = \
6 7 8
	-I$(top_builddir) \
	-I$(top_srcdir) \
	-DSRCDIR="\"$(srcdir)\"" \
9 10 11 12 13 14 15 16 17 18 19 20 21
	$(GLIB_CFLAGS)

LDADD =  \
	$(top_builddir)/egg/libegg.la \
	$(LIBGCRYPT_LIBS) \
	$(GTHREAD_LIBS) \
	$(GLIB_LIBS)

TEST_PROGS = \
	test-asn1 \
	test-dn \
	test-cleanup \
	test-hex \
Stef Walter's avatar
Stef Walter committed
22
	test-hkdf \
23 24 25 26 27 28 29 30 31
	test-oid \
	test-secmem \
	test-padding \
	test-symkey \
	test-openssl \
	test-dh \
	test-spawn

test_asn1_SOURCES = \
32
	test-asn1.c \
33
	asn1-def-test.c
34

35 36 37
check_PROGRAMS = $(TEST_PROGS)

test: $(TEST_PROGS)
38
	gtester -k --verbose -m $(TEST_MODE) --g-fatal-warnings $(TEST_PROGS)
39 40 41 42 43 44

check-local: test

all-local: $(check_PROGRAMS)

EXTRA_DIST = \
45
	test.asn \
46
	files
47

48 49 50
DISTCLEANFILES = \
	asn1-def-test.c

51 52
# ------------------------------------------------------------------------------

53
noinst_PROGRAMS = \
54 55 56 57 58 59 60
	test-asn1x

test_asn1x_SOURCES = \
	test-asn1x.c

test_asn1x_LDADD = \
	$(top_builddir)/egg/libegg-asn1x.la \
61 62
	$(LIBTASN1_LIBS) \
	$(LDADD)