160484Sobrien## Makefile for the autoconf-lib-link directory of GNU gettext 260484Sobrien## Copyright (C) 1995-1999, 2000-2003, 2005 Free Software Foundation, Inc. 333965Sjdp## 433965Sjdp## This program is free software; you can redistribute it and/or modify 533965Sjdp## it under the terms of the GNU General Public License as published by 633965Sjdp## the Free Software Foundation; either version 2, or (at your option) 733965Sjdp## any later version. 833965Sjdp## 933965Sjdp## This program is distributed in the hope that it will be useful, 1033965Sjdp## but WITHOUT ANY WARRANTY; without even the implied warranty of 1133965Sjdp## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 1233965Sjdp## GNU General Public License for more details. 1333965Sjdp## 1433965Sjdp## You should have received a copy of the GNU General Public License 1533965Sjdp## along with this program; if not, write to the Free Software Foundation, 1633965Sjdp## Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. 1733965Sjdp 1833965Sjdp## Process this file with automake to produce Makefile.in. 1933965Sjdp 2060484SobrienAUTOMAKE_OPTIONS = 1.5 gnu no-dependencies 2160484SobrienACLOCAL_AMFLAGS = -I m4 -I ../m4 2260484SobrienEXTRA_DIST = 2360484SobrienDISTCLEANFILES = 2460484Sobrien 2533965SjdpSUBDIRS = m4 tests 2660484Sobrien 2760484SobrienEXTRA_DIST += config.rpath 2860484Sobrien 2960484Sobrien 3060484Sobrien# We want to maintain only one copy of config.rpath. The one in this directory 3160484Sobrien# is the source. 3260484Sobrien 3360484Sobrienall-local: $(srcdir)/../build-aux/config.rpath 3460484Sobrien 3560484Sobrien$(srcdir)/../build-aux/config.rpath: $(srcdir)/config.rpath 3660484Sobrien cp $(srcdir)/config.rpath $(srcdir)/../build-aux/config.rpath 3760484Sobrien 3860484Sobrien 3960484Sobrien# The AC_CONFIG_AUX_DIR argument in the tests/rpath*/configure.ac files is 4060484Sobrien# interpreted in two different contexts: 4160484Sobrien# 1. at "make distrib" time, when we call automake, relative to 4260484Sobrien# SRCDIR/tests/rpath*/, 4360484Sobrien# 2. at "make check" time, when the directory is copied and configured, 4460484Sobrien# relative to BUILDDIR/tests/tstdir/rp-*/. 4560484Sobrien# We choose this argument to be '../../../build-aux', for case 1, and therefore 4660484Sobrien# we need to make a local copy of the build-aux directory, for case 2. 4760484Sobrien 4860484Sobrienall-local: build-aux/config.guess build-aux/config.sub build-aux/install-sh build-aux/ltmain.sh build-aux/missing build-aux/config.rpath 4933965Sjdp 5033965Sjdpbuild-aux-dir: 5160484Sobrien test -d build-aux || mkdir build-aux 5260484Sobrien touch build-aux-dir 5360484Sobrien 5460484Sobrienbuild-aux/config.guess: $(srcdir)/../build-aux/config.guess build-aux-dir 5560484Sobrien cp $(srcdir)/../build-aux/config.guess build-aux/config.guess 5660484Sobrien 5760484Sobrienbuild-aux/config.sub: $(srcdir)/../build-aux/config.sub build-aux-dir 5860484Sobrien cp $(srcdir)/../build-aux/config.sub build-aux/config.sub 5960484Sobrien 6060484Sobrienbuild-aux/install-sh: $(srcdir)/../build-aux/install-sh build-aux-dir 6160484Sobrien cp $(srcdir)/../build-aux/install-sh build-aux/install-sh 6260484Sobrien 6360484Sobrienbuild-aux/ltmain.sh: $(srcdir)/../build-aux/ltmain.sh build-aux-dir 6460484Sobrien cp $(srcdir)/../build-aux/ltmain.sh build-aux/ltmain.sh 6560484Sobrien 6660484Sobrienbuild-aux/missing: $(srcdir)/../build-aux/missing build-aux-dir 6760484Sobrien cp $(srcdir)/../build-aux/missing build-aux/missing 6860484Sobrien 6960484Sobrienbuild-aux/config.rpath: $(srcdir)/config.rpath build-aux-dir 7060484Sobrien cp $(srcdir)/config.rpath build-aux/config.rpath 7160484Sobrien 7260484SobrienDISTCLEANFILES += build-aux/config.guess build-aux/config.sub build-aux/install-sh build-aux/ltmain.sh build-aux/missing build-aux/config.rpath 7360484Sobrien 7460484Sobriendistclean-local: 7560484Sobrien rm -rf build-aux build-aux-dir 7660484Sobrien 7760484Sobrien 7860484Sobrien# Subdirectories with separate autoconfiguration. 7960484Sobrien 8060484SobrienCONFIGURES_RPATHX = $(srcdir)/tests/rpathx/Makefile.in $(srcdir)/tests/rpathx/aclocal.m4 $(srcdir)/tests/rpathx/configure 8160484Sobrien$(srcdir)/tests/rpathx/Makefile.in: $(srcdir)/tests/rpathx/Makefile.am $(srcdir)/tests/rpathx/configure.ac $(srcdir)/tests/rpathx/aclocal.m4 8260484Sobrien cd $(srcdir)/tests/rpathx && automake Makefile 8333965Sjdp$(srcdir)/tests/rpathx/aclocal.m4: $(srcdir)/tests/rpathx/configure.ac $(srcdir)/../m4/libtool.m4 8460484Sobrien cd $(srcdir)/tests/rpathx && aclocal -I `cd ../../m4 && pwd` -I `cd ../../../m4 && pwd` 8560484Sobrien$(srcdir)/tests/rpathx/configure: $(srcdir)/tests/rpathx/configure.ac $(srcdir)/tests/rpathx/aclocal.m4 8660484Sobrien cd $(srcdir)/tests/rpathx && autoconf 8760484Sobrien 8860484SobrienCONFIGURES_RPATHY = $(srcdir)/tests/rpathy/Makefile.in $(srcdir)/tests/rpathy/aclocal.m4 $(srcdir)/tests/rpathy/configure 8960484Sobrien$(srcdir)/tests/rpathy/Makefile.in: $(srcdir)/tests/rpathy/Makefile.am $(srcdir)/tests/rpathy/configure.ac $(srcdir)/tests/rpathy/aclocal.m4 9060484Sobrien cd $(srcdir)/tests/rpathy && automake Makefile 9160484Sobrien$(srcdir)/tests/rpathy/aclocal.m4: $(srcdir)/tests/rpathy/configure.ac $(srcdir)/../m4/libtool.m4 $(srcdir)/m4/lib-link.m4 $(srcdir)/m4/lib-prefix.m4 $(srcdir)/m4/lib-ld.m4 9238889Sjdp cd $(srcdir)/tests/rpathy && aclocal -I `cd ../../m4 && pwd` -I `cd ../../../m4 && pwd` 9360484Sobrien$(srcdir)/tests/rpathy/configure: $(srcdir)/tests/rpathy/configure.ac $(srcdir)/tests/rpathy/aclocal.m4 9460484Sobrien cd $(srcdir)/tests/rpathy && autoconf 9560484Sobrien 9660484SobrienCONFIGURES_RPATHZ = $(srcdir)/tests/rpathz/Makefile.in $(srcdir)/tests/rpathz/aclocal.m4 $(srcdir)/tests/rpathz/configure 9760484Sobrien$(srcdir)/tests/rpathz/Makefile.in: $(srcdir)/tests/rpathz/Makefile.am $(srcdir)/tests/rpathz/configure.ac $(srcdir)/tests/rpathz/aclocal.m4 9860484Sobrien cd $(srcdir)/tests/rpathz && automake Makefile 9933965Sjdp$(srcdir)/tests/rpathz/aclocal.m4: $(srcdir)/tests/rpathz/configure.ac $(srcdir)/../m4/libtool.m4 $(srcdir)/m4/lib-link.m4 $(srcdir)/m4/lib-prefix.m4 $(srcdir)/m4/lib-ld.m4 10060484Sobrien cd $(srcdir)/tests/rpathz && aclocal -I `cd ../../m4 && pwd` -I `cd ../../../m4 && pwd` 10133965Sjdp$(srcdir)/tests/rpathz/configure: $(srcdir)/tests/rpathz/configure.ac $(srcdir)/tests/rpathz/aclocal.m4 10260484Sobrien cd $(srcdir)/tests/rpathz && autoconf 10360484Sobrien 10460484SobrienCONFIGURES_RPATHLX = $(srcdir)/tests/rpathlx/Makefile.in $(srcdir)/tests/rpathlx/aclocal.m4 $(srcdir)/tests/rpathlx/configure 10560484Sobrien$(srcdir)/tests/rpathlx/Makefile.in: $(srcdir)/tests/rpathlx/Makefile.am $(srcdir)/tests/rpathlx/configure.ac $(srcdir)/tests/rpathlx/aclocal.m4 10660484Sobrien cd $(srcdir)/tests/rpathlx && automake Makefile 10760484Sobrien$(srcdir)/tests/rpathlx/aclocal.m4: $(srcdir)/tests/rpathlx/configure.ac $(srcdir)/m4/lib-link.m4 $(srcdir)/m4/lib-prefix.m4 $(srcdir)/m4/lib-ld.m4 10860484Sobrien cd $(srcdir)/tests/rpathlx && aclocal -I `cd ../../m4 && pwd` 10933965Sjdp$(srcdir)/tests/rpathlx/configure: $(srcdir)/tests/rpathlx/configure.ac $(srcdir)/tests/rpathlx/aclocal.m4 11060484Sobrien cd $(srcdir)/tests/rpathlx && autoconf 11160484Sobrien 11260484SobrienCONFIGURES_RPATHLY = $(srcdir)/tests/rpathly/Makefile.in $(srcdir)/tests/rpathly/aclocal.m4 $(srcdir)/tests/rpathly/configure 11360484Sobrien$(srcdir)/tests/rpathly/Makefile.in: $(srcdir)/tests/rpathly/Makefile.am $(srcdir)/tests/rpathly/configure.ac $(srcdir)/tests/rpathly/aclocal.m4 11460484Sobrien cd $(srcdir)/tests/rpathly && automake Makefile 11560484Sobrien$(srcdir)/tests/rpathly/aclocal.m4: $(srcdir)/tests/rpathly/configure.ac $(srcdir)/m4/lib-link.m4 $(srcdir)/m4/lib-prefix.m4 $(srcdir)/m4/lib-ld.m4 11633965Sjdp cd $(srcdir)/tests/rpathly && aclocal -I `cd ../../m4 && pwd` 11760484Sobrien$(srcdir)/tests/rpathly/configure: $(srcdir)/tests/rpathly/configure.ac $(srcdir)/tests/rpathly/aclocal.m4 11860484Sobrien cd $(srcdir)/tests/rpathly && autoconf 11960484Sobrien 12060484SobrienCONFIGURES_RPATHLYX = $(srcdir)/tests/rpathlyx/Makefile.in $(srcdir)/tests/rpathlyx/aclocal.m4 $(srcdir)/tests/rpathlyx/configure 12160484Sobrien$(srcdir)/tests/rpathlyx/Makefile.in: $(srcdir)/tests/rpathlyx/Makefile.am $(srcdir)/tests/rpathlyx/configure.ac $(srcdir)/tests/rpathlyx/aclocal.m4 12260484Sobrien cd $(srcdir)/tests/rpathlyx && automake Makefile 12360484Sobrien$(srcdir)/tests/rpathlyx/aclocal.m4: $(srcdir)/tests/rpathlyx/configure.ac $(srcdir)/m4/lib-link.m4 $(srcdir)/m4/lib-prefix.m4 $(srcdir)/m4/lib-ld.m4 12460484Sobrien cd $(srcdir)/tests/rpathlyx && aclocal -I `cd ../../m4 && pwd` 12533965Sjdp$(srcdir)/tests/rpathlyx/configure: $(srcdir)/tests/rpathlyx/configure.ac $(srcdir)/tests/rpathlyx/aclocal.m4 12660484Sobrien cd $(srcdir)/tests/rpathlyx && autoconf 12760484Sobrien 12860484SobrienCONFIGURES_RPATHLZ = $(srcdir)/tests/rpathlz/Makefile.in $(srcdir)/tests/rpathlz/aclocal.m4 $(srcdir)/tests/rpathlz/configure 12960484Sobrien$(srcdir)/tests/rpathlz/Makefile.in: $(srcdir)/tests/rpathlz/Makefile.am $(srcdir)/tests/rpathlz/configure.ac $(srcdir)/tests/rpathlz/aclocal.m4 13060484Sobrien cd $(srcdir)/tests/rpathlz && automake Makefile 13160484Sobrien$(srcdir)/tests/rpathlz/aclocal.m4: $(srcdir)/tests/rpathlz/configure.ac $(srcdir)/m4/lib-link.m4 $(srcdir)/m4/lib-prefix.m4 $(srcdir)/m4/lib-ld.m4 13260484Sobrien cd $(srcdir)/tests/rpathlz && aclocal -I `cd ../../m4 && pwd` 13333965Sjdp$(srcdir)/tests/rpathlz/configure: $(srcdir)/tests/rpathlz/configure.ac $(srcdir)/tests/rpathlz/aclocal.m4 13460484Sobrien cd $(srcdir)/tests/rpathlz && autoconf 13560484Sobrien 13660484SobrienCONFIGURES_RPATHLZYX = $(srcdir)/tests/rpathlzyx/Makefile.in $(srcdir)/tests/rpathlzyx/aclocal.m4 $(srcdir)/tests/rpathlzyx/configure 13760484Sobrien$(srcdir)/tests/rpathlzyx/Makefile.in: $(srcdir)/tests/rpathlzyx/Makefile.am $(srcdir)/tests/rpathlzyx/configure.ac $(srcdir)/tests/rpathlzyx/aclocal.m4 13860484Sobrien cd $(srcdir)/tests/rpathlzyx && automake Makefile 13960484Sobrien$(srcdir)/tests/rpathlzyx/aclocal.m4: $(srcdir)/tests/rpathlzyx/configure.ac $(srcdir)/m4/lib-link.m4 $(srcdir)/m4/lib-prefix.m4 $(srcdir)/m4/lib-ld.m4 14033965Sjdp cd $(srcdir)/tests/rpathlzyx && aclocal -I `cd ../../m4 && pwd` 14160484Sobrien$(srcdir)/tests/rpathlzyx/configure: $(srcdir)/tests/rpathlzyx/configure.ac $(srcdir)/tests/rpathlzyx/aclocal.m4 14260484Sobrien cd $(srcdir)/tests/rpathlzyx && autoconf 14360484Sobrien 14460484SobrienSUBCONFIGURES = $(CONFIGURES_RPATHX) $(CONFIGURES_RPATHY) $(CONFIGURES_RPATHZ) $(CONFIGURES_RPATHLX) $(CONFIGURES_RPATHLY) $(CONFIGURES_RPATHLYX) $(CONFIGURES_RPATHLZ) $(CONFIGURES_RPATHLZYX) 14560484Sobrien 14660484Sobriensubconfigures: $(SUBCONFIGURES) 14760484Sobrien 14860484Sobrien# Hidden from automake, but really activated. Works around an automake-1.5 bug. 14960484Sobrien#distdir: subconfigures 15033965Sjdp