Fix CVE-2017-6891 in minitasn1 code
[platform/upstream/gnutls.git] / tests / slow / Makefile.am
1 ## Process this file with automake to produce Makefile.in
2 # Copyright (C) 2010, 2012 Free Software Foundation, Inc.
3 #
4 # This file is part of GnuTLS.
5 #
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 3 of the License, or
9 # (at your option) any later version.
10 #
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.
15 #
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.
19
20 AM_CFLAGS = $(WARN_CFLAGS) $(WERROR_CFLAGS)
21 AM_CPPFLAGS = -I$(top_srcdir)/lib/includes              \
22         -I$(top_builddir)/lib/includes \
23         -I$(top_srcdir)/tests/ \
24         -I$(top_srcdir)/lib \
25         -I$(top_srcdir)/gl
26
27 if ENABLE_MINITASN1
28 AM_CPPFLAGS += -I$(top_builddir)/lib/minitasn1
29 endif
30
31 AM_LDFLAGS = -no-install
32 LDADD = ../libutils.la \
33         $(top_builddir)/lib/libgnutls.la $(LTLIBGCRYPT) $(LIBSOCKET)
34
35 if !ENABLE_SELF_CHECKS
36 cipher_test_CPPFLAGS = $(AM_CPPFLAGS) -I$(top_builddir)/lib/ -I$(top_builddir)/gl/
37 else
38 cipher_test_CPPFLAGS = $(AM_CPPFLAGS)
39 endif
40
41 dist_check_SCRIPTS = test-hash-large
42
43 ctests = gendh keygen cipher-test
44
45 check_PROGRAMS = $(ctests) hash-large
46 TESTS = $(ctests) test-hash-large
47
48 EXTRA_DIST = README
49
50 TESTS_ENVIRONMENT = EXEEXT=$(EXEEXT) \
51         LC_ALL="C"                                              \
52         top_builddir="$(top_builddir)"                          \
53         srcdir="$(srcdir)"