~ubuntu-branches/ubuntu/karmic/gnupg2/karmic-updates

« back to all changes in this revision

Viewing changes to keyserver/Makefile.am

  • Committer: Bazaar Package Importer
  • Author(s): Thomas Viehmann
  • Date: 2008-10-04 10:25:53 UTC
  • mfrom: (5.1.15 intrepid)
  • Revision ID: james.westby@ubuntu.com-20081004102553-fv62pp8dsitxli47
Tags: 2.0.9-3.1
* Non-maintainer upload.
* agent/gpg-agent.c: Deinit the threading library before exec'ing
  the command to run in --daemon mode. And because that still doesn't
  restore the sigprocmask, do that manually. Closes: #499569

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
# Copyright (C) 2001, 2002, 2004 Free Software Foundation, Inc.
 
1
# Copyright (C) 2001, 2002, 2004, 2005, 2006 Free Software Foundation, Inc.
2
2
#
3
3
# This file is part of GnuPG.
4
4
#
5
5
# GnuPG is free software; you can redistribute it and/or modify
6
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
 
7
# the Free Software Foundation; either version 3 of the License, or
8
8
# (at your option) any later version.
9
9
10
10
# GnuPG is distributed in the hope that it will be useful,
13
13
# GNU General Public License for more details.
14
14
15
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
 
 
 
16
# along with this program; if not, see <http://www.gnu.org/licenses/>.
19
17
## Process this file with automake to produce Makefile.in
20
18
 
21
 
INCLUDES = -I$(top_srcdir)/include -I$(top_srcdir)/intl
22
 
EXTRA_PROGRAMS = gpgkeys_ldap gpgkeys_hkp gpgkeys_http gpgkeys_finger gpgkeys_curl
23
 
EXTRA_SCRIPTS = gpgkeys_mailto
24
 
libexecdir = @libexecdir@/@PACKAGE@
25
 
 
26
 
libexec_PROGRAMS = @GPGKEYS_LDAP@ @GPGKEYS_HKP@ @GPGKEYS_FINGER@ @GPGKEYS_HTTP@ @GPGKEYS_CURL@
27
 
libexec_SCRIPTS = @GPGKEYS_MAILTO@
28
 
noinst_SCRIPTS = gpgkeys_test
29
 
 
30
 
gpgkeys_ldap_SOURCES = gpgkeys_ldap.c ksutil.c ksutil.h
31
 
gpgkeys_hkp_SOURCES = gpgkeys_hkp.c ksutil.c ksutil.h
32
 
gpgkeys_http_SOURCES = gpgkeys_http.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
35
 
 
 
19
# Note that we have renamed the resulting binaries to from gpgkeys_foo
 
20
# to gpg2keys_foo to allow for a non-conflicting installation of
 
21
# gnupg1 and gnupg2.  Having the same names for the helpers would
 
22
# otherwise lead to trouble when to uninstall one of them.
 
23
EXTRA_PROGRAMS = gpg2keys_ldap gpg2keys_hkp gpg2keys_finger gpg2keys_curl
 
24
EXTRA_SCRIPTS = gpg2keys_mailto
 
25
 
 
26
AM_CPPFLAGS = -I$(top_srcdir)/gl -I$(top_srcdir)/common -I$(top_srcdir)/intl 
 
27
 
 
28
AM_CFLAGS = $(LIBGCRYPT_CFLAGS) $(GPG_ERROR_CFLAGS)
 
29
 
 
30
include $(top_srcdir)/am/cmacros.am
 
31
 
 
32
libexec_PROGRAMS = $(GPGKEYS_LDAP) $(GPGKEYS_HKP) $(GPGKEYS_FINGER) \
 
33
                   $(GPGKEYS_CURL)
 
34
libexec_SCRIPTS = $(GPGKEYS_MAILTO)
 
35
noinst_SCRIPTS = gpg2keys_test
 
36
 
 
37
common_libs = ../gl/libgnu.a  ../common/libcommon.a ../jnlib/libjnlib.a
36
38
other_libs = $(LIBICONV) $(LIBINTL) $(CAPLIBS)
37
39
 
38
 
gpgkeys_ldap_LDADD = ../util/libutil.a @LDAPLIBS@ @NETLIBS@ $(other_libs) @GETOPT@ @W32LIBS@
39
 
gpgkeys_hkp_LDADD = ../util/libutil.a @NETLIBS@ @SRVLIBS@ $(other_libs) @GETOPT@ @W32LIBS@
40
 
gpgkeys_http_LDADD = ../util/libutil.a @NETLIBS@ @SRVLIBS@ $(other_libs) @GETOPT@ @W32LIBS@
41
 
gpgkeys_finger_LDADD = ../util/libutil.a @NETLIBS@ $(other_libs) @GETOPT@ @W32LIBS@
42
 
gpgkeys_curl_CPPFLAGS = @LIBCURL_INCLUDES@
43
 
gpgkeys_curl_LDADD = @LIBCURL@ @GETOPT@
 
40
gpg2keys_ldap_SOURCES = gpgkeys_ldap.c ksutil.c ksutil.h no-libgcrypt.c
 
41
gpg2keys_ldap_CPPFLAGS = $(LDAP_CPPFLAGS) $(AM_CPPFLAGS)
 
42
gpg2keys_ldap_LDADD = ../jnlib/libjnlib.a $(LDAPLIBS) $(GPG_ERROR_LIBS) \
 
43
                      $(NETLIBS) $(other_libs)
 
44
 
 
45
gpg2keys_finger_SOURCES = gpgkeys_finger.c ksutil.c ksutil.h no-libgcrypt.c
 
46
gpg2keys_finger_CPPFLAGS = $(AM_CPPFLAGS)
 
47
gpg2keys_finger_LDADD = $(common_libs) $(GPG_ERROR_LIBS) \
 
48
                        $(NETLIBS) $(other_libs)
 
49
 
 
50
 
 
51
gpg2keys_curl_SOURCES = gpgkeys_curl.c ksutil.c ksutil.h no-libgcrypt.c
 
52
gpg2keys_hkp_SOURCES  = gpgkeys_hkp.c ksutil.c ksutil.h no-libgcrypt.c
 
53
if FAKE_CURL
 
54
gpg2keys_curl_SOURCES += curl-shim.c curl-shim.h
 
55
gpg2keys_curl_CPPFLAGS = $(AM_CPPFLAGS)
 
56
gpg2keys_curl_LDADD = $(common_libs) $(GPG_ERROR_LIBS) $(NETLIBS) $(DNSLIBS) \
 
57
                      $(other_libs) 
 
58
gpg2keys_hkp_SOURCES += curl-shim.c curl-shim.h
 
59
gpg2keys_hkp_CPPFLAGS = $(AM_CPPFLAGS)
 
60
gpg2keys_hkp_LDADD = $(common_libs) $(GPG_ERROR_LIBS) $(NETLIBS) $(DNSLIBS) \
 
61
                     $(other_libs) 
 
62
else
 
63
gpg2keys_curl_CPPFLAGS = $(LIBCURL_CPPFLAGS) $(AM_CPPFLAGS)
 
64
gpg2keys_curl_LDADD = $(LIBCURL) $(GETOPT)
 
65
gpg2keys_hkp_CPPFLAGS = $(LIBCURL_CPPFLAGS) $(AM_CPPFLAGS)
 
66
gpg2keys_hkp_LDADD = $(LIBCURL) $(GETOPT)
 
67
endif
 
68
 
 
69
# Make sure that all libs are build before we use them.  This is
 
70
# important for things like make -j2.
 
71
$(PROGRAMS): $(common_libs)
 
72
 
 
73