(data_sign): Removed empty statement.
[gnupg.git] / agent / Makefile.am
1 # Copyright (C) 2001, 2003, 2004, 2005 Free Software Foundation, Inc.
2 #
3 # This file is part of GnuPG.
4 #
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.
9
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.
14
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
18
19 ## Process this file with automake to produce Makefile.in
20
21 bin_PROGRAMS = gpg-agent
22 libexec_PROGRAMS = gpg-protect-tool gpg-preset-passphrase
23 noinst_PROGRAMS = $(TESTS)
24
25 AM_CPPFLAGS = -I$(top_srcdir)/gl -I$(top_srcdir)/common -I$(top_srcdir)/intl
26
27 include $(top_srcdir)/am/cmacros.am
28
29 AM_CFLAGS = $(LIBGCRYPT_CFLAGS) $(LIBASSUAN_CFLAGS) $(PTH_CFLAGS)
30
31 gpg_agent_SOURCES = \
32         gpg-agent.c agent.h \
33         command.c command-ssh.c \
34         query.c \
35         cache.c \
36         trans.c \
37         findkey.c \
38         pksign.c \
39         pkdecrypt.c \
40         genkey.c \
41         protect.c \
42         trustlist.c \
43         divert-scd.c \
44         call-scd.c \
45         learncard.c
46
47
48 gpg_agent_LDADD = ../gl/libgnu.a ../jnlib/libjnlib.a ../common/libcommon.a \
49                 $(LIBGCRYPT_LIBS) $(PTH_LIBS) $(LIBASSUAN_LIBS) \
50                  -lgpg-error @LIBINTL@
51
52 gpg_protect_tool_SOURCES = \
53         protect-tool.c \
54         protect.c \
55         minip12.c minip12.h 
56
57 gpg_protect_tool_LDADD = ../common/libsimple-pwquery.a \
58         ../jnlib/libjnlib.a  ../common/libcommon.a  \
59          $(LIBGCRYPT_LIBS) -lgpg-error @LIBINTL@
60 if HAVE_W32_SYSTEM
61 gpg_protect_tool_LDADD += -lwsock32
62 endif
63
64 gpg_preset_passphrase_SOURCES = \
65         preset-passphrase.c
66
67 gpg_preset_passphrase_LDADD = ../common/libsimple-pwquery.a \
68         ../jnlib/libjnlib.a ../common/libcommon.a \
69          $(LIBGCRYPT_LIBS) -lgpg-error @LIBINTL@
70 if HAVE_W32_SYSTEM
71 gpg_preset_passphrase_LDADD += -lwsock32
72 endif
73
74 #
75 # Module tests
76 #
77 TESTS = t-protect
78
79 t_common_ldadd = ../jnlib/libjnlib.a ../common/libcommon.a  \
80                  $(LIBGCRYPT_LIBS) -lgpg-error @LIBINTL@
81
82 t_protect_SOURCES = t-protect.c protect.c 
83 t_protect_LDADD = $(t_common_ldadd)
84
85
86
87