added versioned symbols.
[libtasn1.git] / lib / Makefile.am
blob190b6a24cae40c73583ba455953603fba34e3270
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
7 lib_LTLIBRARIES = libtasn1.la
9 if HAVE_LD_VERSION_SCRIPT
10   libtasn1_version_script_cmd = -Wl,--version-script=$(srcdir)/libtasn1.vers
11 else
12   libtasn1_version_script_cmd =
13 endif
16 # Separate so we can create the documentation
17 COBJECTS = ASN1.y decoding.c gstr.c errors.c parser_aux.c \
18            structure.c element.c coding.c
20 libtasn1_la_SOURCES = $(COBJECTS) 
22 libtasn1_la_LDFLAGS = -no-undefined -version-info $(LT_CURRENT):$(LT_REVISION):$(LT_AGE) \
23         $(libtasn1_version_script_cmd)
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 \
29         && echo "ok"; \
30         done
32 all-local: asn1-api.tex