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 2, or (at your option) 7## 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, write to the Free Software Foundation, 16## Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. 17 18## Process this file with automake to produce Makefile.in. 19 20AUTOMAKE_OPTIONS = 1.5 gnits no-dependencies 21MOSTLYCLEANFILES = 22 23TESTS = 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 37EXTRA_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 rpath.README \ 55 rpath-3aae rpath-3aag rpath-3abe rpath-3abg \ 56 rpathcfg.sh 57 58TESTS_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. 68rpathcfg: 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 76MOSTLYCLEANFILES += rpathcfg rpathcfg.log 77 78# Clean up the intermediate directory created by running the tests. 79distclean-local: 80 rm -rf tstdir 81