bd7d11199e55572cef3bb0a08b53940acde60526
[gnupg.git] / checks / Makefile.am
1 ## Process this file with automake to create Makefile.in
2
3 TESTS = version.test mds.test \
4         decrypt.test decrypt-dsa.test \
5         sigs.test sigs-dsa.test \
6         encrypt.test encrypt-dsa.test  \
7         seat.test clearsig.test encryptp.test detach.test \
8         armsigs.test armencrypt.test armencryptp.test \
9         signencrypt.test signencrypt-dsa.test \
10         armsignencrypt.test armdetach.test \
11         armdetachm.test detachm.test genkey1024.test \
12         conventional.test
13
14
15 TEST_FILES = pubring.asc secring.asc plain-1o.asc plain-2o.asc plain-3o.asc \
16              plain-1.asc plain-2.asc plain-3.asc plain-1-pgp.asc \
17              pubring.pkr.asc secring.skr.asc
18
19 DATA_FILES = data-500 data-9000 data-32000 data-80000
20
21 EXTRA_DIST = defs.inc run-gpg run-gpgm $(TESTS) $(TEST_FILES)
22 CLEANFILES = prepared.stamp x y z out err  $(DATA_FILES)
23
24
25 check: prepared.stamp
26
27 prepared.stamp: ./pubring.gpg ./secring.gpg ./plain-1 ./plain-2 ./plain-3 \
28                 ./pubring.pkr ./secring.skr $(DATA_FILES)
29          echo timestamp >./prepared.stamp
30
31
32 ./pubring.gpg: $(srcdir)/pubring.asc
33          ../g10/gpgm --yes --dearmor -o ./pubring.gpg $(srcdir)/pubring.asc
34
35 ./secring.gpg: $(srcdir)/secring.asc
36          ../g10/gpgm --yes --dearmor -o ./secring.gpg $(srcdir)/secring.asc
37
38 ./pubring.pkr: $(srcdir)/pubring.pkr.asc
39          ../g10/gpgm --yes --dearmor -o ./pubring.pkr $(srcdir)/pubring.pkr.asc
40
41 ./secring.skr: $(srcdir)/secring.skr.asc
42          ../g10/gpgm --yes --dearmor -o ./secring.skr $(srcdir)/secring.skr.asc
43
44 ./plain-1: $(srcdir)/plain-1o.asc
45          ../g10/gpgm --yes --dearmor -o ./plain-1 $(srcdir)/plain-1o.asc
46
47 ./plain-2: $(srcdir)/plain-2o.asc
48          ../g10/gpgm --yes --dearmor -o ./plain-2 $(srcdir)/plain-2o.asc
49
50 ./plain-3: $(srcdir)/plain-3o.asc
51          ../g10/gpgm --yes --dearmor -o ./plain-3 $(srcdir)/plain-3o.asc
52
53
54
55 data-500:
56         ../tools/mk-tdata   500  >data-500
57 data-9000:
58         ../tools/mk-tdata  9000  >data-9000
59 data-32000:
60         ../tools/mk-tdata 32000  >data-32000
61 data-80000:
62         ../tools/mk-tdata 80000  >data-80000
63
64