~ubuntu-branches/ubuntu/oneiric/gnupg2/oneiric-updates

« back to all changes in this revision

Viewing changes to g10/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
1
# Copyright (C) 1998, 1999, 2000, 2001, 2002,
2
 
#               2003  Free Software Foundation, Inc.
 
2
#               2003, 2006  Free Software Foundation, Inc.
3
3
#
4
4
# This file is part of GnuPG.
5
5
#
6
6
# GnuPG is free software; you can redistribute it and/or modify
7
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
 
8
# the Free Software Foundation; either version 3 of the License, or
9
9
# (at your option) any later version.
10
10
11
11
# GnuPG is distributed in the hope that it will be useful,
14
14
# GNU General Public License for more details.
15
15
16
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
 
17
# along with this program; if not, see <http://www.gnu.org/licenses/>.
19
18
 
20
19
## Process this file with automake to produce Makefile.in
21
20
 
26
25
 
27
26
include $(top_srcdir)/am/cmacros.am
28
27
 
29
 
AM_CFLAGS = $(LIBGCRYPT_CFLAGS)
 
28
AM_CFLAGS = $(LIBGCRYPT_CFLAGS) $(LIBASSUAN_CFLAGS) $(GPG_ERROR_CFLAGS)
30
29
 
31
 
needed_libs = ../gl/libgnu.a ../common/libcommon.a ../jnlib/libjnlib.a
 
30
needed_libs = $(libcommon) ../jnlib/libjnlib.a ../gl/libgnu.a 
32
31
 
33
32
bin_PROGRAMS = gpg2 gpgv2
34
33
 
 
34
if ENABLE_BZIP2_SUPPORT
 
35
bzip2_source = compress-bz2.c
 
36
else
 
37
bzip2_source =
 
38
endif
 
39
 
 
40
 
35
41
common_source =  \
36
 
              global.h gpg.h    \
 
42
              gpg.h             \
37
43
              build-packet.c    \
38
44
              compress.c        \
 
45
              $(bzip2_source)   \
39
46
              filter.h          \
40
47
              free-packet.c     \
41
48
              getkey.c          \
55
62
              keyid.c           \
56
63
              packet.h          \
57
64
              parse-packet.c    \
58
 
              comment.c         \
59
 
              status.c          \
60
 
              status.h          \
 
65
              cpr.c             \
61
66
              plaintext.c       \
62
67
              sig-check.c       \
63
68
              keylist.c         \
64
69
              pkglue.c pkglue.h 
65
70
 
66
 
gpg2_SOURCES  = g10.c           \
 
71
gpg2_SOURCES  = gpg.c           \
 
72
              server.c          \
67
73
              $(common_source)  \
68
74
              pkclist.c         \
69
75
              skclist.c         \
88
94
              tdbio.h           \
89
95
              delkey.c          \
90
96
              keygen.c          \
91
 
              pipemode.c        \
92
97
              helptext.c        \
93
98
              keyserver.c       \
94
99
              keyserver-internal.h \
108
113
#              ks-db.h \
109
114
#              $(common_source)
110
115
 
111
 
LDADD =  $(needed_libs) @LIBINTL@ @CAPLIBS@ @W32LIBS@
112
 
gpg2_LDADD = $(LIBGCRYPT_LIBS) $(LDADD) -lassuan -lgpg-error
113
 
gpgv2_LDADD = $(LIBGCRYPT_LIBS) $(LDADD) -lassuan -lgpg-error
 
116
LDADD =  $(needed_libs) ../common/libgpgrl.a \
 
117
         $(ZLIBS) $(DNSLIBS) $(LIBREADLINE) \
 
118
         $(LIBINTL) $(CAPLIBS) $(NETLIBS)
 
119
gpg2_LDADD =  $(LDADD) $(LIBGCRYPT_LIBS) $(LIBASSUAN_LIBS) $(GPG_ERROR_LIBS) \
 
120
             $(LIBICONV)
 
121
gpgv2_LDADD = $(LDADD) $(LIBGCRYPT_LIBS) $(LIBASSUAN_LIBS) $(GPG_ERROR_LIBS) \
 
122
              $(LIBICONV)
114
123
 
115
 
$(PROGRAMS): $(needed_libs)
 
124
$(PROGRAMS): $(needed_libs) ../common/libgpgrl.a
116
125
 
117
126
install-data-local:
118
127
        $(mkinstalldirs) $(DESTDIR)$(pkgdatadir)