*** empty log message ***
[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 run-gpg.patterns $(TESTS) $(TEST_FILES)
22 CLEANFILES = prepared.stamp x y z out err  $(DATA_FILES) \
23              plain-1 plain-2 plain-3
24 DISTCLEANFILES = pubring.gpg secring.gpg pubring.pkr secring.skr
25
26
27
28 check: prepared.stamp
29
30 testdata: prepared.stamp
31
32 prepared.stamp: ./pubring.gpg ./secring.gpg ./plain-1 ./plain-2 ./plain-3 \
33                 ./pubring.pkr ./secring.skr $(DATA_FILES)
34          echo timestamp >./prepared.stamp
35
36
37 ./pubring.gpg: $(srcdir)/pubring.asc
38          ../g10/gpgm --yes --dearmor -o ./pubring.gpg $(srcdir)/pubring.asc
39
40 ./secring.gpg: $(srcdir)/secring.asc
41          ../g10/gpgm --yes --dearmor -o ./secring.gpg $(srcdir)/secring.asc
42
43 ./pubring.pkr: $(srcdir)/pubring.pkr.asc
44          ../g10/gpgm --yes --dearmor -o ./pubring.pkr $(srcdir)/pubring.pkr.asc
45
46 ./secring.skr: $(srcdir)/secring.skr.asc
47          ../g10/gpgm --yes --dearmor -o ./secring.skr $(srcdir)/secring.skr.asc
48
49 ./plain-1: $(srcdir)/plain-1o.asc
50          ../g10/gpgm --yes --dearmor -o ./plain-1 $(srcdir)/plain-1o.asc
51
52 ./plain-2: $(srcdir)/plain-2o.asc
53          ../g10/gpgm --yes --dearmor -o ./plain-2 $(srcdir)/plain-2o.asc
54
55 ./plain-3: $(srcdir)/plain-3o.asc
56          ../g10/gpgm --yes --dearmor -o ./plain-3 $(srcdir)/plain-3o.asc
57
58
59
60 data-500:
61         ../tools/mk-tdata   500  >data-500
62 data-9000:
63         ../tools/mk-tdata  9000  >data-9000
64 data-32000:
65         ../tools/mk-tdata 32000  >data-32000
66 data-80000:
67         ../tools/mk-tdata 80000  >data-80000
68
69