1
0
mirror of git://git.gnupg.org/gnupg.git synced 2024-12-24 10:39:57 +01:00
gnupg/checks/Makefile.am

108 lines
3.6 KiB
Makefile
Raw Normal View History

2001-03-08 14:33:24 +00:00
# Copyright (C) 1998, 1999, 2000, 2001 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 2 of the License, or
# (at your option) any later version.
#
# 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.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
2001-09-28 08:54:51 +00:00
# Process this file with automake to create Makefile.in
1998-02-18 18:52:59 +00:00
2001-03-27 12:20:30 +00:00
GPG_IMPORT = ../g10/gpg --homedir . --quiet --yes --import
1998-05-13 17:53:36 +00:00
TESTS = version.test mds.test \
1998-04-08 19:42:07 +00:00
decrypt.test decrypt-dsa.test \
sigs.test sigs-dsa.test \
encrypt.test encrypt-dsa.test \
1998-07-08 09:29:43 +00:00
seat.test clearsig.test encryptp.test detach.test \
1998-04-08 19:42:07 +00:00
armsigs.test armencrypt.test armencryptp.test \
signencrypt.test signencrypt-dsa.test \
armsignencrypt.test armdetach.test \
1998-05-04 18:49:26 +00:00
armdetachm.test detachm.test genkey1024.test \
2001-02-12 20:34:48 +00:00
conventional.test conventional-mdc.test \
multisig.test
1998-02-26 16:56:31 +00:00
1998-02-18 18:52:59 +00:00
1998-09-14 10:33:57 +00:00
TEST_FILES = pubring.asc secring.asc plain-1o.asc plain-2o.asc plain-3o.asc \
1998-04-08 19:42:07 +00:00
plain-1.asc plain-2.asc plain-3.asc plain-1-pgp.asc \
2001-03-27 12:20:30 +00:00
pubring.pkr.asc secring.skr.asc secdemo.asc pubdemo.asc options.in
1998-02-18 18:52:59 +00:00
DATA_FILES = data-500 data-9000 data-32000 data-80000 plain-large
1998-02-26 16:56:31 +00:00
2001-09-28 08:54:51 +00:00
EXTRA_DIST = defs.inc $(TESTS) $(TEST_FILES) \
mkdemodirs signdemokey
CLEANFILES = prepared.stamp x y yy z out err $(DATA_FILES) \
2001-09-28 08:54:51 +00:00
plain-1 plain-2 plain-3 trustdb.gpg *.lock .\#lk* \
*.test.log options gpg_dearmor \
pubring.gpg secring.gpg pubring.pkr secring.skr
DISTCLEANFILES = pubring.gpg~ random_seed
1998-02-26 16:56:31 +00:00
1998-09-14 10:33:57 +00:00
all-local: prepared.stamp
1998-09-14 15:49:56 +00:00
distclean-local:
$(srcdir)/mkdemodirs --clean
1998-09-14 10:33:57 +00:00
prepared.stamp: ./pubring.gpg ./secring.gpg ./plain-1 ./plain-2 ./plain-3 \
2001-09-28 08:54:51 +00:00
./pubring.pkr ./secring.skr ./options ./gpg_dearmor \
$(DATA_FILES)
2001-03-27 12:20:30 +00:00
$(GPG_IMPORT) $(srcdir)/pubdemo.asc
1998-04-08 19:42:07 +00:00
echo timestamp >./prepared.stamp
1998-02-26 16:56:31 +00:00
2001-03-27 12:20:30 +00:00
./options: $(srcdir)/options.in
cat $(srcdir)/options.in >./options
@set -e; if echo "@DYNAMIC_CIPHER_MODS@" |grep tiger >/dev/null ;then \
echo load-extension ../cipher/tiger >>./options; fi
1998-09-14 10:33:57 +00:00
2001-09-28 08:54:51 +00:00
./gpg_dearmor:
echo '#!/bin/sh' >./gpg_dearmor
2001-10-23 08:04:00 +00:00
echo "../g10/gpg --no-options --no-greeting \
2001-09-28 08:54:51 +00:00
--no-secmem-warning --batch --dearmor" >>./gpg_dearmor
chmod 755 ./gpg_dearmor
./pubring.gpg: $(srcdir)/pubring.asc $(srcdir)/pubdemo.asc ./gpg_dearmor
./gpg_dearmor > ./pubring.gpg < $(srcdir)/pubring.asc
1998-09-14 10:33:57 +00:00
./secring.gpg: $(srcdir)/secring.asc ./gpg_dearmor
2001-09-28 08:54:51 +00:00
./gpg_dearmor > ./secring.gpg < $(srcdir)/secring.asc
1998-09-14 10:33:57 +00:00
./pubring.pkr: $(srcdir)/pubring.pkr.asc ./gpg_dearmor
2001-09-28 08:54:51 +00:00
./gpg_dearmor > ./pubring.pkr < $(srcdir)/pubring.pkr.asc
1998-09-14 10:33:57 +00:00
./secring.skr: $(srcdir)/secring.skr.asc ./gpg_dearmor
2001-09-28 08:54:51 +00:00
./gpg_dearmor > ./secring.skr < $(srcdir)/secring.skr.asc
1998-09-14 10:33:57 +00:00
./plain-1: $(srcdir)/plain-1o.asc ./gpg_dearmor
2001-09-28 08:54:51 +00:00
./gpg_dearmor > ./plain-1 < $(srcdir)/plain-1o.asc
1998-09-14 10:33:57 +00:00
./plain-2: $(srcdir)/plain-2o.asc ./gpg_dearmor
2001-09-28 08:54:51 +00:00
./gpg_dearmor > ./plain-2 < $(srcdir)/plain-2o.asc
1998-09-14 10:33:57 +00:00
./plain-3: $(srcdir)/plain-3o.asc ./gpg_dearmor
2001-09-28 08:54:51 +00:00
./gpg_dearmor > ./plain-3 < $(srcdir)/plain-3o.asc
1998-09-14 10:33:57 +00:00
1998-02-26 16:56:31 +00:00
data-500:
1998-09-14 10:33:57 +00:00
../tools/mk-tdata 500 >data-500
1998-02-26 16:56:31 +00:00
data-9000:
1998-09-14 10:33:57 +00:00
../tools/mk-tdata 9000 >data-9000
1998-02-26 16:56:31 +00:00
data-32000:
1998-09-14 10:33:57 +00:00
../tools/mk-tdata 32000 >data-32000
1998-02-26 16:56:31 +00:00
data-80000:
1998-09-14 10:33:57 +00:00
../tools/mk-tdata 80000 >data-80000
plain-large:
cat $(srcdir)/../doc/HACKING \
$(srcdir)/../doc/DETAILS \
$(srcdir)/../doc/FAQ >plain-large
1998-02-18 18:52:59 +00:00