~ubuntu-branches/ubuntu/lucid/gnutls26/lucid-proposed

« back to all changes in this revision

Viewing changes to lib/Makefile.am

  • Committer: Bazaar Package Importer
  • Author(s): Andreas Metzler
  • Date: 2008-06-24 19:13:25 UTC
  • mfrom: (1.1.2 upstream)
  • Revision ID: james.westby@ubuntu.com-20080624191325-33rewwn0p11jzdvq
Tags: 2.4.0-2
* Standards version 3.8.0. Rename README.source_and_patches to README.source.
* Upload to unstable.
* Point watchfile to stable releases again.
* Merge experimental and unstable changelog.

Show diffs side-by-side

added added

removed removed

Lines of Context:
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
3
3
#
4
4
# Author: Nikos Mavrogiannopoulos
5
5
#
11
11
# the License, or (at your option) any later version.
12
12
#
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.
17
17
#
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
26
26
endif
27
27
 
 
28
 
28
29
localedir = $(datadir)/locale
29
30
 
30
31
AM_CPPFLAGS = -DLOCALEDIR=\"$(localedir)\"                              \
31
32
        -I$(top_srcdir)/lgl -I$(top_builddir)/lgl                       \
32
33
        -I$(top_srcdir)/includes -I../includes                          \
33
34
        -I$(srcdir)/x509                                                \
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/   \
 
36
        $(LIBGCRYPT_CFLAGS)
 
37
 
 
38
if ENABLE_OPENPGP
 
39
SUBDIRS += opencdk
 
40
SUBDIRS += openpgp
 
41
AM_CPPFLAGS += -I$(srcdir)/opencdk -I$(top_srcdir)/lib/opencdk
 
42
endif
37
43
 
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
59
65
 
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
61
68
 
62
69
OPRFI_COBJECTS = ext_oprfi.c
63
70
 
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    \
79
 
        gnutls_supplemental.c
 
85
        gnutls_helper.c ext_inner_application.c \
 
86
        gnutls_supplemental.c crypto.c random.c
80
87
 
81
88
if ENABLE_OPRFI
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       \
 
107
        crypto.h random.h
101
108
 
102
109
# Separate so we can create the documentation
103
110
 
110
117
libgnutls_la_LIBADD = ../lgl/liblgnu.la x509/libgnutls_x509.la \
111
118
        @LTLIBZ@ $(LIBGCRYPT_LIBS) @LTLIBINTL@
112
119
 
 
120
if NEED_WS2_32
 
121
libgnutls_la_LIBADD += -lws2_32
 
122
endif
 
123
 
 
124
if ENABLE_OPENPGP
 
125
libgnutls_la_SOURCES += gnutls_openpgp.c
 
126
libgnutls_la_LIBADD += openpgp/libgnutls_openpgp.la
 
127
libgnutls_la_LIBADD += opencdk/libminiopencdk.la
 
128
endif
 
129
 
113
130
if HAVE_LD_VERSION_SCRIPT
114
131
libgnutls_la_LDFLAGS += -Wl,--version-script=$(srcdir)/libgnutls.vers
115
132
endif
130
147
# C++ library
131
148
 
132
149
if ENABLE_CXX
133
 
CPP_OBJECTS = gnutlsxx.cpp
 
150
libgnutlsxx_la_CPPFLAGS = -I$(top_srcdir)/includes -I../includes
134
151
 
135
152
AM_CXXFLAGS = -I$(top_srcdir)/includes/
136
153
 
137
154
lib_LTLIBRARIES += libgnutlsxx.la
138
155
 
139
 
libgnutlsxx_la_SOURCES = $(CPP_OBJECTS) libgnutlsxx.vers
 
156
libgnutlsxx_la_SOURCES = gnutlsxx.cpp libgnutlsxx.vers
140
157
 
141
158
libgnutlsxx_la_LDFLAGS = -no-undefined \
142
159
        -version-info $(LT_CURRENT):$(LT_REVISION):$(LT_AGE)