1 include_HEADERS = libtasn1.h
3 EXTRA_DIST = asn1-api.tex
5 bin_SCRIPTS = libtasn1-config
7 m4datadir = $(datadir)/aclocal
8 dist_m4data_DATA = libtasn1.m4
10 lib_LTLIBRARIES = libtasn1.la
12 # Separate so we can create the documentation
13 COBJECTS = ASN1.y decoding.c gstr.c errors.c parser_aux.c \
14 structure.c element.c coding.c
16 libtasn1_la_SOURCES = libtasn1.h der.h mem.h gstr.h errors.h defines.h \
17 int.h parser_aux.h structure.h errors_int.h element.h \
20 libtasn1_la_LDFLAGS = -no-undefined \
21 -export-symbols-regex '^(_asn1|asn1|libtasn1).*' \
22 -version-info $(LT_CURRENT):$(LT_REVISION):$(LT_AGE)
24 asn1-api.tex: $(COBJECTS)
25 @echo "% \\newpage" > asn1-api.tex
26 @for i in $(COBJECTS); \
27 do echo -n "Creating documentation for file $$i... " && $(PERL) ../doc/scripts/gdoc -tex $$i >> asn1-api.tex \
31 all-local: asn1-api.tex