2001-12-14 Marcus Brinkmann <marcus@g10code.de>
[gpgme.git] / tests / gpgsm / Makefile.am
1 # Copyright (C) 2000 Werner Koch (dd9jn)
2 # Copyright (C) 2001 g10 Code GmbH
3
4 # This file is part of GPGME.
5
6 # GPGME is free software; you can redistribute it and/or modify
7 # it under the terms of the GNU General Public License as published by
8 # the Free Software Foundation; either version 2 of the License, or
9 # (at your option) any later version.
10
11 # GPGME is distributed in the hope that it will be useful,
12 # but WITHOUT ANY WARRANTY; without even the implied warranty of
13 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14 # GNU General Public License for more details.
15
16 # You should have received a copy of the GNU General Public License
17 # along with this program; if not, write to the Free Software
18 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
19
20 ## Process this file with automake to produce Makefile.in
21
22 GPGSM = @GPGSM@
23
24 TESTS_ENVIRONMENT = GNUPGHOME=.
25
26 TESTS = t-import t-keylist t-encrypt
27
28 EXTRA_DIST = cert_dfn_pca01.der cert_dfn_pca15.der cert_g10code_test1.der
29
30 INCLUDES = -I$(top_srcdir)/gpgme
31
32 LDADD = ../../gpgme/libgpgme.la
33
34 noinst_PROGRAMS = $(TESTS)
35
36 all-local: ./pubcerts.kbx
37
38 ./pubcerts.kbx: $(srcdir)/cert_g10code_test1.der
39         $(GPGSM) --homedir . --import $(srcdir)/cert_g10code_test1.der