645c2f4439283e3cf03b45d0ae74e29e68b943cd
[com/asn1c.git] / libasn1fix / Makefile.am
1 @CODE_COVERAGE_RULES@
2
3 AM_CFLAGS = @ADD_CFLAGS@
4 AM_CPPFLAGS =                       \
5     -I$(top_srcdir)/libasn1common   \
6     -I$(top_srcdir)/libasn1parser
7
8 noinst_LTLIBRARIES = libasn1fix.la
9
10 libasn1fix_la_SOURCES =                         \
11     asn1fix.c asn1fix.h                         \
12     asn1fix_internal.h                          \
13     asn1fix_misc.c asn1fix_misc.h               \
14     asn1fix_value.c asn1fix_value.h             \
15     asn1fix_compat.c asn1fix_compat.h           \
16     asn1fix_constr.c asn1fix_constr.h           \
17     asn1fix_cstring.c asn1fix_cstring.h         \
18     asn1fix_retrieve.c asn1fix_retrieve.h       \
19     asn1fix_bitstring.c asn1fix_bitstring.h     \
20     asn1fix_constraint.c asn1fix_constraint.h   \
21     asn1fix_integer.c asn1fix_integer.h         \
22     asn1fix_crange.c asn1fix_crange.h           \
23     asn1fix_dereft.c asn1fix_dereft.h           \
24     asn1fix_derefv.c asn1fix_derefv.h           \
25     asn1fix_export.c asn1fix_export.h           \
26     asn1fix_param.c asn1fix_param.h             \
27     asn1fix_class.c asn1fix_class.h             \
28     asn1fix_tags.c asn1fix_tags.h               \
29     asn1fix_enum.c asn1fix_enum.h               \
30     asn1fix_cws.c asn1fix_cws.h                 \
31     asn1fix_constraint_compat.c
32
33 check_fixer_CPPFLAGS = -DTOP_SRCDIR=${top_srcdir} $(AM_CPPFLAGS)
34
35 check_crange_SOURCES = asn1fix_crange.c asn1fix_constraint_compat.c
36 check_crange_CPPFLAGS = -DUNIT_TEST $(AM_CPPFLAGS)
37
38 LDADD = $(noinst_LTLIBRARIES)   \
39     $(top_builddir)/libasn1parser/libasn1parser.la  \
40     $(top_builddir)/libasn1common/libasn1common.la
41
42 check_PROGRAMS = check_crange check_fixer
43
44 TESTS_ENVIRONMENT = top_srcdir=${top_srcdir}
45 TESTS = ${check_PROGRAMS}
46