1
1
## Process this file with automake to produce Makefile.in
2
# Copyright (C) 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007 Free Software Foundation
2
# Copyright (C) 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation
4
4
# Author: Nikos Mavrogiannopoulos
11
11
# the License, or (at your option) any later version.
13
13
# The GNUTLS library is distributed in the hope that it will be
14
#useful, but WITHOUT ANY WARRANTY; without even the implied warranty
15
#of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
16
#Lesser General Public License for more details.
14
# useful, but WITHOUT ANY WARRANTY; without even the implied warranty
15
# of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
16
# Lesser General Public License for more details.
18
18
# You should have received a copy of the GNU Lesser General Public
19
19
# License along with the GNUTLS library; if not, write to the Free
25
25
SUBDIRS += minitasn1
28
29
localedir = $(datadir)/locale
30
31
AM_CPPFLAGS = -DLOCALEDIR=\"$(localedir)\" \
31
32
-I$(top_srcdir)/lgl -I$(top_builddir)/lgl \
32
33
-I$(top_srcdir)/includes -I../includes \
34
-I$(top_srcdir)/libextra -I$(top_srcdir)/libextra/openpgp/ \
35
-I$(top_srcdir)/libextra/opencdk \
36
$(LIBOPENCDK_CFLAGS) $(LIBGCRYPT_CFLAGS)
35
-I$(top_srcdir)/libextra -I$(top_srcdir)/lib/openpgp/ \
41
AM_CPPFLAGS += -I$(srcdir)/opencdk -I$(top_srcdir)/lib/opencdk
38
44
if ENABLE_MINITASN1
39
45
AM_CPPFLAGS += -I$(srcdir)/minitasn1
57
63
SRP_COBJECTS = ext_srp.c gnutls_srp.c auth_srp.c auth_srp_passwd.c \
58
64
auth_srp_sb64.c auth_srp_rsa.c
60
PSK_COBJECTS = auth_psk.c auth_psk_passwd.c gnutls_psk.c auth_dhe_psk.c
66
PSK_COBJECTS = auth_psk.c auth_psk_passwd.c gnutls_psk.c \
67
auth_dhe_psk.c gnutls_psk_netconf.c
62
69
OPRFI_COBJECTS = ext_oprfi.c
75
82
ext_max_record.c gnutls_alert.c gnutls_str.c gnutls_state.c \
76
83
gnutls_x509.c ext_cert_type.c gnutls_rsa_export.c \
77
84
auth_rsa_export.c ext_server_name.c auth_dh_common.c \
78
gnutls_helper.c ext_inner_application.c gnutls_extra_hooks.c \
85
gnutls_helper.c ext_inner_application.c \
86
gnutls_supplemental.c crypto.c random.c
82
89
COBJECTS += $(OPRFI_COBJECTS)
86
93
gnutls_buffers.h gnutls_errors.h gnutls_int.h \
87
94
gnutls_handshake.h gnutls_num.h gnutls_algorithms.h \
88
95
gnutls_dh.h gnutls_kx.h gnutls_hash_int.h gnutls_cipher_int.h \
89
gnutls_db.h gnutls_compress_int.h gnutls_session.h \
90
gnutls_auth.h auth_anon.h gnutls_extensions.h gnutls_buffer.h \
91
gnutls_auth_int.h x509_b64.h gnutls_v2_compat.h gnutls_datum.h \
92
auth_cert.h gnutls_mpi.h gnutls_pk.h gnutls_record.h \
93
gnutls_cert.h gnutls_constate.h gnutls_global.h gnutls_sig.h \
94
gnutls_mem.h io_debug.h ext_max_record.h gnutls_session_pack.h \
95
gnutls_str.h gnutls_state.h gnutls_x509.h ext_cert_type.h \
96
gnutls_db.h gnutls_compress_int.h gnutls_auth.h auth_anon.h \
97
gnutls_extensions.h gnutls_buffer.h gnutls_auth_int.h \
98
x509_b64.h gnutls_v2_compat.h gnutls_datum.h auth_cert.h \
99
gnutls_mpi.h gnutls_pk.h gnutls_record.h gnutls_cert.h \
100
gnutls_constate.h gnutls_global.h gnutls_sig.h gnutls_mem.h \
101
io_debug.h ext_max_record.h gnutls_session_pack.h gnutls_str.h \
102
gnutls_state.h gnutls_x509.h ext_cert_type.h \
96
103
gnutls_rsa_export.h ext_server_name.h auth_dh_common.h \
97
104
ext_srp.h gnutls_srp.h auth_srp.h auth_srp_passwd.h \
98
105
gnutls_helper.h auth_psk.h auth_psk_passwd.h \
99
ext_inner_application.h gnutls_extra_hooks.h \
100
gnutls_supplemental.h ext_oprfi.h
106
ext_inner_application.h gnutls_supplemental.h ext_oprfi.h \
102
109
# Separate so we can create the documentation
110
117
libgnutls_la_LIBADD = ../lgl/liblgnu.la x509/libgnutls_x509.la \
111
118
@LTLIBZ@ $(LIBGCRYPT_LIBS) @LTLIBINTL@
121
libgnutls_la_LIBADD += -lws2_32
125
libgnutls_la_SOURCES += gnutls_openpgp.c
126
libgnutls_la_LIBADD += openpgp/libgnutls_openpgp.la
127
libgnutls_la_LIBADD += opencdk/libminiopencdk.la
113
130
if HAVE_LD_VERSION_SCRIPT
114
131
libgnutls_la_LDFLAGS += -Wl,--version-script=$(srcdir)/libgnutls.vers
133
CPP_OBJECTS = gnutlsxx.cpp
150
libgnutlsxx_la_CPPFLAGS = -I$(top_srcdir)/includes -I../includes
135
152
AM_CXXFLAGS = -I$(top_srcdir)/includes/
137
154
lib_LTLIBRARIES += libgnutlsxx.la
139
libgnutlsxx_la_SOURCES = $(CPP_OBJECTS) libgnutlsxx.vers
156
libgnutlsxx_la_SOURCES = gnutlsxx.cpp libgnutlsxx.vers
141
158
libgnutlsxx_la_LDFLAGS = -no-undefined \
142
159
-version-info $(LT_CURRENT):$(LT_REVISION):$(LT_AGE)