maint: update copyright
[gnulib.git] / tests / havelib / Makefile.am
1 ## Makefile for the autoconf-lib-link/tests subdirectory of GNU gettext
2 ## Copyright (C) 1995-1997, 2001-2003, 2006, 2009-2014 Free Software
3 ## Foundation, Inc.
4 ##
5 ## This program is free software: you can redistribute it and/or modify
6 ## it under the terms of the GNU General Public License as published by
7 ## the Free Software Foundation; either version 3 of the License, or
8 ## (at your option) any later version.
9 ##
10 ## This program is distributed in the hope that it will be useful,
11 ## but WITHOUT ANY WARRANTY; without even the implied warranty of
12 ## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
13 ## GNU General Public License for more details.
14 ##
15 ## You should have received a copy of the GNU General Public License
16 ## along with this program.  If not, see <http://www.gnu.org/licenses/>.
17
18 ## Process this file with automake to produce Makefile.in.
19
20 AUTOMAKE_OPTIONS = 1.11 gnits no-dependencies color-tests
21 MOSTLYCLEANFILES =
22
23 TESTS = rpath-1a rpath-1b \
24         rpath-2aaa rpath-2aab            rpath-2aad \
25         rpath-2aba rpath-2abb            rpath-2abd \
26         rpath-2baa rpath-2bab            rpath-2bad \
27         rpath-2bba rpath-2bbb            rpath-2bbd \
28         rpath-3aaa rpath-3aab            rpath-3aad \
29                                          rpath-3aah \
30         rpath-3aba rpath-3abb            rpath-3abd \
31                                          rpath-3abh \
32         rpath-3baa rpath-3bab            rpath-3bad \
33                                          rpath-3bah \
34         rpath-3bba rpath-3bbb            rpath-3bbd \
35                                          rpath-3bbh
36
37 EXTRA_DIST = $(TESTS) \
38         rpathx/configure.ac rpathx/aclocal.m4 rpathx/configure \
39         rpathx/Makefile.am rpathx/Makefile.in rpathx/rpathx.c \
40         rpathy/configure.ac rpathy/aclocal.m4 rpathy/configure \
41         rpathy/Makefile.am rpathy/Makefile.in rpathy/rpathy.c \
42         rpathz/configure.ac rpathz/aclocal.m4 rpathz/configure \
43         rpathz/Makefile.am rpathz/Makefile.in rpathz/rpathz.c \
44         rpathlx/configure.ac rpathlx/aclocal.m4 rpathlx/configure \
45         rpathlx/Makefile.am rpathlx/Makefile.in rpathlx/usex.c \
46         rpathly/configure.ac rpathly/aclocal.m4 rpathly/configure \
47         rpathly/Makefile.am rpathly/Makefile.in rpathly/usey.c \
48         rpathlyx/configure.ac rpathlyx/aclocal.m4 rpathlyx/configure \
49         rpathlyx/Makefile.am rpathlyx/Makefile.in rpathlyx/usey.c \
50         rpathlz/configure.ac rpathlz/aclocal.m4 rpathlz/configure \
51         rpathlz/Makefile.am rpathlz/Makefile.in rpathlz/usez.c \
52         rpathlzyx/configure.ac rpathlzyx/aclocal.m4 rpathlzyx/configure \
53         rpathlzyx/Makefile.am rpathlzyx/Makefile.in rpathlzyx/usez.c \
54         rpath-1 rpath-2_a rpath-2_b rpath-3_a rpath-3_b README \
55         rpath-3aae rpath-3aag rpath-3abe rpath-3abg \
56         rpathcfg.sh
57
58 TESTS_ENVIRONMENT = top_srcdir=$(srcdir)/../.. srcdir=$(srcdir) \
59                     OBJEXT='@OBJEXT@' EXEEXT='@EXEEXT@' \
60                     LIBTOOL='@LIBTOOL@' \
61                     CC='@CC@' CFLAGS='@CFLAGS@' \
62                     CPPFLAGS='@CPPFLAGS@' LDFLAGS='@LDFLAGS@' \
63                     LIBDIRSTEM='@LIBDIRSTEM@' \
64                     CONFIG_SHELL='$(SHELL)' \
65                     $(SHELL)
66
67 # Help maintaining config.rpath.
68 rpathcfg: rpathcfg.sh
69         top_srcdir=$(srcdir)/../.. srcdir=$(srcdir) \
70         CONFIG_SHELL='$(SHELL)' \
71         CC='@CC@' GCC='@GCC@' \
72         LDFLAGS='@LDFLAGS@' \
73         LD='@LD@' with_gnu_ld='@with_gnu_ld@' \
74         host='@host@' \
75         $(SHELL) $(srcdir)/rpathcfg.sh > rpathcfg 2> rpathcfg.log
76 MOSTLYCLEANFILES += rpathcfg rpathcfg.log
77
78 # Clean up the intermediate directory created by running the tests.
79 distclean-local:
80         rm -rf tst