Bump copyright years.
[platform/upstream/libtasn1.git] / tests / Makefile.am
1 ## Process this file with automake to produce Makefile.in
2 # Copyright (C) 2002-2012 Free Software Foundation, Inc.
3 #
4 # This file is part of LIBTASN1.
5 #
6 # This program 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 3 of the License, or
9 # (at your option) any later version.
10 #
11 # This program 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, see <http://www.gnu.org/licenses/>.
18
19 AM_CFLAGS = $(WARN_CFLAGS) $(WERROR_CFLAGS) $(CFLAG_VISIBILITY)
20 AM_CPPFLAGS = -I$(top_srcdir)/lib -I$(top_srcdir)/gl -I../gl
21
22 AM_LDFLAGS = -no-install
23 LDADD = ../lib/libtasn1.la ../gl/libgnu.la
24
25 EXTRA_DIST = Test_parser.asn Test_tree.asn Test_tree_asn1_tab.c \
26         Test_encoding.asn pkix.asn TestIndef.p12
27
28 # For crlf.
29 EXTRA_DIST += crlf.cer
30 dist_check_SCRIPTS = crlf
31
32 dist_check_SCRIPTS += threadsafety
33
34 MOSTLYCLEANFILES = Test_parser_ERROR.asn
35
36 check_PROGRAMS = Test_parser Test_tree Test_encoding Test_indefinite    \
37         Test_errors Test_simple
38
39 TESTS = Test_parser Test_tree Test_encoding Test_indefinite     \
40         Test_errors Test_simple crlf threadsafety
41
42 TESTS_ENVIRONMENT = \
43         ASN1PARSER=$(srcdir)/Test_parser.asn \
44         ASN1TREE=$(srcdir)/Test_tree.asn \
45         ASN1PKIX=$(srcdir)/pkix.asn \
46         ASN1PKIX=$(srcdir)/pkix.asn \
47         ASN1INDEF=$(srcdir)/TestIndef.p12 \
48         ASN1ENCODING=$(srcdir)/Test_encoding.asn \
49         THREADSAFETY_FILES=`find $(top_srcdir)/lib -name \*.c` \
50         EXEEXT=$(EXEEXT) \
51         $(VALGRIND)