1 ## Process this file with automake to produce Makefile.in
2 # Copyright (C) 2005, 2006, 2007, 2008, 2009 Free Software Foundation
4 # Author: Simon Josefsson
6 # This file is part of GNUTLS.
8 # This file is free software; you can redistribute it and/or modify it
9 # under the terms of the GNU General Public License as published by
10 # the Free Software Foundation; either version 3 of the License, or
11 # (at your option) any later version.
13 # This file is distributed in the hope that it will be useful, but
14 # WITHOUT ANY WARRANTY; without even the implied warranty of
15 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
16 # General Public License for more details.
18 # You should have received a copy of the GNU General Public License
19 # along with this file; if not, write to the Free Software Foundation,
20 # Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
22 AM_CFLAGS = $(WARN_CFLAGS) $(WERROR_CFLAGS)
24 -I$(top_srcdir)/lib/includes -I$(top_builddir)/lib/includes \
25 -I$(top_srcdir)/libextra/includes \
26 -I$(top_srcdir)/gl -I$(top_builddir)/gl
28 AM_LDFLAGS = -no-install
29 LDADD = libexamples.la \
30 ../../lib/libgnutls.la \
31 ../../libextra/libgnutls-extra.la \
33 $(LIBSOCKET) $(INET_NTOP_LIB) $(INET_PTON_LIB)
35 CXX_LDADD = $(LDADD) \
36 ../../lib/libgnutlsxx.la
38 noinst_PROGRAMS = ex-client2 ex-client-resume
39 noinst_PROGRAMS += ex-cert-select
42 noinst_PROGRAMS += ex-crq ex-serv1 ex-serv-export
46 ex_cxx_SOURCES = ex-cxx.cpp
47 ex_cxx_LDADD = $(CXX_LDADD)
48 noinst_PROGRAMS += ex-cxx
52 noinst_PROGRAMS += ex-client1 ex-serv-anon
53 noinst_PROGRAMS += ex-client-tlsia
57 noinst_PROGRAMS += ex-serv-pgp
61 noinst_PROGRAMS += ex-client-psk
63 noinst_PROGRAMS += ex-serv-psk
68 noinst_PROGRAMS += ex-client-srp ex-serv-srp
71 noinst_LTLIBRARIES = libexamples.la
73 libexamples_la_SOURCES = examples.h ex-alert.c ex-pkcs12.c \
74 ex-rfc2818.c ex-session-info.c ex-x509-info.c ex-verify.c \