2007-12-17 22:27:10 +01:00
|
|
|
# Copyright (C) 2001, 2002, 2004, 2005, 2006,
|
2009-06-10 01:07:48 +02:00
|
|
|
# 2007, 2009 Free Software Foundation, Inc.
|
2002-06-29 15:31:13 +02: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
|
2007-10-23 12:48:09 +02:00
|
|
|
# the Free Software Foundation; either version 3 of the License, or
|
2002-06-29 15:31:13 +02:00
|
|
|
# (at your option) any later version.
|
2015-01-19 18:59:13 +01:00
|
|
|
#
|
2002-06-29 15:31:13 +02:00
|
|
|
# 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.
|
2015-01-19 18:59:13 +01:00
|
|
|
#
|
2002-06-29 15:31:13 +02:00
|
|
|
# You should have received a copy of the GNU General Public License
|
2007-10-23 12:48:09 +02:00
|
|
|
# along with this program; if not, see <http://www.gnu.org/licenses/>.
|
2002-06-29 15:31:13 +02:00
|
|
|
## Process this file with automake to produce Makefile.in
|
|
|
|
|
2015-01-19 18:59:13 +01:00
|
|
|
AM_CPPFLAGS = -I$(top_srcdir)/include -I$(top_srcdir)/intl
|
2006-04-26 23:48:29 +02:00
|
|
|
EXTRA_PROGRAMS = gpgkeys_ldap gpgkeys_hkp gpgkeys_finger gpgkeys_curl
|
2002-06-29 15:31:13 +02:00
|
|
|
EXTRA_SCRIPTS = gpgkeys_mailto
|
|
|
|
|
2005-03-18 00:16:41 +01:00
|
|
|
gpglibexecdir = $(libexecdir)/@PACKAGE@
|
|
|
|
|
2006-04-26 23:48:29 +02:00
|
|
|
gpglibexec_PROGRAMS = @GPGKEYS_LDAP@ @GPGKEYS_HKP@ @GPGKEYS_FINGER@ @GPGKEYS_CURL@
|
2005-03-18 00:16:41 +01:00
|
|
|
gpglibexec_SCRIPTS = @GPGKEYS_MAILTO@
|
2002-06-29 15:31:13 +02:00
|
|
|
noinst_SCRIPTS = gpgkeys_test
|
|
|
|
|
2009-08-25 22:00:24 +02:00
|
|
|
gpgkeys_ldap_SOURCES = gpgkeys_ldap.c ksutil.c ksutil.h ksmalloc.c
|
2009-09-02 19:30:53 +02:00
|
|
|
gpgkeys_hkp_SOURCES = gpgkeys_hkp.c ksutil.c ksutil.h
|
2004-10-15 11:55:39 +02:00
|
|
|
gpgkeys_finger_SOURCES = gpgkeys_finger.c ksutil.c ksutil.h
|
2009-09-02 19:30:53 +02:00
|
|
|
gpgkeys_curl_SOURCES = gpgkeys_curl.c ksutil.c ksutil.h
|
2004-10-13 20:30:29 +02:00
|
|
|
|
2004-10-28 20:57:50 +02:00
|
|
|
other_libs = $(LIBICONV) $(LIBINTL) $(CAPLIBS)
|
|
|
|
|
2015-01-19 18:59:13 +01:00
|
|
|
gpgkeys_ldap_CPPFLAGS = $(AM_CPPFLAGS) $(LDAP_CPPFLAGS)
|
2006-09-28 21:36:55 +02:00
|
|
|
gpgkeys_ldap_LDADD = ../util/libcompat.a @LDAPLIBS@ @NETLIBS@ $(other_libs) @GETOPT@ @W32LIBS@
|
2005-08-08 19:35:29 +02:00
|
|
|
|
2004-10-28 20:57:50 +02:00
|
|
|
gpgkeys_finger_LDADD = ../util/libutil.a @NETLIBS@ $(other_libs) @GETOPT@ @W32LIBS@
|
2005-02-11 19:05:13 +01:00
|
|
|
|
|
|
|
if FAKE_CURL
|
|
|
|
gpgkeys_curl_SOURCES += curl-shim.c curl-shim.h
|
2015-01-19 18:59:13 +01:00
|
|
|
gpgkeys_curl_CPPFLAGS = $(AM_CPPFLAGS)
|
2006-07-09 01:29:25 +02:00
|
|
|
gpgkeys_curl_LDADD = ../util/libutil.a @NETLIBS@ @DNSLIBS@ $(other_libs) @GETOPT@ @W32LIBS@
|
2005-04-17 04:18:32 +02:00
|
|
|
gpgkeys_hkp_SOURCES += curl-shim.c curl-shim.h
|
2015-01-19 18:59:13 +01:00
|
|
|
gpgkeys_hkp_CPPFLAGS = $(AM_CPPFLAGS)
|
2006-07-09 01:29:25 +02:00
|
|
|
gpgkeys_hkp_LDADD = ../util/libutil.a @NETLIBS@ @DNSLIBS@ $(other_libs) @GETOPT@ @W32LIBS@
|
2015-01-19 18:59:13 +01:00
|
|
|
gpgkeys_finger_CPPFLAGS = $(AM_CPPFLAGS)
|
2005-02-11 19:05:13 +01:00
|
|
|
else
|
2009-09-02 19:30:53 +02:00
|
|
|
gpgkeys_curl_SOURCES += ksmalloc.c
|
2015-01-19 18:59:13 +01:00
|
|
|
gpgkeys_curl_CPPFLAGS = $(AM_CPPFLAGS) $(LIBCURL_CPPFLAGS)
|
2007-04-17 00:47:20 +02:00
|
|
|
gpgkeys_curl_LDADD = ../util/libcompat.a @LIBCURL@ @GETOPT@
|
2009-09-02 19:30:53 +02:00
|
|
|
gpgkeys_hkp_SOURCES += ksmalloc.c
|
2015-01-19 18:59:13 +01:00
|
|
|
gpgkeys_hkp_CPPFLAGS = $(AM_CPPFLAGS) $(LIBCURL_CPPFLAGS)
|
2009-06-10 01:07:48 +02:00
|
|
|
gpgkeys_hkp_LDADD = ../util/libcompat.a @DNSLIBS@ @LIBCURL@ @GETOPT@
|
2015-01-19 18:59:13 +01:00
|
|
|
gpgkeys_finger_CPPFLAGS = $(AM_CPPFLAGS) $(LIBCURL_CPPFLAGS)
|
|
|
|
gpgkeys_ldap_CPPFLAGS += $(LIBCURL_CPPFLAGS)
|
2005-04-17 04:18:32 +02:00
|
|
|
endif
|