]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blob - gdb/gnulib/Makefile.in
2252fec88a7963b2500d1e4a3b269ade79b8f71d
[thirdparty/binutils-gdb.git] / gdb / gnulib / Makefile.in
1 # Copyright (C) 1989-2014 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
18 prefix = @prefix@
19 exec_prefix = @exec_prefix@
20
21 host_alias = @host_alias@
22 target_alias = @target_alias@
23 program_transform_name = @program_transform_name@
24 bindir = @bindir@
25 libdir = @libdir@
26 tooldir = $(libdir)/$(target_alias)
27
28 datadir = @datadir@
29 localedir = @localedir@
30 mandir = @mandir@
31 man1dir = $(mandir)/man1
32 man2dir = $(mandir)/man2
33 man3dir = $(mandir)/man3
34 man4dir = $(mandir)/man4
35 man5dir = $(mandir)/man5
36 man6dir = $(mandir)/man6
37 man7dir = $(mandir)/man7
38 man8dir = $(mandir)/man8
39 man9dir = $(mandir)/man9
40 infodir = @infodir@
41 datarootdir = @datarootdir@
42 docdir = @docdir@
43 htmldir = @htmldir@
44 pdfdir = @pdfdir@
45 includedir = @includedir@
46
47 SHELL = @SHELL@
48 EXEEXT = @EXEEXT@
49
50 INSTALL = @INSTALL@
51 INSTALL_PROGRAM = @INSTALL_PROGRAM@
52 INSTALL_DATA = @INSTALL_DATA@
53
54 DESTDIR =
55
56 AR = @AR@
57 AR_FLAGS = qv
58 RANLIB = @RANLIB@
59 DLLTOOL = @DLLTOOL@
60
61 SUBDIRS = import
62 CLEANDIRS = $(SUBDIRS)
63 REQUIRED_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.
70 CC=@CC@
71
72 # Directory containing source files.
73 srcdir = @srcdir@
74 VPATH = @srcdir@
75
76 CC_LD=$(CC)
77
78 # CFLAGS is specifically reserved for setting from the command line
79 # when running make. I.E. "make CFLAGS=-Wmissing-prototypes".
80 CFLAGS = @CFLAGS@
81
82 # LDFLAGS is specifically reserved for setting from the command line
83 # when running make.
84 LDFLAGS = @LDFLAGS@
85
86 FLAGS_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
120 all 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.
128 install: all
129 @$(MAKE) $(FLAGS_TO_PASS) install-only
130
131 install-only: $(CONFIG_INSTALL)
132 @$(MAKE) DO=install "DODIRS=$(SUBDIRS)" $(FLAGS_TO_PASS) subdir_do
133
134 uninstall: 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
139 all-lib: import/Makefile
140 @$(MAKE) $(FLAGS_TO_PASS) DO=all DODIRS=import subdir_do
141 .PHONY: all-lib
142
143 clean mostlyclean: $(CONFIG_CLEAN)
144 @$(MAKE) $(FLAGS_TO_PASS) DO=clean "DODIRS=$(CLEANDIRS)" subdir_do
145
146 distclean: 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
153 maintainer-clean: local-maintainer-clean do-maintainer-clean distclean
154 realclean: maintainer-clean
155
156 local-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
161 do-maintainer-clean:
162 @$(MAKE) $(FLAGS_TO_PASS) DO=maintainer-clean "DODIRS=$(CLEANDIRS)" \
163 subdir_do
164
165 subdir_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
181 Makefile: Makefile.in config.status
182 # Regenerate the Makefile.
183 CONFIG_FILES="Makefile" \
184 CONFIG_COMMANDS= \
185 CONFIG_HEADERS= \
186 $(SHELL) config.status
187
188 gnulib/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
195 config.h: stamp-h ; @true
196 stamp-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
203 config.status: $(srcdir)/configure
204 $(SHELL) config.status --recheck
205
206 ACLOCAL = aclocal
207 ACLOCAL_AMFLAGS = -I import/m4 -I ../../config
208 aclocal_m4_deps = \
209 configure.ac \
210 import/m4/00gnulib.m4 \
211 import/m4/alloca.m4 \
212 import/m4/codeset.m4 \
213 import/m4/configmake.m4 \
214 import/m4/extensions.m4 \
215 import/m4/fcntl-o.m4 \
216 import/m4/fnmatch.m4 \
217 import/m4/glibc21.m4 \
218 import/m4/gnulib-cache.m4 \
219 import/m4/gnulib-common.m4 \
220 import/m4/gnulib-comp.m4 \
221 import/m4/gnulib-tool.m4 \
222 import/m4/include_next.m4 \
223 import/m4/inttypes-pri.m4 \
224 import/m4/inttypes.m4 \
225 import/m4/localcharset.m4 \
226 import/m4/locale-fr.m4 \
227 import/m4/locale-ja.m4 \
228 import/m4/locale-zh.m4 \
229 import/m4/longlong.m4 \
230 import/m4/mbrtowc.m4 \
231 import/m4/mbsinit.m4 \
232 import/m4/mbsrtowcs.m4 \
233 import/m4/mbstate_t.m4 \
234 import/m4/memchr.m4 \
235 import/m4/memmem.m4 \
236 import/m4/mmap-anon.m4 \
237 import/m4/multiarch.m4 \
238 import/m4/off_t.m4 \
239 import/m4/pathmax.m4 \
240 import/m4/ssize_t.m4 \
241 import/m4/stdbool.m4 \
242 import/m4/stddef_h.m4 \
243 import/m4/stdint.m4 \
244 import/m4/string_h.m4 \
245 import/m4/sys_types_h.m4 \
246 import/m4/unistd_h.m4 \
247 import/m4/warn-on-use.m4 \
248 import/m4/wchar_h.m4 \
249 import/m4/wchar_t.m4 \
250 import/m4/wctype_h.m4 \
251 import/m4/wint_t.m4
252
253 $(srcdir)/aclocal.m4: @MAINTAINER_MODE_TRUE@ $(aclocal_m4_deps)
254 cd $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
255
256 AUTOCONF = autoconf
257 configure_deps = $(srcdir)/configure.ac $(srcdir)/aclocal.m4
258 $(srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(configure_deps)
259 cd $(srcdir) && $(AUTOCONF)
260
261 AUTOHEADER = autoheader
262 $(srcdir)/config.in: @MAINTAINER_MODE_TRUE@ $(configure_deps)
263 cd $(srcdir) && $(AUTOHEADER)
264 rm -f stamp-h
265 touch $@
266
267 # automatic rebuilding in automake-generated Makefiles requires
268 # this rule in the toplevel Makefile, which, with GNU make, causes
269 # the desired updates through the implicit regeneration of the Makefile
270 # and all of its prerequisites.
271 am--refresh:
272 @:
273
274 force:
275
276 force_update:
277
278 # GNU Make has an annoying habit of putting *all* the Makefile variables
279 # into the environment, unless you include this target as a circumvention.
280 # Rumor is that this will be fixed (and this target can be removed)
281 # in GNU Make 4.0.
282 .NOEXPORT:
283
284 # GNU Make 3.63 has a different problem: it keeps tacking command line
285 # overrides onto the definition of $(MAKE). This variable setting
286 # will remove them.
287 MAKEOVERRIDES=
288
289 ### end of the libgnu Makefile.in.