~ubuntu-branches/ubuntu/precise/gnupg2/precise-proposed

« back to all changes in this revision

Viewing changes to checks/Makefile.am

  • Committer: Bazaar Package Importer
  • Author(s): Matthias Urlichs
  • Date: 2006-01-24 04:31:42 UTC
  • mfrom: (1.1.2 upstream)
  • Revision ID: james.westby@ubuntu.com-20060124043142-pbg192or6qxv3yk2
Tags: 1.9.20-1
* New Upstream version. Closes:#306890,#344530
  * Closes:#320490: gpg-protect-tool fails to decrypt PKCS-12 files 
* Depend on libopensc2-dev, not -1-. Closes:#348106

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
# Copyright (C) 1998, 1999, 2000, 2001 Free Software Foundation, Inc.
 
2
#
 
3
# This file is part of GnuPG.
 
4
#
 
5
# GnuPG is free software; you can redistribute it and/or modify
 
6
# it under the terms of the GNU General Public License as published by
 
7
# the Free Software Foundation; either version 2 of the License, or
 
8
# (at your option) any later version.
 
9
 
10
# GnuPG is distributed in the hope that it will be useful,
 
11
# but WITHOUT ANY WARRANTY; without even the implied warranty of
 
12
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 
13
# GNU General Public License for more details.
 
14
 
15
# You should have received a copy of the GNU General Public License
 
16
# along with this program; if not, write to the Free Software
 
17
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
 
18
 
 
19
# Process this file with automake to create Makefile.in
 
20
 
 
21
GPG_IMPORT  = ../g10/gpg --homedir . --quiet --yes --import
 
22
 
 
23
TESTS = version.test mds.test \
 
24
        decrypt.test decrypt-dsa.test \
 
25
        sigs.test sigs-dsa.test \
 
26
        encrypt.test encrypt-dsa.test  \
 
27
        seat.test clearsig.test encryptp.test detach.test \
 
28
        armsigs.test armencrypt.test armencryptp.test \
 
29
        signencrypt.test signencrypt-dsa.test \
 
30
        armsignencrypt.test armdetach.test \
 
31
        armdetachm.test detachm.test genkey1024.test \
 
32
        conventional.test conventional-mdc.test \
 
33
        multisig.test
 
34
 
 
35
 
 
36
TEST_FILES = pubring.asc secring.asc plain-1o.asc plain-2o.asc plain-3o.asc \
 
37
             plain-1.asc plain-2.asc plain-3.asc plain-1-pgp.asc \
 
38
             pubring.pkr.asc secring.skr.asc secdemo.asc pubdemo.asc options.in
 
39
 
 
40
DATA_FILES = data-500 data-9000 data-32000 data-80000 plain-large
 
41
 
 
42
EXTRA_DIST = defs.inc $(TESTS) $(TEST_FILES) \
 
43
             mkdemodirs signdemokey
 
44
CLEANFILES = prepared.stamp x y yy z out err  $(DATA_FILES) \
 
45
             plain-1 plain-2 plain-3 trustdb.gpg *.lock .\#lk* \
 
46
             *.test.log options gpg_dearmor \
 
47
             pubring.gpg secring.gpg pubring.pkr secring.skr
 
48
DISTCLEANFILES = pubring.gpg~ random_seed
 
49
 
 
50
 
 
51
all-local: prepared.stamp
 
52
 
 
53
distclean-local:
 
54
        $(srcdir)/mkdemodirs --clean
 
55
 
 
56
prepared.stamp: ./pubring.gpg ./secring.gpg ./plain-1 ./plain-2 ./plain-3 \
 
57
                ./pubring.pkr ./secring.skr ./options ./gpg_dearmor \
 
58
                $(DATA_FILES)
 
59
         $(GPG_IMPORT) $(srcdir)/pubdemo.asc     
 
60
         echo timestamp >./prepared.stamp
 
61
 
 
62
./options: $(srcdir)/options.in
 
63
        cat $(srcdir)/options.in >./options
 
64
        @set -e; if echo "@DYNAMIC_CIPHER_MODS@" |grep tiger >/dev/null ;then \
 
65
          echo load-extension ../cipher/tiger >>./options; fi
 
66
 
 
67
./gpg_dearmor:
 
68
        echo '#!/bin/sh' >./gpg_dearmor
 
69
        echo "../g10/gpg --no-options --no-greeting \
 
70
             --no-secmem-warning --batch --dearmor" >>./gpg_dearmor
 
71
        chmod 755 ./gpg_dearmor
 
72
 
 
73
./pubring.gpg: $(srcdir)/pubring.asc $(srcdir)/pubdemo.asc ./gpg_dearmor
 
74
        ./gpg_dearmor > ./pubring.gpg < $(srcdir)/pubring.asc
 
75
 
 
76
./secring.gpg: $(srcdir)/secring.asc ./gpg_dearmor
 
77
        ./gpg_dearmor > ./secring.gpg < $(srcdir)/secring.asc
 
78
 
 
79
./pubring.pkr: $(srcdir)/pubring.pkr.asc ./gpg_dearmor
 
80
        ./gpg_dearmor > ./pubring.pkr < $(srcdir)/pubring.pkr.asc
 
81
 
 
82
./secring.skr: $(srcdir)/secring.skr.asc ./gpg_dearmor
 
83
        ./gpg_dearmor > ./secring.skr < $(srcdir)/secring.skr.asc
 
84
 
 
85
./plain-1: $(srcdir)/plain-1o.asc ./gpg_dearmor
 
86
        ./gpg_dearmor > ./plain-1 < $(srcdir)/plain-1o.asc
 
87
 
 
88
./plain-2: $(srcdir)/plain-2o.asc ./gpg_dearmor
 
89
        ./gpg_dearmor > ./plain-2 < $(srcdir)/plain-2o.asc
 
90
 
 
91
./plain-3: $(srcdir)/plain-3o.asc ./gpg_dearmor
 
92
        ./gpg_dearmor > ./plain-3 < $(srcdir)/plain-3o.asc
 
93
 
 
94
 
 
95
data-500:
 
96
        ../tools/mk-tdata   500  >data-500
 
97
data-9000:
 
98
        ../tools/mk-tdata  9000  >data-9000
 
99
data-32000:
 
100
        ../tools/mk-tdata 32000  >data-32000
 
101
data-80000:
 
102
        ../tools/mk-tdata 80000  >data-80000
 
103
plain-large:
 
104
        cat $(srcdir)/../doc/HACKING \
 
105
            $(srcdir)/../doc/DETAILS \
 
106
            $(srcdir)/../doc/FAQ         >plain-large
 
107