1 # Makefile for common gnupg modules
2 # Copyright (C) 2001, 2003 Free Software Foundation, Inc.
4 # This file is part of GnuPG.
6 # GnuPG is free software; you can redistribute it and/or modify
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
9 # (at your option) any later version.
11 # GnuPG is distributed in the hope that it will be useful,
12 # but WITHOUT ANY WARRANTY; without even the implied warranty of
13 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 # GNU General Public License for more details.
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., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301,
21 ## Process this file with automake to produce Makefile.in
23 noinst_LIBRARIES = libcommon.a libcommonpth.a libsimple-pwquery.a libgpgrl.a
24 noinst_PROGRAMS = $(module_tests)
25 TESTS = $(module_tests)
27 AM_CPPFLAGS = -I$(top_srcdir)/gl
29 AM_CFLAGS = $(LIBGCRYPT_CFLAGS) $(KSBA_CFLAGS)
39 sysutils.c sysutils.h \
52 exechelp.c exechelp.h \
59 dns-cert.c dns-cert.h \
63 libcommon_a_SOURCES = $(common_sources)
64 libcommon_a_CFLAGS = $(AM_CFLAGS) $(LIBASSUAN_CFLAGS) -DWITHOUT_GNU_PTH=1
66 libcommonpth_a_SOURCES = $(common_sources)
67 libcommonpth_a_CFLAGS = $(AM_CFLAGS) $(LIBASSUAN_PTH_CFLAGS) $(PTH_CFLAGS)
69 libsimple_pwquery_a_SOURCES = \
70 simple-pwquery.c simple-pwquery.h asshelp.c asshelp.h
71 libsimple_pwquery_a_CFLAGS = $(AM_CFLAGS) $(LIBASSUAN_CFLAGS)
73 libgpgrl_a_SOURCES = \
79 module_tests = t-convert
81 t_common_ldadd = ../jnlib/libjnlib.a ../common/libcommon.a ../gl/libgnu.a \
82 $(LIBGCRYPT_LIBS) $(GPG_ERROR_LIBS)
84 t_convert_DEPENDENCIES = convert.c
85 t_convert_LDADD = $(t_common_ldadd)