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