aboutsummaryrefslogtreecommitdiffstats
path: root/libasn1fix
diff options
context:
space:
mode:
authorLev Walkin <vlm@lionet.info>2017-08-22 01:44:56 -0700
committerLev Walkin <vlm@lionet.info>2017-08-22 01:44:56 -0700
commitd9221847e58b8facd6f97be5a2128dbbd5f7ed25 (patch)
tree42de5523393df1cf1a95ac4a32a9148c2d01efda /libasn1fix
parentdb33c8dbde9edd786ba9dd088ee4b0bf983440b6 (diff)
add common lib
Diffstat (limited to 'libasn1fix')
-rw-r--r--libasn1fix/Makefile.am63
1 files changed, 33 insertions, 30 deletions
diff --git a/libasn1fix/Makefile.am b/libasn1fix/Makefile.am
index cd859eba..51c4a7d4 100644
--- a/libasn1fix/Makefile.am
+++ b/libasn1fix/Makefile.am
@@ -1,45 +1,48 @@
@CODE_COVERAGE_RULES@
AM_CFLAGS = @ADD_CFLAGS@
-AM_CPPFLAGS = \
- -I$(top_srcdir)/libasn1parser
+AM_CPPFLAGS = \
+ -I$(top_srcdir)/libasn1common \
+ -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
+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_CPPFLAGS = -DTOP_SRCDIR=${top_srcdir} $(AM_CPPFLAGS)
+check_fixer_LDADD = $(noinst_LTLIBRARIES) \
+ $(top_builddir)/libasn1common/libasn1common.la \
+ $(top_builddir)/libasn1parser/libasn1parser.la
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_crange_LDADD = $(noinst_LTLIBRARIES) \
+ $(top_builddir)/libasn1common/libasn1common.la \
+ $(top_builddir)/libasn1parser/libasn1parser.la
check_PROGRAMS = check_crange check_fixer
-TESTS_ENVIRONMENT = ASN1_TESTS_DIR=${top_srcdir}/tests/tests-asn1c-compiler
+TESTS_ENVIRONMENT = top_srcdir=${top_srcdir}
TESTS = ${check_PROGRAMS}