Initialize Tizen 2.3
[external/libtasn1.git] / tests / Makefile.am
1 ## Process this file with automake to produce Makefile.in
2 # Copyright (C) 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010
3 # Free Software Foundation, Inc.
4 #
5 # This file is part of LIBTASN1.
6 #
7 # This program is free software: you can redistribute it and/or modify
8 # it under the terms of the GNU General Public License as published by
9 # the Free Software Foundation, either version 3 of the License, or
10 # (at your option) any later version.
11 #
12 # This program is distributed in the hope that it will be useful,
13 # but WITHOUT ANY WARRANTY; without even the implied warranty of
14 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
15 # GNU General Public License for more details.
16 #
17 # You should have received a copy of the GNU General Public License
18 # along with this program.  If not, see <http://www.gnu.org/licenses/>.
19
20 AM_CPPFLAGS = -I$(top_srcdir)/lib -I$(top_srcdir)/gl -I../gl
21
22 AM_LDFLAGS = -no-install
23 LDADD = ../lib/libtasn1.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
38
39 TESTS = Test_parser Test_tree Test_encoding Test_indefinite     \
40         Test_errors 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)