blob: 844b9f2c343f106d1cc65a5beeea4913c528680d (
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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
|
INCLUDES = -I../lib -I../includes -I../lib/minitasn1/ $(LIBOPENCDK_CFLAGS) $(LIBGCRYPT_CFLAGS)
bin_SCRIPTS = libgnutls-extra-config
SUBDIRS = openpgp
m4datadir = $(datadir)/aclocal
m4data_DATA = libgnutls-extra.m4
if HAVE_LD_VERSION_SCRIPT
libgnutls_extra_version_script_cmd = -Wl,--version-script=$(srcdir)/libgnutls-extra.vers
else
libgnutls_extra_version_script_cmd =
endif
EXTRA_DIST = ext_srp.h gnutls_srp.h libgnutls-extra.vers \
auth_srp.h auth_srp_passwd.h openssl_compat.h \
gnutls-extra-api.tex gnutls_extra.h libgnutls-extra-config.in \
libgnutls-extra.m4 lzoconf.h minilzo.h
if ENABLE_OPENSSL
lib_LTLIBRARIES = libgnutls-extra.la libgnutls-openssl.la
libgnutls_openssl_la_LDFLAGS = -version-info $(LT_CURRENT):$(LT_REVISION):$(LT_AGE)
libgnutls_openssl_la_SOURCES = gnutls_openssl.c openssl_compat.c
libgnutls_openssl_la_LIBADD = \
../lib/libgnutls.la
else
lib_LTLIBRARIES = libgnutls-extra.la
endif
COBJECTS_EXTRA = ext_srp.c \
gnutls_srp.c auth_srp.c auth_srp_passwd.c auth_srp_sb64.c \
gnutls_extra.c \
auth_srp_rsa.c gnutls_openpgp.c
libgnutls_extra_la_LDFLAGS = $(libgnutls_extra_version_script_cmd) \
-version-info $(LT_CURRENT):$(LT_REVISION):$(LT_AGE) \
$(LIBOPENCDK_LIBS) $(LZO_LINK)
libgnutls_extra_la_DEPENDENCIES = $(LZO_OBJECTS)
libgnutls_extra_la_SOURCES = $(COBJECTS_EXTRA)
libgnutls_extra_la_LIBADD = $(LZO_OBJECTS) \
openpgp/openpgp.lo openpgp/xml.lo openpgp/privkey.lo \
openpgp/extras.lo openpgp/verify.lo openpgp/compat.lo \
../lib/libgnutls.la
EXTRA_libgnutls_extra_la_SOURCES = minilzo.c
gnutls-extra-api.tex: $(COBJECTS_EXTRA)
@echo "" > gnutls-extra-api.tex
@for i in $(COBJECTS_EXTRA); \
do echo -n "Creating documentation for file $$i... " && ../doc/scripts/gdoc -tex $$i >> gnutls-extra-api.tex \
&& echo "ok"; \
done
dist-hook: gnutls-extra-api.tex
|