]> git.ipfire.org Git - thirdparty/bash.git/blame - Makefile.in
Bash-5.2 patch 26: fix typo when specifying readline's custom color prefix
[thirdparty/bash.git] / Makefile.in
CommitLineData
74091dd4 1# Makefile for bash-5.2, version 5.1
d166f048 2#
74091dd4 3# Copyright (C) 1996-2021 Free Software Foundation, Inc.
bb70624e 4
3185942a
JA
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.
bb70624e 9
3185942a
JA
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.
bb70624e 14
3185942a
JA
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/>.
bb70624e 17
ccc6cda3
JA
18# Make sure the first target in the makefile is the right one
19all: .made
20
b80f6443
JA
21PACKAGE = @PACKAGE_NAME@
22VERSION = @PACKAGE_VERSION@
23
24PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
25PACKAGE_NAME = @PACKAGE_NAME@
26PACKAGE_STRING = @PACKAGE_STRING@
27PACKAGE_VERSION = @PACKAGE_VERSION@
28
ac50fbac
CR
29PACKAGE_TARNAME = @PACKAGE_TARNAME@
30
ccc6cda3
JA
31# Include some boilerplate Gnu makefile definitions.
32prefix = @prefix@
33
34exec_prefix = @exec_prefix@
3185942a
JA
35
36datarootdir = @datarootdir@
37
ccc6cda3
JA
38bindir = @bindir@
39libdir = @libdir@
40infodir = @infodir@
41includedir = @includedir@
7117c2d2 42datadir = @datadir@
3185942a 43localedir = @localedir@
d233b485 44pkgconfigdir = ${libdir}/pkgconfig
ccc6cda3 45
a0c0a00f
CR
46loadablesdir = @loadablesdir@
47headersdir = @headersdir@
48
ac50fbac
CR
49docdir = @docdir@
50
ccc6cda3
JA
51mandir = @mandir@
52manpfx = man
53
f73dda09
JA
54man1ext = .1
55man1dir = $(mandir)/$(manpfx)1
56man3ext = .3
57man3dir = $(mandir)/$(manpfx)3
ccc6cda3 58
bb70624e
JA
59htmldir = @htmldir@
60
f73dda09
JA
61# Support an alternate destination root directory for package building
62DESTDIR =
63
ccc6cda3
JA
64topdir = @top_srcdir@
65BUILD_DIR = @BUILD_DIR@
b80f6443 66top_builddir = @BUILD_DIR@
ccc6cda3 67srcdir = @srcdir@
a0c0a00f 68VPATH = @srcdir@
ccc6cda3
JA
69
70@SET_MAKE@
71CC = @CC@
cce855bc 72CC_FOR_BUILD = @CC_FOR_BUILD@
ccc6cda3 73YACC = @YACC@
b72432fd 74SHELL = @MAKE_SHELL@
ccc6cda3
JA
75CP = cp
76RM = rm -f
77AR = @AR@
b72432fd 78ARFLAGS = @ARFLAGS@
ccc6cda3 79RANLIB = @RANLIB@
95732b49 80SIZE = @SIZE@
d233b485 81STRIP = strip
ccc6cda3
JA
82
83INSTALL = @INSTALL@
84INSTALL_PROGRAM = @INSTALL_PROGRAM@
7117c2d2 85INSTALL_SCRIPT = @INSTALL_SCRIPT@
ccc6cda3 86INSTALL_DATA = @INSTALL_DATA@
b72432fd 87INSTALLMODE= -m 0755
bb70624e 88INSTALLMODE2 = -m 0555
ccc6cda3 89
74091dd4
CR
90CTAGS = ctags
91CTAGSFLAGS = -x
92ETAGS = etags
93ETAGSFLAGS =
94
d166f048
JA
95TESTSCRIPT = @TESTSCRIPT@
96
3185942a
JA
97DEBUGGER_START_FILE = @DEBUGGER_START_FILE@
98
a0c0a00f
CR
99#If you have purify, and want to use it, run the make as `make PURIFY=purify'
100#PURIFY = @PURIFY@
ccc6cda3
JA
101
102# Here is a rule for making .o files from .c files that does not
103# force the type of the machine (like -M_MACHINE) into the flags.
104.c.o:
105 $(RM) $@
106 $(CC) $(CCFLAGS) -c $<
107
bb70624e 108EXEEXT = @EXEEXT@
f73dda09
JA
109OBJEXT = @OBJEXT@
110
111# The name of this program and some version information.
112VERSPROG = bashversion$(EXEEXT)
113VERSOBJ = bashversion.$(OBJEXT)
114
bb70624e 115Program = bash$(EXEEXT)
d166f048 116Version = @BASHVERS@
f73dda09 117PatchLevel = `$(BUILD_DIR)/$(VERSPROG) -p`
7117c2d2 118RELSTATUS = @RELSTATUS@
d166f048 119
ccc6cda3
JA
120Machine = @host_cpu@
121OS = @host_os@
b72432fd 122VENDOR = @host_vendor@
ccc6cda3
JA
123MACHTYPE = @host@
124
28ef6c31 125# comment out for release
7117c2d2
JA
126DEBUG = @DEBUG@
127MALLOC_DEBUG = @MALLOC_DEBUG@
28ef6c31 128
ccc6cda3
JA
129THIS_SH = $(BUILD_DIR)/$(Program)
130
131# PROFILE_FLAGS is either -pg, to generate profiling info for use
132# with gprof, or nothing (the default).
cce855bc 133PROFILE_FLAGS= @PROFILE_FLAGS@
ccc6cda3 134
ccc6cda3 135CFLAGS = @CFLAGS@
95732b49 136CFLAGS_FOR_BUILD = @CFLAGS_FOR_BUILD@ @CROSS_COMPILE@
cce855bc 137CPPFLAGS = @CPPFLAGS@
7117c2d2 138CPPFLAGS_FOR_BUILD = @CPPFLAGS_FOR_BUILD@
95732b49 139LOCAL_CFLAGS = @LOCAL_CFLAGS@ ${DEBUG} ${MALLOC_DEBUG}
74091dd4 140STYLE_CFLAGS = @STYLE_CFLAGS@
ccc6cda3 141DEFS = @DEFS@
d166f048 142LOCAL_DEFS = @LOCAL_DEFS@
7117c2d2 143
b80f6443
JA
144LOCALE_DEFS = -DLOCALEDIR='"$(localedir)"' -DPACKAGE='"$(PACKAGE)"'
145
ccc6cda3 146LOCAL_LIBS = @LOCAL_LIBS@
b72432fd 147LIBS = $(BUILTINS_LIB) $(LIBRARIES) @LIBS@
0628567a
JA
148LIBS_FOR_BUILD =
149
b72432fd 150STATIC_LD = @STATIC_LD@
ccc6cda3
JA
151LOCAL_LDFLAGS = @LOCAL_LDFLAGS@
152
b80f6443 153SYSTEM_FLAGS = -DPROGRAM='"$(Program)"' -DCONF_HOSTTYPE='"$(Machine)"' -DCONF_OSTYPE='"$(OS)"' -DCONF_MACHTYPE='"$(MACHTYPE)"' -DCONF_VENDOR='"$(VENDOR)"' $(LOCALE_DEFS)
ccc6cda3 154
d233b485 155BASE_CCFLAGS = $(SYSTEM_FLAGS) $(LOCAL_DEFS) \
74091dd4 156 $(DEFS) $(LOCAL_CFLAGS) $(INCLUDES) $(STYLE_CFLAGS)
7117c2d2 157
d233b485 158CCFLAGS = $(ADDON_CFLAGS) $(BASE_CCFLAGS) ${PROFILE_FLAGS} $(CPPFLAGS) $(CFLAGS)
f73dda09 159
7117c2d2
JA
160CCFLAGS_FOR_BUILD = $(BASE_CCFLAGS) $(CPPFLAGS_FOR_BUILD) $(CFLAGS_FOR_BUILD)
161
d233b485
CR
162BASE_LDFLAGS = @LDFLAGS@ $(LOCAL_LDFLAGS) $(CFLAGS)
163LDFLAGS = ${ADDON_LDFLAGS} ${BASE_LDFLAGS} ${PROFILE_FLAGS} ${STATIC_LD}
0001803f 164LDFLAGS_FOR_BUILD = @LDFLAGS_FOR_BUILD@ $(LOCAL_LDFLAGS) $(CFLAGS_FOR_BUILD)
ccc6cda3 165
d233b485
CR
166ASAN_XCFLAGS = -fsanitize=address -fno-omit-frame-pointer
167ASAN_XLDFLAGS = -fsanitize=address
168
169GCOV_XCFLAGS = -fprofile-arcs -ftest-coverage
170GCOV_XLDFLAGS = -fprofile-arcs -ftest-coverage
171
b80f6443 172INCLUDES = -I. @RL_INCLUDE@ -I$(srcdir) -I$(BASHINCDIR) -I$(LIBSRC) $(INTL_INC)
ccc6cda3 173
0628567a
JA
174# Maybe add: -Wextra
175GCC_LINT_FLAGS = -O -Wall -Wshadow -Wpointer-arith -Wcast-qual -Wno-parentheses \
176 -Wcast-align -Wstrict-prototypes -Wconversion -Wformat \
177 -Wformat-nonliteral -Wmissing-braces -Wuninitialized \
178 -Wmissing-declarations -Winline \
74091dd4
CR
179 -Wmissing-prototypes -Wtraditional -Wredundant-decls \
180 -Wformat-security -pedantic
f73dda09 181
7117c2d2 182GCC_LINT_CFLAGS = $(BASE_CCFLAGS) $(CPPFLAGS) $(GCC_LINT_FLAGS)
ccc6cda3
JA
183
184#
185# Support libraries
186#
187
188dot = .
189
190LIBSUBDIR = lib
191LIBSRC = $(srcdir)/$(LIBSUBDIR)
192
b80f6443
JA
193LIBBUILD = ${BUILD_DIR}/${LIBSUBDIR}
194
f73dda09 195SUBDIR_INCLUDES = -I. @RL_INCLUDE@ -I$(topdir) -I$(topdir)/$(LIBSUBDIR)
ccc6cda3 196
b80f6443
JA
197BUILD_INCLUDED_LIBINTL = @BUILD_INCLUDED_LIBINTL@
198USE_INCLUDED_LIBINTL = @USE_INCLUDED_LIBINTL@
199
cce855bc
JA
200# the bash library
201# the library is a mix of functions that the C library does not provide on
202# some platforms and general shell utility functions
203SH_LIBSRC = $(LIBSRC)/sh
204SH_LIBDIR = $(dot)/${LIBSUBDIR}/sh
205SH_ABSSRC = ${topdir}/${SH_LIBSRC}
206
7117c2d2
JA
207SHLIB_SOURCE = ${SH_LIBSRC}/clktck.c ${SH_LIBSRC}/getcwd.c \
208 ${SH_LIBSRC}/getenv.c ${SH_LIBSRC}/oslib.c \
495aee44 209 ${SH_LIBSRC}/setlinebuf.c ${SH_LIBSRC}/strchrnul.c \
ac50fbac
CR
210 ${SH_LIBSRC}/strcasecmp.c ${SH_LIBSRC}/strdup.c \
211 ${SH_LIBSRC}/strerror.c \
7117c2d2
JA
212 ${SH_LIBSRC}/strtod.c ${SH_LIBSRC}/strtol.c \
213 ${SH_LIBSRC}/strtoul.c ${SH_LIBSRC}/vprint.c \
214 ${SH_LIBSRC}/itos.c ${SH_LIBSRC}/rename.c \
215 ${SH_LIBSRC}/zread.c ${SH_LIBSRC}/zwrite.c \
216 ${SH_LIBSRC}/shtty.c ${SH_LIBSRC}/inet_aton.c \
217 ${SH_LIBSRC}/netopen.c ${SH_LIBSRC}/strpbrk.c \
218 ${SH_LIBSRC}/timeval.c ${SH_LIBSRC}/clock.c \
219 ${SH_LIBSRC}/makepath.c ${SH_LIBSRC}/pathcanon.c \
220 ${SH_LIBSRC}/pathphys.c ${SH_LIBSRC}/stringlist.c \
221 ${SH_LIBSRC}/stringvec.c ${SH_LIBSRC}/tmpfile.c \
222 ${SH_LIBSRC}/spell.c ${SH_LIBSRC}/strtrans.c \
0001803f 223 ${SH_LIBSRC}/strcasestr.c ${SH_LIBSRC}/shquote.c \
7117c2d2
JA
224 ${SH_LIBSRC}/snprintf.c ${SH_LIBSRC}/mailstat.c \
225 ${SH_LIBSRC}/fmtulong.c ${SH_LIBSRC}/fmtullong.c \
226 ${SH_LIBSRC}/strtoll.c ${SH_LIBSRC}/strtoull.c \
227 ${SH_LIBSRC}/strtoimax.c ${SH_LIBSRC}/strtoumax.c \
228 ${SH_LIBSRC}/fmtumax.c ${SH_LIBSRC}/netconn.c \
229 ${SH_LIBSRC}/mktime.c ${SH_LIBSRC}/strftime.c \
0001803f 230 ${SH_LIBSRC}/memset.c ${SH_LIBSRC}/mbschr.c \
95732b49 231 ${SH_LIBSRC}/zcatfd.c ${SH_LIBSRC}/shmatch.c \
0628567a 232 ${SH_LIBSRC}/strnlen.c ${SH_LIBSRC}/winsize.c \
3185942a
JA
233 ${SH_LIBSRC}/eaccess.c ${SH_LIBSRC}/wcsdup.c \
234 ${SH_LIBSRC}/zmapfd.c ${SH_LIBSRC}/fpurge.c \
235 ${SH_LIBSRC}/zgetline.c ${SH_LIBSRC}/mbscmp.c \
236 ${SH_LIBSRC}/casemod.c ${SH_LIBSRC}/uconvert.c \
495aee44 237 ${SH_LIBSRC}/ufuncs.c ${SH_LIBSRC}/dprintf.c \
0001803f 238 ${SH_LIBSRC}/input_avail.c ${SH_LIBSRC}/mbscasecmp.c \
495aee44 239 ${SH_LIBSRC}/fnxform.c ${SH_LIBSRC}/unicode.c \
ac50fbac 240 ${SH_LIBSRC}/wcswidth.c ${SH_LIBSRC}/wcsnwidth.c \
8868edaf 241 ${SH_LIBSRC}/shmbchar.c ${SH_LIBSRC}/utf8.c \
74091dd4
CR
242 ${SH_LIBSRC}/random.c ${SH_LIBSRC}/gettimeofday.c \
243 ${SH_LIBSRC}/timers.c ${SH_LIBSRC}/strvis.c
cce855bc
JA
244
245SHLIB_LIB = -lsh
246SHLIB_LIBNAME = libsh.a
247SHLIB_LIBRARY = ${SH_LIBDIR}/${SHLIB_LIBNAME}
248SHLIB_LDFLAGS = -L${SH_LIBDIR}
249SHLIB_DEP = ${SHLIB_LIBRARY}
250
ccc6cda3
JA
251# we assume for now that readline source is being shipped with bash
252RL_LIBSRC = $(LIBSRC)/readline
253RL_LIBDOC = $(RL_LIBSRC)/doc
b72432fd 254RL_LIBDIR = @RL_LIBDIR@
ccc6cda3
JA
255RL_ABSSRC = ${topdir}/$(RL_LIBDIR)
256
f73dda09
JA
257RL_INCLUDEDIR = @RL_INCLUDEDIR@
258
ccc6cda3
JA
259READLINE_LIB = @READLINE_LIB@
260READLINE_LIBRARY = $(RL_LIBDIR)/libreadline.a
261READLINE_LDFLAGS = -L${RL_LIBDIR}
262READLINE_DEP = @READLINE_DEP@
263
264# The source, object and documentation of the GNU Readline library.
265READLINE_SOURCE = $(RL_LIBSRC)/rldefs.h $(RL_LIBSRC)/rlconf.h \
266 $(RL_LIBSRC)/readline.h $(RL_LIBSRC)/tcap.h \
267 $(RL_LIBSRC)/chardefs.h $(RL_LIBSRC)/keymaps.h \
268 $(RL_LIBSRC)/history.h $(RL_LIBSRC)/histlib.h \
269 $(RL_LIBSRC)/posixstat.h $(RL_LIBSRC)/tilde.h \
bb70624e
JA
270 $(RL_LIBSRC)/rlstdc.h ${RL_LIBSRC}/xmalloc.h \
271 $(RL_LIBSRC)/rlshell.h ${RL_LIBSRC}/rlprivate.h \
ac50fbac 272 $(RL_LIBSRC)/colors.h $(RL_LIBSRC)/parse-colors.h \
ccc6cda3
JA
273 $(RL_LIBSRC)/funmap.c $(RL_LIBSRC)/emacs_keymap.c \
274 $(RL_LIBSRC)/search.c $(RL_LIBSRC)/vi_keymap.c \
275 $(RL_LIBSRC)/keymaps.c $(RL_LIBSRC)/parens.c \
276 $(RL_LIBSRC)/vi_mode.c $(RL_LIBSRC)/callback.c \
277 $(RL_LIBSRC)/readline.c $(RL_LIBSRC)/tilde.c \
278 $(RL_LIBSRC)/rltty.c $(RL_LIBSRC)/complete.c \
279 $(RL_LIBSRC)/bind.c $(RL_LIBSRC)/isearch.c \
280 $(RL_LIBSRC)/display.c $(RL_LIBSRC)/signals.c \
7117c2d2 281 $(RL_LIBSRC)/util.c $(RL_LIBSRC)/kill.c $(RL_LIBSRC)/text.c \
ccc6cda3
JA
282 $(RL_LIBSRC)/undo.c $(RL_LIBSRC)/macro.c \
283 $(RL_LIBSRC)/terminal.c $(RL_LIBSRC)/nls.c \
284 $(RL_LIBSRC)/input.c $(RL_LIBSRC)/xmalloc.c \
b72432fd 285 $(RL_LIBSRC)/shell.c $(RL_LIBSRC)/savestring.c \
ac50fbac 286 $(RL_LIBSRC)/colors.c $(RL_LIBSRC)/parse-colors.c \
b80f6443 287 $(RL_LIBSRC)/misc.c $(RL_LIBSRC)/mbutil.c $(RL_LIBSRC)/compat.c \
ccc6cda3
JA
288 $(RL_LIBSRC)/histexpand.c $(RL_LIBSRC)/history.c \
289 $(RL_LIBSRC)/histsearch.c $(RL_LIBSRC)/histfile.c
290
291READLINE_OBJ = $(RL_LIBDIR)/readline.o $(RL_LIBDIR)/funmap.o \
292 $(RL_LIBDIR)/parens.o $(RL_LIBDIR)/search.o \
293 $(RL_LIBDIR)/keymaps.o $(RL_LIBDIR)/xmalloc.o \
294 $(RL_LIBDIR)/rltty.o $(RL_LIBDIR)/complete.o \
295 $(RL_LIBDIR)/bind.o $(RL_LIBDIR)/isearch.o \
296 $(RL_LIBDIR)/display.o $(RL_LIBDIR)/signals.o \
297 $(RL_LIBDIR)/tilde.o $(RL_LIBDIR)/util.o \
298 $(RL_LIBDIR)/kill.o $(RL_LIBDIR)/undo.o $(RL_LIBDIR)/nls.o \
299 $(RL_LIBDIR)/macro.o $(RL_LIBDIR)/input.o \
300 $(RL_LIBDIR)/terminal.o $(RL_LIBDIR)/callback.o \
b72432fd 301 $(RL_LIBDIR)/shell.o $(RL_LIBDIR)/savestring.o \
b80f6443 302 $(RL_LIBDIR)/mbutil.o $(RL_LIBDIR)/compat.o \
ccc6cda3 303 $(RL_LIBDIR)/history.o $(RL_LIBDIR)/histexpand.o \
ac50fbac
CR
304 $(RL_LIBDIR)/histsearch.o $(RL_LIBDIR)/histfile.o \
305 $(RL_LIBDIR)/colors.o $(RL_LIBDIR)/parse-colors.o
ccc6cda3
JA
306
307HIST_LIBSRC = $(LIBSRC)/readline
b72432fd 308HIST_LIBDIR = @HIST_LIBDIR@
ccc6cda3
JA
309HIST_ABSSRC = ${topdir}/$(HIST_LIBDIR)
310
311HISTORY_LIB = @HISTORY_LIB@
312HISTORY_LIBRARY = $(HIST_LIBDIR)/libhistory.a
313HISTORY_LDFLAGS = -L$(HIST_LIBDIR)
314HISTORY_DEP = @HISTORY_DEP@
315
316# The source, object and documentation of the history library.
317HISTORY_SOURCE = $(HIST_LIBSRC)/history.c $(HIST_LIBSRC)/histexpand.c \
318 $(HIST_LIBSRC)/histsearch.c $(HIST_LIBSRC)/histfile.c \
d166f048 319 $(HIST_LIBSRC)/shell.c \
ccc6cda3
JA
320 $(HIST_LIBSRC)/history.h $(HIST_LIBSRC)/histlib.h
321HISTORY_OBJ = $(HIST_LIBDIR)/history.o $(HIST_LIBDIR)/histexpand.o \
d166f048
JA
322 $(HIST_LIBDIR)/histsearch.o $(HIST_LIBDIR)/histfile.o \
323 $(HIST_LIBDIR)/shell.o
ccc6cda3
JA
324
325# You only need termcap (or curses) if you are linking with GNU Readline.
326TERM_LIBSRC = $(LIBSRC)/termcap
327TERM_LIBDIR = $(dot)/$(LIBSUBDIR)/termcap
328TERM_ABSSRC = ${topdir}/$(TERM_LIBDIR)
329
330TERMCAP_LIB = @TERMCAP_LIB@
331TERMCAP_LIBRARY = $(TERM_LIBDIR)/libtermcap.a
332TERMCAP_LDFLAGS = -L$(TERM_LIBDIR)
333TERMCAP_DEP = @TERMCAP_DEP@
334
335TERMCAP_SOURCE = $(TERM_LIBSRC)/termcap.c $(TERM_LIBSRC)/tparam.c
336TERMCAP_OBJ = $(TERM_LIBDIR)/termcap.o $(TERM_LIBDIR)/tparam.o
337
338GLOB_LIBSRC = $(LIBSRC)/glob
339GLOB_LIBDIR = $(dot)/$(LIBSUBDIR)/glob
340GLOB_ABSSRC = ${topdir}/$(GLOB_LIBDIR)
341
342GLOB_LIB = -lglob
343GLOB_LIBRARY = $(GLOB_LIBDIR)/libglob.a
344GLOB_LDFLAGS = -L$(GLOB_LIBDIR)
345GLOB_DEP = $(GLOB_LIBRARY)
346
f73dda09 347GLOB_SOURCE = $(GLOB_LIBSRC)/glob.c $(GLOB_LIBSRC)/strmatch.c \
7117c2d2
JA
348 $(GLOB_LIBSRC)/smatch.c $(GLOB_LIBSRC)/xmbsrtowcs.c \
349 $(GLOB_LIBSRC)/glob_loop.c $(GLOB_LIBSRC)/sm_loop.c \
495aee44 350 $(GLOB_LIBSRC)/gmisc.c \
f73dda09 351 $(GLOB_LIBSRC)/glob.h $(GLOB_LIBSRC)/strmatch.h
7117c2d2 352GLOB_OBJ = $(GLOB_LIBDIR)/glob.o $(GLOB_LIBDIR)/strmatch.o \
495aee44
CR
353 $(GLOB_LIBDIR)/smatch.o $(GLOB_LIBDIR)/xmbsrtowcs.o \
354 $(GLOB_LIBDIR)/gmisc.o
ccc6cda3
JA
355
356# The source, object and documentation for the GNU Tilde library.
357TILDE_LIBSRC = $(LIBSRC)/tilde
358TILDE_LIBDIR = $(dot)/$(LIBSUBDIR)/tilde
359TILDE_ABSSRC = ${topdir}/$(TILDE_LIBDIR)
360
95732b49 361TILDE_LIB = @TILDE_LIB@
ccc6cda3
JA
362TILDE_LIBRARY = $(TILDE_LIBDIR)/libtilde.a
363TILDE_LDFLAGS = -L$(TILDE_LIBDIR)
364TILDE_DEP = $(TILDE_LIBRARY)
365
366TILDE_SOURCE = $(TILDE_LIBSRC)/tilde.c $(TILDE_LIBSRC)/tilde.h
367TILDE_OBJ = $(TILDE_LIBDIR)/tilde.o
368
b80f6443
JA
369# libintl
370INTL_LIBSRC = $(LIBSRC)/intl
371INTL_LIBDIR = $(dot)/$(LIBSUBDIR)/intl
372INTL_ABSSRC = ${topdir}/$(INTL_LIB)
373INTL_BUILDDIR = ${LIBBUILD}/intl
374
375INTL_LIB = @LIBINTL@
376INTL_LIBRARY = $(INTL_LIBDIR)/libintl.a
377INTL_DEP = @INTL_DEP@
378INTL_INC = @INTL_INC@
379
380LIBINTL_H = @LIBINTL_H@
381
0001803f
CR
382# libiconv
383LIBICONV = @LIBICONV@
384
b80f6443
JA
385# tests
386LIBINTL = @LIBINTL@
387LTLIBINTL = @LTLIBINTL@
388INTLLIBS = @INTLLIBS@
389INTLOBJS = @INTLOBJS@
390
ccc6cda3 391# Our malloc.
d166f048
JA
392MALLOC_TARGET = @MALLOC_TARGET@
393
394# set to alloca.o if we are using the C alloca in lib/malloc
395ALLOCA = @ALLOCA@
396
ccc6cda3
JA
397ALLOC_LIBSRC = $(LIBSRC)/malloc
398ALLOC_LIBDIR = $(dot)/$(LIBSUBDIR)/malloc
399ALLOC_ABSSRC = ${topdir}/$(ALLOC_LIBDIR)
400
ccc6cda3 401MALLOC_SRC = @MALLOC_SRC@
f73dda09 402MALLOC_OTHERSRC = ${ALLOC_LIBSRC}/trace.c ${ALLOC_LIBSRC}/stats.c \
7117c2d2 403 ${ALLOC_LIBSRC}/table.c ${ALLOC_LIBSRC}/watch.c
f73dda09
JA
404MALLOC_SOURCE = ${ALLOC_LIBSRC}/${MALLOC_SRC} ${MALLOC_OTHERSRC}
405MALLOC_CFLAGS = -DRCHECK -Dbotch=programming_error ${MALLOC_DEBUG}
ccc6cda3 406
f73dda09
JA
407MALLOC_LIB = @MALLOC_LIB@
408MALLOC_LIBRARY = @MALLOC_LIBRARY@
409MALLOC_LDFLAGS = @MALLOC_LDFLAGS@
410MALLOC_DEP = @MALLOC_DEP@
ccc6cda3 411
f73dda09 412ALLOC_HEADERS = $(ALLOC_LIBSRC)/getpagesize.h $(ALLOC_LIBSRC)/shmalloc.h \
7117c2d2
JA
413 $(ALLOC_LIBSRC)/imalloc.h $(ALLOC_LIBSRC)/mstats.h \
414 $(ALLOC_LIBSRC)/table.h $(ALLOC_LIBSRC)/watch.h
ccc6cda3 415
f73dda09 416$(MALLOC_LIBRARY): ${MALLOC_SOURCE} ${ALLOC_HEADERS} config.h
ccc6cda3
JA
417 @(cd $(ALLOC_LIBDIR) && \
418 $(MAKE) $(MFLAGS) \
d166f048 419 MALLOC_CFLAGS="$(MALLOC_CFLAGS)" ${MALLOC_TARGET} ) || exit 1
ccc6cda3 420
bb70624e
JA
421BASHINCDIR = ${srcdir}/include
422BASHINCFILES = $(BASHINCDIR)/posixstat.h $(BASHINCDIR)/ansi_stdlib.h \
423 $(BASHINCDIR)/filecntl.h $(BASHINCDIR)/posixdir.h \
424 $(BASHINCDIR)/memalloc.h $(BASHINCDIR)/stdc.h \
425 $(BASHINCDIR)/posixjmp.h $(BASHINCDIR)/posixwait.h \
426 $(BASHINCDIR)/posixtime.h $(BASHINCDIR)/systimes.h \
427 $(BASHINCDIR)/unionwait.h $(BASHINCDIR)/maxpath.h \
7117c2d2
JA
428 $(BASHINCDIR)/shtty.h $(BASHINCDIR)/typemax.h \
429 $(BASHINCDIR)/ocache.h
ccc6cda3 430
74091dd4
CR
431LIBRARIES = $(GLOB_LIB) $(SHLIB_LIB) $(READLINE_LIB) $(HISTORY_LIB) \
432 $(TERMCAP_LIB) $(TILDE_LIB) $(MALLOC_LIB) $(INTL_LIB) $(LIBICONV) \
433 $(LOCAL_LIBS)
ccc6cda3 434
74091dd4
CR
435LIBDEP = $(GLOB_DEP) $(SHLIB_DEP) $(INTL_DEP) $(READLINE_DEP) $(HISTORY_DEP) \
436 $(TERMCAP_DEP) $(TILDE_DEP) $(MALLOC_DEP)
ccc6cda3 437
b72432fd
JA
438LIBRARY_LDFLAGS = $(READLINE_LDFLAGS) $(HISTORY_LDFLAGS) $(GLOB_LDFLAGS) \
439 $(TILDE_LDFLAGS) $(MALLOC_LDFLAGS) $(SHLIB_LDFLAGS)
ccc6cda3
JA
440
441#
442# The shell itself
443#
444
445# The main source code for the Bourne Again SHell.
446CSOURCES = shell.c eval.c parse.y general.c make_cmd.c print_cmd.c y.tab.c \
447 dispose_cmd.c execute_cmd.c variables.c $(GLOBC) version.c \
d166f048
JA
448 expr.c copy_cmd.c flags.c subst.c hashcmd.c hashlib.c mailcheck.c \
449 test.c trap.c alias.c jobs.c nojobs.c $(ALLOC_FILES) braces.c \
3185942a 450 input.c bashhist.c array.c arrayfunc.c assoc.c sig.c pathexp.c \
cce855bc 451 unwind_prot.c siglist.c bashline.c bracecomp.c error.c \
bb70624e 452 list.c stringlib.c locale.c findcmd.c redir.c \
28ef6c31 453 pcomplete.c pcomplib.c syntax.c xmalloc.c
ccc6cda3 454
d166f048 455HSOURCES = shell.h flags.h trap.h hashcmd.h hashlib.h jobs.h builtins.h \
bb70624e 456 general.h variables.h config.h $(ALLOC_HEADERS) alias.h \
f73dda09 457 quit.h unwind_prot.h syntax.h ${GRAM_H} \
ccc6cda3
JA
458 command.h input.h error.h bashansi.h dispose_cmd.h make_cmd.h \
459 subst.h externs.h siglist.h bashhist.h bashline.h bashtypes.h \
f73dda09 460 array.h arrayfunc.h sig.h mailcheck.h bashintl.h bashjmp.h \
3185942a 461 execute_cmd.h parser.h pathexp.h pathnames.h pcomplete.h assoc.h \
bb70624e 462 $(BASHINCFILES)
ccc6cda3
JA
463
464SOURCES = $(CSOURCES) $(HSOURCES) $(BUILTIN_DEFS)
465
a0c0a00f
CR
466# headers in top-level source directory that get installed by install-headers
467INSTALLED_HEADERS = shell.h bashjmp.h command.h syntax.h general.h error.h \
468 variables.h array.h assoc.h arrayfunc.h quit.h dispose_cmd.h \
469 make_cmd.h subst.h sig.h externs.h builtins.h \
470 bashtypes.h xmalloc.h config-top.h config-bot.h \
471 bashintl.h bashansi.h bashjmp.h alias.h hashlib.h \
74091dd4
CR
472 conftypes.h unwind_prot.h jobs.h siglist.h \
473 execute_cmd.h
a0c0a00f
CR
474INSTALLED_BUILTINS_HEADERS = bashgetopt.h common.h getopt.h
475INSTALLED_INCFILES = posixstat.h ansi_stdlib.h filecntl.h posixdir.h \
476 memalloc.h stdc.h posixjmp.h posixwait.h posixtime.h systimes.h \
477 unionwait.h maxpath.h shtty.h typemax.h ocache.h chartypes.h gettext.h \
478 posixstat.h shmbchar.h shmbutil.h stat-time.h
479
cce855bc
JA
480# header files chosen based on running of configure
481SIGNAMES_H = @SIGNAMES_H@
482
ccc6cda3
JA
483# object files chosen based on running of configure
484JOBS_O = @JOBS_O@
f73dda09 485SIGLIST_O = @SIGLIST_O@
0628567a 486SIGNAMES_O = @SIGNAMES_O@
ccc6cda3 487
74091dd4
CR
488ARRAY_O = @ARRAY_O@
489
ccc6cda3
JA
490# Matching object files.
491OBJECTS = shell.o eval.o y.tab.o general.o make_cmd.o print_cmd.o $(GLOBO) \
492 dispose_cmd.o execute_cmd.o variables.o copy_cmd.o error.o \
d166f048
JA
493 expr.o flags.o $(JOBS_O) subst.o hashcmd.o hashlib.o mailcheck.o \
494 trap.o input.o unwind_prot.o pathexp.o sig.o test.o version.o \
74091dd4 495 alias.o $(ARRAY_O) arrayfunc.o assoc.o braces.o bracecomp.o bashhist.o \
f73dda09 496 bashline.o $(SIGLIST_O) list.o stringlib.o locale.o findcmd.o redir.o \
0628567a 497 pcomplete.o pcomplib.o syntax.o xmalloc.o $(SIGNAMES_O)
ccc6cda3
JA
498
499# Where the source code of the shell builtins resides.
500BUILTIN_SRCDIR=$(srcdir)/builtins
501DEFSRC=$(BUILTIN_SRCDIR)
502BUILTIN_ABSSRC=${topdir}/builtins
503DEFDIR = $(dot)/builtins
b80f6443 504DEBUGGER_DIR = $(dot)/debugger
ccc6cda3
JA
505
506BUILTIN_DEFS = $(DEFSRC)/alias.def $(DEFSRC)/bind.def $(DEFSRC)/break.def \
507 $(DEFSRC)/builtin.def $(DEFSRC)/cd.def $(DEFSRC)/colon.def \
bb70624e 508 $(DEFSRC)/command.def ${DEFSRC}/complete.def \
b80f6443 509 $(DEFSRC)/caller.def $(DEFSRC)/declare.def \
ccc6cda3
JA
510 $(DEFSRC)/echo.def $(DEFSRC)/enable.def $(DEFSRC)/eval.def \
511 $(DEFSRC)/exec.def $(DEFSRC)/exit.def $(DEFSRC)/fc.def \
512 $(DEFSRC)/fg_bg.def $(DEFSRC)/hash.def $(DEFSRC)/help.def \
513 $(DEFSRC)/history.def $(DEFSRC)/jobs.def $(DEFSRC)/kill.def \
514 $(DEFSRC)/let.def $(DEFSRC)/read.def $(DEFSRC)/return.def \
515 $(DEFSRC)/set.def $(DEFSRC)/setattr.def $(DEFSRC)/shift.def \
516 $(DEFSRC)/source.def $(DEFSRC)/suspend.def $(DEFSRC)/test.def \
517 $(DEFSRC)/times.def $(DEFSRC)/trap.def $(DEFSRC)/type.def \
518 $(DEFSRC)/ulimit.def $(DEFSRC)/umask.def $(DEFSRC)/wait.def \
519 $(DEFSRC)/getopts.def $(DEFSRC)/reserved.def \
3185942a
JA
520 $(DEFSRC)/pushd.def $(DEFSRC)/shopt.def $(DEFSRC)/printf.def \
521 $(DEFSRC)/mapfile.def
ccc6cda3
JA
522BUILTIN_C_SRC = $(DEFSRC)/mkbuiltins.c $(DEFSRC)/common.c \
523 $(DEFSRC)/evalstring.c $(DEFSRC)/evalfile.c \
d166f048 524 $(DEFSRC)/bashgetopt.c $(GETOPT_SOURCE)
ccc6cda3
JA
525BUILTIN_C_OBJ = $(DEFDIR)/common.o $(DEFDIR)/evalstring.o \
526 $(DEFDIR)/evalfile.o $(DEFDIR)/bashgetopt.o
527BUILTIN_OBJS = $(DEFDIR)/alias.o $(DEFDIR)/bind.o $(DEFDIR)/break.o \
528 $(DEFDIR)/builtin.o $(DEFDIR)/cd.o $(DEFDIR)/colon.o \
b80f6443 529 $(DEFDIR)/command.o $(DEFDIR)/caller.o $(DEFDIR)/declare.o \
ccc6cda3
JA
530 $(DEFDIR)/echo.o $(DEFDIR)/enable.o $(DEFDIR)/eval.o \
531 $(DEFDIR)/exec.o $(DEFDIR)/exit.o $(DEFDIR)/fc.o \
532 $(DEFDIR)/fg_bg.o $(DEFDIR)/hash.o $(DEFDIR)/help.o \
533 $(DEFDIR)/history.o $(DEFDIR)/jobs.o $(DEFDIR)/kill.o \
534 $(DEFDIR)/let.o $(DEFDIR)/pushd.o $(DEFDIR)/read.o \
cce855bc 535 $(DEFDIR)/return.o $(DEFDIR)/shopt.o $(DEFDIR)/printf.o \
ccc6cda3
JA
536 $(DEFDIR)/set.o $(DEFDIR)/setattr.o $(DEFDIR)/shift.o \
537 $(DEFDIR)/source.o $(DEFDIR)/suspend.o $(DEFDIR)/test.o \
538 $(DEFDIR)/times.o $(DEFDIR)/trap.o $(DEFDIR)/type.o \
539 $(DEFDIR)/ulimit.o $(DEFDIR)/umask.o $(DEFDIR)/wait.o \
3185942a 540 $(DEFDIR)/getopts.o $(DEFDIR)/mapfile.o $(BUILTIN_C_OBJ)
ccc6cda3
JA
541GETOPT_SOURCE = $(DEFSRC)/getopt.c $(DEFSRC)/getopt.h
542PSIZE_SOURCE = $(DEFSRC)/psize.sh $(DEFSRC)/psize.c
543
d166f048 544BUILTINS_LIBRARY = $(DEFDIR)/libbuiltins.a
ccc6cda3
JA
545BUILTINS_LIB = -lbuiltins
546BUILTINS_LDFLAGS = -L$(DEFDIR)
547BUILTINS_DEP = $(BUILTINS_LIBRARY)
548
549# Documentation for the shell.
550DOCSRC = $(srcdir)/doc
d166f048 551DOCDIR = $(dot)/doc
ccc6cda3 552
b80f6443
JA
553# Translations and other i18n support files
554PO_SRC = $(srcdir)/po/
555PO_DIR = $(dot)/po/
556
ccc6cda3
JA
557SIGNAMES_SUPPORT = $(SUPPORT_SRC)mksignames.c
558
559SUPPORT_SRC = $(srcdir)/support/
a0c0a00f 560SDIR = $(dot)/support
ccc6cda3 561
3185942a 562TESTS_SUPPORT = recho$(EXEEXT) zecho$(EXEEXT) printenv$(EXEEXT) xcase$(EXEEXT)
bb70624e
JA
563CREATED_SUPPORT = signames.h recho$(EXEEXT) zecho$(EXEEXT) printenv$(EXEEXT) \
564 tests/recho$(EXEEXT) tests/zecho$(EXEEXT) \
3185942a
JA
565 tests/printenv$(EXEEXT) xcase$(EXEEXT) tests/xcase$(EXEEXT) \
566 mksignames$(EXEEXT) lsignames.h \
7117c2d2 567 mksyntax${EXEEXT} syntax.c $(VERSPROG) $(VERSOBJ) \
0628567a 568 buildversion.o mksignames.o signames.o buildsignames.o
ccc6cda3 569CREATED_CONFIGURE = config.h config.cache config.status config.log \
495aee44 570 stamp-h po/POTFILES config.status.lineno
ccc6cda3
JA
571CREATED_MAKEFILES = Makefile builtins/Makefile doc/Makefile \
572 lib/readline/Makefile lib/glob/Makefile \
cce855bc
JA
573 lib/sh/Makefile lib/tilde/Makefile lib/malloc/Makefile \
574 lib/termcap/Makefile examples/loadables/Makefile \
74091dd4 575 examples/loadables/Makefile.inc examples/loadables/Makefile.sample \
b80f6443
JA
576 examples/loadables/perl/Makefile support/Makefile \
577 lib/intl/Makefile po/Makefile po/Makefile.in
a0c0a00f
CR
578CREATED_HEADERS = signames.h config.h pathnames.h version.h y.tab.h \
579 ${DEFDIR}/builtext.h
ccc6cda3 580
ac50fbac
CR
581OTHER_DOCS = $(srcdir)/CHANGES $(srcdir)/COMPAT $(srcdir)/NEWS $(srcdir)/POSIX \
582 $(srcdir)/RBASH $(srcdir)/README
583OTHER_INSTALLED_DOCS = CHANGES COMPAT NEWS POSIX RBASH README
584
a0c0a00f
CR
585LOADABLES_DIR = ${top_builddir}/examples/loadables
586
ccc6cda3
JA
587# Keep GNU Make from exporting the entire environment for small machines.
588.NOEXPORT:
589
a0c0a00f 590.made: $(Program) bashbug $(SDIR)/man2html$(EXEEXT)
d166f048 591 @echo "$(Program) last made for a $(Machine) running $(OS)" >.made
ccc6cda3 592
74091dd4 593$(Program): $(OBJECTS) $(BUILTINS_DEP) $(LIBDEP) .build
ccc6cda3 594 $(RM) $@
cce855bc 595 $(PURIFY) $(CC) $(BUILTINS_LDFLAGS) $(LIBRARY_LDFLAGS) $(LDFLAGS) -o $(Program) $(OBJECTS) $(LIBS)
ccc6cda3 596 ls -l $(Program)
95732b49 597 -$(SIZE) $(Program)
ccc6cda3 598
74091dd4 599.build: $(SOURCES) config.h Makefile $(DEFDIR)/builtext.h version.h $(VERSPROG)
ccc6cda3
JA
600 @echo
601 @echo " ***********************************************************"
602 @echo " * *"
f73dda09 603 @echo " * `$(BUILD_DIR)/$(VERSPROG) -l`"
ccc6cda3
JA
604 @echo " * *"
605 @echo " ***********************************************************"
606 @echo
607
8868edaf 608bashbug: $(SDIR)/bashbug.sh $(VERSPROG)
d233b485
CR
609 @sed -e "s%!PATCHLEVEL!%$(PatchLevel)%" \
610 $(SDIR)/bashbug.sh > $@
ccc6cda3
JA
611 @chmod a+rx bashbug
612
613strip: $(Program) .made
d233b485 614 $(STRIP) $(Program)
ccc6cda3 615 ls -l $(Program)
95732b49 616 -$(SIZE) $(Program)
ccc6cda3 617
f73dda09 618lint:
74091dd4 619 ${MAKE} ${MFLAGS} ADDON_CFLAGS='${GCC_LINT_FLAGS}' .made
f73dda09 620
d233b485
CR
621asan:
622 ${MAKE} ${MFLAGS} ADDON_CFLAGS='${ASAN_XCFLAGS}' ADDON_LDFLAGS='${ASAN_XLDFLAGS}' .made
623
74091dd4
CR
624valgrind:
625 ${MAKE} ${MFLAGS} ADDON_CFLAGS='-DDISABLE_MALLOC_WRAPPERS' ADDON_LDFLAGS= .made
626
d233b485
CR
627# cheating
628gcov:
629 ${MAKE} ${MFLAGS} CFLAGS=-g ADDON_CFLAGS='${GCOV_XCFLAGS}' ADDON_LDFLAGS='${GCOV_XLDFLAGS}' .made
630
d233b485
CR
631# have to make this separate because making tests depend on $(PROGRAM)
632asan-tests: asan $(TESTS_SUPPORT)
633 @-test -d tests || mkdir tests
634 @cp $(TESTS_SUPPORT) tests
635 @( cd $(srcdir)/tests && \
8868edaf 636 BUILD_DIR=$(BUILD_DIR) PATH=$(BUILD_DIR)/tests:$$PATH THIS_SH=$(THIS_SH) $(SHELL) ${TESTSCRIPT} )
d233b485
CR
637
638profiling-tests: ${PROGRAM}
639 @test "X$$PROFILE_FLAGS" == "X" && { echo "profiling-tests: must be built with profiling enabled" >&2; exit 1; }
640 @${MAKE} ${MFLAGS} tests TESTSCRIPT=run-gprof
641
495aee44 642version.h: $(SOURCES) config.h Makefile patchlevel.h
f73dda09 643 $(SHELL) $(SUPPORT_SRC)mkversion.sh -b -S ${topdir} -s $(RELSTATUS) -d $(Version) -o newversion.h \
b72432fd 644 && mv newversion.h version.h
ccc6cda3 645
8868edaf 646bashversion$(EXEEXT): buildversion.o $(SUPPORT_SRC)bashversion.c
ac50fbac 647 $(CC_FOR_BUILD) $(CCFLAGS_FOR_BUILD) ${LDFLAGS_FOR_BUILD} -o $@ $(SUPPORT_SRC)bashversion.c buildversion.o ${LIBS_FOR_BUILD}
7117c2d2 648
8868edaf 649buildversion.o: $(srcdir)/version.c
b80f6443 650 $(CC_FOR_BUILD) $(CCFLAGS_FOR_BUILD) -DBUILDTOOL -c -o $@ $(srcdir)/version.c
f73dda09 651
8868edaf
CR
652buildversion.o: bashintl.h $(BASHINCDIR)/gettext.h
653buildversion.o: version.h patchlevel.h conftypes.h
654
ccc6cda3 655# old rules
d166f048 656GRAM_H = parser-built
ac50fbac 657y.tab.o: y.tab.h y.tab.c ${GRAM_H} command.h ${BASHINCDIR}/stdc.h input.h
d166f048
JA
658${GRAM_H}: y.tab.h
659 @-if test -f y.tab.h ; then \
660 cmp -s $@ y.tab.h 2>/dev/null || cp -p y.tab.h $@; \
661 fi
ac50fbac
CR
662
663y.tab.c: parse.y
d166f048 664# -if test -f y.tab.h; then mv -f y.tab.h old-y.tab.h; fi
ccc6cda3 665 $(YACC) -d $(srcdir)/parse.y
74091dd4 666 $(RM) parser-built
f73dda09 667 touch parser-built
d166f048 668# -if cmp -s old-y.tab.h y.tab.h; then mv old-y.tab.h y.tab.h; else cp -p y.tab.h ${GRAM_H}; fi
ccc6cda3 669
ac50fbac
CR
670y.tab.h: y.tab.c
671 @true
672
673
674# Subdirs will often times want version.h, so they'll change back up to
675# the top level and try to create it. This causes parallel build issues
676# so just force top level sanity before we descend.
677$(LIBDEP): .build
678#$(LIBDEP): version.h
ccc6cda3
JA
679
680$(READLINE_LIBRARY): config.h $(READLINE_SOURCE)
681 @echo making $@ in ${RL_LIBDIR}
b72432fd 682 @( { test "${RL_LIBDIR}" = "${libdir}" && exit 0; } || \
a0c0a00f 683 cd ${RL_LIBDIR} && $(MAKE) $(MFLAGS) DEBUG=${DEBUG} libreadline.a) || exit 1
ccc6cda3 684
0001803f 685$(HISTORY_LIBRARY): config.h $(HISTORY_SOURCE) $(READLINE_DEP)
ccc6cda3 686 @echo making $@ in ${HIST_LIBDIR}
b72432fd 687 @( { test "${HIST_LIBDIR}" = "${libdir}" && exit 0; } || \
a0c0a00f 688 cd ${HIST_LIBDIR} && $(MAKE) $(MFLAGS) DEBUG=${DEBUG} libhistory.a) || exit 1
ccc6cda3
JA
689
690$(GLOB_LIBRARY): config.h $(GLOB_SOURCE)
691 @echo making $@ in ${GLOB_LIBDIR}
692 @(cd ${GLOB_LIBDIR} && \
f73dda09 693 $(MAKE) $(MFLAGS) DEBUG=${DEBUG} libglob.a) || exit 1
ccc6cda3
JA
694
695$(TILDE_LIBRARY): config.h $(TILDE_SOURCE)
696 @echo making $@ in ${TILDE_LIBDIR}
697 @(cd ${TILDE_LIBDIR} && \
698 $(MAKE) $(MFLAGS) libtilde.a) || exit 1
699
700$(TERMCAP_LIBRARY): config.h ${TERMCAP_SOURCE}
d166f048
JA
701 @echo making $@ in ${TERM_LIBDIR}
702 @(cd ${TERM_LIBDIR} && \
ccc6cda3
JA
703 $(MAKE) $(MFLAGS) libtermcap.a) || exit 1
704
cce855bc
JA
705$(SHLIB_LIBRARY): config.h ${SHLIB_SOURCE}
706 @echo making $@ in ${SH_LIBDIR}
707 @(cd ${SH_LIBDIR} && \
f73dda09 708 $(MAKE) $(MFLAGS) DEBUG=${DEBUG} ${SHLIB_LIBNAME}) || exit 1
cce855bc 709
b80f6443
JA
710${INTL_LIBRARY}: config.h ${INTL_LIBDIR}/Makefile
711 @echo making $@ in ${INTL_LIBDIR}
712 @(cd ${INTL_LIBDIR} && \
8868edaf 713 $(MAKE) $(MFLAGS) XCFLAGS="${LOCAL_CFLAGS}" all) || exit 1
b80f6443 714
3185942a 715${LIBINTL_H}: ${INTL_DEP}
b80f6443 716
0628567a
JA
717signames.o: $(SUPPORT_SRC)signames.c
718 $(RM) $@
719 $(CC) $(CCFLAGS) -c $(SUPPORT_SRC)signames.c
720
721buildsignames.o: $(SUPPORT_SRC)signames.c
722 $(RM) $@
723 $(CC_FOR_BUILD) $(CCFLAGS_FOR_BUILD) -DBUILDTOOL -o $@ -c $(SUPPORT_SRC)signames.c
724
725mksignames.o: $(SUPPORT_SRC)mksignames.c
726 $(RM) $@
727 $(CC_FOR_BUILD) $(CCFLAGS_FOR_BUILD) -DBUILDTOOL -c $(SUPPORT_SRC)mksignames.c
728
729mksignames$(EXEEXT): mksignames.o buildsignames.o
730 $(RM) $@
ac50fbac 731 $(CC_FOR_BUILD) $(CCFLAGS_FOR_BUILD) ${LDFLAGS_FOR_BUILD} -o $@ mksignames.o buildsignames.o ${LIBS_FOR_BUILD}
ccc6cda3 732
8868edaf 733mksyntax$(EXEEXT): ${srcdir}/mksyntax.c config.h syntax.h ${BASHINCDIR}/chartypes.h bashansi.h
0628567a 734 $(RM) $@
ac50fbac 735 ${CC_FOR_BUILD} ${CCFLAGS_FOR_BUILD} ${LDFLAGS_FOR_BUILD} -o $@ ${srcdir}/mksyntax.c ${LIBS_FOR_BUILD}
28ef6c31 736
cce855bc
JA
737# make a list of signals for the local system -- this is done when we're
738# *not* cross-compiling
bb70624e 739lsignames.h: mksignames$(EXEEXT)
ccc6cda3 740 $(RM) $@
95732b49 741 ./mksignames$(EXEEXT) $@
ccc6cda3 742
cce855bc
JA
743# copy the correct signames header file to signames.h
744signames.h: $(SIGNAMES_H)
745 -if cmp -s $(SIGNAMES_H) $@ ; then :; else $(RM) $@ ; $(CP) $(SIGNAMES_H) $@ ; fi
746
28ef6c31
JA
747syntax.c: mksyntax${EXEEXT} $(srcdir)/syntax.h
748 $(RM) $@
95732b49 749 ./mksyntax$(EXEEXT) -o $@
28ef6c31 750
74091dd4 751$(BUILTINS_LIBRARY): $(DEFDIR)/builtext.h $(BUILTIN_DEFS) $(BUILTIN_C_SRC) config.h ${BASHINCDIR}/memalloc.h version.h
ac50fbac 752 @(cd $(DEFDIR) && $(MAKE) $(MFLAGS) DEBUG=${DEBUG} targets ) || exit 1
ccc6cda3
JA
753
754# these require special rules to circumvent make builtin rules
d166f048 755${DEFDIR}/common.o: $(BUILTIN_SRCDIR)/common.c
f73dda09 756 @(cd $(DEFDIR) && $(MAKE) $(MFLAGS) DEBUG=${DEBUG} common.o) || exit 1
ccc6cda3 757
d166f048 758${DEFDIR}/bashgetopt.o: $(BUILTIN_SRCDIR)/bashgetopt.c
f73dda09 759 @(cd $(DEFDIR) && $(MAKE) $(MFLAGS) DEBUG=${DEBUG} bashgetopt.o) || exit 1
ccc6cda3 760
d166f048 761${DEFDIR}/builtext.h: $(BUILTIN_DEFS)
ccc6cda3
JA
762 @(cd $(DEFDIR) && $(MAKE) $(MFLAGS) builtext.h ) || exit 1
763
74091dd4 764${DEFDIR}/pipesize.h: ${BUILTINS_LIBRARY}
8868edaf
CR
765 @(cd $(DEFDIR) && $(MAKE) $(MFLAGS) pipesize.h ) || exit 1
766
a0c0a00f
CR
767$(SDIR)/man2html$(EXEEXT): ${SUPPORT_SRC}/man2html.c
768 @(cd $(SDIR) && $(MAKE) $(MFLAGS) all ) || exit 1
769
ccc6cda3
JA
770# For the justification of the following Makefile rules, see node
771# `Automatic Remaking' in GNU Autoconf documentation.
772
d166f048
JA
773Makefile makefile: config.status $(srcdir)/Makefile.in
774 CONFIG_FILES=Makefile CONFIG_HEADERS= $(SHELL) ./config.status
ccc6cda3
JA
775
776Makefiles makefiles: config.status $(srcdir)/Makefile.in
777 @for mf in $(CREATED_MAKEFILES); do \
8868edaf 778 CONFIG_FILES=$$mf CONFIG_HEADERS= $(SHELL) ./config.status || exit 1; \
ccc6cda3
JA
779 done
780
781config.h: stamp-h
782
b72432fd 783stamp-h: config.status $(srcdir)/config.h.in $(srcdir)/config-top.h $(srcdir)/config-bot.h
ccc6cda3
JA
784 CONFIG_FILES= CONFIG_HEADERS=config.h $(SHELL) ./config.status
785
786config.status: $(srcdir)/configure
787 $(SHELL) ./config.status --recheck
788
3185942a
JA
789pathnames.h: Makefile $(srcdir)/pathnames.h.in
790 @sed -e 's|@DEBUGGER_START_FILE\@|${DEBUGGER_START_FILE}|g' $(srcdir)/pathnames.h.in > pathnames.tmp
791 @if test -f $@; then \
792 cmp -s pathnames.tmp $@ || mv pathnames.tmp $@; \
793 else \
794 mv pathnames.tmp $@; \
795 fi
796 @${RM} pathnames.tmp
797
ccc6cda3 798# comment out for distribution
ac50fbac 799$(srcdir)/configure: $(srcdir)/configure.ac $(srcdir)/aclocal.m4 $(srcdir)/config.h.in
b72432fd
JA
800 cd $(srcdir) && autoconf
801
802# for chet
803reconfig: force
95732b49 804 sh $(srcdir)/configure -C
ccc6cda3 805
a0c0a00f
CR
806loadables:
807 cd $(LOADABLES_DIR) && $(MAKE) $(MFLAGS) all
808
d166f048
JA
809#newversion: mkversion
810# $(RM) .build
811# ./mkversion -dir $(srcdir) -dist
812# mv -f newversion.h version.h
813# $(MAKE) -f $(srcdir)/Makefile $(MFLAGS) srcdir=$(srcdir)
ccc6cda3
JA
814
815doc documentation: force
816 @(cd $(DOCDIR) ; $(MAKE) $(MFLAGS) )
817
818info dvi ps: force
819 @(cd $(DOCDIR) ; $(MAKE) $(MFLAGS) CFLAGS='$(CCFLAGS)' $@ )
820
821force:
822
ac50fbac 823# unused
0628567a 824TAGS: $(SOURCES) $(BUILTIN_C_SRC) $(LIBRARY_SOURCE)
74091dd4 825 ( cd $(topdir) && $(ETAGS) $(ETAGSFLAGS) $(SOURCES) $(BUILTIN_C_SRC) $(LIBRARY_SOURCE) )
ccc6cda3 826
0628567a 827tags: $(SOURCES) $(BUILTIN_C_SRC) $(LIBRARY_SOURCE)
74091dd4 828 ( cd $(topdir) && $(CTAGS) $(CTAGSFLAGS) $(SOURCES) $(BUILTIN_C_SRC) $(LIBRARY_SOURCE) > $@ )
ccc6cda3
JA
829
830# Targets that actually do things not part of the build
831
832installdirs:
b80f6443
JA
833 @${SHELL} $(SUPPORT_SRC)mkinstalldirs $(DESTDIR)$(bindir)
834 @${SHELL} $(SUPPORT_SRC)mkinstalldirs $(DESTDIR)$(man1dir)
835 @${SHELL} $(SUPPORT_SRC)mkinstalldirs $(DESTDIR)$(infodir)
ac50fbac 836 @${SHELL} $(SUPPORT_SRC)mkinstalldirs $(DESTDIR)$(docdir)
b80f6443 837 -( cd $(PO_DIR) ; $(MAKE) $(MFLAGS) DESTDIR=$(DESTDIR) $@ )
ccc6cda3
JA
838
839install: .made installdirs
f73dda09 840 $(INSTALL_PROGRAM) $(INSTALLMODE) $(Program) $(DESTDIR)$(bindir)/$(Program)
7117c2d2 841 $(INSTALL_SCRIPT) $(INSTALLMODE2) bashbug $(DESTDIR)$(bindir)/bashbug
ac50fbac 842 $(INSTALL_DATA) $(OTHER_DOCS) $(DESTDIR)$(docdir)
ccc6cda3
JA
843 -( cd $(DOCDIR) ; $(MAKE) $(MFLAGS) \
844 man1dir=$(man1dir) man1ext=$(man1ext) \
845 man3dir=$(man3dir) man3ext=$(man3ext) \
f73dda09 846 infodir=$(infodir) htmldir=$(htmldir) DESTDIR=$(DESTDIR) $@ )
7117c2d2 847 -( cd $(DEFDIR) ; $(MAKE) $(MFLAGS) DESTDIR=$(DESTDIR) $@ )
b80f6443 848 -( cd $(PO_DIR) ; $(MAKE) $(MFLAGS) DESTDIR=$(DESTDIR) $@ )
a0c0a00f 849 -( cd $(LOADABLES_DIR) && $(MAKE) $(MFLAGS) DESTDIR=$(DESTDIR) $@ )
ccc6cda3
JA
850
851install-strip:
852 $(MAKE) $(MFLAGS) INSTALL_PROGRAM='$(INSTALL_PROGRAM) -s' \
f73dda09
JA
853 prefix=${prefix} exec_prefix=${exec_prefix} \
854 DESTDIR=$(DESTDIR) install
ccc6cda3 855
a0c0a00f
CR
856install-headers-dirs:
857 @${SHELL} $(SUPPORT_SRC)mkinstalldirs $(DESTDIR)$(headersdir)
858 @${SHELL} $(SUPPORT_SRC)mkinstalldirs $(DESTDIR)$(headersdir)/builtins
859 @${SHELL} $(SUPPORT_SRC)mkinstalldirs $(DESTDIR)$(headersdir)/include
d233b485 860 @${SHELL} $(SUPPORT_SRC)mkinstalldirs $(DESTDIR)$(pkgconfigdir)
a0c0a00f
CR
861
862install-headers: install-headers-dirs
863 @for hf in $(INSTALLED_HEADERS) ; do \
8868edaf 864 ${INSTALL_DATA} $(srcdir)/"$$hf" $(DESTDIR)$(headersdir)/$$hf || exit 1; \
a0c0a00f
CR
865 done
866 @for hf in $(INSTALLED_INCFILES) ; do \
8868edaf 867 ${INSTALL_DATA} $(BASHINCDIR)/"$$hf" $(DESTDIR)$(headersdir)/include/$$hf || exit 1; \
a0c0a00f
CR
868 done
869 @for hf in $(INSTALLED_BUILTINS_HEADERS) ; do \
8868edaf 870 ${INSTALL_DATA} $(BUILTIN_SRCDIR)/"$$hf" $(DESTDIR)$(headersdir)/builtins/$$hf || exit 1; \
a0c0a00f
CR
871 done
872 @for hf in $(CREATED_HEADERS) ; do \
8868edaf
CR
873 if test -f $(BUILD_DIR)/"$$hf" ; then \
874 ${INSTALL_DATA} $(BUILD_DIR)/"$$hf" $(DESTDIR)$(headersdir)/$$hf || exit 1; \
875 else \
876 ${INSTALL_DATA} $(srcdir)/"$$hf" $(DESTDIR)$(headersdir)/$$hf || exit 1; \
877 fi ; \
a0c0a00f 878 done
d233b485 879 -$(INSTALL_DATA) $(SDIR)/bash.pc $(DESTDIR)$(pkgconfigdir)/bash.pc
a0c0a00f
CR
880
881uninstall-headers:
882 -( cd $(DESTDIR)$(headersdir) && $(RM) $(INSTALLED_HEADERS) )
883 -( cd $(DESTDIR)$(headersdir)/include && $(RM) $(INSTALLED_INCFILES) )
884 -( cd $(DESTDIR)$(headersdir)/builtins && $(RM) $(INSTALLED_BUILTINS_HEADERS) )
885 -( cd $(DESTDIR)$(headersdir) && $(RM) $(CREATED_HEADERS) )
d233b485 886 -( $(RM) $(DESTDIR)$(pkgconfigdir)/bash.pc )
a0c0a00f 887
ccc6cda3 888uninstall: .made
f73dda09 889 $(RM) $(DESTDIR)$(bindir)/$(Program) $(DESTDIR)$(bindir)/bashbug
ac50fbac 890 -( cd $(DESTDIR)$(docdir) && ${RM} ${OTHER_INSTALLED_DOCS} )
ccc6cda3
JA
891 -( cd $(DOCDIR) ; $(MAKE) $(MFLAGS) \
892 man1dir=$(man1dir) man1ext=$(man1ext) \
893 man3dir=$(man3dir) man3ext=$(man3ext) \
f73dda09 894 infodir=$(infodir) htmldir=$(htmldir) DESTDIR=$(DESTDIR) $@ )
b80f6443 895 -( cd $(PO_DIR) ; $(MAKE) $(MFLAGS) DESTDIR=$(DESTDIR) $@ )
a0c0a00f 896 -( cd $(LOADABLES_DIR) && $(MAKE) $(MFLAGS) DESTDIR=$(DESTDIR) $@ )
ccc6cda3 897
7117c2d2
JA
898.PHONY: basic-clean clean realclean maintainer-clean distclean mostlyclean maybe-clean
899
b80f6443
JA
900LIB_SUBDIRS = ${RL_LIBDIR} ${HIST_LIBDIR} ${TERM_LIBDIR} ${GLOB_LIBDIR} \
901 ${INTL_LIBDIR} ${TILDE_LIBDIR} ${ALLOC_LIBDIR} ${SH_LIBDIR}
902
ccc6cda3
JA
903basic-clean:
904 $(RM) $(OBJECTS) $(Program) bashbug
95732b49 905 $(RM) .build .made version.h
ccc6cda3
JA
906
907clean: basic-clean
908 ( cd $(DOCDIR) && $(MAKE) $(MFLAGS) $@ )
909 ( cd builtins && $(MAKE) $(MFLAGS) $@ )
7117c2d2 910 -( cd $(SDIR) && $(MAKE) $(MFLAGS) $@ )
b80f6443
JA
911 -for libdir in ${LIB_SUBDIRS}; do \
912 (cd $$libdir && test -f Makefile && $(MAKE) $(MFLAGS) $@) ;\
913 done
914 -( cd $(PO_DIR) ; $(MAKE) $(MFLAGS) DESTDIR=$(DESTDIR) $@ )
a0c0a00f 915 -( cd $(LOADABLES_DIR) && $(MAKE) $(MFLAGS) DESTDIR=$(DESTDIR) $@ )
ccc6cda3
JA
916 $(RM) $(CREATED_SUPPORT)
917
918mostlyclean: basic-clean
919 ( cd $(DOCDIR) && $(MAKE) $(MFLAGS) $@ )
920 ( cd builtins && $(MAKE) $(MFLAGS) $@ )
7117c2d2 921 -( cd $(SDIR) && $(MAKE) $(MFLAGS) $@ )
b80f6443
JA
922 -for libdir in ${LIB_SUBDIRS}; do \
923 (cd $$libdir && test -f Makefile && $(MAKE) $(MFLAGS) $@) ;\
924 done
925 -( cd $(PO_DIR) ; $(MAKE) $(MFLAGS) DESTDIR=$(DESTDIR) $@ )
a0c0a00f 926 -( cd $(LOADABLES_DIR) && $(MAKE) $(MFLAGS) DESTDIR=$(DESTDIR) $@ )
ccc6cda3 927
7117c2d2 928distclean: basic-clean maybe-clean
ccc6cda3
JA
929 ( cd $(DOCDIR) && $(MAKE) $(MFLAGS) $@ )
930 ( cd builtins && $(MAKE) $(MFLAGS) $@ )
7117c2d2 931 -( cd $(SDIR) && $(MAKE) $(MFLAGS) $@ )
b80f6443
JA
932 -for libdir in ${LIB_SUBDIRS}; do \
933 (cd $$libdir && test -f Makefile && $(MAKE) $(MFLAGS) $@) ;\
934 done
935 -( cd $(PO_DIR) ; $(MAKE) $(MFLAGS) DESTDIR=$(DESTDIR) $@ )
a0c0a00f 936 -( cd $(LOADABLES_DIR) && $(MAKE) $(MFLAGS) DESTDIR=$(DESTDIR) $@ )
ccc6cda3 937 $(RM) $(CREATED_CONFIGURE) tags TAGS
95732b49 938 $(RM) $(CREATED_SUPPORT) Makefile $(CREATED_MAKEFILES) pathnames.h
ccc6cda3
JA
939
940maintainer-clean: basic-clean
941 @echo This command is intended for maintainers to use.
942 @echo It deletes files that may require special tools to rebuild.
f73dda09 943 $(RM) y.tab.c y.tab.h parser-built tags TAGS
ccc6cda3
JA
944 ( cd $(DOCDIR) && $(MAKE) $(MFLAGS) $@ )
945 ( cd builtins && $(MAKE) $(MFLAGS) $@ )
7117c2d2 946 ( cd $(SDIR) && $(MAKE) $(MFLAGS) $@ )
b80f6443
JA
947 -for libdir in ${LIB_SUBDIRS}; do \
948 (cd $$libdir && test -f Makefile && $(MAKE) $(MFLAGS) $@) ;\
949 done
950 -( cd $(PO_DIR) ; $(MAKE) $(MFLAGS) DESTDIR=$(DESTDIR) $@ )
a0c0a00f 951 -( cd $(LOADABLES_DIR) && $(MAKE) $(MFLAGS) DESTDIR=$(DESTDIR) $@ )
ccc6cda3 952 $(RM) $(CREATED_CONFIGURE) $(CREATED_MAKEFILES)
95732b49 953 $(RM) $(CREATED_SUPPORT) Makefile pathnames.h
ccc6cda3 954
7117c2d2 955maybe-clean:
d233b485 956 -if test X"`cd $(topdir) && pwd -P`" != X"`cd $(BUILD_DIR) && pwd -P`" ; then \
7117c2d2
JA
957 $(RM) parser-built y.tab.c y.tab.h ; \
958 fi
959
bb70624e 960recho$(EXEEXT): $(SUPPORT_SRC)recho.c
ac50fbac 961 @$(CC_FOR_BUILD) $(CCFLAGS_FOR_BUILD) ${LDFLAGS_FOR_BUILD} -o $@ $(SUPPORT_SRC)recho.c ${LIBS_FOR_BUILD}
ccc6cda3 962
bb70624e 963zecho$(EXEEXT): $(SUPPORT_SRC)zecho.c
ac50fbac 964 @$(CC_FOR_BUILD) $(CCFLAGS_FOR_BUILD) ${LDFLAGS_FOR_BUILD} -o $@ $(SUPPORT_SRC)zecho.c ${LIBS_FOR_BUILD}
d166f048 965
bb70624e 966printenv$(EXEEXT): $(SUPPORT_SRC)printenv.c
ac50fbac 967 @$(CC_FOR_BUILD) $(CCFLAGS_FOR_BUILD) ${LDFLAGS_FOR_BUILD} -o $@ $(SUPPORT_SRC)printenv.c ${LIBS_FOR_BUILD}
ccc6cda3 968
3185942a 969xcase$(EXEEXT): $(SUPPORT_SRC)xcase.c
ac50fbac 970 @$(CC_FOR_BUILD) $(CCFLAGS_FOR_BUILD) ${LDFLAGS_FOR_BUILD} -o $@ $(SUPPORT_SRC)xcase.c ${LIBS_FOR_BUILD}
3185942a 971
f73dda09 972test tests check: force $(Program) $(TESTS_SUPPORT)
ccc6cda3 973 @-test -d tests || mkdir tests
d166f048 974 @cp $(TESTS_SUPPORT) tests
ccc6cda3 975 @( cd $(srcdir)/tests && \
8868edaf 976 BUILD_DIR=$(BUILD_DIR) PATH=$(BUILD_DIR)/tests:$$PATH THIS_SH=$(THIS_SH) $(SHELL) ${TESTSCRIPT} )
ccc6cda3
JA
977
978symlinks:
979 $(SHELL) $(SUPPORT_SRC)fixlinks -s $(srcdir)
980
981dist: force
982 @echo Bash distributions are created using $(srcdir)/support/mkdist.
983 @echo Here is a sample of the necessary commands:
a0c0a00f
CR
984 @echo $(Program) $(srcdir)/support/mkdist -m $(srcdir)/MANIFEST -s $(srcdir) -r ${PACKAGE} -t $(PACKAGE_VERSION)
985
986xdist: force
987 ( cd $(DOCDIR) && $(MAKE) $(MFLAGS) $@ )
988 ( cd po && $(MAKE) $(MFLAGS) $@ )
d166f048
JA
989
990depend: depends
991
bb70624e 992depends: force
d166f048 993 $(Program) $(SUPPORT_SRC)mkdep -c ${CC} -- ${CCFLAGS} ${CSOURCES}
ccc6cda3 994
f73dda09
JA
995#### PRIVATE TARGETS ####
996hashtest: hashlib.c
8868edaf 997 $(CC) -DTEST_HASHING $(CCFLAGS) $(TEST_NBUCKETS) -o $@ $(srcdir)/hashlib.c xmalloc.o $(INTL_LIB) $(MALLOC_LIBRARY)
f73dda09 998
ccc6cda3
JA
999############################ DEPENDENCIES ###############################
1000
b72432fd 1001# Files that depend on the definitions in config-top.h, which are not meant
ccc6cda3 1002# to be changed
8868edaf 1003array.o: $(srcdir)/config-top.h
74091dd4 1004array2.o: $(srcdir)/config-top.h
8868edaf
CR
1005bashhist.o: $(srcdir)/config-top.h
1006shell.o: $(srcdir)/config-top.h
1007input.o: $(srcdir)/config-top.h
1008y.tab.o: $(srcdir)/config-top.h
1009jobs.o: $(srcdir)/config-top.h
1010nojobs.o: $(srcdir)/config-top.h
1011execute_cmd.o: $(srcdir)/config-top.h
1012variables.o: $(srcdir)/config-top.h
1013findcmd.o: $(srcdir)/config-top.h
1014subst.o: $(srcdir)/config-top.h
1015builtins/cd.o: $(srcdir)/config-top.h
1016builtins/command.o: $(srcdir)/config-top.h
1017builtins/common.o: $(srcdir)/config-top.h
1018builtins/declare.o: $(srcdir)/config-top.h
1019builtins/break.o: $(srcdir)/config-top.h
1020builtins/echo.o: $(srcdir)/config-top.h
1021builtins/evalstring.o: $(srcdir)/config-top.h
1022builtins/exit.o: $(srcdir)/config-top.h
1023builtins/kill.o: $(srcdir)/config-top.h
1024builtins/shopt.o: $(srcdir)/config-top.h
1025
1026# XXX
1027${SH_LIBDIR}/tmpfile.o: $(srcdir)/config-top.h
d166f048
JA
1028
1029# shell basics
28ef6c31 1030copy_cmd.o: shell.h syntax.h config.h bashjmp.h ${BASHINCDIR}/posixjmp.h command.h ${BASHINCDIR}/stdc.h error.h
f73dda09 1031copy_cmd.o: general.h xmalloc.h bashtypes.h variables.h arrayfunc.h conftypes.h array.h hashlib.h
bb70624e 1032copy_cmd.o: quit.h ${BASHINCDIR}/maxpath.h unwind_prot.h dispose_cmd.h
d166f048 1033copy_cmd.o: make_cmd.h subst.h sig.h pathnames.h externs.h
8868edaf 1034copy_cmd.o: bashansi.h assoc.h $(BASHINCDIR)/ocache.h $(BASHINCDIR)/chartypes.h
bb70624e 1035dispose_cmd.o: bashansi.h ${BASHINCDIR}/ansi_stdlib.h
28ef6c31 1036dispose_cmd.o: shell.h syntax.h config.h bashjmp.h ${BASHINCDIR}/posixjmp.h command.h ${BASHINCDIR}/stdc.h
f73dda09 1037dispose_cmd.o: error.h general.h xmalloc.h bashtypes.h variables.h arrayfunc.h conftypes.h array.h hashlib.h
bb70624e 1038dispose_cmd.o: quit.h ${BASHINCDIR}/maxpath.h unwind_prot.h dispose_cmd.h
d166f048 1039dispose_cmd.o: make_cmd.h subst.h sig.h pathnames.h externs.h
7117c2d2 1040dispose_cmd.o: ${BASHINCDIR}/ocache.h
8868edaf 1041dispose_cmd.o: assoc.h ${BASHINCDIR}/chartypes.h
bb70624e 1042error.o: config.h bashtypes.h bashansi.h ${BASHINCDIR}/ansi_stdlib.h flags.h ${BASHINCDIR}/stdc.h error.h
f73dda09 1043error.o: command.h general.h xmalloc.h externs.h input.h bashhist.h
b80f6443
JA
1044error.o: shell.h syntax.h config.h bashjmp.h ${BASHINCDIR}/posixjmp.h command.h ${BASHINCDIR}/stdc.h error.h
1045error.o: general.h xmalloc.h bashtypes.h variables.h arrayfunc.h conftypes.h array.h hashlib.h
1046error.o: quit.h ${BASHINCDIR}/maxpath.h unwind_prot.h dispose_cmd.h
d233b485 1047error.o: make_cmd.h subst.h sig.h pathnames.h externs.h execute_cmd.h
b80f6443 1048error.o: input.h execute_cmd.h
8868edaf 1049error.o: $(BASHINCDIR)/ocache.h $(BASHINCDIR)/chartypes.h assoc.h
bb70624e 1050eval.o: config.h bashansi.h ${BASHINCDIR}/ansi_stdlib.h trap.h flags.h ${DEFSRC}/common.h
28ef6c31 1051eval.o: shell.h syntax.h config.h bashjmp.h ${BASHINCDIR}/posixjmp.h command.h ${BASHINCDIR}/stdc.h error.h
f73dda09 1052eval.o: general.h xmalloc.h bashtypes.h variables.h arrayfunc.h conftypes.h array.h hashlib.h
bb70624e 1053eval.o: quit.h ${BASHINCDIR}/maxpath.h unwind_prot.h dispose_cmd.h
d233b485 1054eval.o: make_cmd.h subst.h sig.h pathnames.h externs.h parser.h
b80f6443 1055eval.o: input.h execute_cmd.h
8868edaf 1056eval.o: bashhist.h assoc.h ${BASHINCDIR}/ocache.h ${BASHINCDIR}/chartypes.h
bb70624e 1057execute_cmd.o: config.h bashtypes.h ${BASHINCDIR}/filecntl.h ${BASHINCDIR}/posixstat.h bashansi.h ${BASHINCDIR}/ansi_stdlib.h
28ef6c31 1058execute_cmd.o: shell.h syntax.h config.h bashjmp.h ${BASHINCDIR}/posixjmp.h command.h ${BASHINCDIR}/stdc.h error.h
f73dda09 1059execute_cmd.o: general.h xmalloc.h bashtypes.h variables.h arrayfunc.h conftypes.h array.h hashlib.h
bb70624e 1060execute_cmd.o: quit.h ${BASHINCDIR}/maxpath.h unwind_prot.h dispose_cmd.h
d233b485 1061execute_cmd.o: make_cmd.h subst.h sig.h pathnames.h externs.h parser.h
bb70624e 1062execute_cmd.o: ${BASHINCDIR}/memalloc.h ${GRAM_H} flags.h builtins.h jobs.h quit.h siglist.h
cce855bc 1063execute_cmd.o: execute_cmd.h findcmd.h redir.h trap.h test.h pathexp.h
f73dda09
JA
1064execute_cmd.o: $(DEFSRC)/common.h ${DEFDIR}/builtext.h ${GLOB_LIBSRC}/strmatch.h
1065execute_cmd.o: ${BASHINCDIR}/posixtime.h ${BASHINCDIR}/chartypes.h
a0c0a00f 1066execute_cmd.o: $(DEFSRC)/getopt.h
8868edaf
CR
1067execute_cmd.o: bashhist.h input.h ${GRAM_H} assoc.h hashcmd.h alias.h
1068execute_cmd.o: ${BASHINCDIR}/ocache.h ${BASHINCDIR}/posixwait.h
b80f6443 1069expr.o: config.h bashansi.h ${BASHINCDIR}/ansi_stdlib.h
28ef6c31 1070expr.o: shell.h syntax.h config.h bashjmp.h ${BASHINCDIR}/posixjmp.h command.h ${BASHINCDIR}/stdc.h error.h
f73dda09 1071expr.o: general.h xmalloc.h bashtypes.h variables.h arrayfunc.h conftypes.h array.h hashlib.h
bb70624e 1072expr.o: quit.h ${BASHINCDIR}/maxpath.h unwind_prot.h dispose_cmd.h
d233b485 1073expr.o: make_cmd.h subst.h sig.h pathnames.h externs.h flags.h execute_cmd.h
f73dda09 1074expr.o: ${BASHINCDIR}/chartypes.h
8868edaf 1075expr.o: assoc.h ${BASHINCDIR}/ocache.h ${BASHINCDIR}/typemax.h
bb70624e 1076findcmd.o: config.h bashtypes.h ${BASHINCDIR}/filecntl.h ${BASHINCDIR}/posixstat.h bashansi.h
28ef6c31 1077findcmd.o: ${BASHINCDIR}/ansi_stdlib.h ${BASHINCDIR}/memalloc.h shell.h syntax.h bashjmp.h ${BASHINCDIR}/posixjmp.h command.h
f73dda09 1078findcmd.o: ${BASHINCDIR}/stdc.h error.h general.h xmalloc.h variables.h arrayfunc.h conftypes.h quit.h ${BASHINCDIR}/maxpath.h unwind_prot.h
cce855bc 1079findcmd.o: dispose_cmd.h make_cmd.h subst.h sig.h pathnames.h externs.h
d233b485 1080findcmd.o: flags.h hashlib.h pathexp.h hashcmd.h execute_cmd.h
f73dda09 1081findcmd.o: ${BASHINCDIR}/chartypes.h
b80f6443 1082flags.o: config.h flags.h
28ef6c31 1083flags.o: shell.h syntax.h config.h bashjmp.h ${BASHINCDIR}/posixjmp.h command.h ${BASHINCDIR}/stdc.h error.h
f73dda09 1084flags.o: general.h xmalloc.h bashtypes.h variables.h arrayfunc.h conftypes.h array.h hashlib.h
d233b485 1085flags.o: quit.h ${BASHINCDIR}/maxpath.h unwind_prot.h dispose_cmd.h execute_cmd.h
f73dda09 1086flags.o: make_cmd.h subst.h sig.h pathnames.h externs.h bashhist.h
8868edaf 1087flags.o: ${BASHINCDIR}/ocache.h ${BASHINCDIR}/chartypes.h bashansi.h assoc.h
bb70624e 1088general.o: config.h bashtypes.h ${BASHINCDIR}/posixstat.h ${BASHINCDIR}/filecntl.h bashansi.h ${BASHINCDIR}/ansi_stdlib.h
28ef6c31 1089general.o: shell.h syntax.h config.h bashjmp.h ${BASHINCDIR}/posixjmp.h command.h ${BASHINCDIR}/stdc.h error.h
f73dda09 1090general.o: general.h xmalloc.h bashtypes.h variables.h arrayfunc.h conftypes.h array.h hashlib.h
bb70624e 1091general.o: quit.h ${BASHINCDIR}/maxpath.h unwind_prot.h dispose_cmd.h
d233b485 1092general.o: make_cmd.h subst.h sig.h pathnames.h externs.h flags.h parser.h
8868edaf 1093general.o: pathexp.h
bb70624e 1094general.o: ${BASHINCDIR}/maxpath.h ${BASHINCDIR}/posixtime.h
f73dda09 1095general.o: ${BASHINCDIR}/chartypes.h
8868edaf
CR
1096general.o: trap.h input.h assoc.h test.h findcmd.h
1097general.o: ${BASHINCDIR}/ocache.h $(DEFSRC)/common.h
bb70624e 1098hashcmd.o: config.h ${BASHINCDIR}/posixstat.h bashtypes.h bashansi.h ${BASHINCDIR}/ansi_stdlib.h
28ef6c31 1099hashcmd.o: shell.h syntax.h config.h bashjmp.h ${BASHINCDIR}/posixjmp.h command.h ${BASHINCDIR}/stdc.h error.h
f73dda09 1100hashcmd.o: general.h xmalloc.h bashtypes.h variables.h arrayfunc.h conftypes.h array.h hashcmd.h
0001803f 1101hashcmd.o: execute_cmd.h findcmd.h ${BASHINCDIR}/stdc.h pathnames.h hashlib.h
d233b485 1102hashcmd.o: quit.h sig.h flags.h
bb70624e 1103hashlib.o: config.h bashansi.h ${BASHINCDIR}/ansi_stdlib.h
28ef6c31 1104hashlib.o: shell.h syntax.h config.h bashjmp.h ${BASHINCDIR}/posixjmp.h command.h ${BASHINCDIR}/stdc.h error.h
f73dda09 1105hashlib.o: general.h xmalloc.h bashtypes.h variables.h arrayfunc.h conftypes.h array.h hashlib.h
bb70624e 1106hashlib.o: quit.h ${BASHINCDIR}/maxpath.h unwind_prot.h dispose_cmd.h
b80f6443 1107hashlib.o: make_cmd.h subst.h sig.h pathnames.h externs.h
8868edaf 1108hashlib.o: assoc.h ${BASHINCDIR}/ocache.h ${BASHINCDIR}/chartypes.h
bb70624e 1109input.o: config.h bashtypes.h ${BASHINCDIR}/filecntl.h ${BASHINCDIR}/posixstat.h bashansi.h ${BASHINCDIR}/ansi_stdlib.h
f73dda09 1110input.o: command.h ${BASHINCDIR}/stdc.h general.h xmalloc.h input.h error.h externs.h
d233b485 1111input.o: quit.h shell.h pathnames.h
28ef6c31 1112list.o: shell.h syntax.h config.h bashjmp.h ${BASHINCDIR}/posixjmp.h command.h ${BASHINCDIR}/stdc.h error.h
f73dda09 1113list.o: general.h xmalloc.h bashtypes.h variables.h arrayfunc.h conftypes.h array.h hashlib.h
bb70624e 1114list.o: quit.h ${BASHINCDIR}/maxpath.h unwind_prot.h dispose_cmd.h
b80f6443 1115list.o: make_cmd.h subst.h sig.h pathnames.h externs.h
8868edaf
CR
1116list.o: ${BASHINCDIR}/ocache.h ${BASHINCDIR}/chartypes.h bashansi.h assoc.h
1117locale.o: config.h bashtypes.h bashansi.h ${BASHINCDIR}/ansi_stdlib.h
28ef6c31 1118locale.o: shell.h syntax.h config.h bashjmp.h ${BASHINCDIR}/posixjmp.h command.h ${BASHINCDIR}/stdc.h error.h
f73dda09 1119locale.o: general.h xmalloc.h bashtypes.h variables.h arrayfunc.h conftypes.h array.h hashlib.h
bb70624e 1120locale.o: quit.h ${BASHINCDIR}/maxpath.h unwind_prot.h dispose_cmd.h
b80f6443 1121locale.o: make_cmd.h subst.h sig.h pathnames.h externs.h
f73dda09 1122locale.o: ${BASHINCDIR}/chartypes.h
8868edaf 1123locale.o: input.h assoc.h ${BASHINCDIR}/ocache.h
bb70624e 1124mailcheck.o: config.h bashtypes.h ${BASHINCDIR}/posixstat.h bashansi.h ${BASHINCDIR}/ansi_stdlib.h
f73dda09 1125mailcheck.o: ${BASHINCDIR}/posixtime.h
28ef6c31 1126mailcheck.o: shell.h syntax.h config.h bashjmp.h ${BASHINCDIR}/posixjmp.h command.h ${BASHINCDIR}/stdc.h error.h
f73dda09 1127mailcheck.o: general.h xmalloc.h bashtypes.h variables.h arrayfunc.h conftypes.h array.h hashlib.h
bb70624e 1128mailcheck.o: quit.h ${BASHINCDIR}/maxpath.h unwind_prot.h dispose_cmd.h
d166f048 1129mailcheck.o: make_cmd.h subst.h sig.h pathnames.h externs.h
b80f6443 1130mailcheck.o: execute_cmd.h mailcheck.h
8868edaf 1131mailcheck.o: ${BASHINCDIR}/ocache.h ${BASHINCDIR}/chartypes.h assoc.h
bb70624e 1132make_cmd.o: config.h bashtypes.h ${BASHINCDIR}/filecntl.h bashansi.h
f73dda09
JA
1133make_cmd.o: command.h ${BASHINCDIR}/stdc.h general.h xmalloc.h error.h flags.h make_cmd.h
1134make_cmd.o: variables.h arrayfunc.h conftypes.h array.h hashlib.h subst.h input.h externs.h
a0c0a00f 1135make_cmd.o: jobs.h quit.h sig.h siglist.h syntax.h dispose_cmd.h parser.h
495aee44 1136make_cmd.o: ${BASHINCDIR}/shmbutil.h ${BASHINCDIR}/shmbchar.h ${BASHINCDIR}/ocache.h
d233b485 1137make_cmd.o: shell.h execute_cmd.h pathnames.h
8868edaf
CR
1138make_cmd.o: $(BASHINCDIR)/maxpath.h make_cmd.c assoc.h $(BASHINCDIR)/chartypes.h
1139make_cmd.o: unwind_prot.h $(BASHINCDIR)/posixjmp.h bashjmp.h $(BASHINCDIR)/posixwait.h
bb70624e 1140y.tab.o: config.h bashtypes.h bashansi.h ${BASHINCDIR}/ansi_stdlib.h ${BASHINCDIR}/memalloc.h
28ef6c31 1141y.tab.o: shell.h syntax.h config.h bashjmp.h ${BASHINCDIR}/posixjmp.h command.h ${BASHINCDIR}/stdc.h error.h
f73dda09 1142y.tab.o: general.h xmalloc.h bashtypes.h variables.h arrayfunc.h conftypes.h array.h hashlib.h
bb70624e 1143y.tab.o: quit.h ${BASHINCDIR}/maxpath.h unwind_prot.h dispose_cmd.h
d233b485 1144y.tab.o: make_cmd.h subst.h sig.h pathnames.h externs.h test.h execute_cmd.o
d166f048
JA
1145y.tab.o: trap.h flags.h parser.h input.h mailcheck.h $(DEFSRC)/common.h
1146y.tab.o: $(DEFDIR)/builtext.h bashline.h bashhist.h jobs.h siglist.h alias.h
8868edaf
CR
1147y.tab.o: ${BASHINCDIR}/typemax.h assoc.h ${BASHINCDIR}/ocache.h
1148y.tab.o: ${BASHINCDIR}/shmbutil.h ${BASHINCDIR}/shmbchar.h ${BASHINCDIR}/posixwait.h
bb70624e 1149pathexp.o: config.h bashtypes.h bashansi.h ${BASHINCDIR}/ansi_stdlib.h
28ef6c31 1150pathexp.o: shell.h syntax.h config.h bashjmp.h ${BASHINCDIR}/posixjmp.h command.h ${BASHINCDIR}/stdc.h error.h
f73dda09 1151pathexp.o: general.h xmalloc.h bashtypes.h variables.h arrayfunc.h conftypes.h array.h hashlib.h
bb70624e 1152pathexp.o: quit.h ${BASHINCDIR}/maxpath.h unwind_prot.h dispose_cmd.h
ccc6cda3 1153pathexp.o: make_cmd.h subst.h sig.h pathnames.h externs.h
d166f048 1154pathexp.o: pathexp.h flags.h
f73dda09 1155pathexp.o: $(GLOB_LIBSRC)/glob.h $(GLOB_LIBSRC)/strmatch.h
495aee44 1156pathexp.o: ${BASHINCDIR}/shmbutil.h ${BASHINCDIR}/shmbchar.h
8868edaf 1157pathexp.o: ${BASHINCDIR}/ocache.h ${BASHINCDIR}/chartypes.h assoc.h
bb70624e 1158print_cmd.o: config.h bashansi.h ${BASHINCDIR}/ansi_stdlib.h
28ef6c31 1159print_cmd.o: shell.h syntax.h config.h bashjmp.h ${BASHINCDIR}/posixjmp.h command.h ${BASHINCDIR}/stdc.h error.h
f73dda09 1160print_cmd.o: general.h xmalloc.h bashtypes.h variables.h arrayfunc.h conftypes.h array.h hashlib.h
bb70624e 1161print_cmd.o: quit.h ${BASHINCDIR}/maxpath.h unwind_prot.h dispose_cmd.h
b80f6443 1162print_cmd.o: make_cmd.h subst.h sig.h pathnames.h externs.h
a0c0a00f 1163print_cmd.o: ${BASHINCDIR}/shmbutil.h ${BASHINCDIR}/shmbchar.h
d166f048 1164print_cmd.o: ${GRAM_H} $(DEFSRC)/common.h
8868edaf
CR
1165print_cmd.o: flags.h input.h assoc.h
1166print_cmd.o: $(BASHINCDIR)/ocache.h $(BASHINCDIR)/chartypes.h
bb70624e 1167redir.o: config.h bashtypes.h ${BASHINCDIR}/posixstat.h bashansi.h ${BASHINCDIR}/ansi_stdlib.h ${BASHINCDIR}/filecntl.h
28ef6c31 1168redir.o: ${BASHINCDIR}/memalloc.h shell.h syntax.h bashjmp.h ${BASHINCDIR}/posixjmp.h command.h ${BASHINCDIR}/stdc.h error.h
f73dda09 1169redir.o: general.h xmalloc.h variables.h arrayfunc.h conftypes.h array.h hashlib.h quit.h ${BASHINCDIR}/maxpath.h unwind_prot.h
b80f6443 1170redir.o: dispose_cmd.h make_cmd.h subst.h sig.h pathnames.h externs.h
cce855bc 1171redir.o: flags.h execute_cmd.h redir.h input.h
8868edaf
CR
1172redir.o: ${DEFDIR}/pipesize.h
1173redir.o: trap.h assoc.h $(BASHINCDIR)/ocache.h $(BASHINCDIR)/chartypes.h
bb70624e 1174shell.o: config.h bashtypes.h ${BASHINCDIR}/posixstat.h bashansi.h ${BASHINCDIR}/ansi_stdlib.h ${BASHINCDIR}/filecntl.h
28ef6c31 1175shell.o: shell.h syntax.h config.h bashjmp.h ${BASHINCDIR}/posixjmp.h command.h ${BASHINCDIR}/stdc.h error.h
f73dda09 1176shell.o: general.h xmalloc.h bashtypes.h variables.h arrayfunc.h conftypes.h array.h hashlib.h
bb70624e 1177shell.o: quit.h ${BASHINCDIR}/maxpath.h unwind_prot.h dispose_cmd.h
d233b485 1178shell.o: make_cmd.h subst.h sig.h pathnames.h externs.h parser.h
d166f048 1179shell.o: flags.h trap.h mailcheck.h builtins.h $(DEFSRC)/common.h
3185942a 1180shell.o: jobs.h siglist.h input.h execute_cmd.h findcmd.h bashhist.h bashline.h
8868edaf
CR
1181shell.o: ${GLOB_LIBSRC}/strmatch.h ${BASHINCDIR}/posixtime.h ${BASHINCDIR}/posixwait.h
1182shell.o: ${BASHINCDIR}/ocache.h ${BASHINCDIR}/chartypes.h assoc.h alias.h
d166f048 1183sig.o: config.h bashtypes.h
28ef6c31 1184sig.o: shell.h syntax.h config.h bashjmp.h ${BASHINCDIR}/posixjmp.h command.h ${BASHINCDIR}/stdc.h error.h
f73dda09 1185sig.o: general.h xmalloc.h bashtypes.h variables.h arrayfunc.h conftypes.h array.h hashlib.h
bb70624e 1186sig.o: quit.h ${BASHINCDIR}/maxpath.h unwind_prot.h dispose_cmd.h
d233b485 1187sig.o: make_cmd.h subst.h sig.h pathnames.h externs.h execute_cmd.h
d166f048 1188sig.o: jobs.h siglist.h trap.h $(DEFSRC)/common.h bashline.h bashhist.h
ac50fbac 1189sig.o: ${DEFDIR}/builtext.h
0001803f 1190siglist.o: config.h bashtypes.h siglist.h trap.h
f73dda09 1191stringlib.o: bashtypes.h ${BASHINCDIR}/chartypes.h
28ef6c31 1192stringlib.o: shell.h syntax.h config.h bashjmp.h ${BASHINCDIR}/posixjmp.h command.h ${BASHINCDIR}/stdc.h error.h
f73dda09 1193stringlib.o: general.h xmalloc.h bashtypes.h variables.h arrayfunc.h conftypes.h array.h hashlib.h
bb70624e 1194stringlib.o: quit.h ${BASHINCDIR}/maxpath.h unwind_prot.h dispose_cmd.h
b80f6443 1195stringlib.o: make_cmd.h subst.h sig.h pathnames.h externs.h
8868edaf 1196stringlib.o: bashansi.h pathexp.h assoc.h $(BASHINCDIR)/ocache.h
f73dda09 1197stringlib.o: ${GLOB_LIBSRC}/glob.h ${GLOB_LIBSRC}/strmatch.h
bb70624e 1198subst.o: config.h bashtypes.h bashansi.h ${BASHINCDIR}/ansi_stdlib.h ${BASHINCDIR}/posixstat.h
28ef6c31 1199subst.o: shell.h syntax.h config.h bashjmp.h ${BASHINCDIR}/posixjmp.h command.h ${BASHINCDIR}/stdc.h error.h
f73dda09 1200subst.o: general.h xmalloc.h bashtypes.h variables.h arrayfunc.h conftypes.h array.h hashlib.h
bb70624e 1201subst.o: quit.h ${BASHINCDIR}/maxpath.h unwind_prot.h dispose_cmd.h
495aee44 1202subst.o: make_cmd.h subst.h sig.h pathnames.h externs.h parser.h
bb70624e 1203subst.o: flags.h jobs.h siglist.h execute_cmd.h ${BASHINCDIR}/filecntl.h trap.h pathexp.h
d166f048 1204subst.o: mailcheck.h input.h $(DEFSRC)/getopt.h $(DEFSRC)/common.h
f73dda09
JA
1205subst.o: bashline.h bashhist.h ${GLOB_LIBSRC}/strmatch.h
1206subst.o: ${BASHINCDIR}/chartypes.h
495aee44 1207subst.o: ${BASHINCDIR}/shmbutil.h ${BASHINCDIR}/shmbchar.h
0001803f 1208subst.o: ${DEFDIR}/builtext.h
bb70624e 1209test.o: bashtypes.h ${BASHINCDIR}/posixstat.h ${BASHINCDIR}/filecntl.h
28ef6c31 1210test.o: shell.h syntax.h config.h bashjmp.h ${BASHINCDIR}/posixjmp.h command.h ${BASHINCDIR}/stdc.h error.h
f73dda09 1211test.o: general.h xmalloc.h bashtypes.h variables.h arrayfunc.h conftypes.h array.h hashlib.h
bb70624e 1212test.o: quit.h ${BASHINCDIR}/maxpath.h unwind_prot.h dispose_cmd.h
cce855bc 1213test.o: make_cmd.h subst.h sig.h pathnames.h externs.h test.h
8868edaf
CR
1214test.o: ${BASHINCDIR}/stat-time.h ${BASHINCDIR}/ocache.h ${BASHINCDIR}/chartypes.h
1215test.o: $(GLOB_LIBSRC)/strmatch.h bashansi.h pathexp.h assoc.h
b80f6443 1216test.o: ${DEFSRC}/common.h
bb70624e 1217trap.o: config.h bashtypes.h trap.h bashansi.h ${BASHINCDIR}/ansi_stdlib.h
28ef6c31 1218trap.o: shell.h syntax.h config.h bashjmp.h ${BASHINCDIR}/posixjmp.h command.h ${BASHINCDIR}/stdc.h error.h
f73dda09 1219trap.o: general.h xmalloc.h bashtypes.h variables.h arrayfunc.h conftypes.h array.h hashlib.h
d233b485
CR
1220trap.o: quit.h ${BASHINCDIR}/maxpath.h unwind_prot.h dispose_cmd.h parser.h
1221trap.o: make_cmd.h subst.h sig.h pathnames.h externs.h execute_cmd.h
d166f048 1222trap.o: signames.h $(DEFSRC)/common.h
74091dd4 1223trap.o: ${DEFDIR}/builtext.h builtins.h jobs.h
bb70624e 1224unwind_prot.o: config.h bashtypes.h bashansi.h ${BASHINCDIR}/ansi_stdlib.h command.h ${BASHINCDIR}/stdc.h
f73dda09 1225unwind_prot.o: general.h xmalloc.h unwind_prot.h quit.h sig.h
8868edaf 1226unwind_prot.o: ${BASHINCDIR}/ocache.h ${BASHINCDIR}/chartypes.h error.h
bb70624e 1227variables.o: config.h bashtypes.h ${BASHINCDIR}/posixstat.h bashansi.h ${BASHINCDIR}/ansi_stdlib.h
28ef6c31 1228variables.o: shell.h syntax.h config.h bashjmp.h ${BASHINCDIR}/posixjmp.h command.h ${BASHINCDIR}/stdc.h error.h
f73dda09 1229variables.o: general.h xmalloc.h bashtypes.h variables.h arrayfunc.h conftypes.h array.h hashlib.h
bb70624e 1230variables.o: quit.h ${BASHINCDIR}/maxpath.h unwind_prot.h dispose_cmd.h
d233b485 1231variables.o: make_cmd.h subst.h sig.h pathnames.h externs.h parser.h
cce855bc 1232variables.o: flags.h execute_cmd.h mailcheck.h input.h $(DEFSRC)/common.h
f73dda09 1233variables.o: findcmd.h bashhist.h hashcmd.h pathexp.h
b80f6443 1234variables.o: pcomplete.h ${BASHINCDIR}/chartypes.h
8868edaf 1235variables.o: ${BASHINCDIR}/posixtime.h assoc.h ${DEFSRC}/getopt.h
ac50fbac 1236variables.o: version.h $(DEFDIR)/builtext.h
8868edaf 1237version.o: conftypes.h patchlevel.h version.h
bb70624e 1238xmalloc.o: config.h bashtypes.h ${BASHINCDIR}/ansi_stdlib.h error.h
8868edaf 1239xmalloc.o: ${BASHINCDIR}/stdc.h $(ALLOC_LIBSRC)/shmalloc.h
d166f048
JA
1240
1241# job control
1242
bb70624e 1243jobs.o: config.h bashtypes.h trap.h ${BASHINCDIR}/filecntl.h input.h ${BASHINCDIR}/shtty.h
8868edaf 1244jobs.o: bashansi.h ${BASHINCDIR}/ansi_stdlib.h assoc.h
28ef6c31 1245jobs.o: shell.h syntax.h config.h bashjmp.h ${BASHINCDIR}/posixjmp.h command.h ${BASHINCDIR}/stdc.h error.h
f73dda09 1246jobs.o: general.h xmalloc.h bashtypes.h variables.h arrayfunc.h conftypes.h array.h hashlib.h
d233b485 1247jobs.o: quit.h ${BASHINCDIR}/maxpath.h unwind_prot.h dispose_cmd.h parser.h
0001803f 1248jobs.o: execute_cmd.h make_cmd.h subst.h sig.h pathnames.h externs.h
d166f048 1249jobs.o: jobs.h flags.h $(DEFSRC)/common.h $(DEFDIR)/builtext.h
bb70624e 1250jobs.o: ${BASHINCDIR}/posixwait.h ${BASHINCDIR}/unionwait.h
f73dda09 1251jobs.o: ${BASHINCDIR}/posixtime.h
8868edaf 1252jobs.o: $(BASHINCDIR)/ocache.h $(BASHINCDIR)/chartypes.h $(BASHINCDIR)/typemax.h
bb70624e 1253nojobs.o: config.h bashtypes.h ${BASHINCDIR}/filecntl.h bashjmp.h ${BASHINCDIR}/posixjmp.h
f73dda09 1254nojobs.o: command.h ${BASHINCDIR}/stdc.h general.h xmalloc.h jobs.h quit.h siglist.h externs.h
d233b485 1255nojobs.o: sig.h error.h ${BASHINCDIR}/shtty.h input.h parser.h
3185942a 1256nojobs.o: $(DEFDIR)/builtext.h
8868edaf 1257nojobs.o: $(BASHINCDIR)/ocache.h $(BASHINCDIR)/chartypes.h $(BASHINCDIR)/typemax.h
d166f048
JA
1258
1259# shell features that may be compiled in
1260
bb70624e 1261array.o: config.h bashansi.h ${BASHINCDIR}/ansi_stdlib.h
28ef6c31 1262array.o: shell.h syntax.h config.h bashjmp.h ${BASHINCDIR}/posixjmp.h command.h ${BASHINCDIR}/stdc.h error.h
f73dda09 1263array.o: general.h xmalloc.h bashtypes.h variables.h arrayfunc.h conftypes.h array.h hashlib.h
bb70624e 1264array.o: quit.h ${BASHINCDIR}/maxpath.h unwind_prot.h dispose_cmd.h
b80f6443 1265array.o: make_cmd.h subst.h sig.h pathnames.h externs.h
8868edaf 1266array.o: $(BASHINCDIR)/ocache.h $(BASHINCDIR)/chartypes.h
d166f048 1267array.o: $(DEFSRC)/common.h
74091dd4
CR
1268array2.o: config.h bashansi.h ${BASHINCDIR}/ansi_stdlib.h
1269array2.o: shell.h syntax.h config.h bashjmp.h ${BASHINCDIR}/posixjmp.h command.h ${BASHINCDIR}/stdc.h error.h
1270array2.o: general.h xmalloc.h bashtypes.h variables.h arrayfunc.h conftypes.h array.h hashlib.h
1271array2.o: quit.h ${BASHINCDIR}/maxpath.h unwind_prot.h dispose_cmd.h
1272array2.o: make_cmd.h subst.h sig.h pathnames.h externs.h
1273array2.o: $(BASHINCDIR)/ocache.h $(BASHINCDIR)/chartypes.h
1274array2.o: $(DEFSRC)/common.h
f73dda09
JA
1275arrayfunc.o: config.h bashansi.h ${BASHINCDIR}/ansi_stdlib.h
1276arrayfunc.o: shell.h syntax.h config.h bashjmp.h ${BASHINCDIR}/posixjmp.h command.h ${BASHINCDIR}/stdc.h error.h
1277arrayfunc.o: general.h xmalloc.h bashtypes.h variables.h arrayfunc.h conftypes.h array.h hashlib.h
1278arrayfunc.o: quit.h ${BASHINCDIR}/maxpath.h unwind_prot.h dispose_cmd.h
0001803f 1279arrayfunc.o: make_cmd.h subst.h sig.h pathnames.h externs.h pathexp.h
d233b485 1280arrayfunc.o: execute_cmd.h
8868edaf 1281arrayfunc.o: assoc.h $(BASHINCDIR)/ocache.h $(BASHINCDIR)/chartypes.h
f73dda09 1282arrayfunc.o: $(DEFSRC)/common.h
495aee44 1283arrayfunc.o: ${BASHINCDIR}/shmbutil.h ${BASHINCDIR}/shmbchar.h
3185942a
JA
1284assoc.o: config.h bashansi.h ${BASHINCDIR}/ansi_stdlib.h
1285assoc.o: shell.h syntax.h config.h bashjmp.h ${BASHINCDIR}/posixjmp.h
1286assoc.o: command.h ${BASHINCDIR}/stdc.h error.h
1287assoc.o: general.h xmalloc.h bashtypes.h variables.h arrayfunc.h conftypes.h
1288assoc.o: assoc.h hashlib.h
1289assoc.o: quit.h ${BASHINCDIR}/maxpath.h unwind_prot.h dispose_cmd.h
1290assoc.o: make_cmd.h subst.h sig.h pathnames.h externs.h
8868edaf 1291assoc.o: array.h ${BASHINCDIR}/ocache.h ${BASHINCDIR}/chartypes.h
3185942a 1292assoc.o: $(DEFSRC)/common.h
bb70624e 1293braces.o: config.h bashansi.h ${BASHINCDIR}/ansi_stdlib.h
28ef6c31 1294braces.o: shell.h syntax.h config.h bashjmp.h ${BASHINCDIR}/posixjmp.h command.h ${BASHINCDIR}/stdc.h error.h
f73dda09 1295braces.o: general.h xmalloc.h bashtypes.h variables.h arrayfunc.h conftypes.h array.h hashlib.h
bb70624e 1296braces.o: quit.h ${BASHINCDIR}/maxpath.h unwind_prot.h dispose_cmd.h
b80f6443 1297braces.o: make_cmd.h subst.h sig.h pathnames.h externs.h
495aee44 1298braces.o: ${BASHINCDIR}/shmbutil.h ${BASHINCDIR}/shmbchar.h
8868edaf 1299braces.o: ${BASHINCDIR}/typemax.h ${BASHINCDIR}/ocache.h ${BASHINCDIR}/chartypes.h
bb70624e 1300alias.o: config.h bashansi.h ${BASHINCDIR}/ansi_stdlib.h command.h ${BASHINCDIR}/stdc.h
f73dda09 1301alias.o: general.h xmalloc.h bashtypes.h externs.h alias.h
8868edaf 1302alias.o: pcomplete.h hashlib.h
f73dda09 1303alias.o: ${BASHINCDIR}/chartypes.h
bb70624e
JA
1304
1305pcomplib.o: config.h bashansi.h ${BASHINCDIR}/ansi_stdlib.h bashtypes.h
28ef6c31 1306pcomplib.o: ${BASHINCDIR}/stdc.h hashlib.h pcomplete.h shell.h syntax.h
74091dd4
CR
1307pcomplib.o: bashjmp.h command.h general.h xmalloc.h error.h variables.h
1308pcomplib.o: arrayfunc.h conftypes.h quit.h
bb70624e 1309pcomplib.o: unwind_prot.h dispose_cmd.h make_cmd.h subst.h sig.h pathnames.h
8868edaf
CR
1310pcomplib.o: externs.h ${BASHINCDIR}/maxpath.h assoc.h array.h
1311pcomplib.o: ${BASHINCDIR}/posixjmp.h ${BASHINCDIR}/ocache.h ${BASHINCDIR}/chartypes.h
bb70624e
JA
1312
1313pcomplete.o: config.h bashansi.h ${BASHINCDIR}/ansi_stdlib.h bashtypes.h
28ef6c31 1314pcomplete.o: ${BASHINCDIR}/stdc.h hashlib.h pcomplete.h shell.h syntax.h
74091dd4
CR
1315pcomplete.o: bashjmp.h command.h general.h xmalloc.h error.h variables.h
1316pcomplete.o: execute_cmd.h pathexp.h arrayfunc.h conftypes.h quit.h trap.h
1317pcomplete.o: jobs.h siglist.h bashline.h alias.h
1318pcomplete.o: ${BASHINCDIR}/posixwait.h ${BASHINCDIR}/unionwait.h
1319pcomplete.o: ${BASHINCDIR}/posixtime.h ${BASHINCDIR}/posixstat.h
bb70624e 1320pcomplete.o: unwind_prot.h dispose_cmd.h make_cmd.h subst.h sig.h pathnames.h
b80f6443 1321pcomplete.o: externs.h ${BASHINCDIR}/maxpath.h execute_cmd.h
a0c0a00f 1322pcomplete.o: ${BASHINCDIR}/shmbutil.h ${BASHINCDIR}/shmbchar.h
74091dd4
CR
1323pcomplete.o: builtins.h ${DEFDIR}/builtext.h ${DEFSRC}/common.h
1324pcomplete.o: ${GLOB_LIBSRC}/glob.h ${GLOB_LIBSRC}/strmatch.h
d166f048
JA
1325
1326# library support files
1327
bb70624e
JA
1328bashhist.o: config.h bashtypes.h bashansi.h ${BASHINCDIR}/ansi_stdlib.h ${BASHINCDIR}/posixstat.h
1329bashhist.o: ${BASHINCDIR}/filecntl.h
28ef6c31 1330bashhist.o: shell.h syntax.h config.h bashjmp.h ${BASHINCDIR}/posixjmp.h command.h ${BASHINCDIR}/stdc.h error.h
f73dda09 1331bashhist.o: general.h xmalloc.h bashtypes.h variables.h arrayfunc.h conftypes.h array.h hashlib.h
bb70624e 1332bashhist.o: quit.h ${BASHINCDIR}/maxpath.h unwind_prot.h dispose_cmd.h
d233b485 1333bashhist.o: make_cmd.h subst.h sig.h pathnames.h externs.h parser.h
d166f048 1334bashhist.o: flags.h input.h parser.h pathexp.h $(DEFSRC)/common.h bashline.h
8868edaf
CR
1335bashhist.o: ${BASHINCDIR}/ocache.h ${BASHINCDIR}/chartypes.h bashhist.h assoc.h
1336bashhist.o: $(GLOB_LIBSRC)/strmatch.h ${GLOB_LIBSRC}/glob.h
bb70624e 1337bashline.o: config.h bashtypes.h ${BASHINCDIR}/posixstat.h bashansi.h ${BASHINCDIR}/ansi_stdlib.h
28ef6c31 1338bashline.o: shell.h syntax.h config.h bashjmp.h ${BASHINCDIR}/posixjmp.h command.h ${BASHINCDIR}/stdc.h error.h
f73dda09 1339bashline.o: general.h xmalloc.h bashtypes.h variables.h arrayfunc.h conftypes.h array.h hashlib.h
bb70624e 1340bashline.o: quit.h ${BASHINCDIR}/maxpath.h unwind_prot.h dispose_cmd.h
d233b485 1341bashline.o: make_cmd.h subst.h sig.h pathnames.h externs.h parser.h
cce855bc 1342bashline.o: builtins.h bashhist.h bashline.h execute_cmd.h findcmd.h pathexp.h
8868edaf 1343bashline.o: trap.h flags.h assoc.h $(BASHINCDIR)/ocache.h
d166f048 1344bashline.o: $(DEFSRC)/common.h $(GLOB_LIBSRC)/glob.h alias.h
7117c2d2 1345bashline.o: pcomplete.h ${BASHINCDIR}/chartypes.h input.h
ac50fbac 1346bashline.o: ${BASHINCDIR}/shmbutil.h ${BASHINCDIR}/shmbchar.h
f1e1163b 1347bashline.o: ${DEFDIR}/builtext.h
bb70624e 1348bracecomp.o: config.h bashansi.h ${BASHINCDIR}/ansi_stdlib.h
0001803f
CR
1349bracecomp.o: shell.h syntax.h config.h bashjmp.h ${BASHINCDIR}/posixjmp.h
1350bracecomp.o: command.h ${BASHINCDIR}/stdc.h error.h
1351bracecomp.o: general.h xmalloc.h bashtypes.h variables.h arrayfunc.h conftypes.h
1352bracecomp.o: array.h hashlib.h alias.h builtins.h
bb70624e 1353bracecomp.o: quit.h ${BASHINCDIR}/maxpath.h unwind_prot.h dispose_cmd.h
b80f6443 1354bracecomp.o: make_cmd.h subst.h sig.h pathnames.h externs.h
8868edaf 1355bracecomp.o: ${BASHINCDIR}/ocache.h ${BASHINCDIR}/chartypes.h bashhist.h assoc.h
a0c0a00f 1356bracecomp.o: ${BASHINCDIR}/shmbutil.h ${BASHINCDIR}/shmbchar.h
ccc6cda3 1357
d166f048 1358# library dependencies
ccc6cda3 1359
8868edaf 1360bashhist.o: $(RL_LIBSRC)/rltypedefs.h
d166f048 1361bashline.o: $(RL_LIBSRC)/rlconf.h
b72432fd 1362bashline.o: $(RL_LIBSRC)/keymaps.h $(RL_LIBSRC)/rlstdc.h
d166f048 1363bashline.o: $(RL_LIBSRC)/chardefs.h $(RL_LIBSRC)/readline.h
8868edaf 1364bashline.o: $(RL_LIBSRC)/rltypedefs.h ${RL_LIBSRC}/rlmbutil.h
d166f048 1365bracecomp.o: $(RL_LIBSRC)/keymaps.h $(RL_LIBSRC)/chardefs.h
b72432fd 1366bracecomp.o: $(RL_LIBSRC)/readline.h $(RL_LIBSRC)/rlstdc.h
8868edaf 1367bracecomp.o: $(RL_LIBSRC)/rltypedefs.h
b72432fd
JA
1368y.tab.o: $(RL_LIBSRC)/keymaps.h $(RL_LIBSRC)/chardefs.h
1369y.tab.o: $(RL_LIBSRC)/readline.h $(RL_LIBSRC)/rlstdc.h
8868edaf 1370y.tab.o: $(RL_LIBSRC)/rltypedefs.h
b72432fd
JA
1371subst.o: $(RL_LIBSRC)/keymaps.h $(RL_LIBSRC)/chardefs.h
1372subst.o: $(RL_LIBSRC)/readline.h $(RL_LIBSRC)/rlstdc.h
8868edaf
CR
1373shell.o: $(RL_LIBSRC)/keymaps.h $(RL_LIBSRC)/chardefs.h
1374shell.o: $(RL_LIBSRC)/readline.h $(RL_LIBSRC)/rlstdc.h
1375shell.o: $(RL_LIBSRC)/rltypedefs.h
1376variables.o: $(RL_LIBSRC)/keymaps.h $(RL_LIBSRC)/chardefs.h
1377variables.o: $(RL_LIBSRC)/readline.h $(RL_LIBSRC)/rlstdc.h
1378variables.o: $(RL_LIBSRC)/rltypedefs.h
1379jobs.o: $(RL_LIBSRC)/keymaps.h $(RL_LIBSRC)/chardefs.h
1380jobs.o: $(RL_LIBSRC)/readline.h $(RL_LIBSRC)/rlstdc.h
1381jobs.o: $(RL_LIBSRC)/rltypedefs.h
74091dd4
CR
1382pcomplete.o: $(RL_LIBSRC)/rlconf.h
1383pcomplete.o: $(RL_LIBSRC)/keymaps.h $(RL_LIBSRC)/rlstdc.h
1384pcomplete.o: $(RL_LIBSRC)/chardefs.h $(RL_LIBSRC)/readline.h
1385pcomplete.o: $(RL_LIBSRC)/rltypedefs.h ${RL_LIBSRC}/rlmbutil.h
b72432fd
JA
1386
1387shell.o: $(HIST_LIBSRC)/history.h $(HIST_LIBSRC)/rlstdc.h
8868edaf 1388variables.o: $(HIST_LIBSRC)/history.h $(HIST_LIBSRC)/rlstdc.h
b72432fd
JA
1389subst.o: $(HIST_LIBSRC)/history.h $(HIST_LIBSRC)/rlstdc.h
1390bashline.o: $(HIST_LIBSRC)/history.h $(HIST_LIBSRC)/rlstdc.h
1391bashhist.o: $(HIST_LIBSRC)/history.h $(HIST_LIBSRC)/rlstdc.h
1392y.tab.o: $(HIST_LIBSRC)/history.h $(HIST_LIBSRC)/rlstdc.h
74091dd4 1393pcomplete.o: $(HIST_LIBSRC)/history.h $(HIST_LIBSRC)/rlstdc.h
ccc6cda3 1394
8868edaf
CR
1395bashline.o: $(TILDE_LIBSRC)/tilde.h
1396bracecomp.o: $(TILDE_LIBSRC)/tilde.h
ccc6cda3
JA
1397execute_cmd.o: $(TILDE_LIBSRC)/tilde.h
1398general.o: $(TILDE_LIBSRC)/tilde.h
1399mailcheck.o: $(TILDE_LIBSRC)/tilde.h
74091dd4 1400pcomplete.o: $(TILDE_LIBSRC)/tilde.h
ccc6cda3
JA
1401shell.o: $(TILDE_LIBSRC)/tilde.h
1402subst.o: $(TILDE_LIBSRC)/tilde.h
1403variables.o: $(TILDE_LIBSRC)/tilde.h
8868edaf
CR
1404jobs.o: $(TILDE_LIBSRC)/tilde.h
1405y.tab.o: $(TILDE_LIBSRC)/tilde.h
ccc6cda3 1406
b80f6443
JA
1407# libintl dependencies
1408arrayfunc.o: bashintl.h ${LIBINTL_H} $(BASHINCDIR)/gettext.h
1409bashhist.o: bashintl.h ${LIBINTL_H} $(BASHINCDIR)/gettext.h
1410bashline.o: bashintl.h ${LIBINTL_H} $(BASHINCDIR)/gettext.h
1411braces.o: bashintl.h ${LIBINTL_H} $(BASHINCDIR)/gettext.h
1412error.o: bashintl.h ${LIBINTL_H} $(BASHINCDIR)/gettext.h
1413eval.o: bashintl.h ${LIBINTL_H} $(BASHINCDIR)/gettext.h
1414execute_cmd.o: bashintl.h ${LIBINTL_H} $(BASHINCDIR)/gettext.h
1415expr.o: bashintl.h ${LIBINTL_H} $(BASHINCDIR)/gettext.h
1416general.o: bashintl.h ${LIBINTL_H} $(BASHINCDIR)/gettext.h
1417input.o: bashintl.h ${LIBINTL_H} $(BASHINCDIR)/gettext.h
1418jobs.o: bashintl.h ${LIBINTL_H} $(BASHINCDIR)/gettext.h
8868edaf 1419locale.o: bashintl.h ${LIBINTL_H} $(BASHINCDIR)/gettext.h
b80f6443
JA
1420mailcheck.o: bashintl.h ${LIBINTL_H} $(BASHINCDIR)/gettext.h
1421make_cmd.o: bashintl.h ${LIBINTL_H} $(BASHINCDIR)/gettext.h
1422nojobs.o: bashintl.h ${LIBINTL_H} $(BASHINCDIR)/gettext.h
495aee44 1423y.tab.o: bashintl.h ${LIBINTL_H} $(BASHINCDIR)/gettext.h
d233b485 1424pathexp.o: bashintl.h ${LIBINTL_H} $(BASHINCDIR)/gettext.h
b80f6443
JA
1425pcomplete.o: bashintl.h ${LIBINTL_H} $(BASHINCDIR)/gettext.h
1426pcomplib.o: bashintl.h ${LIBINTL_H} $(BASHINCDIR)/gettext.h
1427print_cmd.o: bashintl.h ${LIBINTL_H} $(BASHINCDIR)/gettext.h
1428redir.o: bashintl.h ${LIBINTL_H} $(BASHINCDIR)/gettext.h
1429shell.o: bashintl.h ${LIBINTL_H} $(BASHINCDIR)/gettext.h
1430sig.o: bashintl.h ${LIBINTL_H} $(BASHINCDIR)/gettext.h
1431siglist.o: bashintl.h ${LIBINTL_H} $(BASHINCDIR)/gettext.h
1432subst.o: bashintl.h ${LIBINTL_H} $(BASHINCDIR)/gettext.h
1433test.o: bashintl.h ${LIBINTL_H} $(BASHINCDIR)/gettext.h
1434trap.o: bashintl.h ${LIBINTL_H} $(BASHINCDIR)/gettext.h
1435variables.o: bashintl.h ${LIBINTL_H} $(BASHINCDIR)/gettext.h
1436version.o: bashintl.h ${LIBINTL_H} $(BASHINCDIR)/gettext.h
1437xmalloc.o: bashintl.h ${LIBINTL_H} $(BASHINCDIR)/gettext.h
1438
8868edaf
CR
1439# XXX
1440$(MALLOC_SOURCE): bashintl.h ${LIBINTL_H} $(BASHINCDIR)/gettext.h
1441
0628567a
JA
1442signames.o: config.h bashansi.h ${BASHINCDIR}/ansi_stdlib.h
1443
d166f048
JA
1444# XXX - dependencies checked through here
1445
1446# builtin c sources
bb70624e 1447builtins/bashgetopt.o: config.h bashansi.h ${BASHINCDIR}/ansi_stdlib.h
f73dda09
JA
1448builtins/bashgetopt.o: shell.h syntax.h config.h bashjmp.h command.h general.h xmalloc.h error.h
1449builtins/bashgetopt.o: variables.h arrayfunc.h conftypes.h quit.h ${BASHINCDIR}/maxpath.h unwind_prot.h dispose_cmd.h
b80f6443 1450builtins/bashgetopt.o: make_cmd.h subst.h sig.h pathnames.h externs.h
d166f048 1451builtins/bashgetopt.o: $(DEFSRC)/common.h
f73dda09 1452builtins/bashgetopt.o: ${BASHINCDIR}/chartypes.h
bb70624e 1453builtins/common.o: bashtypes.h ${BASHINCDIR}/posixstat.h bashansi.h ${BASHINCDIR}/ansi_stdlib.h
28ef6c31 1454builtins/common.o: shell.h syntax.h config.h bashjmp.h ${BASHINCDIR}/posixjmp.h sig.h command.h
f73dda09 1455builtins/common.o: ${BASHINCDIR}/memalloc.h variables.h arrayfunc.h conftypes.h input.h siglist.h
bb70624e 1456builtins/common.o: quit.h unwind_prot.h ${BASHINCDIR}/maxpath.h jobs.h builtins.h
b80f6443 1457builtins/common.o: dispose_cmd.h make_cmd.h subst.h externs.h bashhist.h
f73dda09 1458builtins/common.o: execute_cmd.h ${BASHINCDIR}/stdc.h general.h xmalloc.h error.h pathnames.h
d233b485 1459builtins/common.o: ${DEFDIR}/builtext.h parser.h
f73dda09 1460builtins/common.o: ${BASHINCDIR}/chartypes.h
bb70624e 1461builtins/evalfile.o: bashtypes.h ${BASHINCDIR}/posixstat.h ${BASHINCDIR}/filecntl.h bashansi.h ${BASHINCDIR}/ansi_stdlib.h
f73dda09
JA
1462builtins/evalfile.o: shell.h syntax.h config.h bashjmp.h command.h general.h xmalloc.h error.h
1463builtins/evalfile.o: variables.h arrayfunc.h conftypes.h quit.h ${BASHINCDIR}/maxpath.h unwind_prot.h dispose_cmd.h
d233b485 1464builtins/evalfile.o: make_cmd.h subst.h sig.h pathnames.h externs.h parser.h
d166f048
JA
1465builtins/evalfile.o: jobs.h builtins.h flags.h input.h execute_cmd.h
1466builtins/evalfile.o: bashhist.h $(DEFSRC)/common.h
bb70624e 1467builtins/evalstring.o: config.h bashansi.h ${BASHINCDIR}/ansi_stdlib.h
28ef6c31 1468builtins/evalstring.o: shell.h syntax.h bashjmp.h ${BASHINCDIR}/posixjmp.h sig.h command.h siglist.h
f73dda09 1469builtins/evalstring.o: ${BASHINCDIR}/memalloc.h variables.h arrayfunc.h conftypes.h input.h
bb70624e 1470builtins/evalstring.o: quit.h unwind_prot.h ${BASHINCDIR}/maxpath.h jobs.h builtins.h
d166f048
JA
1471builtins/evalstring.o: dispose_cmd.h make_cmd.h subst.h externs.h
1472builtins/evalstring.o: jobs.h builtins.h flags.h input.h execute_cmd.h
74091dd4 1473builtins/evalstring.o: bashhist.h $(DEFSRC)/common.h pathnames.h redir.h
f1e1163b 1474builtins/evalstring.o: ${DEFDIR}/builtext.h
bb70624e 1475builtins/getopt.o: config.h ${BASHINCDIR}/memalloc.h
f73dda09
JA
1476builtins/getopt.o: shell.h syntax.h bashjmp.h command.h general.h xmalloc.h error.h
1477builtins/getopt.o: variables.h arrayfunc.h conftypes.h quit.h ${BASHINCDIR}/maxpath.h unwind_prot.h dispose_cmd.h
b80f6443 1478builtins/getopt.o: make_cmd.h subst.h sig.h pathnames.h externs.h
d166f048 1479builtins/getopt.o: $(DEFSRC)/getopt.h
bb70624e
JA
1480builtins/mkbuiltins.o: config.h bashtypes.h ${BASHINCDIR}/posixstat.h ${BASHINCDIR}/filecntl.h
1481builtins/mkbuiltins.o: bashansi.h ${BASHINCDIR}/ansi_stdlib.h
8868edaf 1482builtins/mkbuiltins.o: $(BASHINCDIR)/stdc.h
d166f048
JA
1483
1484# builtin def files
f73dda09 1485builtins/alias.o: command.h config.h ${BASHINCDIR}/memalloc.h error.h general.h xmalloc.h ${BASHINCDIR}/maxpath.h
0001803f 1486builtins/alias.o: quit.h $(DEFSRC)/common.h pathnames.h
28ef6c31 1487builtins/alias.o: shell.h syntax.h bashjmp.h ${BASHINCDIR}/posixjmp.h sig.h command.h ${BASHINCDIR}/stdc.h unwind_prot.h
f73dda09
JA
1488builtins/alias.o: dispose_cmd.h make_cmd.h subst.h externs.h variables.h arrayfunc.h conftypes.h
1489builtins/bind.o: command.h config.h ${BASHINCDIR}/memalloc.h error.h general.h xmalloc.h ${BASHINCDIR}/maxpath.h
bb70624e 1490builtins/bind.o: dispose_cmd.h make_cmd.h subst.h externs.h ${BASHINCDIR}/stdc.h
f73dda09 1491builtins/bind.o: shell.h syntax.h bashjmp.h ${BASHINCDIR}/posixjmp.h sig.h unwind_prot.h variables.h arrayfunc.h conftypes.h quit.h
0001803f 1492builtins/bind.o: $(DEFSRC)/bashgetopt.h pathnames.h
f73dda09
JA
1493builtins/break.o: command.h config.h ${BASHINCDIR}/memalloc.h error.h general.h xmalloc.h ${BASHINCDIR}/maxpath.h
1494builtins/break.o: shell.h syntax.h bashjmp.h ${BASHINCDIR}/posixjmp.h sig.h unwind_prot.h variables.h arrayfunc.h conftypes.h quit.h
bb70624e 1495builtins/break.o: dispose_cmd.h make_cmd.h subst.h externs.h ${BASHINCDIR}/stdc.h
d233b485 1496builtins/break.o: pathnames.h execute_cmd.h
f73dda09 1497builtins/builtin.o: command.h config.h ${BASHINCDIR}/memalloc.h error.h general.h xmalloc.h ${BASHINCDIR}/maxpath.h
7117c2d2 1498builtins/builtin.o: quit.h $(DEFSRC)/common.h $(DEFSRC)/bashgetopt.h
f73dda09 1499builtins/builtin.o: shell.h syntax.h bashjmp.h ${BASHINCDIR}/posixjmp.h sig.h unwind_prot.h variables.h arrayfunc.h conftypes.h
bb70624e 1500builtins/builtin.o: dispose_cmd.h make_cmd.h subst.h externs.h ${BASHINCDIR}/stdc.h
d233b485 1501builtins/builtin.o: pathnames.h execute_cmd.h
b80f6443
JA
1502builtins/caller.o: command.h config.h ${BASHINCDIR}/memalloc.h error.h general.h xmalloc.h ${BASHINCDIR}/maxpath.h
1503builtins/caller.o: shell.h syntax.h bashjmp.h ${BASHINCDIR}/posixjmp.h sig.h unwind_prot.h variables.h arrayfunc.h conftypes.h
1504builtins/caller.o: dispose_cmd.h make_cmd.h subst.h externs.h ${BASHINCDIR}/stdc.h
1505builtins/caller.o: $(DEFSRC)/common.h quit.h
1506builtins/caller.o: ${BASHINCDIR}/chartypes.h bashtypes.h
0001803f 1507builtins/caller.o: ${DEFDIR}/builtext.h pathnames.h
f73dda09
JA
1508builtins/cd.o: command.h config.h ${BASHINCDIR}/memalloc.h error.h general.h xmalloc.h ${BASHINCDIR}/maxpath.h
1509builtins/cd.o: shell.h syntax.h bashjmp.h ${BASHINCDIR}/posixjmp.h sig.h unwind_prot.h variables.h arrayfunc.h conftypes.h
bb70624e 1510builtins/cd.o: dispose_cmd.h make_cmd.h subst.h externs.h ${BASHINCDIR}/stdc.h
0001803f 1511builtins/cd.o: $(DEFSRC)/common.h quit.h pathnames.h
8868edaf
CR
1512builtins/colon.o: command.h config.h ${BASHINCDIR}/memalloc.h error.h general.h xmalloc.h ${BASHINCDIR}/maxpath.h
1513builtins/colon.o: shell.h syntax.h bashjmp.h ${BASHINCDIR}/posixjmp.h sig.h unwind_prot.h variables.h arrayfunc.h conftypes.h quit.h
1514builtins/colon.o: dispose_cmd.h make_cmd.h subst.h externs.h ${BASHINCDIR}/stdc.h
1515builtins/colon.o: pathnames.h
f73dda09 1516builtins/command.o: command.h config.h ${BASHINCDIR}/memalloc.h error.h general.h xmalloc.h ${BASHINCDIR}/maxpath.h
ccc6cda3 1517builtins/command.o: quit.h $(DEFSRC)/bashgetopt.h
f73dda09 1518builtins/command.o: shell.h syntax.h bashjmp.h ${BASHINCDIR}/posixjmp.h sig.h unwind_prot.h variables.h arrayfunc.h conftypes.h
0001803f 1519builtins/command.o: dispose_cmd.h make_cmd.h subst.h externs.h ${BASHINCDIR}/stdc.h pathnames.h
f73dda09
JA
1520builtins/declare.o: command.h config.h ${BASHINCDIR}/memalloc.h error.h general.h xmalloc.h ${BASHINCDIR}/maxpath.h
1521builtins/declare.o: shell.h syntax.h bashjmp.h ${BASHINCDIR}/posixjmp.h sig.h unwind_prot.h variables.h arrayfunc.h conftypes.h quit.h
bb70624e 1522builtins/declare.o: dispose_cmd.h make_cmd.h subst.h externs.h ${BASHINCDIR}/stdc.h
a0c0a00f 1523builtins/declare.o: $(DEFSRC)/bashgetopt.h pathnames.h flags.h
74091dd4 1524builtins/declare.o: ${DEFDIR}/builtext.h
f73dda09
JA
1525builtins/echo.o: command.h config.h ${BASHINCDIR}/memalloc.h error.h general.h xmalloc.h ${BASHINCDIR}/maxpath.h
1526builtins/echo.o: shell.h syntax.h bashjmp.h ${BASHINCDIR}/posixjmp.h sig.h unwind_prot.h variables.h arrayfunc.h conftypes.h quit.h
bb70624e 1527builtins/echo.o: dispose_cmd.h make_cmd.h subst.h externs.h ${BASHINCDIR}/stdc.h
0001803f 1528builtins/echo.o: pathnames.h
8868edaf 1529builtins/echo.o: $(DEFSRC)/common.h
f73dda09
JA
1530builtins/enable.o: command.h config.h ${BASHINCDIR}/memalloc.h error.h general.h xmalloc.h ${BASHINCDIR}/maxpath.h
1531builtins/enable.o: shell.h syntax.h bashjmp.h ${BASHINCDIR}/posixjmp.h sig.h unwind_prot.h variables.h arrayfunc.h conftypes.h quit.h
bb70624e 1532builtins/enable.o: dispose_cmd.h make_cmd.h subst.h externs.h ${BASHINCDIR}/stdc.h
0001803f 1533builtins/enable.o: pcomplete.h pathnames.h
f73dda09
JA
1534builtins/eval.o: command.h config.h ${BASHINCDIR}/memalloc.h error.h general.h xmalloc.h ${BASHINCDIR}/maxpath.h
1535builtins/eval.o: shell.h syntax.h bashjmp.h ${BASHINCDIR}/posixjmp.h sig.h unwind_prot.h variables.h arrayfunc.h conftypes.h quit.h
bb70624e 1536builtins/eval.o: dispose_cmd.h make_cmd.h subst.h externs.h ${BASHINCDIR}/stdc.h
0001803f
CR
1537builtins/eval.o: pathnames.h
1538builtins/exec.o: bashtypes.h pathnames.h
f73dda09
JA
1539builtins/exec.o: command.h config.h ${BASHINCDIR}/memalloc.h error.h general.h xmalloc.h ${BASHINCDIR}/maxpath.h
1540builtins/exec.o: shell.h syntax.h bashjmp.h ${BASHINCDIR}/posixjmp.h sig.h unwind_prot.h variables.h arrayfunc.h conftypes.h
b80f6443 1541builtins/exec.o: dispose_cmd.h make_cmd.h subst.h externs.h execute_cmd.h
bb70624e 1542builtins/exec.o: findcmd.h flags.h quit.h $(DEFSRC)/common.h ${BASHINCDIR}/stdc.h
0001803f 1543builtins/exec.o: pathnames.h
b80f6443 1544builtins/exit.o: bashtypes.h
f73dda09
JA
1545builtins/exit.o: command.h config.h ${BASHINCDIR}/memalloc.h error.h general.h xmalloc.h ${BASHINCDIR}/maxpath.h
1546builtins/exit.o: shell.h syntax.h bashjmp.h ${BASHINCDIR}/posixjmp.h sig.h unwind_prot.h variables.h arrayfunc.h conftypes.h quit.h
bb70624e 1547builtins/exit.o: dispose_cmd.h make_cmd.h subst.h externs.h ${BASHINCDIR}/stdc.h
d233b485 1548builtins/exit.o: pathnames.h execute_cmd.h
74091dd4 1549builtins/exit.o: ${DEFDIR}/builtext.h
bb70624e
JA
1550builtins/fc.o: bashtypes.h ${BASHINCDIR}/posixstat.h
1551builtins/fc.o: bashansi.h ${BASHINCDIR}/ansi_stdlib.h builtins.h command.h ${BASHINCDIR}/stdc.h
f73dda09
JA
1552builtins/fc.o: command.h config.h ${BASHINCDIR}/memalloc.h error.h general.h xmalloc.h ${BASHINCDIR}/maxpath.h
1553builtins/fc.o: flags.h unwind_prot.h variables.h arrayfunc.h conftypes.h shell.h syntax.h bashjmp.h ${BASHINCDIR}/posixjmp.h sig.h
bb70624e 1554builtins/fc.o: dispose_cmd.h make_cmd.h subst.h externs.h ${BASHINCDIR}/stdc.h quit.h
d233b485 1555builtins/fc.o: $(DEFSRC)/bashgetopt.h bashhist.h pathnames.h parser.h
f73dda09 1556builtins/fc.o: ${BASHINCDIR}/chartypes.h
b80f6443 1557builtins/fg_bg.o: bashtypes.h $(DEFSRC)/bashgetopt.h
f73dda09
JA
1558builtins/fg_bg.o: command.h config.h ${BASHINCDIR}/memalloc.h error.h general.h xmalloc.h ${BASHINCDIR}/maxpath.h
1559builtins/fg_bg.o: shell.h syntax.h bashjmp.h ${BASHINCDIR}/posixjmp.h sig.h unwind_prot.h variables.h arrayfunc.h conftypes.h quit.h
bb70624e 1560builtins/fg_bg.o: dispose_cmd.h make_cmd.h subst.h externs.h ${BASHINCDIR}/stdc.h
d233b485 1561builtins/fg_bg.o: pathnames.h execute_cmd.h
f73dda09
JA
1562builtins/getopts.o: command.h config.h ${BASHINCDIR}/memalloc.h error.h general.h xmalloc.h ${BASHINCDIR}/maxpath.h
1563builtins/getopts.o: shell.h syntax.h bashjmp.h ${BASHINCDIR}/posixjmp.h sig.h unwind_prot.h variables.h arrayfunc.h conftypes.h quit.h
bb70624e 1564builtins/getopts.o: dispose_cmd.h make_cmd.h subst.h externs.h ${BASHINCDIR}/stdc.h
d233b485
CR
1565builtins/getopts.o: pathnames.h execute_cmd.h
1566builtins/hash.o: bashtypes.h execute_cmd.h
bb70624e 1567builtins/hash.o: builtins.h command.h findcmd.h ${BASHINCDIR}/stdc.h $(DEFSRC)/common.h
f73dda09
JA
1568builtins/hash.o: command.h config.h ${BASHINCDIR}/memalloc.h error.h general.h xmalloc.h ${BASHINCDIR}/maxpath.h
1569builtins/hash.o: shell.h syntax.h bashjmp.h ${BASHINCDIR}/posixjmp.h sig.h unwind_prot.h variables.h arrayfunc.h conftypes.h quit.h
0001803f 1570builtins/hash.o: pathnames.h
f73dda09 1571builtins/help.o: command.h config.h ${BASHINCDIR}/memalloc.h error.h general.h xmalloc.h ${BASHINCDIR}/maxpath.h
bb70624e 1572builtins/help.o: dispose_cmd.h make_cmd.h subst.h externs.h ${BASHINCDIR}/stdc.h
d233b485
CR
1573builtins/help.o: shell.h syntax.h bashjmp.h ${BASHINCDIR}/posixjmp.h sig.h unwind_prot.h variables.h arrayfunc.h
1574builtins/help.o: conftypes.h quit.h execute_cmd.h
0001803f 1575builtins/help.o: $(GLOB_LIBSRC)/glob.h pathnames.h
d233b485 1576builtins/history.o: bashtypes.h pathnames.h parser.h
f73dda09 1577builtins/history.o: command.h config.h ${BASHINCDIR}/memalloc.h error.h general.h xmalloc.h ${BASHINCDIR}/maxpath.h
bb70624e 1578builtins/history.o: quit.h dispose_cmd.h make_cmd.h subst.h externs.h ${BASHINCDIR}/stdc.h
28ef6c31 1579builtins/history.o: ${BASHINCDIR}/filecntl.h shell.h syntax.h bashjmp.h ${BASHINCDIR}/posixjmp.h sig.h unwind_prot.h
f73dda09
JA
1580builtins/history.o: bashhist.h variables.h arrayfunc.h conftypes.h
1581builtins/inlib.o: command.h config.h ${BASHINCDIR}/memalloc.h error.h general.h xmalloc.h ${BASHINCDIR}/maxpath.h
1582builtins/inlib.o: shell.h syntax.h bashjmp.h ${BASHINCDIR}/posixjmp.h sig.h unwind_prot.h variables.h arrayfunc.h conftypes.h quit.h
bb70624e 1583builtins/inlib.o: dispose_cmd.h make_cmd.h subst.h externs.h ${BASHINCDIR}/stdc.h
0001803f 1584builtins/inlib.o: pathnames.h
f73dda09 1585builtins/jobs.o: command.h config.h ${BASHINCDIR}/memalloc.h error.h general.h xmalloc.h ${BASHINCDIR}/maxpath.h
ccc6cda3 1586builtins/jobs.o: quit.h $(DEFSRC)/bashgetopt.h
f73dda09 1587builtins/jobs.o: shell.h syntax.h bashjmp.h ${BASHINCDIR}/posixjmp.h sig.h unwind_prot.h variables.h arrayfunc.h conftypes.h
bb70624e 1588builtins/jobs.o: dispose_cmd.h make_cmd.h subst.h externs.h ${BASHINCDIR}/stdc.h
0001803f 1589builtins/jobs.o: pathnames.h
f73dda09 1590builtins/kill.o: command.h config.h ${BASHINCDIR}/memalloc.h error.h general.h xmalloc.h ${BASHINCDIR}/maxpath.h
bb70624e 1591builtins/kill.o: quit.h dispose_cmd.h make_cmd.h subst.h externs.h ${BASHINCDIR}/stdc.h
f73dda09 1592builtins/kill.o: shell.h syntax.h bashjmp.h ${BASHINCDIR}/posixjmp.h sig.h trap.h unwind_prot.h variables.h arrayfunc.h conftypes.h
0001803f 1593builtins/kill.o: pathnames.h
f73dda09 1594builtins/let.o: command.h config.h ${BASHINCDIR}/memalloc.h error.h general.h xmalloc.h ${BASHINCDIR}/maxpath.h
bb70624e 1595builtins/let.o: quit.h dispose_cmd.h make_cmd.h subst.h externs.h ${BASHINCDIR}/stdc.h
f73dda09 1596builtins/let.o: shell.h syntax.h bashjmp.h ${BASHINCDIR}/posixjmp.h sig.h unwind_prot.h variables.h arrayfunc.h conftypes.h
0001803f 1597builtins/let.o: pathnames.h
bb70624e 1598builtins/printf.o: config.h ${BASHINCDIR}/memalloc.h bashjmp.h command.h error.h
f73dda09 1599builtins/printf.o: general.h xmalloc.h quit.h dispose_cmd.h make_cmd.h subst.h
28ef6c31 1600builtins/printf.o: externs.h sig.h pathnames.h shell.h syntax.h unwind_prot.h
f73dda09 1601builtins/printf.o: variables.h arrayfunc.h conftypes.h ${BASHINCDIR}/stdc.h $(DEFSRC)/bashgetopt.h
a0c0a00f 1602builtins/printf.o: ${BASHINCDIR}/shmbutil.h ${BASHINCDIR}/shmbchar.h
0001803f 1603builtins/printf.o: ${BASHINCDIR}/chartypes.h
f73dda09 1604builtins/pushd.o: command.h config.h ${BASHINCDIR}/memalloc.h error.h general.h xmalloc.h ${BASHINCDIR}/maxpath.h
bb70624e 1605builtins/pushd.o: quit.h dispose_cmd.h make_cmd.h subst.h externs.h ${BASHINCDIR}/stdc.h
f73dda09 1606builtins/pushd.o: shell.h syntax.h bashjmp.h ${BASHINCDIR}/posixjmp.h sig.h unwind_prot.h variables.h arrayfunc.h conftypes.h
0001803f 1607builtins/pushd.o: $(DEFSRC)/common.h pathnames.h
74091dd4 1608builtins/pushd.o: ${DEFDIR}/builtext.h
f73dda09 1609builtins/read.o: command.h config.h ${BASHINCDIR}/memalloc.h error.h general.h xmalloc.h ${BASHINCDIR}/maxpath.h
bb70624e 1610builtins/read.o: quit.h dispose_cmd.h make_cmd.h subst.h externs.h ${BASHINCDIR}/stdc.h
f73dda09 1611builtins/read.o: shell.h syntax.h bashjmp.h ${BASHINCDIR}/posixjmp.h sig.h unwind_prot.h variables.h arrayfunc.h conftypes.h
a0c0a00f 1612builtins/read.o: ${BASHINCDIR}/shmbutil.h ${BASHINCDIR}/shmbchar.h
0001803f 1613builtins/read.o: pathnames.h
f73dda09 1614builtins/return.o: command.h config.h ${BASHINCDIR}/memalloc.h error.h general.h xmalloc.h ${BASHINCDIR}/maxpath.h
bb70624e 1615builtins/return.o: quit.h dispose_cmd.h make_cmd.h subst.h externs.h ${BASHINCDIR}/stdc.h
f73dda09 1616builtins/return.o: shell.h syntax.h bashjmp.h ${BASHINCDIR}/posixjmp.h sig.h unwind_prot.h variables.h arrayfunc.h conftypes.h
d233b485 1617builtins/return.o: pathnames.h execute_cmd.h
f73dda09 1618builtins/set.o: command.h config.h ${BASHINCDIR}/memalloc.h error.h general.h xmalloc.h ${BASHINCDIR}/maxpath.h
bb70624e 1619builtins/set.o: quit.h dispose_cmd.h make_cmd.h subst.h externs.h ${BASHINCDIR}/stdc.h
f73dda09 1620builtins/set.o: shell.h syntax.h bashjmp.h ${BASHINCDIR}/posixjmp.h sig.h unwind_prot.h variables.h arrayfunc.h conftypes.h flags.h
d233b485 1621builtins/set.o: pathnames.h parser.h
f73dda09 1622builtins/setattr.o: command.h config.h ${BASHINCDIR}/memalloc.h error.h general.h xmalloc.h ${BASHINCDIR}/maxpath.h
ccc6cda3 1623builtins/setattr.o: quit.h $(DEFSRC)/common.h $(DEFSRC)/bashgetopt.h
f73dda09 1624builtins/setattr.o: shell.h syntax.h bashjmp.h ${BASHINCDIR}/posixjmp.h sig.h unwind_prot.h variables.h arrayfunc.h conftypes.h
bb70624e 1625builtins/setattr.o: dispose_cmd.h make_cmd.h subst.h externs.h ${BASHINCDIR}/stdc.h
d233b485 1626builtins/setattr.o: pathnames.h flags.h execute_cmd.h
f73dda09 1627builtins/shift.o: command.h config.h ${BASHINCDIR}/memalloc.h error.h general.h xmalloc.h ${BASHINCDIR}/maxpath.h
bb70624e 1628builtins/shift.o: quit.h dispose_cmd.h make_cmd.h subst.h externs.h ${BASHINCDIR}/stdc.h
f73dda09 1629builtins/shift.o: shell.h syntax.h bashjmp.h ${BASHINCDIR}/posixjmp.h sig.h unwind_prot.h variables.h arrayfunc.h conftypes.h
bb70624e 1630builtins/shift.o: dispose_cmd.h make_cmd.h subst.h externs.h ${BASHINCDIR}/stdc.h
0001803f 1631builtins/shift.o: pathnames.h
f73dda09 1632builtins/shopt.o: command.h config.h ${BASHINCDIR}/memalloc.h error.h general.h xmalloc.h
d166f048 1633builtins/shopt.o: quit.h dispose_cmd.h make_cmd.h subst.h externs.h
f73dda09 1634builtins/shopt.o: shell.h syntax.h bashjmp.h ${BASHINCDIR}/posixjmp.h unwind_prot.h variables.h arrayfunc.h conftypes.h ${BASHINCDIR}/maxpath.h
0001803f 1635builtins/shopt.o: $(DEFSRC)/common.h $(DEFSRC)/bashgetopt.h pathnames.h
ac50fbac 1636builtins/shopt.o: bashhist.h bashline.h
f73dda09 1637builtins/source.o: command.h config.h ${BASHINCDIR}/memalloc.h error.h general.h xmalloc.h ${BASHINCDIR}/maxpath.h
bb70624e 1638builtins/source.o: quit.h dispose_cmd.h make_cmd.h subst.h externs.h ${BASHINCDIR}/stdc.h
f73dda09 1639builtins/source.o: shell.h syntax.h bashjmp.h ${BASHINCDIR}/posixjmp.h sig.h unwind_prot.h variables.h arrayfunc.h conftypes.h
b80f6443 1640builtins/source.o: findcmd.h $(DEFSRC)/bashgetopt.h flags.h trap.h
d233b485 1641builtins/source.o: pathnames.h execute_cmd.h
f73dda09 1642builtins/suspend.o: command.h config.h ${BASHINCDIR}/memalloc.h error.h general.h xmalloc.h ${BASHINCDIR}/maxpath.h
bb70624e 1643builtins/suspend.o: quit.h dispose_cmd.h make_cmd.h subst.h externs.h ${BASHINCDIR}/stdc.h
f73dda09 1644builtins/suspend.o: shell.h syntax.h bashjmp.h ${BASHINCDIR}/posixjmp.h sig.h unwind_prot.h variables.h arrayfunc.h conftypes.h
0001803f 1645builtins/suspend.o: pathnames.h
f73dda09 1646builtins/test.o: command.h config.h ${BASHINCDIR}/memalloc.h error.h general.h xmalloc.h ${BASHINCDIR}/maxpath.h
bb70624e 1647builtins/test.o: quit.h dispose_cmd.h make_cmd.h subst.h externs.h ${BASHINCDIR}/stdc.h
f73dda09 1648builtins/test.o: shell.h syntax.h bashjmp.h ${BASHINCDIR}/posixjmp.h sig.h unwind_prot.h variables.h arrayfunc.h conftypes.h
d233b485 1649builtins/test.o: execute_cmd.h test.h pathnames.h
f73dda09 1650builtins/times.o: command.h config.h ${BASHINCDIR}/memalloc.h error.h general.h xmalloc.h ${BASHINCDIR}/maxpath.h
bb70624e 1651builtins/times.o: quit.h dispose_cmd.h make_cmd.h subst.h externs.h ${BASHINCDIR}/stdc.h
f73dda09 1652builtins/times.o: shell.h syntax.h bashjmp.h ${BASHINCDIR}/posixjmp.h sig.h unwind_prot.h variables.h arrayfunc.h conftypes.h
0001803f 1653builtins/times.o: pathnames.h
f73dda09 1654builtins/trap.o: command.h config.h ${BASHINCDIR}/memalloc.h error.h general.h xmalloc.h ${BASHINCDIR}/maxpath.h
ccc6cda3 1655builtins/trap.o: quit.h $(DEFSRC)/common.h
f73dda09 1656builtins/trap.o: shell.h syntax.h bashjmp.h ${BASHINCDIR}/posixjmp.h sig.h unwind_prot.h variables.h arrayfunc.h conftypes.h
bb70624e 1657builtins/trap.o: dispose_cmd.h make_cmd.h subst.h externs.h ${BASHINCDIR}/stdc.h
0001803f 1658builtins/trap.o: pathnames.h
f73dda09 1659builtins/type.o: command.h config.h ${BASHINCDIR}/memalloc.h error.h general.h xmalloc.h ${BASHINCDIR}/maxpath.h
cce855bc 1660builtins/type.o: quit.h $(DEFSRC)/common.h findcmd.h
f73dda09 1661builtins/type.o: shell.h syntax.h bashjmp.h ${BASHINCDIR}/posixjmp.h sig.h unwind_prot.h variables.h arrayfunc.h conftypes.h
bb70624e 1662builtins/type.o: dispose_cmd.h make_cmd.h subst.h externs.h ${BASHINCDIR}/stdc.h
d233b485 1663builtins/type.o: pathnames.h execute_cmd.h parser.h
f73dda09 1664builtins/ulimit.o: command.h config.h ${BASHINCDIR}/memalloc.h error.h general.h xmalloc.h ${BASHINCDIR}/maxpath.h
bb70624e 1665builtins/ulimit.o: quit.h dispose_cmd.h make_cmd.h subst.h externs.h ${BASHINCDIR}/stdc.h
f73dda09 1666builtins/ulimit.o: shell.h syntax.h bashjmp.h ${BASHINCDIR}/posixjmp.h sig.h unwind_prot.h variables.h arrayfunc.h conftypes.h
0001803f 1667builtins/ulimit.o: pathnames.h
f73dda09 1668builtins/umask.o: command.h config.h ${BASHINCDIR}/memalloc.h error.h general.h xmalloc.h ${BASHINCDIR}/maxpath.h
bb70624e 1669builtins/umask.o: quit.h dispose_cmd.h make_cmd.h subst.h externs.h ${BASHINCDIR}/stdc.h
f73dda09 1670builtins/umask.o: shell.h syntax.h bashjmp.h ${BASHINCDIR}/posixjmp.h sig.h unwind_prot.h variables.h arrayfunc.h conftypes.h
0001803f 1671builtins/umask.o: ${BASHINCDIR}/chartypes.h pathnames.h
f73dda09 1672builtins/wait.o: command.h config.h ${BASHINCDIR}/memalloc.h error.h general.h xmalloc.h ${BASHINCDIR}/maxpath.h
bb70624e 1673builtins/wait.o: quit.h dispose_cmd.h make_cmd.h subst.h externs.h ${BASHINCDIR}/stdc.h
f73dda09 1674builtins/wait.o: shell.h syntax.h bashjmp.h ${BASHINCDIR}/posixjmp.h sig.h unwind_prot.h variables.h arrayfunc.h conftypes.h
d233b485 1675builtins/wait.o: execute_cmd.h
0001803f 1676builtins/wait.o: ${BASHINCDIR}/chartypes.h pathnames.h
bb70624e 1677
28ef6c31 1678builtins/complete.o: config.h shell.h syntax.h bashjmp.h ${BASHINCDIR}/posixjmp.h sig.h
f73dda09 1679builtins/complete.o: unwind_prot.h variables.h arrayfunc.h conftypes.h
bb70624e 1680builtins/complete.o: bashtypes.h bashansi.h ${BASHINCDIR}/ansi_stdlib.h
a0c0a00f
CR
1681builtins/complete.o: builtins.h pathnames.h general.h
1682builtins/complete.o: bashtypes.h ${BASHINCDIR}/chartypes.h xmalloc.h
bb70624e
JA
1683builtins/complete.o: pcomplete.h
1684builtins/complete.o: ${DEFSRC}/common.h ${DEFSRC}/bashgetopt.h
3185942a
JA
1685builtins/mapfile.o: command.h config.h ${BASHINCDIR}/memalloc.h error.h general.h xmalloc.h ${BASHINCDIR}/maxpath.h
1686builtins/mapfile.o: quit.h dispose_cmd.h make_cmd.h subst.h externs.h ${BASHINCDIR}/stdc.h
1687builtins/mapfile.o: shell.h syntax.h bashjmp.h ${BASHINCDIR}/posixjmp.h sig.h unwind_prot.h variables.h arrayfunc.h conftypes.h
0001803f 1688builtins/mapfile.o: pathnames.h
ccc6cda3 1689
b80f6443
JA
1690# libintl dependencies
1691builtins/bind.o: ${topdir}/bashintl.h ${LIBINTL_H} $(BASHINCDIR)/gettext.h
1692builtins/break.o: ${topdir}/bashintl.h ${LIBINTL_H} $(BASHINCDIR)/gettext.h
1693builtins/caller.o: ${topdir}/bashintl.h ${LIBINTL_H} $(BASHINCDIR)/gettext.h
1694builtins/cd.o: ${topdir}/bashintl.h ${LIBINTL_H} $(BASHINCDIR)/gettext.h
1695builtins/common.c: ${topdir}/bashintl.h ${LIBINTL_H} $(BASHINCDIR)/gettext.h
1696builtins/complete.o: ${topdir}/bashintl.h ${LIBINTL_H} $(BASHINCDIR)/gettext.h
1697builtins/declare.o: ${topdir}/bashintl.h ${LIBINTL_H} $(BASHINCDIR)/gettext.h
1698builtins/enable.o: ${topdir}/bashintl.h ${LIBINTL_H} $(BASHINCDIR)/gettext.h
1699builtins/evalfile.c: ${topdir}/bashintl.h ${LIBINTL_H} $(BASHINCDIR)/gettext.h
1700builtins/exec.o: ${topdir}/bashintl.h ${LIBINTL_H} $(BASHINCDIR)/gettext.h
1701builtins/exit.o: ${topdir}/bashintl.h ${LIBINTL_H} $(BASHINCDIR)/gettext.h
1702builtins/fc.o: ${topdir}/bashintl.h ${LIBINTL_H} $(BASHINCDIR)/gettext.h
1703builtins/fg_bg.o: ${topdir}/bashintl.h ${LIBINTL_H} $(BASHINCDIR)/gettext.h
1704builtins/getopt.c: ${topdir}/bashintl.h ${LIBINTL_H} $(BASHINCDIR)/gettext.h
1705builtins/hash.o: ${topdir}/bashintl.h ${LIBINTL_H} $(BASHINCDIR)/gettext.h
1706builtins/help.o: ${topdir}/bashintl.h ${LIBINTL_H} $(BASHINCDIR)/gettext.h
1707builtins/history.o: ${topdir}/bashintl.h ${LIBINTL_H} $(BASHINCDIR)/gettext.h
1708builtins/inlib.o: ${topdir}/bashintl.h ${LIBINTL_H} $(BASHINCDIR)/gettext.h
1709builtins/jobs.o: ${topdir}/bashintl.h ${LIBINTL_H} $(BASHINCDIR)/gettext.h
1710builtins/kill.o: ${topdir}/bashintl.h ${LIBINTL_H} $(BASHINCDIR)/gettext.h
1711builtins/let.o: ${topdir}/bashintl.h ${LIBINTL_H} $(BASHINCDIR)/gettext.h
3185942a
JA
1712builtins/mapfile.o: ${topdir}/bashintl.h ${LIBINTL_H} $(BASHINCDIR)/gettext.h
1713builtins/mkbuiltins.o: ${topdir}/bashintl.h ${LIBINTL_H} $(BASHINCDIR)/gettext.h
b80f6443
JA
1714builtins/printf.o: ${topdir}/bashintl.h ${LIBINTL_H} $(BASHINCDIR)/gettext.h
1715builtins/pushd.o: ${topdir}/bashintl.h ${LIBINTL_H} $(BASHINCDIR)/gettext.h
1716builtins/read.o: ${topdir}/bashintl.h ${LIBINTL_H} $(BASHINCDIR)/gettext.h
1717builtins/return.o: ${topdir}/bashintl.h ${LIBINTL_H} $(BASHINCDIR)/gettext.h
1718builtins/set.o: ${topdir}/bashintl.h ${LIBINTL_H} $(BASHINCDIR)/gettext.h
1719builtins/setattr.o: ${topdir}/bashintl.h ${LIBINTL_H} $(BASHINCDIR)/gettext.h
1720builtins/shift.o: ${topdir}/bashintl.h ${LIBINTL_H} $(BASHINCDIR)/gettext.h
1721builtins/shopt.o: ${topdir}/bashintl.h ${LIBINTL_H} $(BASHINCDIR)/gettext.h
1722builtins/source.o: ${topdir}/bashintl.h ${LIBINTL_H} $(BASHINCDIR)/gettext.h
1723builtins/suspend.o: ${topdir}/bashintl.h ${LIBINTL_H} $(BASHINCDIR)/gettext.h
1724builtins/type.o: ${topdir}/bashintl.h ${LIBINTL_H} $(BASHINCDIR)/gettext.h
1725builtins/ulimit.o: ${topdir}/bashintl.h ${LIBINTL_H} $(BASHINCDIR)/gettext.h
1726builtins/umask.o: ${topdir}/bashintl.h ${LIBINTL_H} $(BASHINCDIR)/gettext.h
1727
d166f048 1728# builtin library dependencies
ccc6cda3 1729builtins/bind.o: $(RL_LIBSRC)/chardefs.h $(RL_LIBSRC)/readline.h
b72432fd 1730builtins/bind.o: $(RL_LIBSRC)/keymaps.h $(RL_LIBSRC)/rlstdc.h
ccc6cda3 1731
b72432fd
JA
1732builtins/bind.o: $(HIST_LIBSRC)/history.h $(RL_LIBSRC)/rlstdc.h
1733builtins/fc.o: $(HIST_LIBSRC)/history.h $(RL_LIBSRC)/rlstdc.h
1734builtins/history.o: $(HIST_LIBSRC)/history.h $(RL_LIBSRC)/rlstdc.h
ccc6cda3
JA
1735
1736builtins/common.o: $(TILDE_LIBSRC)/tilde.h
1737builtins/cd.o: $(TILDE_LIBSRC)/tilde.h
1738
1739builtins/alias.o: $(DEFSRC)/alias.def
1740builtins/bind.o: $(DEFSRC)/bind.def
1741builtins/break.o: $(DEFSRC)/break.def
1742builtins/builtin.o: $(DEFSRC)/builtin.def
b80f6443 1743builtins/caller.o: $(DEFSRC)/caller.def
ccc6cda3
JA
1744builtins/cd.o: $(DEFSRC)/cd.def
1745builtins/colon.o: $(DEFSRC)/colon.def
1746builtins/command.o: $(DEFSRC)/command.def
bb70624e 1747builtins/complete.o: $(DEFSRC)/complete.def
ccc6cda3
JA
1748builtins/declare.o: $(DEFSRC)/declare.def
1749builtins/echo.o: $(DEFSRC)/echo.def
1750builtins/enable.o: $(DEFSRC)/enable.def
1751builtins/eval.o: $(DEFSRC)/eval.def
1752builtins/exec.o: $(DEFSRC)/exec.def
1753builtins/exit.o: $(DEFSRC)/exit.def
1754builtins/fc.o: $(DEFSRC)/fc.def
1755builtins/fg_bg.o: $(DEFSRC)/fg_bg.def
1756builtins/getopts.o: $(DEFSRC)/getopts.def
1757builtins/hash.o: $(DEFSRC)/hash.def
1758builtins/help.o: $(DEFSRC)/help.def
1759builtins/history.o: $(DEFSRC)/history.def
1760builtins/inlib.o: $(DEFSRC)/inlib.def
1761builtins/jobs.o: $(DEFSRC)/jobs.def
1762builtins/kill.o: $(DEFSRC)/kill.def
1763builtins/let.o: $(DEFSRC)/let.def
3185942a 1764builtins/mapfile.o: $(DEFSRC)/mapfile.def
ccc6cda3
JA
1765builtins/pushd.o: $(DEFSRC)/pushd.def
1766builtins/read.o: $(DEFSRC)/read.def
1767builtins/reserved.o: $(DEFSRC)/reserved.def
1768builtins/return.o: $(DEFSRC)/return.def
1769builtins/set.o: $(DEFSRC)/set.def
1770builtins/setattr.o: $(DEFSRC)/setattr.def
1771builtins/shift.o: $(DEFSRC)/shift.def
1772builtins/shopt.o: $(DEFSRC)/shopt.def
1773builtins/source.o: $(DEFSRC)/source.def
1774builtins/suspend.o: $(DEFSRC)/suspend.def
1775builtins/test.o: $(DEFSRC)/test.def
1776builtins/times.o: $(DEFSRC)/times.def
1777builtins/trap.o: $(DEFSRC)/trap.def
1778builtins/type.o: $(DEFSRC)/type.def
1779builtins/ulimit.o: $(DEFSRC)/ulimit.def
1780builtins/umask.o: $(DEFSRC)/umask.def
1781builtins/wait.o: $(DEFSRC)/wait.def