2009-09-23 12:28:41 +02:00
|
|
|
# g13/Makefile.am
|
|
|
|
# Copyright (C) 2009 Free Software Foundation, Inc.
|
|
|
|
#
|
|
|
|
# This file is part of GnuPG.
|
|
|
|
#
|
|
|
|
# GnuPG is free software; you can redistribute it and/or modify
|
|
|
|
# it under the terms of the GNU General Public License as published by
|
|
|
|
# the Free Software Foundation; either version 3 of the License, or
|
|
|
|
# (at your option) any later version.
|
2011-02-04 12:57:53 +01:00
|
|
|
#
|
2009-09-23 12:28:41 +02:00
|
|
|
# GnuPG is distributed in the hope that it will be useful,
|
|
|
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
# GNU General Public License for more details.
|
2011-02-04 12:57:53 +01:00
|
|
|
#
|
2009-09-23 12:28:41 +02:00
|
|
|
# You should have received a copy of the GNU General Public License
|
2016-11-05 12:02:19 +01:00
|
|
|
# along with this program; if not, see <https://www.gnu.org/licenses/>.
|
2009-09-23 12:28:41 +02:00
|
|
|
|
|
|
|
## Process this file with automake to produce Makefile.in
|
|
|
|
|
2017-03-20 10:30:08 +01:00
|
|
|
EXTRA_DIST = ChangeLog-2011 all-tests.scm
|
2011-12-01 10:51:36 +01:00
|
|
|
|
2011-02-04 12:57:53 +01:00
|
|
|
bin_PROGRAMS = g13
|
2015-10-21 08:38:10 +02:00
|
|
|
sbin_PROGRAMS = g13-syshelp
|
2009-09-23 12:28:41 +02:00
|
|
|
|
2016-02-10 20:44:19 +01:00
|
|
|
noinst_PROGRAMS = $(module_tests)
|
2020-08-20 10:54:17 +02:00
|
|
|
if DISABLE_TESTS
|
|
|
|
TESTS =
|
|
|
|
else
|
2016-02-10 20:44:19 +01:00
|
|
|
TESTS = $(module_tests)
|
2020-08-20 10:54:17 +02:00
|
|
|
endif
|
2016-02-10 20:44:19 +01:00
|
|
|
|
2017-03-07 12:21:23 +01:00
|
|
|
AM_CPPFLAGS =
|
2009-09-23 12:28:41 +02:00
|
|
|
|
|
|
|
include $(top_srcdir)/am/cmacros.am
|
|
|
|
|
Port to npth.
* configure.ac: Don't check for PTH but for NPTH.
(AH_BOTTOM): Remove PTH_SYSCALL_SOFT.
(have_pth): Rename to ...
(have_npth): ... this.
(USE_GNU_NPTH): Rename to ...
(USE_GNU_PTH): ... this.
* m4/npth.m4: New file.
* agent/Makefile.am, agent/cache.c, agent/call-pinentry.c,
agent/call-scd.c, agent/findkey.c, agent/gpg-agent.c,
agent/trustlist.c, common/Makefile.am, common/estream.c,
common/exechelp-posix.c, common/exechelp-w32.c,
common/exechelp-w32ce.c, common/http.c, common/init.c,
common/sysutils.c, dirmngr/Makefile.am, dirmngr/crlfetch.c,
dirmngr/dirmngr.c, dirmngr/dirmngr_ldap.c, dirmngr/ldap-wrapper-ce.c,
dirmngr/ldap-wrapper.c, dirmngr/ldap.c, g13/Makefile.am,
g13/call-gpg.c, g13/g13.c, g13/runner.c, scd/Makefile.am,
scd/apdu.c, scd/app.c, scd/ccid-driver.c, scd/command.c,
scd/scdaemon.c, tools/Makefile.am: Port to npth.
2012-01-03 22:12:37 +01:00
|
|
|
AM_CFLAGS = $(LIBGCRYPT_CFLAGS) $(LIBASSUAN_CFLAGS) $(NPTH_CFLAGS)
|
2009-09-23 12:28:41 +02:00
|
|
|
|
|
|
|
g13_SOURCES = \
|
2009-09-30 17:28:38 +02:00
|
|
|
g13.c g13.h \
|
2015-09-14 18:49:32 +02:00
|
|
|
g13-common.c g13-common.h \
|
2016-02-23 14:32:46 +01:00
|
|
|
keyblob.c keyblob.h \
|
2016-02-11 13:32:30 +01:00
|
|
|
g13tuple.c g13tuple.h \
|
2009-10-14 19:06:10 +02:00
|
|
|
server.c server.h \
|
2009-09-30 17:28:38 +02:00
|
|
|
create.c create.h \
|
2009-10-13 21:17:24 +02:00
|
|
|
mount.c mount.h \
|
2016-02-23 14:32:46 +01:00
|
|
|
suspend.c suspend.h \
|
2009-10-15 19:20:41 +02:00
|
|
|
mountinfo.c mountinfo.h \
|
2015-10-21 08:38:10 +02:00
|
|
|
call-syshelp.c call-syshelp.h \
|
2009-10-13 21:17:24 +02:00
|
|
|
runner.c runner.h \
|
2009-09-30 17:28:38 +02:00
|
|
|
backend.c backend.h \
|
|
|
|
be-encfs.c be-encfs.h \
|
2016-02-13 17:01:45 +01:00
|
|
|
be-truecrypt.c be-truecrypt.h \
|
|
|
|
be-dmcrypt.c be-dmcrypt.h
|
2009-09-30 17:28:38 +02:00
|
|
|
|
2014-11-11 10:13:10 +01:00
|
|
|
g13_LDADD = $(libcommonpth) \
|
Port to npth.
* configure.ac: Don't check for PTH but for NPTH.
(AH_BOTTOM): Remove PTH_SYSCALL_SOFT.
(have_pth): Rename to ...
(have_npth): ... this.
(USE_GNU_NPTH): Rename to ...
(USE_GNU_PTH): ... this.
* m4/npth.m4: New file.
* agent/Makefile.am, agent/cache.c, agent/call-pinentry.c,
agent/call-scd.c, agent/findkey.c, agent/gpg-agent.c,
agent/trustlist.c, common/Makefile.am, common/estream.c,
common/exechelp-posix.c, common/exechelp-w32.c,
common/exechelp-w32ce.c, common/http.c, common/init.c,
common/sysutils.c, dirmngr/Makefile.am, dirmngr/crlfetch.c,
dirmngr/dirmngr.c, dirmngr/dirmngr_ldap.c, dirmngr/ldap-wrapper-ce.c,
dirmngr/ldap-wrapper.c, dirmngr/ldap.c, g13/Makefile.am,
g13/call-gpg.c, g13/g13.c, g13/runner.c, scd/Makefile.am,
scd/apdu.c, scd/app.c, scd/ccid-driver.c, scd/command.c,
scd/scdaemon.c, tools/Makefile.am: Port to npth.
2012-01-03 22:12:37 +01:00
|
|
|
$(LIBGCRYPT_LIBS) $(LIBASSUAN_LIBS) $(NPTH_LIBS) \
|
2011-06-01 15:43:22 +02:00
|
|
|
$(GPG_ERROR_LIBS) $(LIBINTL) $(LIBICONV)
|
2015-10-21 08:38:10 +02:00
|
|
|
|
|
|
|
|
|
|
|
g13_syshelp_SOURCES = \
|
|
|
|
g13-syshelp.c g13-syshelp.h \
|
|
|
|
g13-common.c g13-common.h \
|
2016-08-13 17:39:28 +02:00
|
|
|
keyblob.c keyblob.h \
|
2016-02-11 13:32:30 +01:00
|
|
|
g13tuple.c g13tuple.h \
|
2015-10-21 08:38:10 +02:00
|
|
|
sh-cmd.c \
|
|
|
|
sh-blockdev.c \
|
|
|
|
sh-dmcrypt.c
|
|
|
|
|
|
|
|
g13_syshelp_LDADD = $(libcommon) \
|
|
|
|
$(LIBGCRYPT_LIBS) $(LIBASSUAN_LIBS) \
|
|
|
|
$(GPG_ERROR_LIBS) $(LIBINTL) $(LIBICONV)
|
2016-02-10 20:44:19 +01:00
|
|
|
|
|
|
|
|
2016-02-11 13:32:30 +01:00
|
|
|
module_tests = t-g13tuple
|
2016-02-10 20:44:19 +01:00
|
|
|
t_common_ldadd = $(libcommon) $(LIBGCRYPT_LIBS) \
|
2017-02-13 10:18:45 +01:00
|
|
|
$(LIBASSUAN_LIBS) $(LIBICONV)
|
2016-02-10 20:44:19 +01:00
|
|
|
|
2016-02-11 13:32:30 +01:00
|
|
|
t_g13tuple_SOURCES = t-g13tuple.c g13tuple.c
|
|
|
|
t_g13tuple_LDADD = $(t_common_ldadd)
|
2016-02-10 20:44:19 +01:00
|
|
|
|
|
|
|
|
|
|
|
$(PROGRAMS) : $(libcommon) $(libcommonpth)
|