1 ## Process this file with automake to produce Makefile.in
2 # Copyright (C) 2002, 2003, 2004, 2006 Simon Josefsson.
4 # This file is part of GNU Libidn.
6 # GNU Libidn is free software; you can redistribute it and/or modify
7 # it under the terms of the GNU Lesser General Public License as
8 # published by the Free Software Foundation; either version 2.1 of
9 # the License, or (at your option) any later version.
11 # GNU Libidn 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 Lesser General Public License for more details.
16 # You should have received a copy of the GNU Lesser General Public
17 # License along with GNU Libidn; if not, write to the Free Software
18 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
20 AM_CPPFLAGS = -I$(top_srcdir)/lib -I../lib -I$(top_srcdir)/gl -I../gl
21 AM_LDFLAGS = -no-install
22 LDADD = ../lib/libidn.la libutils.la
24 noinst_LTLIBRARIES = libutils.la
25 libutils_la_SOURCES = utils.h utils.c
27 ctests = tst_stringprep$(EXEEXT) tst_punycode$(EXEEXT) \
28 tst_idna$(EXEEXT) tst_idna2$(EXEEXT) tst_nfkc$(EXEEXT) \
29 tst_pr29$(EXEEXT) tst_strerror$(EXEEXT)
31 ctests += tst_tld$(EXEEXT)
35 check_PROGRAMS = $(ctests)
37 TESTS_ENVIRONMENT = $(VALGRIND)