~ubuntu-branches/ubuntu/jaunty/gnupg2/jaunty-security

« back to all changes in this revision

Viewing changes to jnlib/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) 1999, 2000, 2001, 2004 Feee Software Soundation, Inc.
2
 
3
 
# This file is part of GnuPG
4
 
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.
9
 
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.
14
 
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
 
1
# Makefile for the JNLIB part of GnuPG
 
2
# Copyright (C) 1999, 2000, 2001, 2004,
 
3
#               2006 Feee Software Soundation, Inc.
 
4
 
5
# This file is part of JNLIB.
 
6
 
7
# JNLIB is free software; you can redistribute it and/or modify it
 
8
# under the terms of the GNU Lesser General Public License as
 
9
# published by the Free Software Foundation; either version 3 of
 
10
# the License, or (at your option) any later version.
 
11
 
12
# JNLIB is distributed in the hope that it will be useful, but
 
13
# WITHOUT ANY WARRANTY; without even the implied warranty of
 
14
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 
15
# Lesser General Public License for more details.
 
16
 
17
# You should have received a copy of the GNU Lesser General Public
 
18
# License along with this program; if not, see <http://www.gnu.org/licenses/>.
 
19
 
18
20
 
19
21
## Process this file with automake to produce Makefile.in
20
22
 
21
23
EXTRA_DIST = README
 
24
noinst_PROGRAMS = $(module_tests)
 
25
TESTS = $(module_tests)
22
26
 
23
27
AM_CPPFLAGS = -I$(top_srcdir)/intl
24
28
 
27
31
 
28
32
noinst_LIBRARIES = libjnlib.a
29
33
 
30
 
INCLUDES = -I../include
31
34
 
32
35
#libjnlib_a_LDFLAGS =
33
36
libjnlib_a_SOURCES = \
38
41
        argparse.c argparse.h \
39
42
        logging.c logging.h  \
40
43
        dotlock.c dotlock.h  \
41
 
        types.h mischelp.h \
42
 
        w32-pth.c w32-pth.h \
43
 
        w32-afunix.c w32-afunix.h 
44
 
 
45
 
#                    xmalloc.c xmalloc.h       
 
44
        types.h mischelp.c mischelp.h dynload.h w32help.h
 
45
 
 
46
if HAVE_W32_SYSTEM
 
47
libjnlib_a_SOURCES += w32-reg.c w32-afunix.c w32-afunix.h w32-gettext.c
 
48
endif
 
49
 
 
50
 
 
51
# For GnuPG we don't need the xmalloc stuff.
 
52
#       xmalloc.c xmalloc.h       
 
53
 
 
54
 
 
55
#
 
56
# Module tests.
 
57
#
 
58
# These tests should only be used at the canonical location of jnlib
 
59
# which is the GnuPG package.  The reason for this is that t-support.c
 
60
# defines replacements for the actual used memory allocation functions
 
61
# so that there is no dependency on libgcrypt.
 
62
#
 
63
module_tests = t-stringhelp
 
64
 
 
65
t_jnlib_src = t-support.c t-support.h 
 
66
t_jnlib_ldadd = libjnlib.a $(LIBINTL) $(LIBICONV)
 
67
 
 
68
t_stringhelp_SOURCES = t-stringhelp.c $(t_jnlib_src)
 
69
t_stringhelp_LDADD = $(t_jnlib_ldadd)
46
70