summaryrefslogtreecommitdiff
path: root/doc/examples/Makefile.am
blob: 18ca3538e98661a53fcd6244794229436c2dd29c (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
## Process this file with automake to produce Makefile.in
# Copyright (C) 2005, 2006, 2007, 2008 Free Software Foundation
#
# 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_CPPFLAGS = -I$(top_srcdir)/includes -I$(top_builddir)/includes \
		-I$(top_srcdir)/lgl -I$(top_builddir)/lgl \
		-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

CXX_LDADD = libexamples.la \
	../../gl/libgnu.la \
	../../lib/libgnutls.la	\
	../../lib/libgnutlsxx.la	\
	../../libextra/libgnutls-extra.la

noinst_PROGRAMS = ex-cert-select ex-client2 ex-client-resume	\
	ex-crq ex-serv1 ex-serv-export 

if ENABLE_CXX
excxx_SOURCES = ex-cxx.cpp
excxx_LDADD = $(CXX_LDADD)
noinst_PROGRAMS += excxx
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_SRP
noinst_PROGRAMS += ex-client-srp ex-serv-srp
endif

noinst_LTLIBRARIES = libexamples.la

libexamples_la_SOURCES = ex-alert.c ex-pkcs12.c ex-rfc2818.c	\
	ex-session-info.c ex-x509-info.c ex-verify.c tcp.c