1 # Copyright (C) 2001, 2002, 2004, 2005, 2006 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., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
19 ## Process this file with automake to produce Makefile.in
21 INCLUDES = -I$(top_srcdir)/include -I$(top_srcdir)/intl
22 EXTRA_PROGRAMS = gpgkeys_ldap gpgkeys_hkp gpgkeys_finger gpgkeys_curl
23 EXTRA_SCRIPTS = gpgkeys_mailto
25 gpglibexecdir = $(libexecdir)/@PACKAGE@
27 gpglibexec_PROGRAMS = @GPGKEYS_LDAP@ @GPGKEYS_HKP@ @GPGKEYS_FINGER@ @GPGKEYS_CURL@
28 gpglibexec_SCRIPTS = @GPGKEYS_MAILTO@
29 noinst_SCRIPTS = gpgkeys_test
31 gpgkeys_ldap_SOURCES = gpgkeys_ldap.c ksutil.c ksutil.h
32 gpgkeys_hkp_SOURCES = gpgkeys_hkp.c ksutil.c ksutil.h
33 gpgkeys_finger_SOURCES = gpgkeys_finger.c ksutil.c ksutil.h
34 gpgkeys_curl_SOURCES = gpgkeys_curl.c ksutil.c ksutil.h
36 other_libs = $(LIBICONV) $(LIBINTL) $(CAPLIBS)
38 gpgkeys_ldap_CPPFLAGS = @LDAP_CPPFLAGS@
39 gpgkeys_ldap_LDADD = ../util/libutil.a @LDAPLIBS@ @NETLIBS@ $(other_libs) @GETOPT@ @W32LIBS@
41 gpgkeys_finger_LDADD = ../util/libutil.a @NETLIBS@ $(other_libs) @GETOPT@ @W32LIBS@
44 gpgkeys_curl_SOURCES += curl-shim.c curl-shim.h
45 gpgkeys_curl_LDADD = ../util/libutil.a @NETLIBS@ @DNSLIBS@ $(other_libs) @GETOPT@ @W32LIBS@
46 gpgkeys_hkp_SOURCES += curl-shim.c curl-shim.h
47 gpgkeys_hkp_LDADD = ../util/libutil.a @NETLIBS@ @DNSLIBS@ $(other_libs) @GETOPT@ @W32LIBS@
49 gpgkeys_curl_CPPFLAGS = @LIBCURL_CPPFLAGS@
50 gpgkeys_curl_LDADD = @LIBCURL@ @GETOPT@
51 gpgkeys_hkp_CPPFLAGS = @LIBCURL_CPPFLAGS@
52 gpgkeys_hkp_LDADD = @LIBCURL@ @GETOPT@