1 ## Process this file with automake to produce Makefile.in
2 # Copyright (C) 2002-2014 Free Software Foundation, Inc.
4 # This file is part of LIBTASN1.
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.
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.
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/>.
19 AM_CFLAGS = $(WARN_CFLAGS) $(WERROR_CFLAGS) $(CFLAG_VISIBILITY)
20 AM_CPPFLAGS = -I$(top_srcdir)/lib -I$(top_srcdir)/gl -I../gl
22 AM_LDFLAGS = -no-install
23 LDADD = ../lib/libtasn1.la ../gl/libgnu.la
25 EXTRA_DIST = Test_parser.asn Test_tree.asn Test_tree_asn1_tab.c \
26 Test_encoding.asn pkix.asn TestIndef.p12 choice.asn
29 EXTRA_DIST += crlf.cer crl.der
30 dist_check_SCRIPTS = crlf benchmark
32 dist_check_SCRIPTS += threadsafety
34 MOSTLYCLEANFILES = Test_parser_ERROR.asn
36 check_PROGRAMS = Test_parser Test_tree Test_encoding Test_indefinite \
37 Test_errors Test_simple Test_overflow Test_strings Test_choice \
40 TESTS = Test_parser Test_tree Test_encoding Test_indefinite \
41 Test_errors Test_simple Test_overflow crlf threadsafety \
42 Test_strings Test_choice Test_encdec copynode
45 ASN1PARSER=$(srcdir)/Test_parser.asn \
46 ASN1TREE=$(srcdir)/Test_tree.asn \
47 ASN1PKIX=$(srcdir)/pkix.asn \
48 ASN1PKIX=$(srcdir)/pkix.asn \
49 ASN1CRLDER=$(srcdir)/crl.der \
50 ASN1INDEF=$(srcdir)/TestIndef.p12 \
51 ASN1ENCODING=$(srcdir)/Test_encoding.asn \
52 THREADSAFETY_FILES=`find $(top_srcdir)/lib -name \*.c` \