source: trunk/third/gettext/autoconf-lib-link/Makefile.am @ 21665

Revision 21665, 8.7 KB checked in by ghudson, 20 years ago (diff)
This commit was generated by cvs2svn to compensate for changes in r21664, which included commits to RCS files with non-trunk default branches.
Line 
1## Makefile for the autoconf-lib-link directory of GNU gettext
2## Copyright (C) 1995-1999, 2000-2003, 2005 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
16## Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
17
18## Process this file with automake to produce Makefile.in.
19
20AUTOMAKE_OPTIONS = 1.5 gnu no-dependencies
21ACLOCAL_AMFLAGS = -I m4 -I ../config/m4
22EXTRA_DIST =
23DISTCLEANFILES =
24
25SUBDIRS = m4 tests
26
27EXTRA_DIST += config.rpath
28
29
30# We want to maintain only one copy of config.rpath. The one in this directory
31# is the source.
32
33all-local: $(srcdir)/../config/config.rpath
34
35$(srcdir)/../config/config.rpath: $(srcdir)/config.rpath
36        cp $(srcdir)/config.rpath $(srcdir)/../config/config.rpath
37
38
39# The AC_CONFIG_AUX_DIR argument in the tests/rpath*/configure.ac files is
40# interpreted in two different contexts:
41#   1. at "make distrib" time, when we call automake, relative to
42#      SRCDIR/tests/rpath*/,
43#   2. at "make check" time, when the directory is copied and configured,
44#      relative to BUILDDIR/tests/tstdir/rp-*/.
45# We choose this argument to be '../../../config', for case 1, and therefore
46# we need to make a local copy of the config directory, for case 2.
47
48all-local: config/config.guess config/config.sub config/install-sh config/ltmain.sh config/mkinstalldirs config/missing config/config.rpath
49
50config-dir:
51        test -d config || mkdir config
52        touch config-dir
53
54config/config.guess: $(srcdir)/../config/config.guess config-dir
55        cp $(srcdir)/../config/config.guess config/config.guess
56
57config/config.sub: $(srcdir)/../config/config.sub config-dir
58        cp $(srcdir)/../config/config.sub config/config.sub
59
60config/install-sh: $(srcdir)/../config/install-sh config-dir
61        cp $(srcdir)/../config/install-sh config/install-sh
62
63config/ltmain.sh: $(srcdir)/../config/ltmain.sh config-dir
64        cp $(srcdir)/../config/ltmain.sh config/ltmain.sh
65
66config/mkinstalldirs: $(srcdir)/../config/mkinstalldirs config-dir
67        cp $(srcdir)/../config/mkinstalldirs config/mkinstalldirs
68
69config/missing: $(srcdir)/../config/missing config-dir
70        cp $(srcdir)/../config/missing config/missing
71
72config/config.rpath: $(srcdir)/config.rpath config-dir
73        cp $(srcdir)/config.rpath config/config.rpath
74
75DISTCLEANFILES += config/config.guess config/config.sub config/install-sh config/ltmain.sh config/mkinstalldirs config/missing config/config.rpath
76
77distclean-local:
78        rm -rf config config-dir
79
80
81# Subdirectories with separate autoconfiguration.
82
83CONFIGURES_RPATHX = $(srcdir)/tests/rpathx/Makefile.in $(srcdir)/tests/rpathx/aclocal.m4 $(srcdir)/tests/rpathx/configure
84$(srcdir)/tests/rpathx/Makefile.in: $(srcdir)/tests/rpathx/Makefile.am $(srcdir)/tests/rpathx/configure.ac $(srcdir)/tests/rpathx/aclocal.m4
85        cd $(srcdir)/tests/rpathx && automake Makefile
86$(srcdir)/tests/rpathx/aclocal.m4: $(srcdir)/tests/rpathx/configure.ac $(srcdir)/../config/m4/libtool.m4
87        cd $(srcdir)/tests/rpathx && aclocal -I `cd ../../m4 && pwd` -I `cd ../../../config/m4 && pwd`
88$(srcdir)/tests/rpathx/configure: $(srcdir)/tests/rpathx/configure.ac $(srcdir)/tests/rpathx/aclocal.m4
89        cd $(srcdir)/tests/rpathx && autoconf
90
91CONFIGURES_RPATHY = $(srcdir)/tests/rpathy/Makefile.in $(srcdir)/tests/rpathy/aclocal.m4 $(srcdir)/tests/rpathy/configure
92$(srcdir)/tests/rpathy/Makefile.in: $(srcdir)/tests/rpathy/Makefile.am $(srcdir)/tests/rpathy/configure.ac $(srcdir)/tests/rpathy/aclocal.m4
93        cd $(srcdir)/tests/rpathy && automake Makefile
94$(srcdir)/tests/rpathy/aclocal.m4: $(srcdir)/tests/rpathy/configure.ac $(srcdir)/../config/m4/libtool.m4 $(srcdir)/m4/lib-link.m4 $(srcdir)/m4/lib-prefix.m4 $(srcdir)/m4/lib-ld.m4
95        cd $(srcdir)/tests/rpathy && aclocal -I `cd ../../m4 && pwd` -I `cd ../../../config/m4 && pwd`
96$(srcdir)/tests/rpathy/configure: $(srcdir)/tests/rpathy/configure.ac $(srcdir)/tests/rpathy/aclocal.m4
97        cd $(srcdir)/tests/rpathy && autoconf
98
99CONFIGURES_RPATHZ = $(srcdir)/tests/rpathz/Makefile.in $(srcdir)/tests/rpathz/aclocal.m4 $(srcdir)/tests/rpathz/configure
100$(srcdir)/tests/rpathz/Makefile.in: $(srcdir)/tests/rpathz/Makefile.am $(srcdir)/tests/rpathz/configure.ac $(srcdir)/tests/rpathz/aclocal.m4
101        cd $(srcdir)/tests/rpathz && automake Makefile
102$(srcdir)/tests/rpathz/aclocal.m4: $(srcdir)/tests/rpathz/configure.ac $(srcdir)/../config/m4/libtool.m4 $(srcdir)/m4/lib-link.m4 $(srcdir)/m4/lib-prefix.m4 $(srcdir)/m4/lib-ld.m4
103        cd $(srcdir)/tests/rpathz && aclocal -I `cd ../../m4 && pwd` -I `cd ../../../config/m4 && pwd`
104$(srcdir)/tests/rpathz/configure: $(srcdir)/tests/rpathz/configure.ac $(srcdir)/tests/rpathz/aclocal.m4
105        cd $(srcdir)/tests/rpathz && autoconf
106
107CONFIGURES_RPATHLX = $(srcdir)/tests/rpathlx/Makefile.in $(srcdir)/tests/rpathlx/aclocal.m4 $(srcdir)/tests/rpathlx/configure
108$(srcdir)/tests/rpathlx/Makefile.in: $(srcdir)/tests/rpathlx/Makefile.am $(srcdir)/tests/rpathlx/configure.ac $(srcdir)/tests/rpathlx/aclocal.m4
109        cd $(srcdir)/tests/rpathlx && automake Makefile
110$(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
111        cd $(srcdir)/tests/rpathlx && aclocal -I `cd ../../m4 && pwd`
112$(srcdir)/tests/rpathlx/configure: $(srcdir)/tests/rpathlx/configure.ac $(srcdir)/tests/rpathlx/aclocal.m4
113        cd $(srcdir)/tests/rpathlx && autoconf
114
115CONFIGURES_RPATHLY = $(srcdir)/tests/rpathly/Makefile.in $(srcdir)/tests/rpathly/aclocal.m4 $(srcdir)/tests/rpathly/configure
116$(srcdir)/tests/rpathly/Makefile.in: $(srcdir)/tests/rpathly/Makefile.am $(srcdir)/tests/rpathly/configure.ac $(srcdir)/tests/rpathly/aclocal.m4
117        cd $(srcdir)/tests/rpathly && automake Makefile
118$(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
119        cd $(srcdir)/tests/rpathly && aclocal -I `cd ../../m4 && pwd`
120$(srcdir)/tests/rpathly/configure: $(srcdir)/tests/rpathly/configure.ac $(srcdir)/tests/rpathly/aclocal.m4
121        cd $(srcdir)/tests/rpathly && autoconf
122
123CONFIGURES_RPATHLYX = $(srcdir)/tests/rpathlyx/Makefile.in $(srcdir)/tests/rpathlyx/aclocal.m4 $(srcdir)/tests/rpathlyx/configure
124$(srcdir)/tests/rpathlyx/Makefile.in: $(srcdir)/tests/rpathlyx/Makefile.am $(srcdir)/tests/rpathlyx/configure.ac $(srcdir)/tests/rpathlyx/aclocal.m4
125        cd $(srcdir)/tests/rpathlyx && automake Makefile
126$(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
127        cd $(srcdir)/tests/rpathlyx && aclocal -I `cd ../../m4 && pwd`
128$(srcdir)/tests/rpathlyx/configure: $(srcdir)/tests/rpathlyx/configure.ac $(srcdir)/tests/rpathlyx/aclocal.m4
129        cd $(srcdir)/tests/rpathlyx && autoconf
130
131CONFIGURES_RPATHLZ = $(srcdir)/tests/rpathlz/Makefile.in $(srcdir)/tests/rpathlz/aclocal.m4 $(srcdir)/tests/rpathlz/configure
132$(srcdir)/tests/rpathlz/Makefile.in: $(srcdir)/tests/rpathlz/Makefile.am $(srcdir)/tests/rpathlz/configure.ac $(srcdir)/tests/rpathlz/aclocal.m4
133        cd $(srcdir)/tests/rpathlz && automake Makefile
134$(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
135        cd $(srcdir)/tests/rpathlz && aclocal -I `cd ../../m4 && pwd`
136$(srcdir)/tests/rpathlz/configure: $(srcdir)/tests/rpathlz/configure.ac $(srcdir)/tests/rpathlz/aclocal.m4
137        cd $(srcdir)/tests/rpathlz && autoconf
138
139CONFIGURES_RPATHLZYX = $(srcdir)/tests/rpathlzyx/Makefile.in $(srcdir)/tests/rpathlzyx/aclocal.m4 $(srcdir)/tests/rpathlzyx/configure
140$(srcdir)/tests/rpathlzyx/Makefile.in: $(srcdir)/tests/rpathlzyx/Makefile.am $(srcdir)/tests/rpathlzyx/configure.ac $(srcdir)/tests/rpathlzyx/aclocal.m4
141        cd $(srcdir)/tests/rpathlzyx && automake Makefile
142$(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
143        cd $(srcdir)/tests/rpathlzyx && aclocal -I `cd ../../m4 && pwd`
144$(srcdir)/tests/rpathlzyx/configure: $(srcdir)/tests/rpathlzyx/configure.ac $(srcdir)/tests/rpathlzyx/aclocal.m4
145        cd $(srcdir)/tests/rpathlzyx && autoconf
146
147SUBCONFIGURES = $(CONFIGURES_RPATHX) $(CONFIGURES_RPATHY) $(CONFIGURES_RPATHZ) $(CONFIGURES_RPATHLX) $(CONFIGURES_RPATHLY) $(CONFIGURES_RPATHLYX) $(CONFIGURES_RPATHLZ) $(CONFIGURES_RPATHLZYX)
148
149subconfigures: $(SUBCONFIGURES)
150
151# Hidden from automake, but really activated. Works around an automake-1.5 bug.
152#distdir: subconfigures
Note: See TracBrowser for help on using the repository browser.