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