2005-04-11 Marcus Brinkmann <marcus@g10code.de>
[gnupg.git] / tools / Makefile.am
blob2616d69a900df3378b569fa560a35cbf2cb093e0
1 # Makefile.am - Tools directory
2 #       Copyright (C) 2003 Free Software Foundation, Inc.
3
4 # This file is part of GnuPG.
5
6 # GnuPG is free software; you can redistribute it and/or modify
7 # it under the terms of the GNU General Public License as published by
8 # the Free Software Foundation; either version 2 of the License, or
9 # (at your option) any later version.
10
11 # GnuPG is distributed in the hope that it will be useful,
12 # but WITHOUT ANY WARRANTY; without even the implied warranty of
13 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14 # GNU General Public License for more details.
15
16 # You should have received a copy of the GNU General Public License
17 # along with this program; if not, write to the Free Software
18 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
20 EXTRA_DIST = Manifest watchgnupg.c \
21              rfc822parse.c rfc822parse.h gpgparsemail.c \
22              addgnupghome gpgsm-gencert.sh
24 AM_CPPFLAGS =  -I$(top_srcdir)/intl -I$(top_srcdir)/common
25 include $(top_srcdir)/am/cmacros.am
27 AM_CFLAGS = $(GPG_ERROR_CFLAGS) $(LIBASSUAN_CFLAGS)
29 sbin_SCRIPTS = addgnupghome
31 bin_SCRIPTS = gpgsm-gencert.sh
33 bin_PROGRAMS = gpgconf gpg-connect-agent symcryptrun
34 if !HAVE_W32_SYSTEM
35 bin_PROGRAMS += watchgnupg
36 endif
38 gpgconf_SOURCES = gpgconf.c gpgconf.h gpgconf-comp.c no-libgcrypt.c
40 gpgconf_LDADD = ../jnlib/libjnlib.a ../common/libcommon.a @LIBINTL@
42 symcryptrun_SOURCES = symcryptrun.c
43 symcryptrun_LDADD = -lutil ../jnlib/libjnlib.a ../common/libcommon.a \
44                     ../common/libsimple-pwquery.a $(LIBGCRYPT_LIBS) \
45                     $(GPG_ERROR_LIBS) $(LIBINTL)
47 watchgnupg_SOURCES = watchgnupg.c 
49 gpg_connect_agent_SOURCES = gpg-connect-agent.c no-libgcrypt.c
50 gpg_connect_agent_LDADD = ../jnlib/libjnlib.a ../common/libcommon.a \
51                           $(LIBASSUAN_LIBS) $(GPG_ERROR_LIBS) $(LIBINTL)