blob: 9c8204ea92dabf74c7893a9e294a554d884de4ca (
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
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
|
INCLUDES = -I$(top_srcdir)/crypto -I$(top_srcdir)/gl -I$(top_srcdir)/lib -I../includes -I$(top_srcdir)/includes -I$(top_srcdir)/lib/minitasn1 $(LIBOPENCDK_CFLAGS) $(LIBGCRYPT_CFLAGS) $(LIBTASN1_CFLAGS) -I$(srcdir)/opencdk -I$(srcdir)/openpgp
bin_SCRIPTS = libgnutls-extra-config
DIST_SUBDIRS = openpgp opencdk
m4datadir = $(datadir)/aclocal
m4data_DATA = libgnutls-extra.m4
# Pkg-config script.
pkgconfigdir = $(libdir)/pkgconfig
pkgconfig_DATA = gnutls-extra.pc
DISTCLEANFILES = $(pkgconfig_DATA)
LIBGNUTLS_EXTRA_EXPORTS = -export-symbols-regex '^gnutls.*'
EXTRA_DIST = libgnutls-extra.vers \
openssl_compat.h gnutls-extra-api.texi \
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 ../crypto/libgc.la
else
lib_LTLIBRARIES = libgnutls-extra.la
endif
if ENABLE_OPENPGP
PGP_COBJECTS = gnutls_openpgp.c openpgp/xml.c \
openpgp/pgpverify.c openpgp/pgp.c \
openpgp/extras.c openpgp/compat.c openpgp/privkey.c
if ENABLE_INCLUDED_OPENCDK
SUBDIRS = openpgp opencdk
OPENCDK_COBJECTS = opencdk/new-packet.c opencdk/read-packet.c opencdk/write-packet.c \
opencdk/main.c opencdk/verify.c opencdk/armor.c \
opencdk/sig-check.c opencdk/sign.c opencdk/keydb.c \
opencdk/keylist.c opencdk/seskey.c opencdk/pubkey.c opencdk/misc.c \
opencdk/encrypt.c opencdk/trustdb.c opencdk/kbnode.c \
opencdk/compress.c opencdk/plaintext.c opencdk/cipher.c \
opencdk/sym-cipher.c opencdk/stream.c opencdk/keyserver.c \
opencdk/keygen.c opencdk/md.c
else
SUBDIRS = openpgp
OPENCDK_COBJECTS =
endif
endif
if ENABLE_INCLUDED_LZO
LZO_OBJECTS = minilzo.c
else
LZO_OBJECTS =
endif
COBJECTS_EXTRA = \
gnutls_extra.c
libgnutls_extra_la_LDFLAGS = $(LIBGNUTLS_EXTRA_EXPORTS) \
-version-info $(LT_CURRENT):$(LT_REVISION):$(LT_AGE) \
$(LIBOPENCDK_LIBS) $(LZO_LIBS)
libgnutls_extra_la_SOURCES = $(COBJECTS_EXTRA) $(LZO_OBJECTS) \
$(PGP_COBJECTS) $(OPENCDK_COBJECTS)
libgnutls_extra_la_LIBADD = ../lib/libgnutls.la ../gl/libgnu.la
gnutls-extra-api.texi: $(COBJECTS_EXTRA)
@echo "" > gnutls-extra-api.texi
@for i in $(COBJECTS_EXTRA); do \
echo -n "Creating documentation for file $$i... " && \
../doc/scripts/gdoc -texinfo $$i >> gnutls-extra-api.texi && \
echo "ok"; \
done
dist-hook: gnutls-extra-api.texi
|