2012-04-19 Pedro Alves <palves@redhat.com>
[deliverable/binutils-gdb.git] / gdb / gnulib / Makefile.in
CommitLineData
c971b7fa
PA
1# Copyright (C) 1989-2012 Free Software Foundation, Inc.
2
3# This file is part of GDB.
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
18prefix = @prefix@
19exec_prefix = @exec_prefix@
20
21host_alias = @host_alias@
22target_alias = @target_alias@
23program_transform_name = @program_transform_name@
24bindir = @bindir@
25libdir = @libdir@
26tooldir = $(libdir)/$(target_alias)
27
28datadir = @datadir@
29localedir = @localedir@
30mandir = @mandir@
31man1dir = $(mandir)/man1
32man2dir = $(mandir)/man2
33man3dir = $(mandir)/man3
34man4dir = $(mandir)/man4
35man5dir = $(mandir)/man5
36man6dir = $(mandir)/man6
37man7dir = $(mandir)/man7
38man8dir = $(mandir)/man8
39man9dir = $(mandir)/man9
40infodir = @infodir@
41datarootdir = @datarootdir@
42docdir = @docdir@
43htmldir = @htmldir@
44pdfdir = @pdfdir@
45includedir = @includedir@
46
47SHELL = @SHELL@
48EXEEXT = @EXEEXT@
49
50INSTALL = @INSTALL@
51INSTALL_PROGRAM = @INSTALL_PROGRAM@
52INSTALL_DATA = @INSTALL_DATA@
53
54DESTDIR =
55
56AR = @AR@
57AR_FLAGS = qv
58RANLIB = @RANLIB@
59DLLTOOL = @DLLTOOL@
60
61SUBDIRS = import
62CLEANDIRS = $(SUBDIRS)
63REQUIRED_SUBDIRS = $(SUBDIRS)
64
65# If you are compiling with GCC, make sure that either 1) You have the
66# fixed include files where GCC can reach them, or 2) You use the
67# -traditional flag. Otherwise the ioctl calls in inflow.c
68# will be incorrectly compiled. The "fixincludes" script in the gcc
69# distribution will fix your include files up.
70CC=@CC@
71
72# Directory containing source files.
73srcdir = @srcdir@
74VPATH = @srcdir@
75
76CC_LD=$(CC)
77
78# CFLAGS is specifically reserved for setting from the command line
79# when running make. I.E. "make CFLAGS=-Wmissing-prototypes".
80CFLAGS = @CFLAGS@
81
82# LDFLAGS is specifically reserved for setting from the command line
83# when running make.
84LDFLAGS = @LDFLAGS@
85
86FLAGS_TO_PASS = \
87 "prefix=$(prefix)" \
88 "exec_prefix=$(exec_prefix)" \
89 "infodir=$(infodir)" \
90 "datarootdir=$(datarootdir)" \
91 "docdir=$(docdir)" \
92 "htmldir=$(htmldir)" \
93 "pdfdir=$(pdfdir)" \
94 "libdir=$(libdir)" \
95 "mandir=$(mandir)" \
96 "datadir=$(datadir)" \
97 "includedir=$(includedir)" \
98 "against=$(against)" \
99 "DESTDIR=$(DESTDIR)" \
100 "AR=$(AR)" \
101 "AR_FLAGS=$(AR_FLAGS)" \
102 "CC=$(CC)" \
103 "CFLAGS=$(CFLAGS)" \
104 "CXX=$(CXX)" \
105 "CXXFLAGS=$(CXXFLAGS)" \
106 "DLLTOOL=$(DLLTOOL)" \
107 "LDFLAGS=$(LDFLAGS)" \
108 "RANLIB=$(RANLIB)" \
109 "MAKEINFO=$(MAKEINFO)" \
110 "MAKEINFOFLAGS=$(MAKEINFOFLAGS)" \
111 "MAKEINFO_EXTRA_FLAGS=$(MAKEINFO_EXTRA_FLAGS)" \
112 "MAKEHTML=$(MAKEHTML)" \
113 "MAKEHTMLFLAGS=$(MAKEHTMLFLAGS)" \
114 "INSTALL=$(INSTALL)" \
115 "INSTALL_PROGRAM=$(INSTALL_PROGRAM)" \
116 "INSTALL_DATA=$(INSTALL_DATA)" \
117 "RUNTEST=$(RUNTEST)" \
118 "RUNTESTFLAGS=$(RUNTESTFLAGS)"
119
120all installcheck check info install-info clean-info dvi pdf install-pdf html install-html: force
121 @$(MAKE) $(FLAGS_TO_PASS) DO=$@ "DODIRS=$(SUBDIRS)" subdir_do
122
123# Traditionally "install" depends on "all". But it may be useful
124# not to; for example, if the user has made some trivial change to a
125# source file and doesn't care about rebuilding or just wants to save the
126# time it takes for make to check that all is up to date.
127# install-only is intended to address that need.
128install: all
129 @$(MAKE) $(FLAGS_TO_PASS) install-only
130
131install-only: $(CONFIG_INSTALL)
132 @$(MAKE) DO=install "DODIRS=$(SUBDIRS)" $(FLAGS_TO_PASS) subdir_do
133
134uninstall: force $(CONFIG_UNINSTALL)
135 @$(MAKE) DO=uninstall "DODIRS=$(SUBDIRS)" $(FLAGS_TO_PASS) subdir_do
136
137# Convenience rule to handle recursion.
138$(LIBGNU) $(GNULIB_H): all-lib
139all-lib: import/Makefile
140 @$(MAKE) $(FLAGS_TO_PASS) DO=all DODIRS=import subdir_do
141.PHONY: all-lib
142
143clean mostlyclean: $(CONFIG_CLEAN)
144 @$(MAKE) $(FLAGS_TO_PASS) DO=clean "DODIRS=$(CLEANDIRS)" subdir_do
145
146distclean: clean
147 @$(MAKE) $(FLAGS_TO_PASS) DO=distclean "DODIRS=$(CLEANDIRS)" subdir_do
148 rm -f config.status config.h stamp-h
149 rm -f config.log config.cache
150 rm -f Makefile
151 rm -rf $(DEPDIR)
152
153maintainer-clean: local-maintainer-clean do-maintainer-clean distclean
154realclean: maintainer-clean
155
156local-maintainer-clean:
157 @echo "This command is intended for maintainers to use;"
158 @echo "it deletes files that may require special tools to rebuild."
159 rm -f config.status
160
161do-maintainer-clean:
162 @$(MAKE) $(FLAGS_TO_PASS) DO=maintainer-clean "DODIRS=$(CLEANDIRS)" \
163 subdir_do
164
165subdir_do: force
166 @for i in $(DODIRS); do \
167 case $$i in \
168 $(REQUIRED_SUBDIRS)) \
169 if [ ! -f ./$$i/Makefile ] ; then \
170 echo "Missing $$i/Makefile" >&2 ; \
171 exit 1 ; \
172 fi ;; \
173 esac ; \
174 if [ -f ./$$i/Makefile ] ; then \
175 if (cd ./$$i; \
176 $(MAKE) $(FLAGS_TO_PASS) $(DO)) ; then true ; \
177 else exit 1 ; fi ; \
178 else true ; fi ; \
179 done
180
181Makefile: Makefile.in config.status
182 # Regenerate the Makefile.
183 CONFIG_FILES="Makefile" \
184 CONFIG_COMMANDS= \
185 CONFIG_HEADERS= \
186 $(SHELL) config.status
187
188gnulib/Makefile: gnulib/Makefile.in config.status
189 CONFIG_FILES="gnulib/Makefile" \
190 CONFIG_COMMANDS="depfiles" \
191 CONFIG_HEADERS= \
192 CONFIG_LINKS= \
193 $(SHELL) config.status
194
195config.h: stamp-h ; @true
196stamp-h: $(srcdir)/config.in config.status
197 CONFIG_HEADERS=config.h:config.in \
198 CONFIG_COMMANDS="default depdir" \
199 CONFIG_FILES= \
200 CONFIG_LINKS= \
201 $(SHELL) config.status
202
203config.status: $(srcdir)/configure
204 $(SHELL) config.status --recheck
205
206ACLOCAL = aclocal
207ACLOCAL_AMFLAGS = -I import/m4 -I ../../config
208aclocal_m4_deps = \
209 configure.ac \
210 import/m4/00gnulib.m4 \
211 import/m4/extensions.m4 \
212 import/m4/gnulib-cache.m4 \
213 import/m4/gnulib-common.m4 \
214 import/m4/gnulib-comp.m4 \
215 import/m4/gnulib-tool.m4 \
216 import/m4/include_next.m4 \
217 import/m4/inttypes.m4 \
218 import/m4/inttypes-pri.m4 \
219 import/m4/longlong.m4 \
220 import/m4/memchr.m4 \
221 import/m4/memmem.m4 \
222 import/m4/mmap-anon.m4 \
223 import/m4/multiarch.m4 \
224 import/m4/onceonly.m4 \
225 import/m4/stddef_h.m4 \
226 import/m4/stdint.m4 \
227 import/m4/string_h.m4 \
228 import/m4/warn-on-use.m4 \
229 import/m4/wchar_t.m4
230
231$(srcdir)/aclocal.m4: @MAINTAINER_MODE_TRUE@ $(aclocal_m4_deps)
232 cd $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
233
234AUTOCONF = autoconf
235configure_deps = $(srcdir)/configure.ac $(srcdir)/aclocal.m4
236$(srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(configure_deps)
237 cd $(srcdir) && $(AUTOCONF)
238
239AUTOHEADER = autoheader
240$(srcdir)/config.in: @MAINTAINER_MODE_TRUE@ $(configure_deps)
241 cd $(srcdir) && $(AUTOHEADER)
242 rm -f stamp-h
243 touch $@
244
245# automatic rebuilding in automake-generated Makefiles requires
246# this rule in the toplevel Makefile, which, with GNU make, causes
247# the desired updates through the implicit regeneration of the Makefile
248# and all of its prerequisites.
249am--refresh:
250 @:
251
252force:
253
254force_update:
255
256# GNU Make has an annoying habit of putting *all* the Makefile variables
257# into the environment, unless you include this target as a circumvention.
258# Rumor is that this will be fixed (and this target can be removed)
259# in GNU Make 4.0.
260.NOEXPORT:
261
262# GNU Make 3.63 has a different problem: it keeps tacking command line
263# overrides onto the definition of $(MAKE). This variable setting
264# will remove them.
265MAKEOVERRIDES=
266
267### end of the libgnu Makefile.in.
This page took 0.036927 seconds and 4 git commands to generate.