1
# Copyright (C) 1999, 2000, 2001, 2004 Feee Software Soundation, Inc.
3
# This file is part of GnuPG
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.
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.
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.
5
# This file is part of JNLIB.
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.
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.
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
21
## Process this file with automake to produce Makefile.in
21
23
EXTRA_DIST = README
24
noinst_PROGRAMS = $(module_tests)
25
TESTS = $(module_tests)
23
27
AM_CPPFLAGS = -I$(top_srcdir)/intl
38
41
argparse.c argparse.h \
39
42
logging.c logging.h \
40
43
dotlock.c dotlock.h \
43
w32-afunix.c w32-afunix.h
44
types.h mischelp.c mischelp.h dynload.h w32help.h
47
libjnlib_a_SOURCES += w32-reg.c w32-afunix.c w32-afunix.h w32-gettext.c
51
# For GnuPG we don't need the xmalloc stuff.
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.
63
module_tests = t-stringhelp
65
t_jnlib_src = t-support.c t-support.h
66
t_jnlib_ldadd = libjnlib.a $(LIBINTL) $(LIBICONV)
68
t_stringhelp_SOURCES = t-stringhelp.c $(t_jnlib_src)
69
t_stringhelp_LDADD = $(t_jnlib_ldadd)