2020-08-20 10:54:17 +02:00
|
|
|
# Makefile.am
|
2003-01-09 14:29:36 +01:00
|
|
|
# Copyright (C) 2002 Free Software Foundation, Inc.
|
2011-02-04 12:57:53 +01:00
|
|
|
#
|
2003-01-09 14:29:36 +01:00
|
|
|
# This file is part of GnuPG.
|
2011-02-04 12:57:53 +01:00
|
|
|
#
|
2003-01-09 14:29:36 +01:00
|
|
|
# GnuPG is free software; you can redistribute it and/or modify
|
|
|
|
# it under the terms of the GNU General Public License as published by
|
2007-07-04 21:49:40 +02:00
|
|
|
# the Free Software Foundation; either version 3 of the License, or
|
2003-01-09 14:29:36 +01:00
|
|
|
# (at your option) any later version.
|
2011-02-04 12:57:53 +01:00
|
|
|
#
|
2003-01-09 14:29:36 +01: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
|
|
|
#
|
2003-01-09 14:29:36 +01: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/>.
|
2003-01-09 14:29:36 +01:00
|
|
|
|
|
|
|
## Process this file with automake to produce Makefile.in
|
|
|
|
|
2021-03-09 22:50:31 +01:00
|
|
|
if TEST_LIBTSS
|
|
|
|
tpm2dtests = tpm2dtests
|
|
|
|
else
|
|
|
|
tpm2dtests =
|
|
|
|
endif
|
|
|
|
|
2021-05-31 15:29:18 +02:00
|
|
|
SUBDIRS = gpgscm openpgp cms migrations gpgme pkits $(tpm2dtests) .
|
2004-08-17 17:32:56 +02:00
|
|
|
|
2003-01-09 14:29:36 +01:00
|
|
|
GPGSM = ../sm/gpgsm
|
|
|
|
|
|
|
|
|
2021-09-30 18:18:00 +02:00
|
|
|
EXTRA_DIST = run-tests.scm gpgconf.ctl.in \
|
2016-09-19 10:01:31 +02:00
|
|
|
fake-pinentries/README.txt \
|
|
|
|
fake-pinentries/fake-pinentry.php \
|
|
|
|
fake-pinentries/fake-pinentry.pl \
|
|
|
|
fake-pinentries/fake-pinentry.py \
|
|
|
|
fake-pinentries/fake-pinentry.sh \
|
2021-05-31 15:29:18 +02:00
|
|
|
ChangeLog-2011
|
2003-01-09 14:29:36 +01:00
|
|
|
|
2021-05-31 15:29:18 +02:00
|
|
|
CLEANFILES = x y z out err
|
2003-01-09 14:29:36 +01:00
|
|
|
|
2016-09-30 16:22:40 +02:00
|
|
|
if !HAVE_W32_SYSTEM
|
2003-01-09 14:29:36 +01:00
|
|
|
noinst_PROGRAMS = asschk
|
2016-09-30 16:22:40 +02:00
|
|
|
endif
|
2003-01-09 14:29:36 +01:00
|
|
|
|
|
|
|
asschk_SOURCES = asschk.c
|
2021-09-30 18:18:00 +02:00
|
|
|
|
|
|
|
TESTINST_DIRS = bin sbin libexec share etc
|
|
|
|
|
|
|
|
clean-local: clean-local-testinst
|
|
|
|
|
|
|
|
# We do a cd ../tests here so that we make sure tha the bin dir etc
|
|
|
|
# are under our tests dir. This is failsafe thingy in case this
|
|
|
|
# Makefile rule is accidently run /.
|
|
|
|
clean-local-testinst:
|
|
|
|
-(cd ../tests && rm -rf $(TESTINST_DIRS))
|
|
|
|
|
|
|
|
# Before we can run any tests we need to make sure that we have a
|
|
|
|
# proper test installation with this dir (tests) as root dir. It is
|
|
|
|
# too hard to track the built files here thus we do the install step
|
|
|
|
# always.
|
|
|
|
check-recursive: bin/gpgconf.ctl
|
|
|
|
|
|
|
|
bin/gpgconf.ctl: FORCE
|
|
|
|
@echo '==== Installing into a test root ======'
|
|
|
|
@-mkdir bin 2>/dev/null
|
|
|
|
@cat $(srcdir)/gpgconf.ctl.in > bin/gpgconf.ctl.tmp
|
|
|
|
cd .. && \
|
|
|
|
$(MAKE) $(AM_MAKEFLAGS) install prefix=$(abs_top_builddir)/tests
|
|
|
|
@mv bin/gpgconf.ctl.tmp bin/gpgconf.ctl
|
|
|
|
@echo '==== Finished installing into a test root ======'
|
|
|
|
|
|
|
|
|
|
|
|
.PHONY: FORCE clean-local-testinst
|