1 # Copyright (C) 1989-2018 Free Software Foundation, Inc.
3 # This file is part of GDB.
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.
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.
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/>.
19 exec_prefix = @
exec_prefix@
21 host_alias
= @host_alias@
22 target_alias
= @target_alias@
23 program_transform_name
= @program_transform_name@
26 tooldir
= $(libdir)/$(target_alias
)
29 localedir
= @localedir@
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
41 datarootdir
= @datarootdir@
45 includedir = @
includedir@
51 INSTALL_PROGRAM
= @INSTALL_PROGRAM@
52 INSTALL_DATA
= @INSTALL_DATA@
62 CLEANDIRS
= $(SUBDIRS
)
63 REQUIRED_SUBDIRS
= $(SUBDIRS
)
67 # Directory containing source files.
73 # CFLAGS is specifically reserved for setting from the command line
74 # when running make. I.E. "make CFLAGS=-Wmissing-prototypes".
77 # LDFLAGS is specifically reserved for setting from the command line
83 "exec_prefix=$(exec_prefix)" \
84 "infodir=$(infodir)" \
85 "datarootdir=$(datarootdir)" \
87 "htmldir=$(htmldir)" \
91 "datadir=$(datadir)" \
92 "includedir=$(includedir)" \
93 "against=$(against)" \
94 "DESTDIR=$(DESTDIR)" \
96 "AR_FLAGS=$(AR_FLAGS)" \
100 "CXXFLAGS=$(CXXFLAGS)" \
101 "DLLTOOL=$(DLLTOOL)" \
102 "LDFLAGS=$(LDFLAGS)" \
104 "MAKEINFO=$(MAKEINFO)" \
105 "MAKEINFOFLAGS=$(MAKEINFOFLAGS)" \
106 "MAKEINFO_EXTRA_FLAGS=$(MAKEINFO_EXTRA_FLAGS)" \
107 "MAKEHTML=$(MAKEHTML)" \
108 "MAKEHTMLFLAGS=$(MAKEHTMLFLAGS)" \
109 "INSTALL=$(INSTALL)" \
110 "INSTALL_PROGRAM=$(INSTALL_PROGRAM)" \
111 "INSTALL_DATA=$(INSTALL_DATA)" \
112 "RUNTEST=$(RUNTEST)" \
113 "RUNTESTFLAGS=$(RUNTESTFLAGS)"
115 all installcheck check info install-info clean-info
dvi pdf install-pdf html install-html
: force
116 @
$(MAKE
) $(FLAGS_TO_PASS
) DO
=$@
"DODIRS=$(SUBDIRS)" subdir_do
118 # Traditionally "install" depends on "all". But it may be useful
119 # not to; for example, if the user has made some trivial change to a
120 # source file and doesn't care about rebuilding or just wants to save the
121 # time it takes for make to check that all is up to date.
122 # install-only is intended to address that need.
124 @
$(MAKE
) $(FLAGS_TO_PASS
) install-only
126 install-only
: $(CONFIG_INSTALL
)
127 @
$(MAKE
) DO
=install "DODIRS=$(SUBDIRS)" $(FLAGS_TO_PASS
) subdir_do
129 uninstall: force $(CONFIG_UNINSTALL
)
130 @
$(MAKE
) DO
=uninstall "DODIRS=$(SUBDIRS)" $(FLAGS_TO_PASS
) subdir_do
132 # Convenience rule to handle recursion.
133 $(LIBGNU
) $(GNULIB_H
): all-lib
134 all-lib
: import
/Makefile
135 @
$(MAKE
) $(FLAGS_TO_PASS
) DO
=all DODIRS
=import subdir_do
138 clean mostlyclean: $(CONFIG_CLEAN
)
139 @
$(MAKE
) $(FLAGS_TO_PASS
) DO
=clean "DODIRS=$(CLEANDIRS)" subdir_do
142 @
$(MAKE
) $(FLAGS_TO_PASS
) DO
=distclean "DODIRS=$(CLEANDIRS)" subdir_do
143 rm -f config.status config.h stamp-h
144 rm -f config.log config.cache
148 maintainer-clean
: local-maintainer-clean do-maintainer-clean
distclean
149 realclean: maintainer-clean
151 local-maintainer-clean
:
152 @echo
"This command is intended for maintainers to use;"
153 @echo
"it deletes files that may require special tools to rebuild."
157 @
$(MAKE
) $(FLAGS_TO_PASS
) DO
=maintainer-clean
"DODIRS=$(CLEANDIRS)" \
161 @for i in
$(DODIRS
); do \
163 $(REQUIRED_SUBDIRS
)) \
164 if
[ ! -f .
/$$i/Makefile
] ; then \
165 echo
"Missing $$i/Makefile" >&2 ; \
169 if
[ -f .
/$$i/Makefile
] ; then \
171 $(MAKE
) $(FLAGS_TO_PASS
) $(DO
)) ; then true
; \
176 Makefile
: Makefile.in config.status
177 # Regenerate the Makefile.
178 CONFIG_FILES
="Makefile" \
181 $(SHELL
) config.status
183 gnulib
/Makefile
: gnulib
/Makefile.in config.status
184 CONFIG_FILES
="gnulib/Makefile" \
185 CONFIG_COMMANDS
="depfiles" \
188 $(SHELL
) config.status
190 config.h
: stamp-h
; @true
191 stamp-h
: $(srcdir)/config.in config.status
192 CONFIG_HEADERS
=config.h
:config.in \
193 CONFIG_COMMANDS
="default depdir" \
196 $(SHELL
) config.status
198 config.status
: $(srcdir)/configure
199 $(SHELL
) config.status
--recheck
202 ACLOCAL_AMFLAGS
= -I import
/m4
-I ..
/..
/config
205 import
/m4
/flexmember.m4 \
206 import
/m4
/eealloc.m4 \
209 import
/m4
/unistd-safer.m4 \
210 import
/m4
/inttypes-pri.m4 \
211 import
/m4
/chdir-long.m4 \
212 import
/m4
/gnulib-common.m4 \
213 import
/m4
/readdir.m4 \
214 import
/m4
/stdlib_h.m4 \
215 import
/m4
/getlogin_r.m4 \
216 import
/m4
/warn-on-use.m4 \
217 import
/m4
/getdtablesize.m4 \
218 import
/m4
/rewinddir.m4 \
219 import
/m4
/string_h.m4 \
220 import
/m4
/closedir.m4 \
221 import
/m4
/canonicalize.m4 \
222 import
/m4
/stdio_h.m4 \
223 import
/m4
/fdopendir.m4 \
224 import
/m4
/getcwd-abort-bug.m4 \
225 import
/m4
/alloca.m4 \
226 import
/m4
/strstr.m4 \
227 import
/m4
/stat-time.m4 \
228 import
/m4
/builtin-expect.m4 \
229 import
/m4
/rawmemchr.m4 \
230 import
/m4
/msvc-nothrow.m4 \
231 import
/m4
/absolute-header.m4 \
232 import
/m4
/isnanl.m4 \
233 import
/m4
/stddef_h.m4 \
234 import
/m4
/gnulib-tool.m4 \
235 import
/m4
/realloc.m4 \
236 import
/m4
/d-type.m4 \
238 import
/m4
/getcwd-path-max.m4 \
240 import
/m4
/strtok_r.m4 \
241 import
/m4
/exponentd.m4 \
242 import
/m4
/std-gnu11.m4 \
243 import
/m4
/locale-ja.m4 \
244 import
/m4
/gettimeofday.m4 \
245 import
/m4
/time_h.m4 \
246 import
/m4
/malloc.m4 \
247 import
/m4
/fnmatch_h.m4 \
248 import
/m4
/codeset.m4 \
249 import
/m4
/getcwd.m4 \
250 import
/m4
/readlink.m4 \
251 import
/m4
/locale-zh.m4 \
252 import
/m4
/stdint.m4 \
253 import
/m4
/memrchr.m4 \
254 import
/m4
/onceonly.m4 \
255 import
/m4
/pathmax.m4 \
256 import
/m4
/rename.m4 \
259 import
/m4
/errno_h.m4 \
260 import
/m4
/mbrtowc.m4 \
261 import
/m4
/environ.m4 \
262 import
/m4
/wchar_h.m4 \
263 import
/m4
/strchrnul.m4 \
264 import
/m4
/fcntl_h.m4 \
265 import
/m4
/getpagesize.m4 \
266 import
/m4
/largefile.m4 \
267 import
/m4
/openat.m4 \
268 import
/m4
/save-cwd.m4 \
270 import
/m4
/include_next.m4 \
271 import
/m4
/mmap-anon.m4 \
272 import
/m4
/mode_t.m4 \
273 import
/m4
/exponentl.m4 \
274 import
/m4
/sys_types_h.m4 \
275 import
/m4
/fcntl-o.m4 \
276 import
/m4
/stdbool.m4 \
277 import
/m4
/float_h.m4 \
278 import
/m4
/msvc-inval.m4 \
279 import
/m4
/wctype_h.m4 \
280 import
/m4
/gnulib-cache.m4 \
281 import
/m4
/mbsrtowcs.m4 \
282 import
/m4
/limits-h.m4 \
283 import
/m4
/locale-fr.m4 \
284 import
/m4
/fstatat.m4 \
285 import
/m4
/inttypes.m4 \
286 import
/m4
/memchr.m4 \
289 import
/m4
/sys_stat_h.m4 \
291 import
/m4
/strdup.m4 \
292 import
/m4
/ssize_t.m4 \
293 import
/m4
/math_h.m4 \
294 import
/m4
/unistd_h.m4 \
295 import
/m4
/fpieee.m4 \
296 import
/m4
/mempcpy.m4 \
297 import
/m4
/wint_t.m4 \
299 import
/m4
/setenv.m4 \
300 import
/m4
/open-cloexec.m4 \
301 import
/m4
/longlong.m4 \
302 import
/m4
/multiarch.m4 \
303 import
/m4
/filenamecat.m4 \
304 import
/m4
/gnulib-comp.m4 \
305 import
/m4
/mkstemp.m4 \
307 import
/m4
/getlogin.m4 \
308 import
/m4
/signal_h.m4 \
309 import
/m4
/sys_socket_h.m4 \
310 import
/m4
/dirname.m4 \
311 import
/m4
/00gnulib.m4 \
312 import
/m4
/dirent_h.m4 \
313 import
/m4
/opendir.m4 \
315 import
/m4
/extensions.m4 \
316 import
/m4
/fchdir.m4 \
317 import
/m4
/mbsinit.m4 \
318 import
/m4
/__inline.m4 \
319 import
/m4
/extern-inline.m4 \
320 import
/m4
/fnmatch.m4 \
322 import
/m4
/nocrash.m4 \
323 import
/m4
/sys_time_h.m4 \
324 import
/m4
/localcharset.m4 \
326 import
/m4
/localtime-buffer.m4 \
327 import
/m4
/getprogname.m4 \
328 import
/m4
/wchar_t.m4 \
329 import
/m4
/isnand.m4 \
330 import
/m4
/double-slash-root.m4 \
331 import
/m4
/malloca.m4 \
333 import
/m4
/frexpl.m4 \
334 import
/m4
/strerror.m4 \
335 import
/m4
/glob_h.m4 \
336 import
/m4
/tempname.m4 \
337 import
/m4
/memmem.m4 \
338 import
/m4
/mbstate_t.m4
340 $(srcdir)/aclocal.m4
: @MAINTAINER_MODE_TRUE@
$(aclocal_m4_deps
)
341 cd
$(srcdir) && $(ACLOCAL
) $(ACLOCAL_AMFLAGS
)
344 configure_deps
= $(srcdir)/configure.ac
$(srcdir)/aclocal.m4
345 $(srcdir)/configure
: @MAINTAINER_MODE_TRUE@
$(configure_deps
)
346 cd
$(srcdir) && $(AUTOCONF
)
348 AUTOHEADER
= autoheader
349 $(srcdir)/config.in
: @MAINTAINER_MODE_TRUE@
$(configure_deps
)
350 cd
$(srcdir) && $(AUTOHEADER
)
354 # automatic rebuilding in automake-generated Makefiles requires
355 # this rule in the toplevel Makefile, which, with GNU make, causes
356 # the desired updates through the implicit regeneration of the Makefile
357 # and all of its prerequisites.
365 # GNU Make has an annoying habit of putting *all* the Makefile variables
366 # into the environment, unless you include this target as a circumvention.
367 # Rumor is that this will be fixed (and this target can be removed)
371 # GNU Make 3.63 has a different problem: it keeps tacking command line
372 # overrides onto the definition of $(MAKE). This variable setting
376 # Disable implicit make rules.
377 include $(srcdir)/..
/disable-implicit-rules.mk
379 ### end of the libgnu Makefile.in.