1 # Copyright (C) 2001, 2003, 2004, 2005 Free Software Foundation, Inc.
3 # This file is part of GnuPG.
5 # GnuPG is free software; you can redistribute it and/or modify
6 # it under the terms of the GNU General Public License as published by
7 # the Free Software Foundation; either version 2 of the License, or
8 # (at your option) any later version.
10 # GnuPG is distributed in the hope that it will be useful,
11 # but WITHOUT ANY WARRANTY; without even the implied warranty of
12 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 # GNU General Public License for more details.
15 # You should have received a copy of the GNU General Public License
16 # along with this program; if not, write to the Free Software
17 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
19 ## Process this file with automake to produce Makefile.in
21 bin_PROGRAMS = gpg-agent
22 libexec_PROGRAMS = gpg-protect-tool gpg-preset-passphrase
23 noinst_PROGRAMS = $(TESTS)
25 AM_CPPFLAGS = -I$(top_srcdir)/gl -I$(top_srcdir)/common -I$(top_srcdir)/intl
27 include $(top_srcdir)/am/cmacros.am
29 AM_CFLAGS = $(LIBGCRYPT_CFLAGS) $(LIBASSUAN_CFLAGS) $(PTH_CFLAGS)
33 command.c command-ssh.c \
48 gpg_agent_LDADD = ../jnlib/libjnlib.a ../common/libcommon.a ../gl/libgnu.a \
49 $(LIBGCRYPT_LIBS) $(PTH_LIBS) $(LIBASSUAN_LIBS) \
52 gpg_protect_tool_SOURCES = \
57 gpg_protect_tool_LDADD = ../common/libsimple-pwquery.a \
58 ../jnlib/libjnlib.a ../common/libcommon.a ../gl/libgnu.a \
59 $(LIBGCRYPT_LIBS) -lgpg-error @LIBINTL@
61 gpg_protect_tool_LDADD += -lwsock32
64 gpg_preset_passphrase_SOURCES = \
67 gpg_preset_passphrase_LDADD = ../common/libsimple-pwquery.a \
68 ../jnlib/libjnlib.a ../common/libcommon.a ../gl/libgnu.a \
69 $(LIBGCRYPT_LIBS) -lgpg-error @LIBINTL@
71 gpg_preset_passphrase_LDADD += -lwsock32
79 t_common_ldadd = ../jnlib/libjnlib.a ../common/libcommon.a ../gl/libgnu.a \
80 $(LIBGCRYPT_LIBS) -lgpg-error @LIBINTL@
82 t_protect_SOURCES = t-protect.c protect.c
83 t_protect_LDADD = $(t_common_ldadd)