@CODE_COVERAGE_RULES@

SUBDIRS = . tests

AM_CFLAGS = @ADD_CFLAGS@
AM_CPPFLAGS = \
	-I${top_srcdir}/libasn1compiler	\
	-I${top_srcdir}/libasn1parser	\
	-I${top_srcdir}/libasn1print	\
	-I${top_srcdir}/libasn1fix	\
	-I${top_srcdir}/skeletons	\
	-DDATADIR=\"$(pkgdatadir)\"

asn1c_LDADD =	\
	$(top_builddir)/libasn1parser/libasn1parser.la	\
	$(top_builddir)/libasn1print/libasn1print.la	\
	$(top_builddir)/libasn1fix/libasn1fix.la	\
	$(top_builddir)/libasn1compiler/libasn1compiler.la

bin_PROGRAMS = asn1c unber enber

noinst_HEADERS = sys-common.h

dist_check_SCRIPTS = check-xxber.sh check-parsing.sh
TESTS_ENVIRONMENT= top_srcdir=${top_srcdir}
TESTS = $(dist_check_SCRIPTS)
CLEANFILES = .check-xxber.*.tmp .check-parsing.*.tmp
