@CODE_COVERAGE_RULES@

AM_CFLAGS = @ADD_CFLAGS@
AM_CPPFLAGS =				\
	-I$(top_srcdir)/libasn1parser

noinst_LTLIBRARIES = libasn1fix.la

libasn1fix_la_SOURCES =					\
	asn1fix.c asn1fix.h				\
	asn1fix_internal.h				\
	asn1fix_misc.c asn1fix_misc.h			\
	asn1fix_value.c asn1fix_value.h			\
	asn1fix_compat.c asn1fix_compat.h		\
	asn1fix_constr.c asn1fix_constr.h		\
	asn1fix_cstring.c asn1fix_cstring.h		\
	asn1fix_retrieve.c asn1fix_retrieve.h		\
	asn1fix_bitstring.c asn1fix_bitstring.h		\
	asn1fix_constraint.c asn1fix_constraint.h	\
	asn1fix_integer.c asn1fix_integer.h		\
	asn1fix_crange.c asn1fix_crange.h		\
	asn1fix_dereft.c asn1fix_dereft.h		\
	asn1fix_derefv.c asn1fix_derefv.h		\
	asn1fix_export.c asn1fix_export.h		\
	asn1fix_param.c asn1fix_param.h			\
	asn1fix_class.c asn1fix_class.h			\
	asn1fix_tags.c asn1fix_tags.h			\
	asn1fix_enum.c asn1fix_enum.h			\
	asn1fix_cws.c asn1fix_cws.h			\
	asn1fix_constraint_compat.c

check_fixer_LDADD = $(noinst_LTLIBRARIES)		\
	$(top_builddir)/libasn1parser/libasn1parser.la
check_fixer_CPPFLAGS = -DTOP_SRCDIR=${top_srcdir} $(AM_CPPFLAGS)

check_crange_SOURCES = asn1fix_crange.c asn1fix_constraint_compat.c
check_crange_CPPFLAGS = -DUNIT_TEST $(AM_CPPFLAGS)
check_crange_LDADD = $(noinst_LTLIBRARIES)		\
	$(top_builddir)/libasn1parser/libasn1parser.la

check_PROGRAMS = check_crange check_fixer

TESTS_ENVIRONMENT = ASN1_TESTS_DIR=${top_srcdir}/tests
TESTS = ${check_PROGRAMS}

