Use GPLv3 for self tests, tools, build infrastructure.
[platform/upstream/libtasn1.git] / tests / Makefile.am
1 ## Process this file with automake to produce Makefile.in
2 # Copyright (C) 2002, 2003, 2004, 2005, 2006, 2007 Free Software Foundation
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 INCLUDES = -I$(top_srcdir)/lib -I$(top_srcdir)/gl -I../gl
20
21 AM_LDFLAGS = -no-install
22 LDADD = ../lib/libtasn1.la
23
24 EXTRA_DIST = Test_parser.asn Test_tree.asn Test_tree_asn1_tab.c \
25         Test_encoding.asn 
26
27 # For crlf.
28 EXTRA_DIST += pkix.asn crlf.cer
29 dist_check_SCRIPTS = crlf
30
31 MOSTLYCLEANFILES = Test_parser_ERROR.asn
32
33 check_PROGRAMS = Test_parser Test_tree Test_encoding
34
35 TESTS = Test_parser Test_tree Test_encoding crlf
36
37 TESTS_ENVIRONMENT = \
38         ASN1PARSER=$(srcdir)/Test_parser.asn \
39         ASN1TREE=$(srcdir)/Test_tree.asn \
40         ASN1ENCODING=$(srcdir)/Test_encoding.asn \
41         $(VALGRIND)