summaryrefslogtreecommitdiff
path: root/lib/Makefile.am
blob: b5860cdb787449b1fb14a3121e992895bdb95a3f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
include_HEADERS = asn1.h 

EXTRA_DIST = asn1.h der.h asn1-api.tex mem.h gstr.h

lib_LTLIBRARIES = libasn1.la

# Separate so we can create the documentation
COBJECTS = ASN.y asn1.c der.c gstr.c

libasn1_la_SOURCES = $(COBJECTS) 

libasn1_la_LDFLAGS = -version-info $(LT_CURRENT):$(LT_REVISION):$(LT_AGE)

asn1-api.tex: $(COBJECTS)
	@echo "\\newpage" > asn1-api.tex
	@for i in $(COBJECTS); \
	do echo -n "Creating documentation for file $$i... " && ../doc/scripts/gdoc -tex $$i >> asn1-api.tex \
	&& echo "ok"; \
	done

all-local: asn1-api.tex