File: Makefile.am

package info (click to toggle)
libksba 0.9.9-2
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 2,588 kB
  • ctags: 1,114
  • sloc: ansic: 15,742; sh: 8,833; yacc: 859; makefile: 146; awk: 28
file content (59 lines) | stat: -rw-r--r-- 2,258 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
# Makefile.am - for the KSBA regression tests
#       Copyright (C) 2001, 2003 g10 Code GmbH
# 	
# This file is part of KSBA.
# 
# KSBA is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
# 
# KSBA is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
# GNU General Public License for more details.
# 
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA

## Process this file with automake to produce Makefile.in

TESTS_ENVIRONMENT = 

test_certs = cert_dfn_pca01.der cert_dfn_pca15.der \
	     cert_g10code_test1.der crl_testpki_testpca.der \
	     samples/authority.crt samples/betsy.crt samples/bull.crt \
             samples/ov-ocsp-server.crt samples/ov-userrev.crt \
             samples/ov-root-ca-cert.crt samples/ov-serverrev.crt \
	     samples/ov-user.crt samples/ov-server.crt 

test_crls = samples/ov-test-crl.crl 

test_keys = samples/ov-server.p12  samples/ov-userrev.p12 \
             samples/ov-serverrev.p12  samples/ov-user.p12

EXTRA_DIST = $(test_certs) samples/README mkoidtbl.awk

BUILT_SOURCES = oidtranstbl.h
CLEANFILES = oidtranstbl.h

TESTS = cert-basic t-crl-parser

AM_CFLAGS = @GPG_ERROR_CFLAGS@

noinst_HEADERS = t-common.h
noinst_PROGRAMS = $(TESTS) t-cms-parser t-crl-parser t-dnparser t-ocsp
LDADD = ../src/libksba.la @GPG_ERROR_LIBS@ -lgcrypt


# Build the OID table: Note that the binary includes data from an
# another program and we may not be allowed to distribute this.  This
# ain't no problem as the programs using this generated data are not
# installed and thus not distributed.
oidtranstbl.h: Makefile mkoidtbl.awk 
	set -e; f="/dev/null"; \
        for i in /usr/local/bin /usr/local/share /usr/bin /usr/share; do \
          if test -f $$i/dumpasn1.cfg; then f=$$i/dumpasn1.cfg; break; fi; \
        done; $(AWK) -f $(srcdir)/mkoidtbl.awk $$f >$@