GTK-DOC fixes.
[libtasn1.git] / lib / Makefile.am
blob372ea2f519436a44ab230c110092e9a56b29e5d7
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 \
6              libtasn1.m4
8 bin_SCRIPTS = libtasn1-config
10 m4datadir = $(datadir)/aclocal
11 m4data_DATA = libtasn1.m4
13 lib_LTLIBRARIES = libtasn1.la
15 if HAVE_LD_VERSION_SCRIPT
16   libtasn1_version_script_cmd = -Wl,--version-script=$(srcdir)/libtasn1.vers
17 else
18   libtasn1_version_script_cmd =
19 endif
22 # Separate so we can create the documentation
23 COBJECTS = ASN1.y decoding.c gstr.c errors.c parser_aux.c \
24            structure.c element.c coding.c
26 libtasn1_la_SOURCES = $(COBJECTS) 
28 libtasn1_la_LDFLAGS = -no-undefined -version-info $(LT_CURRENT):$(LT_REVISION):$(LT_AGE) \
29         $(libtasn1_version_script_cmd)
31 asn1-api.tex: $(COBJECTS)
32         @echo "% \\newpage" > asn1-api.tex
33         @for i in $(COBJECTS); \
34         do echo -n "Creating documentation for file $$i... " && $(PERL) ../doc/scripts/gdoc -tex $$i >> asn1-api.tex \
35         && echo "ok"; \
36         done
38 all-local: asn1-api.tex