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
|
## Process this file with automake to produce Makefile.in
# Copyright (C) 2005, 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
#
# Author: Simon Josefsson
#
# This file is part of GNUTLS.
#
# This file is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 3 of the License, or
# (at your option) any later version.
#
# This file is distributed in the hope that it will be useful, but
# WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
# General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this file; if not, write to the Free Software Foundation,
# Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
AM_CFLAGS = $(WARN_CFLAGS) $(WERROR_CFLAGS)
AM_CPPFLAGS = \
-I$(top_srcdir)/lib/includes -I$(top_builddir)/lib/includes \
-I$(top_srcdir)/libextra/includes \
-I$(top_srcdir)/gl -I$(top_builddir)/gl
AM_LDFLAGS = -no-install
LDADD = libexamples.la \
../../lib/libgnutls.la \
../../libextra/libgnutls-extra.la \
../../gl/libgnu.la \
$(LIBSOCKET) $(INET_NTOP_LIB) $(INET_PTON_LIB)
CXX_LDADD = $(LDADD) \
../../lib/libgnutlsxx.la
noinst_PROGRAMS = ex-client2 ex-client-resume
noinst_PROGRAMS += ex-cert-select
if ENABLE_PKI
noinst_PROGRAMS += ex-crq ex-serv1 ex-serv-export
endif
if ENABLE_CXX
ex_cxx_SOURCES = ex-cxx.cpp
ex_cxx_LDADD = $(CXX_LDADD)
noinst_PROGRAMS += ex-cxx
endif
if ENABLE_ANON
noinst_PROGRAMS += ex-client1 ex-serv-anon
noinst_PROGRAMS += ex-client-tlsia
endif
if ENABLE_OPENPGP
noinst_PROGRAMS += ex-serv-pgp
endif
if ENABLE_PSK
noinst_PROGRAMS += ex-client-psk
if ENABLE_PKI
noinst_PROGRAMS += ex-serv-psk
endif
endif
if ENABLE_SRP
noinst_PROGRAMS += ex-client-srp ex-serv-srp
endif
noinst_LTLIBRARIES = libexamples.la
libexamples_la_SOURCES = examples.h ex-alert.c ex-pkcs12.c \
ex-rfc2818.c ex-session-info.c ex-x509-info.c ex-verify.c \
tcp.c
|