1 ## Process this file with automake to produce Makefile.in
2 # Copyright (C) 2002, 2003, 2004, 2005, 2006 Free Software Foundation
4 # This file is part of LIBTASN1.
6 # This file is free software; you can redistribute it and/or modify it
7 # 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.
11 # This file is distributed in the hope that it will be useful, but
12 # WITHOUT ANY WARRANTY; without even the implied warranty of
13 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14 # General Public License for more details.
16 # You should have received a copy of the GNU General Public License
17 # along with this file; if not, write to the Free Software Foundation,
18 # Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
20 INCLUDES = -I$(top_srcdir)/lib -I$(top_srcdir)/gl -I../gl
22 AM_LDFLAGS = -no-install
23 LDADD = ../lib/libtasn1.la
25 EXTRA_DIST = Test_parser.asn Test_tree.asn Test_tree_asn1_tab.c \
28 TESTS = Test_parser Test_tree Test_encoding
29 check_PROGRAMS = $(TESTS)
31 VALGRIND=valgrind --tool=memcheck --leak-check=full --leak-resolution=high \
32 --show-reachable=yes --num-callers=50
34 ASN1PARSER=$(srcdir)/Test_parser.asn \
35 ASN1TREE=$(srcdir)/Test_tree.asn \
36 ASN1ENCODING=$(srcdir)/Test_encoding.asn \
37 `if $(VALGRIND) /bin/true > /dev/null 2>&1; then echo $(VALGRIND); else echo $$SHELL -c; fi`