summaryrefslogtreecommitdiffstats
path: root/checks/Makefile.am
blob: 351075206af1a535e94e5510ef3760258861fc3e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
## Process this file with automake to create Makefile.in

TESTS = version.test mds.test \
	decrypt.test decrypt-dsa.test \
	sigs.test sigs-dsa.test \
	encrypt.test encrypt-dsa.test  \
	seat.test clearsig.test encryptp.test detach.test \
	armsigs.test armencrypt.test armencryptp.test \
	signencrypt.test signencrypt-dsa.test \
	armsignencrypt.test armdetach.test \
	armdetachm.test detachm.test genkey1024.test \
	conventional.test


TEST_FILES = pubring.asc secring.asc plain-1o.asc plain-2o.asc plain-3o.asc \
	     plain-1.asc plain-2.asc plain-3.asc plain-1-pgp.asc \
	     pubring.pkr.asc secring.skr.asc

DATA_FILES = data-500 data-9000 data-32000 data-80000

EXTRA_DIST = defs.inc run-gpg run-gpgm $(TESTS) $(TEST_FILES)
CLEANFILES = prepared.stamp x y z out err  $(DATA_FILES) \
	     plain-1 plain-2 plain-3
DISTCLEANFILES = pubring.gpg secring.gpg pubring.pkr secring.skr



check: prepared.stamp

testdata: prepared.stamp

prepared.stamp: ./pubring.gpg ./secring.gpg ./plain-1 ./plain-2 ./plain-3 \
		./pubring.pkr ./secring.skr $(DATA_FILES)
	 echo timestamp >./prepared.stamp


./pubring.gpg: $(srcdir)/pubring.asc
	 ../g10/gpgm --yes --dearmor -o ./pubring.gpg $(srcdir)/pubring.asc

./secring.gpg: $(srcdir)/secring.asc
	 ../g10/gpgm --yes --dearmor -o ./secring.gpg $(srcdir)/secring.asc

./pubring.pkr: $(srcdir)/pubring.pkr.asc
	 ../g10/gpgm --yes --dearmor -o ./pubring.pkr $(srcdir)/pubring.pkr.asc

./secring.skr: $(srcdir)/secring.skr.asc
	 ../g10/gpgm --yes --dearmor -o ./secring.skr $(srcdir)/secring.skr.asc

./plain-1: $(srcdir)/plain-1o.asc
	 ../g10/gpgm --yes --dearmor -o ./plain-1 $(srcdir)/plain-1o.asc

./plain-2: $(srcdir)/plain-2o.asc
	 ../g10/gpgm --yes --dearmor -o ./plain-2 $(srcdir)/plain-2o.asc

./plain-3: $(srcdir)/plain-3o.asc
	 ../g10/gpgm --yes --dearmor -o ./plain-3 $(srcdir)/plain-3o.asc



data-500:
	../tools/mk-tdata   500  >data-500
data-9000:
	../tools/mk-tdata  9000  >data-9000
data-32000:
	../tools/mk-tdata 32000  >data-32000
data-80000:
	../tools/mk-tdata 80000  >data-80000