blob: 372ea2f519436a44ab230c110092e9a56b29e5d7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
|
include_HEADERS = libtasn1.h
EXTRA_DIST = libtasn1.h der.h asn1-api.tex mem.h gstr.h errors.h \
defines.h int.h parser_aux.h structure.h errors_int.h \
element.h asn1-api.tex libtasn1.vers libtasn1-config.in \
libtasn1.m4
bin_SCRIPTS = libtasn1-config
m4datadir = $(datadir)/aclocal
m4data_DATA = libtasn1.m4
lib_LTLIBRARIES = libtasn1.la
if HAVE_LD_VERSION_SCRIPT
libtasn1_version_script_cmd = -Wl,--version-script=$(srcdir)/libtasn1.vers
else
libtasn1_version_script_cmd =
endif
# Separate so we can create the documentation
COBJECTS = ASN1.y decoding.c gstr.c errors.c parser_aux.c \
structure.c element.c coding.c
libtasn1_la_SOURCES = $(COBJECTS)
libtasn1_la_LDFLAGS = -no-undefined -version-info $(LT_CURRENT):$(LT_REVISION):$(LT_AGE) \
$(libtasn1_version_script_cmd)
asn1-api.tex: $(COBJECTS)
@echo "% \\newpage" > asn1-api.tex
@for i in $(COBJECTS); \
do echo -n "Creating documentation for file $$i... " && $(PERL) ../doc/scripts/gdoc -tex $$i >> asn1-api.tex \
&& echo "ok"; \
done
all-local: asn1-api.tex
|