2005-03-17 23:16:41 +00:00
|
|
|
# Copyright (C) 2001, 2002, 2004, 2005 Free Software Foundation, Inc.
|
2002-06-29 13:31:13 +00:00
|
|
|
#
|
|
|
|
# This file is part of GnuPG.
|
|
|
|
#
|
|
|
|
# GnuPG is free software; you can redistribute it and/or modify
|
|
|
|
# it under the terms of the GNU General Public License as published by
|
|
|
|
# the Free Software Foundation; either version 2 of the License, or
|
|
|
|
# (at your option) any later version.
|
|
|
|
#
|
|
|
|
# GnuPG is distributed in the hope that it will be useful,
|
|
|
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
# GNU General Public License for more details.
|
|
|
|
#
|
|
|
|
# You should have received a copy of the GNU General Public License
|
|
|
|
# along with this program; if not, write to the Free Software
|
|
|
|
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
|
|
|
|
|
|
|
|
## Process this file with automake to produce Makefile.in
|
|
|
|
|
2002-10-21 20:32:38 +00:00
|
|
|
INCLUDES = -I$(top_srcdir)/include -I$(top_srcdir)/intl
|
2004-12-22 17:12:23 +00:00
|
|
|
EXTRA_PROGRAMS = gpgkeys_ldap gpgkeys_hkp gpgkeys_http gpgkeys_finger gpgkeys_curl
|
2002-06-29 13:31:13 +00:00
|
|
|
EXTRA_SCRIPTS = gpgkeys_mailto
|
|
|
|
|
2005-03-17 23:16:41 +00:00
|
|
|
gpglibexecdir = $(libexecdir)/@PACKAGE@
|
|
|
|
|
|
|
|
gpglibexec_PROGRAMS = @GPGKEYS_LDAP@ @GPGKEYS_HKP@ @GPGKEYS_FINGER@ @GPGKEYS_HTTP@ @GPGKEYS_CURL@
|
|
|
|
gpglibexec_SCRIPTS = @GPGKEYS_MAILTO@
|
2002-06-29 13:31:13 +00:00
|
|
|
noinst_SCRIPTS = gpgkeys_test
|
|
|
|
|
2004-10-15 09:55:39 +00:00
|
|
|
gpgkeys_ldap_SOURCES = gpgkeys_ldap.c ksutil.c ksutil.h
|
|
|
|
gpgkeys_hkp_SOURCES = gpgkeys_hkp.c ksutil.c ksutil.h
|
|
|
|
gpgkeys_http_SOURCES = gpgkeys_http.c ksutil.c ksutil.h
|
|
|
|
gpgkeys_finger_SOURCES = gpgkeys_finger.c ksutil.c ksutil.h
|
2004-12-22 17:12:23 +00:00
|
|
|
gpgkeys_curl_SOURCES = gpgkeys_curl.c ksutil.c ksutil.h
|
2004-10-13 18:30:29 +00:00
|
|
|
|
2004-10-28 18:57:50 +00:00
|
|
|
other_libs = $(LIBICONV) $(LIBINTL) $(CAPLIBS)
|
|
|
|
|
2004-12-21 23:39:57 +00:00
|
|
|
gpgkeys_ldap_LDADD = ../util/libutil.a @LDAPLIBS@ @NETLIBS@ $(other_libs) @GETOPT@ @W32LIBS@
|
|
|
|
gpgkeys_hkp_LDADD = ../util/libutil.a @NETLIBS@ @SRVLIBS@ $(other_libs) @GETOPT@ @W32LIBS@
|
|
|
|
gpgkeys_http_LDADD = ../util/libutil.a @NETLIBS@ @SRVLIBS@ $(other_libs) @GETOPT@ @W32LIBS@
|
2004-10-28 18:57:50 +00:00
|
|
|
gpgkeys_finger_LDADD = ../util/libutil.a @NETLIBS@ $(other_libs) @GETOPT@ @W32LIBS@
|
2005-02-11 18:05:13 +00:00
|
|
|
|
|
|
|
if FAKE_CURL
|
|
|
|
gpgkeys_curl_SOURCES += curl-shim.c curl-shim.h
|
|
|
|
gpgkeys_curl_CPPFLAGS = -DFAKE_CURL
|
|
|
|
gpgkeys_curl_LDADD = ../util/libutil.a @NETLIBS@ @SRVLIBS@ $(other_libs) @GETOPT@ @W32LIBS@
|
|
|
|
else
|
2005-01-18 04:24:52 +00:00
|
|
|
gpgkeys_curl_CPPFLAGS = @LIBCURL_CPPFLAGS@
|
2004-12-22 17:12:23 +00:00
|
|
|
gpgkeys_curl_LDADD = @LIBCURL@ @GETOPT@
|
2005-02-11 18:05:13 +00:00
|
|
|
endif
|