bda0a2d9053bb844acdf4053f06e1fef3a8f3c53
[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 secdemo.asc pubdemo.asc
18
19 DATA_FILES = data-500 data-9000 data-32000 data-80000 plain-large
20
21 EXTRA_DIST = defs.inc run-gpg run-gpg.patterns $(TESTS) $(TEST_FILES) \
22              mkdemodirs signdemokey
23 CLEANFILES = prepared.stamp x y yy z out err  $(DATA_FILES) \
24              plain-1 plain-2 plain-3 options trustdb.gpg *.lock .\#lk* \
25              pubring.gpg secring.gpg pubring.pkr secring.skr
26 DISTCLEANFILES = pubring.gpg~
27
28
29 all-local: prepared.stamp
30
31 distclean-local:
32         ./mkdemodirs --clean
33
34 prepared.stamp: ./pubring.gpg ./secring.gpg ./plain-1 ./plain-2 ./plain-3 \
35                 ./pubring.pkr ./secring.skr $(DATA_FILES)
36          echo timestamp >./prepared.stamp
37
38
39 ./pubring.gpg: $(srcdir)/pubring.asc
40          ../g10/gpg --yes --dearmor -o ./pubring.gpg $(srcdir)/pubring.asc
41
42 ./secring.gpg: $(srcdir)/secring.asc
43          ../g10/gpg --yes --dearmor -o ./secring.gpg $(srcdir)/secring.asc
44
45 ./pubring.pkr: $(srcdir)/pubring.pkr.asc
46          ../g10/gpg --yes --dearmor -o ./pubring.pkr $(srcdir)/pubring.pkr.asc
47
48 ./secring.skr: $(srcdir)/secring.skr.asc
49          ../g10/gpg --yes --dearmor -o ./secring.skr $(srcdir)/secring.skr.asc
50
51 ./plain-1: $(srcdir)/plain-1o.asc
52          ../g10/gpg --yes --dearmor -o ./plain-1 $(srcdir)/plain-1o.asc
53
54 ./plain-2: $(srcdir)/plain-2o.asc
55          ../g10/gpg --yes --dearmor -o ./plain-2 $(srcdir)/plain-2o.asc
56
57 ./plain-3: $(srcdir)/plain-3o.asc
58          ../g10/gpg --yes --dearmor -o ./plain-3 $(srcdir)/plain-3o.asc
59
60
61
62 data-500:
63         ../tools/mk-tdata   500  >data-500
64 data-9000:
65         ../tools/mk-tdata  9000  >data-9000
66 data-32000:
67         ../tools/mk-tdata 32000  >data-32000
68 data-80000:
69         ../tools/mk-tdata 80000  >data-80000
70 plain-large:
71         cat $(srcdir)/../doc/HACKING \
72             $(srcdir)/../doc/DETAILS \
73             $(srcdir)/../doc/FAQ         >plain-large
74