]> git.ipfire.org Git - thirdparty/bash.git/blame_incremental - Makefile.in
updated translations; remove unneeded files
[thirdparty/bash.git] / Makefile.in
... / ...
CommitLineData
1# Makefile for bash-5.2, version 5.1
2#
3# Copyright (C) 1996-2021 Free Software Foundation, Inc.
4
5# This program is free software: you can redistribute it and/or modify
6# it under the terms of the GNU General Public License as published by
7# the Free Software Foundation, either version 3 of the License, or
8# (at your option) any later version.
9
10# This program is distributed in the hope that it will be useful,
11# but WITHOUT ANY WARRANTY; without even the implied warranty of
12# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13# GNU General Public License for more details.
14
15# You should have received a copy of the GNU General Public License
16# along with this program. If not, see <http://www.gnu.org/licenses/>.
17
18# Make sure the first target in the makefile is the right one
19all: .made
20
21PACKAGE = @PACKAGE_NAME@
22VERSION = @PACKAGE_VERSION@
23
24PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
25PACKAGE_NAME = @PACKAGE_NAME@
26PACKAGE_STRING = @PACKAGE_STRING@
27PACKAGE_VERSION = @PACKAGE_VERSION@
28
29PACKAGE_TARNAME = @PACKAGE_TARNAME@
30
31# Include some boilerplate Gnu makefile definitions.
32prefix = @prefix@
33
34exec_prefix = @exec_prefix@
35
36datarootdir = @datarootdir@
37
38bindir = @bindir@
39libdir = @libdir@
40infodir = @infodir@
41includedir = @includedir@
42datadir = @datadir@
43localedir = @localedir@
44pkgconfigdir = ${libdir}/pkgconfig
45
46loadablesdir = @loadablesdir@
47headersdir = @headersdir@
48
49docdir = @docdir@
50
51mandir = @mandir@
52manpfx = man
53
54man1ext = .1
55man1dir = $(mandir)/$(manpfx)1
56man3ext = .3
57man3dir = $(mandir)/$(manpfx)3
58
59htmldir = @htmldir@
60
61# Support an alternate destination root directory for package building
62DESTDIR =
63
64topdir = @top_srcdir@
65BUILD_DIR = @BUILD_DIR@
66top_builddir = @BUILD_DIR@
67srcdir = @srcdir@
68VPATH = @srcdir@
69
70@SET_MAKE@
71CC = @CC@
72CC_FOR_BUILD = @CC_FOR_BUILD@
73YACC = @YACC@
74SHELL = @MAKE_SHELL@
75CP = cp
76RM = rm -f
77AR = @AR@
78ARFLAGS = @ARFLAGS@
79RANLIB = @RANLIB@
80SIZE = @SIZE@
81STRIP = strip
82
83INSTALL = @INSTALL@
84INSTALL_PROGRAM = @INSTALL_PROGRAM@
85INSTALL_SCRIPT = @INSTALL_SCRIPT@
86INSTALL_DATA = @INSTALL_DATA@
87INSTALLMODE= -m 0755
88INSTALLMODE2 = -m 0555
89
90CTAGS = ctags
91CTAGSFLAGS = -x
92ETAGS = etags
93ETAGSFLAGS =
94
95TESTSCRIPT = @TESTSCRIPT@
96
97DEBUGGER_START_FILE = @DEBUGGER_START_FILE@
98
99#If you have purify, and want to use it, run the make as `make PURIFY=purify'
100#PURIFY = @PURIFY@
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
108EXEEXT = @EXEEXT@
109OBJEXT = @OBJEXT@
110
111# The name of this program and some version information.
112VERSPROG = bashversion$(EXEEXT)
113VERSOBJ = bashversion.$(OBJEXT)
114
115Program = bash$(EXEEXT)
116Version = @BASHVERS@
117PatchLevel = `$(BUILD_DIR)/$(VERSPROG) -p`
118RELSTATUS = @RELSTATUS@
119
120Machine = @host_cpu@
121OS = @host_os@
122VENDOR = @host_vendor@
123MACHTYPE = @host@
124
125# comment out for release
126DEBUG = @DEBUG@
127MALLOC_DEBUG = @MALLOC_DEBUG@
128
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).
133PROFILE_FLAGS= @PROFILE_FLAGS@
134
135CFLAGS = @CFLAGS@
136CFLAGS_FOR_BUILD = @CFLAGS_FOR_BUILD@ @CROSS_COMPILE@
137CPPFLAGS = @CPPFLAGS@
138CPPFLAGS_FOR_BUILD = @CPPFLAGS_FOR_BUILD@
139LOCAL_CFLAGS = @LOCAL_CFLAGS@ ${DEBUG} ${MALLOC_DEBUG}
140STYLE_CFLAGS = @STYLE_CFLAGS@
141DEFS = @DEFS@
142LOCAL_DEFS = @LOCAL_DEFS@
143
144LOCALE_DEFS = -DLOCALEDIR='"$(localedir)"' -DPACKAGE='"$(PACKAGE)"'
145
146LOCAL_LIBS = @LOCAL_LIBS@
147LIBS = $(BUILTINS_LIB) $(LIBRARIES) @LIBS@
148LIBS_FOR_BUILD =
149
150STATIC_LD = @STATIC_LD@
151LOCAL_LDFLAGS = @LOCAL_LDFLAGS@
152
153SYSTEM_FLAGS = -DPROGRAM='"$(Program)"' -DCONF_HOSTTYPE='"$(Machine)"' -DCONF_OSTYPE='"$(OS)"' -DCONF_MACHTYPE='"$(MACHTYPE)"' -DCONF_VENDOR='"$(VENDOR)"' $(LOCALE_DEFS)
154
155BASE_CCFLAGS = $(SYSTEM_FLAGS) $(LOCAL_DEFS) \
156 $(DEFS) $(LOCAL_CFLAGS) $(INCLUDES) $(STYLE_CFLAGS)
157
158CCFLAGS = $(ADDON_CFLAGS) $(BASE_CCFLAGS) ${PROFILE_FLAGS} $(CPPFLAGS) $(CFLAGS)
159
160CCFLAGS_FOR_BUILD = $(BASE_CCFLAGS) $(CPPFLAGS_FOR_BUILD) $(CFLAGS_FOR_BUILD)
161
162BASE_LDFLAGS = @LDFLAGS@ $(LOCAL_LDFLAGS) $(CFLAGS)
163LDFLAGS = ${ADDON_LDFLAGS} ${BASE_LDFLAGS} ${PROFILE_FLAGS} ${STATIC_LD}
164LDFLAGS_FOR_BUILD = @LDFLAGS_FOR_BUILD@ $(LOCAL_LDFLAGS) $(CFLAGS_FOR_BUILD)
165
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
172INCLUDES = -I. @RL_INCLUDE@ -I$(srcdir) -I$(BASHINCDIR) -I$(LIBSRC) $(INTL_INC)
173
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 \
179 -Wmissing-prototypes -Wtraditional -Wredundant-decls \
180 -Wformat-security -pedantic
181
182GCC_LINT_CFLAGS = $(BASE_CCFLAGS) $(CPPFLAGS) $(GCC_LINT_FLAGS)
183
184#
185# Support libraries
186#
187
188dot = .
189
190LIBSUBDIR = lib
191LIBSRC = $(srcdir)/$(LIBSUBDIR)
192
193LIBBUILD = ${BUILD_DIR}/${LIBSUBDIR}
194
195SUBDIR_INCLUDES = -I. @RL_INCLUDE@ -I$(topdir) -I$(topdir)/$(LIBSUBDIR)
196
197BUILD_INCLUDED_LIBINTL = @BUILD_INCLUDED_LIBINTL@
198USE_INCLUDED_LIBINTL = @USE_INCLUDED_LIBINTL@
199
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
207SHLIB_SOURCE = ${SH_LIBSRC}/clktck.c ${SH_LIBSRC}/getcwd.c \
208 ${SH_LIBSRC}/getenv.c ${SH_LIBSRC}/oslib.c \
209 ${SH_LIBSRC}/setlinebuf.c ${SH_LIBSRC}/strchrnul.c \
210 ${SH_LIBSRC}/strcasecmp.c ${SH_LIBSRC}/strdup.c \
211 ${SH_LIBSRC}/strerror.c \
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 \
223 ${SH_LIBSRC}/strcasestr.c ${SH_LIBSRC}/shquote.c \
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 \
230 ${SH_LIBSRC}/memset.c ${SH_LIBSRC}/mbschr.c \
231 ${SH_LIBSRC}/zcatfd.c ${SH_LIBSRC}/shmatch.c \
232 ${SH_LIBSRC}/strnlen.c ${SH_LIBSRC}/winsize.c \
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 \
237 ${SH_LIBSRC}/ufuncs.c ${SH_LIBSRC}/dprintf.c \
238 ${SH_LIBSRC}/input_avail.c ${SH_LIBSRC}/mbscasecmp.c \
239 ${SH_LIBSRC}/fnxform.c ${SH_LIBSRC}/unicode.c \
240 ${SH_LIBSRC}/wcswidth.c ${SH_LIBSRC}/wcsnwidth.c \
241 ${SH_LIBSRC}/shmbchar.c ${SH_LIBSRC}/utf8.c \
242 ${SH_LIBSRC}/random.c ${SH_LIBSRC}/gettimeofday.c \
243 ${SH_LIBSRC}/timers.c ${SH_LIBSRC}/strvis.c
244
245SHLIB_LIB = -lsh
246SHLIB_LIBNAME = libsh.a
247SHLIB_LIBRARY = ${SH_LIBDIR}/${SHLIB_LIBNAME}
248SHLIB_LDFLAGS = -L${SH_LIBDIR}
249SHLIB_DEP = ${SHLIB_LIBRARY}
250
251# we assume for now that readline source is being shipped with bash
252RL_LIBSRC = $(LIBSRC)/readline
253RL_LIBDOC = $(RL_LIBSRC)/doc
254RL_LIBDIR = @RL_LIBDIR@
255RL_ABSSRC = ${topdir}/$(RL_LIBDIR)
256
257RL_INCLUDEDIR = @RL_INCLUDEDIR@
258
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 \
270 $(RL_LIBSRC)/rlstdc.h ${RL_LIBSRC}/xmalloc.h \
271 $(RL_LIBSRC)/rlshell.h ${RL_LIBSRC}/rlprivate.h \
272 $(RL_LIBSRC)/colors.h $(RL_LIBSRC)/parse-colors.h \
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 \
281 $(RL_LIBSRC)/util.c $(RL_LIBSRC)/kill.c $(RL_LIBSRC)/text.c \
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 \
285 $(RL_LIBSRC)/shell.c $(RL_LIBSRC)/savestring.c \
286 $(RL_LIBSRC)/colors.c $(RL_LIBSRC)/parse-colors.c \
287 $(RL_LIBSRC)/misc.c $(RL_LIBSRC)/mbutil.c $(RL_LIBSRC)/compat.c \
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 \
301 $(RL_LIBDIR)/shell.o $(RL_LIBDIR)/savestring.o \
302 $(RL_LIBDIR)/mbutil.o $(RL_LIBDIR)/compat.o \
303 $(RL_LIBDIR)/history.o $(RL_LIBDIR)/histexpand.o \
304 $(RL_LIBDIR)/histsearch.o $(RL_LIBDIR)/histfile.o \
305 $(RL_LIBDIR)/colors.o $(RL_LIBDIR)/parse-colors.o
306
307HIST_LIBSRC = $(LIBSRC)/readline
308HIST_LIBDIR = @HIST_LIBDIR@
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 \
319 $(HIST_LIBSRC)/shell.c \
320 $(HIST_LIBSRC)/history.h $(HIST_LIBSRC)/histlib.h
321HISTORY_OBJ = $(HIST_LIBDIR)/history.o $(HIST_LIBDIR)/histexpand.o \
322 $(HIST_LIBDIR)/histsearch.o $(HIST_LIBDIR)/histfile.o \
323 $(HIST_LIBDIR)/shell.o
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
347GLOB_SOURCE = $(GLOB_LIBSRC)/glob.c $(GLOB_LIBSRC)/strmatch.c \
348 $(GLOB_LIBSRC)/smatch.c $(GLOB_LIBSRC)/xmbsrtowcs.c \
349 $(GLOB_LIBSRC)/glob_loop.c $(GLOB_LIBSRC)/sm_loop.c \
350 $(GLOB_LIBSRC)/gmisc.c \
351 $(GLOB_LIBSRC)/glob.h $(GLOB_LIBSRC)/strmatch.h
352GLOB_OBJ = $(GLOB_LIBDIR)/glob.o $(GLOB_LIBDIR)/strmatch.o \
353 $(GLOB_LIBDIR)/smatch.o $(GLOB_LIBDIR)/xmbsrtowcs.o \
354 $(GLOB_LIBDIR)/gmisc.o
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
361TILDE_LIB = @TILDE_LIB@
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
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
382# libiconv
383LIBICONV = @LIBICONV@
384
385# tests
386LIBINTL = @LIBINTL@
387LTLIBINTL = @LTLIBINTL@
388INTLLIBS = @INTLLIBS@
389INTLOBJS = @INTLOBJS@
390
391# Our malloc.
392MALLOC_TARGET = @MALLOC_TARGET@
393
394# set to alloca.o if we are using the C alloca in lib/malloc
395ALLOCA = @ALLOCA@
396
397ALLOC_LIBSRC = $(LIBSRC)/malloc
398ALLOC_LIBDIR = $(dot)/$(LIBSUBDIR)/malloc
399ALLOC_ABSSRC = ${topdir}/$(ALLOC_LIBDIR)
400
401MALLOC_SRC = @MALLOC_SRC@
402MALLOC_OTHERSRC = ${ALLOC_LIBSRC}/trace.c ${ALLOC_LIBSRC}/stats.c \
403 ${ALLOC_LIBSRC}/table.c ${ALLOC_LIBSRC}/watch.c
404MALLOC_SOURCE = ${ALLOC_LIBSRC}/${MALLOC_SRC} ${MALLOC_OTHERSRC}
405MALLOC_CFLAGS = -DRCHECK -Dbotch=programming_error ${MALLOC_DEBUG}
406
407MALLOC_LIB = @MALLOC_LIB@
408MALLOC_LIBRARY = @MALLOC_LIBRARY@
409MALLOC_LDFLAGS = @MALLOC_LDFLAGS@
410MALLOC_DEP = @MALLOC_DEP@
411
412ALLOC_HEADERS = $(ALLOC_LIBSRC)/getpagesize.h $(ALLOC_LIBSRC)/shmalloc.h \
413 $(ALLOC_LIBSRC)/imalloc.h $(ALLOC_LIBSRC)/mstats.h \
414 $(ALLOC_LIBSRC)/table.h $(ALLOC_LIBSRC)/watch.h
415
416$(MALLOC_LIBRARY): ${MALLOC_SOURCE} ${ALLOC_HEADERS} config.h
417 @(cd $(ALLOC_LIBDIR) && \
418 $(MAKE) $(MFLAGS) \
419 MALLOC_CFLAGS="$(MALLOC_CFLAGS)" ${MALLOC_TARGET} ) || exit 1
420
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 \
428 $(BASHINCDIR)/shtty.h $(BASHINCDIR)/typemax.h \
429 $(BASHINCDIR)/ocache.h
430
431LIBRARIES = $(GLOB_LIB) $(SHLIB_LIB) $(READLINE_LIB) $(HISTORY_LIB) \
432 $(TERMCAP_LIB) $(TILDE_LIB) $(MALLOC_LIB) $(INTL_LIB) $(LIBICONV) \
433 $(LOCAL_LIBS)
434
435LIBDEP = $(GLOB_DEP) $(SHLIB_DEP) $(INTL_DEP) $(READLINE_DEP) $(HISTORY_DEP) \
436 $(TERMCAP_DEP) $(TILDE_DEP) $(MALLOC_DEP)
437
438LIBRARY_LDFLAGS = $(READLINE_LDFLAGS) $(HISTORY_LDFLAGS) $(GLOB_LDFLAGS) \
439 $(TILDE_LDFLAGS) $(MALLOC_LDFLAGS) $(SHLIB_LDFLAGS)
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 \
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 \
450 input.c bashhist.c array.c arrayfunc.c assoc.c sig.c pathexp.c \
451 unwind_prot.c siglist.c bashline.c bracecomp.c error.c \
452 list.c stringlib.c locale.c findcmd.c redir.c \
453 pcomplete.c pcomplib.c syntax.c xmalloc.c
454
455HSOURCES = shell.h flags.h trap.h hashcmd.h hashlib.h jobs.h builtins.h \
456 general.h variables.h config.h $(ALLOC_HEADERS) alias.h \
457 quit.h unwind_prot.h syntax.h ${GRAM_H} \
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 \
460 array.h arrayfunc.h sig.h mailcheck.h bashintl.h bashjmp.h \
461 execute_cmd.h parser.h pathexp.h pathnames.h pcomplete.h assoc.h \
462 $(BASHINCFILES)
463
464SOURCES = $(CSOURCES) $(HSOURCES) $(BUILTIN_DEFS)
465
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 \
472 conftypes.h unwind_prot.h jobs.h siglist.h \
473 execute_cmd.h
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
480# header files chosen based on running of configure
481SIGNAMES_H = @SIGNAMES_H@
482
483# object files chosen based on running of configure
484JOBS_O = @JOBS_O@
485SIGLIST_O = @SIGLIST_O@
486SIGNAMES_O = @SIGNAMES_O@
487
488ARRAY_O = @ARRAY_O@
489
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 \
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 \
495 alias.o $(ARRAY_O) arrayfunc.o assoc.o braces.o bracecomp.o bashhist.o \
496 bashline.o $(SIGLIST_O) list.o stringlib.o locale.o findcmd.o redir.o \
497 pcomplete.o pcomplib.o syntax.o xmalloc.o $(SIGNAMES_O)
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
504DEBUGGER_DIR = $(dot)/debugger
505
506BUILTIN_DEFS = $(DEFSRC)/alias.def $(DEFSRC)/bind.def $(DEFSRC)/break.def \
507 $(DEFSRC)/builtin.def $(DEFSRC)/cd.def $(DEFSRC)/colon.def \
508 $(DEFSRC)/command.def ${DEFSRC}/complete.def \
509 $(DEFSRC)/caller.def $(DEFSRC)/declare.def \
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 \
520 $(DEFSRC)/pushd.def $(DEFSRC)/shopt.def $(DEFSRC)/printf.def \
521 $(DEFSRC)/mapfile.def
522BUILTIN_C_SRC = $(DEFSRC)/mkbuiltins.c $(DEFSRC)/common.c \
523 $(DEFSRC)/evalstring.c $(DEFSRC)/evalfile.c \
524 $(DEFSRC)/bashgetopt.c $(GETOPT_SOURCE)
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 \
529 $(DEFDIR)/command.o $(DEFDIR)/caller.o $(DEFDIR)/declare.o \
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 \
535 $(DEFDIR)/return.o $(DEFDIR)/shopt.o $(DEFDIR)/printf.o \
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 \
540 $(DEFDIR)/getopts.o $(DEFDIR)/mapfile.o $(BUILTIN_C_OBJ)
541GETOPT_SOURCE = $(DEFSRC)/getopt.c $(DEFSRC)/getopt.h
542PSIZE_SOURCE = $(DEFSRC)/psize.sh $(DEFSRC)/psize.c
543
544BUILTINS_LIBRARY = $(DEFDIR)/libbuiltins.a
545BUILTINS_LIB = -lbuiltins
546BUILTINS_LDFLAGS = -L$(DEFDIR)
547BUILTINS_DEP = $(BUILTINS_LIBRARY)
548
549# Documentation for the shell.
550DOCSRC = $(srcdir)/doc
551DOCDIR = $(dot)/doc
552
553# Translations and other i18n support files
554PO_SRC = $(srcdir)/po/
555PO_DIR = $(dot)/po/
556
557SIGNAMES_SUPPORT = $(SUPPORT_SRC)mksignames.c
558
559SUPPORT_SRC = $(srcdir)/support/
560SDIR = $(dot)/support
561
562TESTS_SUPPORT = recho$(EXEEXT) zecho$(EXEEXT) printenv$(EXEEXT) xcase$(EXEEXT)
563CREATED_SUPPORT = signames.h recho$(EXEEXT) zecho$(EXEEXT) printenv$(EXEEXT) \
564 tests/recho$(EXEEXT) tests/zecho$(EXEEXT) \
565 tests/printenv$(EXEEXT) xcase$(EXEEXT) tests/xcase$(EXEEXT) \
566 mksignames$(EXEEXT) lsignames.h \
567 mksyntax${EXEEXT} syntax.c $(VERSPROG) $(VERSOBJ) \
568 buildversion.o mksignames.o signames.o buildsignames.o
569CREATED_CONFIGURE = config.h config.cache config.status config.log \
570 stamp-h po/POTFILES config.status.lineno
571CREATED_MAKEFILES = Makefile builtins/Makefile doc/Makefile \
572 lib/readline/Makefile lib/glob/Makefile \
573 lib/sh/Makefile lib/tilde/Makefile lib/malloc/Makefile \
574 lib/termcap/Makefile examples/loadables/Makefile \
575 examples/loadables/Makefile.inc examples/loadables/Makefile.sample \
576 examples/loadables/perl/Makefile support/Makefile \
577 lib/intl/Makefile po/Makefile po/Makefile.in
578CREATED_HEADERS = signames.h config.h pathnames.h version.h y.tab.h \
579 ${DEFDIR}/builtext.h
580
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
585LOADABLES_DIR = ${top_builddir}/examples/loadables
586
587# Keep GNU Make from exporting the entire environment for small machines.
588.NOEXPORT:
589
590.made: $(Program) bashbug $(SDIR)/man2html$(EXEEXT)
591 @echo "$(Program) last made for a $(Machine) running $(OS)" >.made
592
593$(Program): $(OBJECTS) $(BUILTINS_DEP) $(LIBDEP) .build
594 $(RM) $@
595 $(PURIFY) $(CC) $(BUILTINS_LDFLAGS) $(LIBRARY_LDFLAGS) $(LDFLAGS) -o $(Program) $(OBJECTS) $(LIBS)
596 ls -l $(Program)
597 -$(SIZE) $(Program)
598
599.build: $(SOURCES) config.h Makefile $(DEFDIR)/builtext.h version.h $(VERSPROG)
600 @echo
601 @echo " ***********************************************************"
602 @echo " * *"
603 @echo " * `$(BUILD_DIR)/$(VERSPROG) -l`"
604 @echo " * *"
605 @echo " ***********************************************************"
606 @echo
607
608bashbug: $(SDIR)/bashbug.sh $(VERSPROG)
609 @sed -e "s%!PATCHLEVEL!%$(PatchLevel)%" \
610 $(SDIR)/bashbug.sh > $@
611 @chmod a+rx bashbug
612
613strip: $(Program) .made
614 $(STRIP) $(Program)
615 ls -l $(Program)
616 -$(SIZE) $(Program)
617
618lint:
619 ${MAKE} ${MFLAGS} ADDON_CFLAGS='${GCC_LINT_FLAGS}' .made
620
621asan:
622 ${MAKE} ${MFLAGS} ADDON_CFLAGS='${ASAN_XCFLAGS}' ADDON_LDFLAGS='${ASAN_XLDFLAGS}' .made
623
624valgrind:
625 ${MAKE} ${MFLAGS} ADDON_CFLAGS='-DDISABLE_MALLOC_WRAPPERS' ADDON_LDFLAGS= .made
626
627# cheating
628gcov:
629 ${MAKE} ${MFLAGS} CFLAGS=-g ADDON_CFLAGS='${GCOV_XCFLAGS}' ADDON_LDFLAGS='${GCOV_XLDFLAGS}' .made
630
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 && \
636 BUILD_DIR=$(BUILD_DIR) PATH=$(BUILD_DIR)/tests:$$PATH THIS_SH=$(THIS_SH) $(SHELL) ${TESTSCRIPT} )
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
642version.h: $(SOURCES) config.h Makefile patchlevel.h
643 $(SHELL) $(SUPPORT_SRC)mkversion.sh -b -S ${topdir} -s $(RELSTATUS) -d $(Version) -o newversion.h \
644 && mv newversion.h version.h
645
646bashversion$(EXEEXT): buildversion.o $(SUPPORT_SRC)bashversion.c
647 $(CC_FOR_BUILD) $(CCFLAGS_FOR_BUILD) ${LDFLAGS_FOR_BUILD} -o $@ $(SUPPORT_SRC)bashversion.c buildversion.o ${LIBS_FOR_BUILD}
648
649buildversion.o: $(srcdir)/version.c
650 $(CC_FOR_BUILD) $(CCFLAGS_FOR_BUILD) -DBUILDTOOL -c -o $@ $(srcdir)/version.c
651
652buildversion.o: bashintl.h $(BASHINCDIR)/gettext.h
653buildversion.o: version.h patchlevel.h conftypes.h
654
655# old rules
656GRAM_H = parser-built
657y.tab.o: y.tab.h y.tab.c ${GRAM_H} command.h ${BASHINCDIR}/stdc.h input.h
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
662
663y.tab.c: parse.y
664# -if test -f y.tab.h; then mv -f y.tab.h old-y.tab.h; fi
665 $(YACC) -d $(srcdir)/parse.y
666 $(RM) parser-built
667 touch parser-built
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
669
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
679
680$(READLINE_LIBRARY): config.h $(READLINE_SOURCE)
681 @echo making $@ in ${RL_LIBDIR}
682 @( { test "${RL_LIBDIR}" = "${libdir}" && exit 0; } || \
683 cd ${RL_LIBDIR} && $(MAKE) $(MFLAGS) DEBUG=${DEBUG} libreadline.a) || exit 1
684
685$(HISTORY_LIBRARY): config.h $(HISTORY_SOURCE) $(READLINE_DEP)
686 @echo making $@ in ${HIST_LIBDIR}
687 @( { test "${HIST_LIBDIR}" = "${libdir}" && exit 0; } || \
688 cd ${HIST_LIBDIR} && $(MAKE) $(MFLAGS) DEBUG=${DEBUG} libhistory.a) || exit 1
689
690$(GLOB_LIBRARY): config.h $(GLOB_SOURCE)
691 @echo making $@ in ${GLOB_LIBDIR}
692 @(cd ${GLOB_LIBDIR} && \
693 $(MAKE) $(MFLAGS) DEBUG=${DEBUG} libglob.a) || exit 1
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}
701 @echo making $@ in ${TERM_LIBDIR}
702 @(cd ${TERM_LIBDIR} && \
703 $(MAKE) $(MFLAGS) libtermcap.a) || exit 1
704
705$(SHLIB_LIBRARY): config.h ${SHLIB_SOURCE}
706 @echo making $@ in ${SH_LIBDIR}
707 @(cd ${SH_LIBDIR} && \
708 $(MAKE) $(MFLAGS) DEBUG=${DEBUG} ${SHLIB_LIBNAME}) || exit 1
709
710${INTL_LIBRARY}: config.h ${INTL_LIBDIR}/Makefile
711 @echo making $@ in ${INTL_LIBDIR}
712 @(cd ${INTL_LIBDIR} && \
713 $(MAKE) $(MFLAGS) XCFLAGS="${LOCAL_CFLAGS}" all) || exit 1
714
715${LIBINTL_H}: ${INTL_DEP}
716
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) $@
731 $(CC_FOR_BUILD) $(CCFLAGS_FOR_BUILD) ${LDFLAGS_FOR_BUILD} -o $@ mksignames.o buildsignames.o ${LIBS_FOR_BUILD}
732
733mksyntax$(EXEEXT): ${srcdir}/mksyntax.c config.h syntax.h ${BASHINCDIR}/chartypes.h bashansi.h
734 $(RM) $@
735 ${CC_FOR_BUILD} ${CCFLAGS_FOR_BUILD} ${LDFLAGS_FOR_BUILD} -o $@ ${srcdir}/mksyntax.c ${LIBS_FOR_BUILD}
736
737# make a list of signals for the local system -- this is done when we're
738# *not* cross-compiling
739lsignames.h: mksignames$(EXEEXT)
740 $(RM) $@
741 ./mksignames$(EXEEXT) $@
742
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
747syntax.c: mksyntax${EXEEXT} $(srcdir)/syntax.h
748 $(RM) $@
749 ./mksyntax$(EXEEXT) -o $@
750
751$(BUILTINS_LIBRARY): $(DEFDIR)/builtext.h $(BUILTIN_DEFS) $(BUILTIN_C_SRC) config.h ${BASHINCDIR}/memalloc.h version.h
752 @(cd $(DEFDIR) && $(MAKE) $(MFLAGS) DEBUG=${DEBUG} targets ) || exit 1
753
754# these require special rules to circumvent make builtin rules
755${DEFDIR}/common.o: $(BUILTIN_SRCDIR)/common.c
756 @(cd $(DEFDIR) && $(MAKE) $(MFLAGS) DEBUG=${DEBUG} common.o) || exit 1
757
758${DEFDIR}/bashgetopt.o: $(BUILTIN_SRCDIR)/bashgetopt.c
759 @(cd $(DEFDIR) && $(MAKE) $(MFLAGS) DEBUG=${DEBUG} bashgetopt.o) || exit 1
760
761${DEFDIR}/builtext.h: $(BUILTIN_DEFS)
762 @(cd $(DEFDIR) && $(MAKE) $(MFLAGS) builtext.h ) || exit 1
763
764${DEFDIR}/pipesize.h: ${BUILTINS_LIBRARY}
765 @(cd $(DEFDIR) && $(MAKE) $(MFLAGS) pipesize.h ) || exit 1
766
767$(SDIR)/man2html$(EXEEXT): ${SUPPORT_SRC}/man2html.c
768 @(cd $(SDIR) && $(MAKE) $(MFLAGS) all ) || exit 1
769
770# For the justification of the following Makefile rules, see node
771# `Automatic Remaking' in GNU Autoconf documentation.
772
773Makefile makefile: config.status $(srcdir)/Makefile.in
774 CONFIG_FILES=Makefile CONFIG_HEADERS= $(SHELL) ./config.status
775
776Makefiles makefiles: config.status $(srcdir)/Makefile.in
777 @for mf in $(CREATED_MAKEFILES); do \
778 CONFIG_FILES=$$mf CONFIG_HEADERS= $(SHELL) ./config.status || exit 1; \
779 done
780
781config.h: stamp-h
782
783stamp-h: config.status $(srcdir)/config.h.in $(srcdir)/config-top.h $(srcdir)/config-bot.h
784 CONFIG_FILES= CONFIG_HEADERS=config.h $(SHELL) ./config.status
785
786config.status: $(srcdir)/configure
787 $(SHELL) ./config.status --recheck
788
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
798# comment out for distribution
799$(srcdir)/configure: $(srcdir)/configure.ac $(srcdir)/aclocal.m4 $(srcdir)/config.h.in
800 cd $(srcdir) && autoconf
801
802# for chet
803reconfig: force
804 sh $(srcdir)/configure -C
805
806loadables:
807 cd $(LOADABLES_DIR) && $(MAKE) $(MFLAGS) all
808
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)
814
815doc documentation: force
816 @(cd $(DOCDIR) ; $(MAKE) $(MFLAGS) )
817
818info dvi ps: force
819 @(cd $(DOCDIR) ; $(MAKE) $(MFLAGS) CFLAGS='$(CCFLAGS)' $@ )
820
821force:
822
823# unused
824TAGS: $(SOURCES) $(BUILTIN_C_SRC) $(LIBRARY_SOURCE)
825 ( cd $(topdir) && $(ETAGS) $(ETAGSFLAGS) $(SOURCES) $(BUILTIN_C_SRC) $(LIBRARY_SOURCE) )
826
827tags: $(SOURCES) $(BUILTIN_C_SRC) $(LIBRARY_SOURCE)
828 ( cd $(topdir) && $(CTAGS) $(CTAGSFLAGS) $(SOURCES) $(BUILTIN_C_SRC) $(LIBRARY_SOURCE) > $@ )
829
830# Targets that actually do things not part of the build
831
832installdirs:
833 @${SHELL} $(SUPPORT_SRC)mkinstalldirs $(DESTDIR)$(bindir)
834 @${SHELL} $(SUPPORT_SRC)mkinstalldirs $(DESTDIR)$(man1dir)
835 @${SHELL} $(SUPPORT_SRC)mkinstalldirs $(DESTDIR)$(infodir)
836 @${SHELL} $(SUPPORT_SRC)mkinstalldirs $(DESTDIR)$(docdir)
837 -( cd $(PO_DIR) ; $(MAKE) $(MFLAGS) DESTDIR=$(DESTDIR) $@ )
838
839install: .made installdirs
840 $(INSTALL_PROGRAM) $(INSTALLMODE) $(Program) $(DESTDIR)$(bindir)/$(Program)
841 $(INSTALL_SCRIPT) $(INSTALLMODE2) bashbug $(DESTDIR)$(bindir)/bashbug
842 $(INSTALL_DATA) $(OTHER_DOCS) $(DESTDIR)$(docdir)
843 -( cd $(DOCDIR) ; $(MAKE) $(MFLAGS) \
844 man1dir=$(man1dir) man1ext=$(man1ext) \
845 man3dir=$(man3dir) man3ext=$(man3ext) \
846 infodir=$(infodir) htmldir=$(htmldir) DESTDIR=$(DESTDIR) $@ )
847 -( cd $(DEFDIR) ; $(MAKE) $(MFLAGS) DESTDIR=$(DESTDIR) $@ )
848 -( cd $(PO_DIR) ; $(MAKE) $(MFLAGS) DESTDIR=$(DESTDIR) $@ )
849 -( cd $(LOADABLES_DIR) && $(MAKE) $(MFLAGS) DESTDIR=$(DESTDIR) $@ )
850
851install-strip:
852 $(MAKE) $(MFLAGS) INSTALL_PROGRAM='$(INSTALL_PROGRAM) -s' \
853 prefix=${prefix} exec_prefix=${exec_prefix} \
854 DESTDIR=$(DESTDIR) install
855
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
860 @${SHELL} $(SUPPORT_SRC)mkinstalldirs $(DESTDIR)$(pkgconfigdir)
861
862install-headers: install-headers-dirs
863 @for hf in $(INSTALLED_HEADERS) ; do \
864 ${INSTALL_DATA} $(srcdir)/"$$hf" $(DESTDIR)$(headersdir)/$$hf || exit 1; \
865 done
866 @for hf in $(INSTALLED_INCFILES) ; do \
867 ${INSTALL_DATA} $(BASHINCDIR)/"$$hf" $(DESTDIR)$(headersdir)/include/$$hf || exit 1; \
868 done
869 @for hf in $(INSTALLED_BUILTINS_HEADERS) ; do \
870 ${INSTALL_DATA} $(BUILTIN_SRCDIR)/"$$hf" $(DESTDIR)$(headersdir)/builtins/$$hf || exit 1; \
871 done
872 @for hf in $(CREATED_HEADERS) ; do \
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 ; \
878 done
879 -$(INSTALL_DATA) $(SDIR)/bash.pc $(DESTDIR)$(pkgconfigdir)/bash.pc
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) )
886 -( $(RM) $(DESTDIR)$(pkgconfigdir)/bash.pc )
887
888uninstall: .made
889 $(RM) $(DESTDIR)$(bindir)/$(Program) $(DESTDIR)$(bindir)/bashbug
890 -( cd $(DESTDIR)$(docdir) && ${RM} ${OTHER_INSTALLED_DOCS} )
891 -( cd $(DOCDIR) ; $(MAKE) $(MFLAGS) \
892 man1dir=$(man1dir) man1ext=$(man1ext) \
893 man3dir=$(man3dir) man3ext=$(man3ext) \
894 infodir=$(infodir) htmldir=$(htmldir) DESTDIR=$(DESTDIR) $@ )
895 -( cd $(PO_DIR) ; $(MAKE) $(MFLAGS) DESTDIR=$(DESTDIR) $@ )
896 -( cd $(LOADABLES_DIR) && $(MAKE) $(MFLAGS) DESTDIR=$(DESTDIR) $@ )
897
898.PHONY: basic-clean clean realclean maintainer-clean distclean mostlyclean maybe-clean
899
900LIB_SUBDIRS = ${RL_LIBDIR} ${HIST_LIBDIR} ${TERM_LIBDIR} ${GLOB_LIBDIR} \
901 ${INTL_LIBDIR} ${TILDE_LIBDIR} ${ALLOC_LIBDIR} ${SH_LIBDIR}
902
903basic-clean:
904 $(RM) $(OBJECTS) $(Program) bashbug
905 $(RM) .build .made version.h
906
907clean: basic-clean
908 ( cd $(DOCDIR) && $(MAKE) $(MFLAGS) $@ )
909 ( cd builtins && $(MAKE) $(MFLAGS) $@ )
910 -( cd $(SDIR) && $(MAKE) $(MFLAGS) $@ )
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) $@ )
915 -( cd $(LOADABLES_DIR) && $(MAKE) $(MFLAGS) DESTDIR=$(DESTDIR) $@ )
916 $(RM) $(CREATED_SUPPORT)
917
918mostlyclean: basic-clean
919 ( cd $(DOCDIR) && $(MAKE) $(MFLAGS) $@ )
920 ( cd builtins && $(MAKE) $(MFLAGS) $@ )
921 -( cd $(SDIR) && $(MAKE) $(MFLAGS) $@ )
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) $@ )
926 -( cd $(LOADABLES_DIR) && $(MAKE) $(MFLAGS) DESTDIR=$(DESTDIR) $@ )
927
928distclean: basic-clean maybe-clean
929 ( cd $(DOCDIR) && $(MAKE) $(MFLAGS) $@ )
930 ( cd builtins && $(MAKE) $(MFLAGS) $@ )
931 -( cd $(SDIR) && $(MAKE) $(MFLAGS) $@ )
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) $@ )
936 -( cd $(LOADABLES_DIR) && $(MAKE) $(MFLAGS) DESTDIR=$(DESTDIR) $@ )
937 $(RM) $(CREATED_CONFIGURE) tags TAGS
938 $(RM) $(CREATED_SUPPORT) Makefile $(CREATED_MAKEFILES) pathnames.h
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.
943 $(RM) y.tab.c y.tab.h parser-built tags TAGS
944 ( cd $(DOCDIR) && $(MAKE) $(MFLAGS) $@ )
945 ( cd builtins && $(MAKE) $(MFLAGS) $@ )
946 ( cd $(SDIR) && $(MAKE) $(MFLAGS) $@ )
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) $@ )
951 -( cd $(LOADABLES_DIR) && $(MAKE) $(MFLAGS) DESTDIR=$(DESTDIR) $@ )
952 $(RM) $(CREATED_CONFIGURE) $(CREATED_MAKEFILES)
953 $(RM) $(CREATED_SUPPORT) Makefile pathnames.h
954
955maybe-clean:
956 -if test X"`cd $(topdir) && pwd -P`" != X"`cd $(BUILD_DIR) && pwd -P`" ; then \
957 $(RM) parser-built y.tab.c y.tab.h ; \
958 fi
959
960recho$(EXEEXT): $(SUPPORT_SRC)recho.c
961 @$(CC_FOR_BUILD) $(CCFLAGS_FOR_BUILD) ${LDFLAGS_FOR_BUILD} -o $@ $(SUPPORT_SRC)recho.c ${LIBS_FOR_BUILD}
962
963zecho$(EXEEXT): $(SUPPORT_SRC)zecho.c
964 @$(CC_FOR_BUILD) $(CCFLAGS_FOR_BUILD) ${LDFLAGS_FOR_BUILD} -o $@ $(SUPPORT_SRC)zecho.c ${LIBS_FOR_BUILD}
965
966printenv$(EXEEXT): $(SUPPORT_SRC)printenv.c
967 @$(CC_FOR_BUILD) $(CCFLAGS_FOR_BUILD) ${LDFLAGS_FOR_BUILD} -o $@ $(SUPPORT_SRC)printenv.c ${LIBS_FOR_BUILD}
968
969xcase$(EXEEXT): $(SUPPORT_SRC)xcase.c
970 @$(CC_FOR_BUILD) $(CCFLAGS_FOR_BUILD) ${LDFLAGS_FOR_BUILD} -o $@ $(SUPPORT_SRC)xcase.c ${LIBS_FOR_BUILD}
971
972test tests check: force $(Program) $(TESTS_SUPPORT)
973 @-test -d tests || mkdir tests
974 @cp $(TESTS_SUPPORT) tests
975 @( cd $(srcdir)/tests && \
976 BUILD_DIR=$(BUILD_DIR) PATH=$(BUILD_DIR)/tests:$$PATH THIS_SH=$(THIS_SH) $(SHELL) ${TESTSCRIPT} )
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:
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) $@ )
989
990depend: depends
991
992depends: force
993 $(Program) $(SUPPORT_SRC)mkdep -c ${CC} -- ${CCFLAGS} ${CSOURCES}
994
995#### PRIVATE TARGETS ####
996hashtest: hashlib.c
997 $(CC) -DTEST_HASHING $(CCFLAGS) $(TEST_NBUCKETS) -o $@ $(srcdir)/hashlib.c xmalloc.o $(INTL_LIB) $(MALLOC_LIBRARY)
998
999############################ DEPENDENCIES ###############################
1000
1001# Files that depend on the definitions in config-top.h, which are not meant
1002# to be changed
1003array.o: $(srcdir)/config-top.h
1004array2.o: $(srcdir)/config-top.h
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
1028
1029# shell basics
1030copy_cmd.o: shell.h syntax.h config.h bashjmp.h ${BASHINCDIR}/posixjmp.h command.h ${BASHINCDIR}/stdc.h error.h
1031copy_cmd.o: general.h xmalloc.h bashtypes.h variables.h arrayfunc.h conftypes.h array.h hashlib.h
1032copy_cmd.o: quit.h ${BASHINCDIR}/maxpath.h unwind_prot.h dispose_cmd.h
1033copy_cmd.o: make_cmd.h subst.h sig.h pathnames.h externs.h
1034copy_cmd.o: bashansi.h assoc.h $(BASHINCDIR)/ocache.h $(BASHINCDIR)/chartypes.h
1035dispose_cmd.o: bashansi.h ${BASHINCDIR}/ansi_stdlib.h
1036dispose_cmd.o: shell.h syntax.h config.h bashjmp.h ${BASHINCDIR}/posixjmp.h command.h ${BASHINCDIR}/stdc.h
1037dispose_cmd.o: error.h general.h xmalloc.h bashtypes.h variables.h arrayfunc.h conftypes.h array.h hashlib.h
1038dispose_cmd.o: quit.h ${BASHINCDIR}/maxpath.h unwind_prot.h dispose_cmd.h
1039dispose_cmd.o: make_cmd.h subst.h sig.h pathnames.h externs.h
1040dispose_cmd.o: ${BASHINCDIR}/ocache.h
1041dispose_cmd.o: assoc.h ${BASHINCDIR}/chartypes.h
1042error.o: config.h bashtypes.h bashansi.h ${BASHINCDIR}/ansi_stdlib.h flags.h ${BASHINCDIR}/stdc.h error.h
1043error.o: command.h general.h xmalloc.h externs.h input.h bashhist.h
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
1047error.o: make_cmd.h subst.h sig.h pathnames.h externs.h execute_cmd.h
1048error.o: input.h execute_cmd.h
1049error.o: $(BASHINCDIR)/ocache.h $(BASHINCDIR)/chartypes.h assoc.h
1050eval.o: config.h bashansi.h ${BASHINCDIR}/ansi_stdlib.h trap.h flags.h ${DEFSRC}/common.h
1051eval.o: shell.h syntax.h config.h bashjmp.h ${BASHINCDIR}/posixjmp.h command.h ${BASHINCDIR}/stdc.h error.h
1052eval.o: general.h xmalloc.h bashtypes.h variables.h arrayfunc.h conftypes.h array.h hashlib.h
1053eval.o: quit.h ${BASHINCDIR}/maxpath.h unwind_prot.h dispose_cmd.h
1054eval.o: make_cmd.h subst.h sig.h pathnames.h externs.h parser.h
1055eval.o: input.h execute_cmd.h
1056eval.o: bashhist.h assoc.h ${BASHINCDIR}/ocache.h ${BASHINCDIR}/chartypes.h
1057execute_cmd.o: config.h bashtypes.h ${BASHINCDIR}/filecntl.h ${BASHINCDIR}/posixstat.h bashansi.h ${BASHINCDIR}/ansi_stdlib.h
1058execute_cmd.o: shell.h syntax.h config.h bashjmp.h ${BASHINCDIR}/posixjmp.h command.h ${BASHINCDIR}/stdc.h error.h
1059execute_cmd.o: general.h xmalloc.h bashtypes.h variables.h arrayfunc.h conftypes.h array.h hashlib.h
1060execute_cmd.o: quit.h ${BASHINCDIR}/maxpath.h unwind_prot.h dispose_cmd.h
1061execute_cmd.o: make_cmd.h subst.h sig.h pathnames.h externs.h parser.h
1062execute_cmd.o: ${BASHINCDIR}/memalloc.h ${GRAM_H} flags.h builtins.h jobs.h quit.h siglist.h
1063execute_cmd.o: execute_cmd.h findcmd.h redir.h trap.h test.h pathexp.h
1064execute_cmd.o: $(DEFSRC)/common.h ${DEFDIR}/builtext.h ${GLOB_LIBSRC}/strmatch.h
1065execute_cmd.o: ${BASHINCDIR}/posixtime.h ${BASHINCDIR}/chartypes.h
1066execute_cmd.o: $(DEFSRC)/getopt.h
1067execute_cmd.o: bashhist.h input.h ${GRAM_H} assoc.h hashcmd.h alias.h
1068execute_cmd.o: ${BASHINCDIR}/ocache.h ${BASHINCDIR}/posixwait.h
1069expr.o: config.h bashansi.h ${BASHINCDIR}/ansi_stdlib.h
1070expr.o: shell.h syntax.h config.h bashjmp.h ${BASHINCDIR}/posixjmp.h command.h ${BASHINCDIR}/stdc.h error.h
1071expr.o: general.h xmalloc.h bashtypes.h variables.h arrayfunc.h conftypes.h array.h hashlib.h
1072expr.o: quit.h ${BASHINCDIR}/maxpath.h unwind_prot.h dispose_cmd.h
1073expr.o: make_cmd.h subst.h sig.h pathnames.h externs.h flags.h execute_cmd.h
1074expr.o: ${BASHINCDIR}/chartypes.h
1075expr.o: assoc.h ${BASHINCDIR}/ocache.h ${BASHINCDIR}/typemax.h
1076findcmd.o: config.h bashtypes.h ${BASHINCDIR}/filecntl.h ${BASHINCDIR}/posixstat.h bashansi.h
1077findcmd.o: ${BASHINCDIR}/ansi_stdlib.h ${BASHINCDIR}/memalloc.h shell.h syntax.h bashjmp.h ${BASHINCDIR}/posixjmp.h command.h
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
1079findcmd.o: dispose_cmd.h make_cmd.h subst.h sig.h pathnames.h externs.h
1080findcmd.o: flags.h hashlib.h pathexp.h hashcmd.h execute_cmd.h
1081findcmd.o: ${BASHINCDIR}/chartypes.h
1082flags.o: config.h flags.h
1083flags.o: shell.h syntax.h config.h bashjmp.h ${BASHINCDIR}/posixjmp.h command.h ${BASHINCDIR}/stdc.h error.h
1084flags.o: general.h xmalloc.h bashtypes.h variables.h arrayfunc.h conftypes.h array.h hashlib.h
1085flags.o: quit.h ${BASHINCDIR}/maxpath.h unwind_prot.h dispose_cmd.h execute_cmd.h
1086flags.o: make_cmd.h subst.h sig.h pathnames.h externs.h bashhist.h
1087flags.o: ${BASHINCDIR}/ocache.h ${BASHINCDIR}/chartypes.h bashansi.h assoc.h
1088general.o: config.h bashtypes.h ${BASHINCDIR}/posixstat.h ${BASHINCDIR}/filecntl.h bashansi.h ${BASHINCDIR}/ansi_stdlib.h
1089general.o: shell.h syntax.h config.h bashjmp.h ${BASHINCDIR}/posixjmp.h command.h ${BASHINCDIR}/stdc.h error.h
1090general.o: general.h xmalloc.h bashtypes.h variables.h arrayfunc.h conftypes.h array.h hashlib.h
1091general.o: quit.h ${BASHINCDIR}/maxpath.h unwind_prot.h dispose_cmd.h
1092general.o: make_cmd.h subst.h sig.h pathnames.h externs.h flags.h parser.h
1093general.o: pathexp.h
1094general.o: ${BASHINCDIR}/maxpath.h ${BASHINCDIR}/posixtime.h
1095general.o: ${BASHINCDIR}/chartypes.h
1096general.o: trap.h input.h assoc.h test.h findcmd.h
1097general.o: ${BASHINCDIR}/ocache.h $(DEFSRC)/common.h
1098hashcmd.o: config.h ${BASHINCDIR}/posixstat.h bashtypes.h bashansi.h ${BASHINCDIR}/ansi_stdlib.h
1099hashcmd.o: shell.h syntax.h config.h bashjmp.h ${BASHINCDIR}/posixjmp.h command.h ${BASHINCDIR}/stdc.h error.h
1100hashcmd.o: general.h xmalloc.h bashtypes.h variables.h arrayfunc.h conftypes.h array.h hashcmd.h
1101hashcmd.o: execute_cmd.h findcmd.h ${BASHINCDIR}/stdc.h pathnames.h hashlib.h
1102hashcmd.o: quit.h sig.h flags.h
1103hashlib.o: config.h bashansi.h ${BASHINCDIR}/ansi_stdlib.h
1104hashlib.o: shell.h syntax.h config.h bashjmp.h ${BASHINCDIR}/posixjmp.h command.h ${BASHINCDIR}/stdc.h error.h
1105hashlib.o: general.h xmalloc.h bashtypes.h variables.h arrayfunc.h conftypes.h array.h hashlib.h
1106hashlib.o: quit.h ${BASHINCDIR}/maxpath.h unwind_prot.h dispose_cmd.h
1107hashlib.o: make_cmd.h subst.h sig.h pathnames.h externs.h
1108hashlib.o: assoc.h ${BASHINCDIR}/ocache.h ${BASHINCDIR}/chartypes.h
1109input.o: config.h bashtypes.h ${BASHINCDIR}/filecntl.h ${BASHINCDIR}/posixstat.h bashansi.h ${BASHINCDIR}/ansi_stdlib.h
1110input.o: command.h ${BASHINCDIR}/stdc.h general.h xmalloc.h input.h error.h externs.h
1111input.o: quit.h shell.h pathnames.h
1112list.o: shell.h syntax.h config.h bashjmp.h ${BASHINCDIR}/posixjmp.h command.h ${BASHINCDIR}/stdc.h error.h
1113list.o: general.h xmalloc.h bashtypes.h variables.h arrayfunc.h conftypes.h array.h hashlib.h
1114list.o: quit.h ${BASHINCDIR}/maxpath.h unwind_prot.h dispose_cmd.h
1115list.o: make_cmd.h subst.h sig.h pathnames.h externs.h
1116list.o: ${BASHINCDIR}/ocache.h ${BASHINCDIR}/chartypes.h bashansi.h assoc.h
1117locale.o: config.h bashtypes.h bashansi.h ${BASHINCDIR}/ansi_stdlib.h
1118locale.o: shell.h syntax.h config.h bashjmp.h ${BASHINCDIR}/posixjmp.h command.h ${BASHINCDIR}/stdc.h error.h
1119locale.o: general.h xmalloc.h bashtypes.h variables.h arrayfunc.h conftypes.h array.h hashlib.h
1120locale.o: quit.h ${BASHINCDIR}/maxpath.h unwind_prot.h dispose_cmd.h
1121locale.o: make_cmd.h subst.h sig.h pathnames.h externs.h
1122locale.o: ${BASHINCDIR}/chartypes.h
1123locale.o: input.h assoc.h ${BASHINCDIR}/ocache.h
1124mailcheck.o: config.h bashtypes.h ${BASHINCDIR}/posixstat.h bashansi.h ${BASHINCDIR}/ansi_stdlib.h
1125mailcheck.o: ${BASHINCDIR}/posixtime.h
1126mailcheck.o: shell.h syntax.h config.h bashjmp.h ${BASHINCDIR}/posixjmp.h command.h ${BASHINCDIR}/stdc.h error.h
1127mailcheck.o: general.h xmalloc.h bashtypes.h variables.h arrayfunc.h conftypes.h array.h hashlib.h
1128mailcheck.o: quit.h ${BASHINCDIR}/maxpath.h unwind_prot.h dispose_cmd.h
1129mailcheck.o: make_cmd.h subst.h sig.h pathnames.h externs.h
1130mailcheck.o: execute_cmd.h mailcheck.h
1131mailcheck.o: ${BASHINCDIR}/ocache.h ${BASHINCDIR}/chartypes.h assoc.h
1132make_cmd.o: config.h bashtypes.h ${BASHINCDIR}/filecntl.h bashansi.h
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
1135make_cmd.o: jobs.h quit.h sig.h siglist.h syntax.h dispose_cmd.h parser.h
1136make_cmd.o: ${BASHINCDIR}/shmbutil.h ${BASHINCDIR}/shmbchar.h ${BASHINCDIR}/ocache.h
1137make_cmd.o: shell.h execute_cmd.h pathnames.h
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
1140y.tab.o: config.h bashtypes.h bashansi.h ${BASHINCDIR}/ansi_stdlib.h ${BASHINCDIR}/memalloc.h
1141y.tab.o: shell.h syntax.h config.h bashjmp.h ${BASHINCDIR}/posixjmp.h command.h ${BASHINCDIR}/stdc.h error.h
1142y.tab.o: general.h xmalloc.h bashtypes.h variables.h arrayfunc.h conftypes.h array.h hashlib.h
1143y.tab.o: quit.h ${BASHINCDIR}/maxpath.h unwind_prot.h dispose_cmd.h
1144y.tab.o: make_cmd.h subst.h sig.h pathnames.h externs.h test.h execute_cmd.o
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
1147y.tab.o: ${BASHINCDIR}/typemax.h assoc.h ${BASHINCDIR}/ocache.h
1148y.tab.o: ${BASHINCDIR}/shmbutil.h ${BASHINCDIR}/shmbchar.h ${BASHINCDIR}/posixwait.h
1149pathexp.o: config.h bashtypes.h bashansi.h ${BASHINCDIR}/ansi_stdlib.h
1150pathexp.o: shell.h syntax.h config.h bashjmp.h ${BASHINCDIR}/posixjmp.h command.h ${BASHINCDIR}/stdc.h error.h
1151pathexp.o: general.h xmalloc.h bashtypes.h variables.h arrayfunc.h conftypes.h array.h hashlib.h
1152pathexp.o: quit.h ${BASHINCDIR}/maxpath.h unwind_prot.h dispose_cmd.h
1153pathexp.o: make_cmd.h subst.h sig.h pathnames.h externs.h
1154pathexp.o: pathexp.h flags.h
1155pathexp.o: $(GLOB_LIBSRC)/glob.h $(GLOB_LIBSRC)/strmatch.h
1156pathexp.o: ${BASHINCDIR}/shmbutil.h ${BASHINCDIR}/shmbchar.h
1157pathexp.o: ${BASHINCDIR}/ocache.h ${BASHINCDIR}/chartypes.h assoc.h
1158print_cmd.o: config.h bashansi.h ${BASHINCDIR}/ansi_stdlib.h
1159print_cmd.o: shell.h syntax.h config.h bashjmp.h ${BASHINCDIR}/posixjmp.h command.h ${BASHINCDIR}/stdc.h error.h
1160print_cmd.o: general.h xmalloc.h bashtypes.h variables.h arrayfunc.h conftypes.h array.h hashlib.h
1161print_cmd.o: quit.h ${BASHINCDIR}/maxpath.h unwind_prot.h dispose_cmd.h
1162print_cmd.o: make_cmd.h subst.h sig.h pathnames.h externs.h
1163print_cmd.o: ${BASHINCDIR}/shmbutil.h ${BASHINCDIR}/shmbchar.h
1164print_cmd.o: ${GRAM_H} $(DEFSRC)/common.h
1165print_cmd.o: flags.h input.h assoc.h
1166print_cmd.o: $(BASHINCDIR)/ocache.h $(BASHINCDIR)/chartypes.h
1167redir.o: config.h bashtypes.h ${BASHINCDIR}/posixstat.h bashansi.h ${BASHINCDIR}/ansi_stdlib.h ${BASHINCDIR}/filecntl.h
1168redir.o: ${BASHINCDIR}/memalloc.h shell.h syntax.h bashjmp.h ${BASHINCDIR}/posixjmp.h command.h ${BASHINCDIR}/stdc.h error.h
1169redir.o: general.h xmalloc.h variables.h arrayfunc.h conftypes.h array.h hashlib.h quit.h ${BASHINCDIR}/maxpath.h unwind_prot.h
1170redir.o: dispose_cmd.h make_cmd.h subst.h sig.h pathnames.h externs.h
1171redir.o: flags.h execute_cmd.h redir.h input.h
1172redir.o: ${DEFDIR}/pipesize.h
1173redir.o: trap.h assoc.h $(BASHINCDIR)/ocache.h $(BASHINCDIR)/chartypes.h
1174shell.o: config.h bashtypes.h ${BASHINCDIR}/posixstat.h bashansi.h ${BASHINCDIR}/ansi_stdlib.h ${BASHINCDIR}/filecntl.h
1175shell.o: shell.h syntax.h config.h bashjmp.h ${BASHINCDIR}/posixjmp.h command.h ${BASHINCDIR}/stdc.h error.h
1176shell.o: general.h xmalloc.h bashtypes.h variables.h arrayfunc.h conftypes.h array.h hashlib.h
1177shell.o: quit.h ${BASHINCDIR}/maxpath.h unwind_prot.h dispose_cmd.h
1178shell.o: make_cmd.h subst.h sig.h pathnames.h externs.h parser.h
1179shell.o: flags.h trap.h mailcheck.h builtins.h $(DEFSRC)/common.h
1180shell.o: jobs.h siglist.h input.h execute_cmd.h findcmd.h bashhist.h bashline.h
1181shell.o: ${GLOB_LIBSRC}/strmatch.h ${BASHINCDIR}/posixtime.h ${BASHINCDIR}/posixwait.h
1182shell.o: ${BASHINCDIR}/ocache.h ${BASHINCDIR}/chartypes.h assoc.h alias.h
1183sig.o: config.h bashtypes.h
1184sig.o: shell.h syntax.h config.h bashjmp.h ${BASHINCDIR}/posixjmp.h command.h ${BASHINCDIR}/stdc.h error.h
1185sig.o: general.h xmalloc.h bashtypes.h variables.h arrayfunc.h conftypes.h array.h hashlib.h
1186sig.o: quit.h ${BASHINCDIR}/maxpath.h unwind_prot.h dispose_cmd.h
1187sig.o: make_cmd.h subst.h sig.h pathnames.h externs.h execute_cmd.h
1188sig.o: jobs.h siglist.h trap.h $(DEFSRC)/common.h bashline.h bashhist.h
1189sig.o: ${DEFDIR}/builtext.h
1190siglist.o: config.h bashtypes.h siglist.h trap.h
1191stringlib.o: bashtypes.h ${BASHINCDIR}/chartypes.h
1192stringlib.o: shell.h syntax.h config.h bashjmp.h ${BASHINCDIR}/posixjmp.h command.h ${BASHINCDIR}/stdc.h error.h
1193stringlib.o: general.h xmalloc.h bashtypes.h variables.h arrayfunc.h conftypes.h array.h hashlib.h
1194stringlib.o: quit.h ${BASHINCDIR}/maxpath.h unwind_prot.h dispose_cmd.h
1195stringlib.o: make_cmd.h subst.h sig.h pathnames.h externs.h
1196stringlib.o: bashansi.h pathexp.h assoc.h $(BASHINCDIR)/ocache.h
1197stringlib.o: ${GLOB_LIBSRC}/glob.h ${GLOB_LIBSRC}/strmatch.h
1198subst.o: config.h bashtypes.h bashansi.h ${BASHINCDIR}/ansi_stdlib.h ${BASHINCDIR}/posixstat.h
1199subst.o: shell.h syntax.h config.h bashjmp.h ${BASHINCDIR}/posixjmp.h command.h ${BASHINCDIR}/stdc.h error.h
1200subst.o: general.h xmalloc.h bashtypes.h variables.h arrayfunc.h conftypes.h array.h hashlib.h
1201subst.o: quit.h ${BASHINCDIR}/maxpath.h unwind_prot.h dispose_cmd.h
1202subst.o: make_cmd.h subst.h sig.h pathnames.h externs.h parser.h
1203subst.o: flags.h jobs.h siglist.h execute_cmd.h ${BASHINCDIR}/filecntl.h trap.h pathexp.h
1204subst.o: mailcheck.h input.h $(DEFSRC)/getopt.h $(DEFSRC)/common.h
1205subst.o: bashline.h bashhist.h ${GLOB_LIBSRC}/strmatch.h
1206subst.o: ${BASHINCDIR}/chartypes.h
1207subst.o: ${BASHINCDIR}/shmbutil.h ${BASHINCDIR}/shmbchar.h
1208subst.o: ${DEFDIR}/builtext.h
1209test.o: bashtypes.h ${BASHINCDIR}/posixstat.h ${BASHINCDIR}/filecntl.h
1210test.o: shell.h syntax.h config.h bashjmp.h ${BASHINCDIR}/posixjmp.h command.h ${BASHINCDIR}/stdc.h error.h
1211test.o: general.h xmalloc.h bashtypes.h variables.h arrayfunc.h conftypes.h array.h hashlib.h
1212test.o: quit.h ${BASHINCDIR}/maxpath.h unwind_prot.h dispose_cmd.h
1213test.o: make_cmd.h subst.h sig.h pathnames.h externs.h test.h
1214test.o: ${BASHINCDIR}/stat-time.h ${BASHINCDIR}/ocache.h ${BASHINCDIR}/chartypes.h
1215test.o: $(GLOB_LIBSRC)/strmatch.h bashansi.h pathexp.h assoc.h
1216test.o: ${DEFSRC}/common.h
1217trap.o: config.h bashtypes.h trap.h bashansi.h ${BASHINCDIR}/ansi_stdlib.h
1218trap.o: shell.h syntax.h config.h bashjmp.h ${BASHINCDIR}/posixjmp.h command.h ${BASHINCDIR}/stdc.h error.h
1219trap.o: general.h xmalloc.h bashtypes.h variables.h arrayfunc.h conftypes.h array.h hashlib.h
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
1222trap.o: signames.h $(DEFSRC)/common.h
1223trap.o: ${DEFDIR}/builtext.h builtins.h jobs.h
1224unwind_prot.o: config.h bashtypes.h bashansi.h ${BASHINCDIR}/ansi_stdlib.h command.h ${BASHINCDIR}/stdc.h
1225unwind_prot.o: general.h xmalloc.h unwind_prot.h quit.h sig.h
1226unwind_prot.o: ${BASHINCDIR}/ocache.h ${BASHINCDIR}/chartypes.h error.h
1227variables.o: config.h bashtypes.h ${BASHINCDIR}/posixstat.h bashansi.h ${BASHINCDIR}/ansi_stdlib.h
1228variables.o: shell.h syntax.h config.h bashjmp.h ${BASHINCDIR}/posixjmp.h command.h ${BASHINCDIR}/stdc.h error.h
1229variables.o: general.h xmalloc.h bashtypes.h variables.h arrayfunc.h conftypes.h array.h hashlib.h
1230variables.o: quit.h ${BASHINCDIR}/maxpath.h unwind_prot.h dispose_cmd.h
1231variables.o: make_cmd.h subst.h sig.h pathnames.h externs.h parser.h
1232variables.o: flags.h execute_cmd.h mailcheck.h input.h $(DEFSRC)/common.h
1233variables.o: findcmd.h bashhist.h hashcmd.h pathexp.h
1234variables.o: pcomplete.h ${BASHINCDIR}/chartypes.h
1235variables.o: ${BASHINCDIR}/posixtime.h assoc.h ${DEFSRC}/getopt.h
1236variables.o: version.h $(DEFDIR)/builtext.h
1237version.o: conftypes.h patchlevel.h version.h
1238xmalloc.o: config.h bashtypes.h ${BASHINCDIR}/ansi_stdlib.h error.h
1239xmalloc.o: ${BASHINCDIR}/stdc.h $(ALLOC_LIBSRC)/shmalloc.h
1240
1241# job control
1242
1243jobs.o: config.h bashtypes.h trap.h ${BASHINCDIR}/filecntl.h input.h ${BASHINCDIR}/shtty.h
1244jobs.o: bashansi.h ${BASHINCDIR}/ansi_stdlib.h assoc.h
1245jobs.o: shell.h syntax.h config.h bashjmp.h ${BASHINCDIR}/posixjmp.h command.h ${BASHINCDIR}/stdc.h error.h
1246jobs.o: general.h xmalloc.h bashtypes.h variables.h arrayfunc.h conftypes.h array.h hashlib.h
1247jobs.o: quit.h ${BASHINCDIR}/maxpath.h unwind_prot.h dispose_cmd.h parser.h
1248jobs.o: execute_cmd.h make_cmd.h subst.h sig.h pathnames.h externs.h
1249jobs.o: jobs.h flags.h $(DEFSRC)/common.h $(DEFDIR)/builtext.h
1250jobs.o: ${BASHINCDIR}/posixwait.h ${BASHINCDIR}/unionwait.h
1251jobs.o: ${BASHINCDIR}/posixtime.h
1252jobs.o: $(BASHINCDIR)/ocache.h $(BASHINCDIR)/chartypes.h $(BASHINCDIR)/typemax.h
1253nojobs.o: config.h bashtypes.h ${BASHINCDIR}/filecntl.h bashjmp.h ${BASHINCDIR}/posixjmp.h
1254nojobs.o: command.h ${BASHINCDIR}/stdc.h general.h xmalloc.h jobs.h quit.h siglist.h externs.h
1255nojobs.o: sig.h error.h ${BASHINCDIR}/shtty.h input.h parser.h
1256nojobs.o: $(DEFDIR)/builtext.h
1257nojobs.o: $(BASHINCDIR)/ocache.h $(BASHINCDIR)/chartypes.h $(BASHINCDIR)/typemax.h
1258
1259# shell features that may be compiled in
1260
1261array.o: config.h bashansi.h ${BASHINCDIR}/ansi_stdlib.h
1262array.o: shell.h syntax.h config.h bashjmp.h ${BASHINCDIR}/posixjmp.h command.h ${BASHINCDIR}/stdc.h error.h
1263array.o: general.h xmalloc.h bashtypes.h variables.h arrayfunc.h conftypes.h array.h hashlib.h
1264array.o: quit.h ${BASHINCDIR}/maxpath.h unwind_prot.h dispose_cmd.h
1265array.o: make_cmd.h subst.h sig.h pathnames.h externs.h
1266array.o: $(BASHINCDIR)/ocache.h $(BASHINCDIR)/chartypes.h
1267array.o: $(DEFSRC)/common.h
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
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
1279arrayfunc.o: make_cmd.h subst.h sig.h pathnames.h externs.h pathexp.h
1280arrayfunc.o: execute_cmd.h
1281arrayfunc.o: assoc.h $(BASHINCDIR)/ocache.h $(BASHINCDIR)/chartypes.h
1282arrayfunc.o: $(DEFSRC)/common.h
1283arrayfunc.o: ${BASHINCDIR}/shmbutil.h ${BASHINCDIR}/shmbchar.h
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
1291assoc.o: array.h ${BASHINCDIR}/ocache.h ${BASHINCDIR}/chartypes.h
1292assoc.o: $(DEFSRC)/common.h
1293braces.o: config.h bashansi.h ${BASHINCDIR}/ansi_stdlib.h
1294braces.o: shell.h syntax.h config.h bashjmp.h ${BASHINCDIR}/posixjmp.h command.h ${BASHINCDIR}/stdc.h error.h
1295braces.o: general.h xmalloc.h bashtypes.h variables.h arrayfunc.h conftypes.h array.h hashlib.h
1296braces.o: quit.h ${BASHINCDIR}/maxpath.h unwind_prot.h dispose_cmd.h
1297braces.o: make_cmd.h subst.h sig.h pathnames.h externs.h
1298braces.o: ${BASHINCDIR}/shmbutil.h ${BASHINCDIR}/shmbchar.h
1299braces.o: ${BASHINCDIR}/typemax.h ${BASHINCDIR}/ocache.h ${BASHINCDIR}/chartypes.h
1300alias.o: config.h bashansi.h ${BASHINCDIR}/ansi_stdlib.h command.h ${BASHINCDIR}/stdc.h
1301alias.o: general.h xmalloc.h bashtypes.h externs.h alias.h
1302alias.o: pcomplete.h hashlib.h
1303alias.o: ${BASHINCDIR}/chartypes.h
1304
1305pcomplib.o: config.h bashansi.h ${BASHINCDIR}/ansi_stdlib.h bashtypes.h
1306pcomplib.o: ${BASHINCDIR}/stdc.h hashlib.h pcomplete.h shell.h syntax.h
1307pcomplib.o: bashjmp.h command.h general.h xmalloc.h error.h variables.h
1308pcomplib.o: arrayfunc.h conftypes.h quit.h
1309pcomplib.o: unwind_prot.h dispose_cmd.h make_cmd.h subst.h sig.h pathnames.h
1310pcomplib.o: externs.h ${BASHINCDIR}/maxpath.h assoc.h array.h
1311pcomplib.o: ${BASHINCDIR}/posixjmp.h ${BASHINCDIR}/ocache.h ${BASHINCDIR}/chartypes.h
1312
1313pcomplete.o: config.h bashansi.h ${BASHINCDIR}/ansi_stdlib.h bashtypes.h
1314pcomplete.o: ${BASHINCDIR}/stdc.h hashlib.h pcomplete.h shell.h syntax.h
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
1320pcomplete.o: unwind_prot.h dispose_cmd.h make_cmd.h subst.h sig.h pathnames.h
1321pcomplete.o: externs.h ${BASHINCDIR}/maxpath.h execute_cmd.h
1322pcomplete.o: ${BASHINCDIR}/shmbutil.h ${BASHINCDIR}/shmbchar.h
1323pcomplete.o: builtins.h ${DEFDIR}/builtext.h ${DEFSRC}/common.h
1324pcomplete.o: ${GLOB_LIBSRC}/glob.h ${GLOB_LIBSRC}/strmatch.h
1325
1326# library support files
1327
1328bashhist.o: config.h bashtypes.h bashansi.h ${BASHINCDIR}/ansi_stdlib.h ${BASHINCDIR}/posixstat.h
1329bashhist.o: ${BASHINCDIR}/filecntl.h
1330bashhist.o: shell.h syntax.h config.h bashjmp.h ${BASHINCDIR}/posixjmp.h command.h ${BASHINCDIR}/stdc.h error.h
1331bashhist.o: general.h xmalloc.h bashtypes.h variables.h arrayfunc.h conftypes.h array.h hashlib.h
1332bashhist.o: quit.h ${BASHINCDIR}/maxpath.h unwind_prot.h dispose_cmd.h
1333bashhist.o: make_cmd.h subst.h sig.h pathnames.h externs.h parser.h
1334bashhist.o: flags.h input.h parser.h pathexp.h $(DEFSRC)/common.h bashline.h
1335bashhist.o: ${BASHINCDIR}/ocache.h ${BASHINCDIR}/chartypes.h bashhist.h assoc.h
1336bashhist.o: $(GLOB_LIBSRC)/strmatch.h ${GLOB_LIBSRC}/glob.h
1337bashline.o: config.h bashtypes.h ${BASHINCDIR}/posixstat.h bashansi.h ${BASHINCDIR}/ansi_stdlib.h
1338bashline.o: shell.h syntax.h config.h bashjmp.h ${BASHINCDIR}/posixjmp.h command.h ${BASHINCDIR}/stdc.h error.h
1339bashline.o: general.h xmalloc.h bashtypes.h variables.h arrayfunc.h conftypes.h array.h hashlib.h
1340bashline.o: quit.h ${BASHINCDIR}/maxpath.h unwind_prot.h dispose_cmd.h
1341bashline.o: make_cmd.h subst.h sig.h pathnames.h externs.h parser.h
1342bashline.o: builtins.h bashhist.h bashline.h execute_cmd.h findcmd.h pathexp.h
1343bashline.o: trap.h flags.h assoc.h $(BASHINCDIR)/ocache.h
1344bashline.o: $(DEFSRC)/common.h $(GLOB_LIBSRC)/glob.h alias.h
1345bashline.o: pcomplete.h ${BASHINCDIR}/chartypes.h input.h
1346bashline.o: ${BASHINCDIR}/shmbutil.h ${BASHINCDIR}/shmbchar.h
1347bashline.o: ${DEFDIR}/builtext.h
1348bracecomp.o: config.h bashansi.h ${BASHINCDIR}/ansi_stdlib.h
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
1353bracecomp.o: quit.h ${BASHINCDIR}/maxpath.h unwind_prot.h dispose_cmd.h
1354bracecomp.o: make_cmd.h subst.h sig.h pathnames.h externs.h
1355bracecomp.o: ${BASHINCDIR}/ocache.h ${BASHINCDIR}/chartypes.h bashhist.h assoc.h
1356bracecomp.o: ${BASHINCDIR}/shmbutil.h ${BASHINCDIR}/shmbchar.h
1357
1358# library dependencies
1359
1360bashhist.o: $(RL_LIBSRC)/rltypedefs.h
1361bashline.o: $(RL_LIBSRC)/rlconf.h
1362bashline.o: $(RL_LIBSRC)/keymaps.h $(RL_LIBSRC)/rlstdc.h
1363bashline.o: $(RL_LIBSRC)/chardefs.h $(RL_LIBSRC)/readline.h
1364bashline.o: $(RL_LIBSRC)/rltypedefs.h ${RL_LIBSRC}/rlmbutil.h
1365bracecomp.o: $(RL_LIBSRC)/keymaps.h $(RL_LIBSRC)/chardefs.h
1366bracecomp.o: $(RL_LIBSRC)/readline.h $(RL_LIBSRC)/rlstdc.h
1367bracecomp.o: $(RL_LIBSRC)/rltypedefs.h
1368y.tab.o: $(RL_LIBSRC)/keymaps.h $(RL_LIBSRC)/chardefs.h
1369y.tab.o: $(RL_LIBSRC)/readline.h $(RL_LIBSRC)/rlstdc.h
1370y.tab.o: $(RL_LIBSRC)/rltypedefs.h
1371subst.o: $(RL_LIBSRC)/keymaps.h $(RL_LIBSRC)/chardefs.h
1372subst.o: $(RL_LIBSRC)/readline.h $(RL_LIBSRC)/rlstdc.h
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
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
1386
1387shell.o: $(HIST_LIBSRC)/history.h $(HIST_LIBSRC)/rlstdc.h
1388variables.o: $(HIST_LIBSRC)/history.h $(HIST_LIBSRC)/rlstdc.h
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
1393pcomplete.o: $(HIST_LIBSRC)/history.h $(HIST_LIBSRC)/rlstdc.h
1394
1395bashline.o: $(TILDE_LIBSRC)/tilde.h
1396bracecomp.o: $(TILDE_LIBSRC)/tilde.h
1397execute_cmd.o: $(TILDE_LIBSRC)/tilde.h
1398general.o: $(TILDE_LIBSRC)/tilde.h
1399mailcheck.o: $(TILDE_LIBSRC)/tilde.h
1400pcomplete.o: $(TILDE_LIBSRC)/tilde.h
1401shell.o: $(TILDE_LIBSRC)/tilde.h
1402subst.o: $(TILDE_LIBSRC)/tilde.h
1403variables.o: $(TILDE_LIBSRC)/tilde.h
1404jobs.o: $(TILDE_LIBSRC)/tilde.h
1405y.tab.o: $(TILDE_LIBSRC)/tilde.h
1406
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
1419locale.o: bashintl.h ${LIBINTL_H} $(BASHINCDIR)/gettext.h
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
1423y.tab.o: bashintl.h ${LIBINTL_H} $(BASHINCDIR)/gettext.h
1424pathexp.o: bashintl.h ${LIBINTL_H} $(BASHINCDIR)/gettext.h
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
1439# XXX
1440$(MALLOC_SOURCE): bashintl.h ${LIBINTL_H} $(BASHINCDIR)/gettext.h
1441
1442signames.o: config.h bashansi.h ${BASHINCDIR}/ansi_stdlib.h
1443
1444# XXX - dependencies checked through here
1445
1446# builtin c sources
1447builtins/bashgetopt.o: config.h bashansi.h ${BASHINCDIR}/ansi_stdlib.h
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
1450builtins/bashgetopt.o: make_cmd.h subst.h sig.h pathnames.h externs.h
1451builtins/bashgetopt.o: $(DEFSRC)/common.h
1452builtins/bashgetopt.o: ${BASHINCDIR}/chartypes.h
1453builtins/common.o: bashtypes.h ${BASHINCDIR}/posixstat.h bashansi.h ${BASHINCDIR}/ansi_stdlib.h
1454builtins/common.o: shell.h syntax.h config.h bashjmp.h ${BASHINCDIR}/posixjmp.h sig.h command.h
1455builtins/common.o: ${BASHINCDIR}/memalloc.h variables.h arrayfunc.h conftypes.h input.h siglist.h
1456builtins/common.o: quit.h unwind_prot.h ${BASHINCDIR}/maxpath.h jobs.h builtins.h
1457builtins/common.o: dispose_cmd.h make_cmd.h subst.h externs.h bashhist.h
1458builtins/common.o: execute_cmd.h ${BASHINCDIR}/stdc.h general.h xmalloc.h error.h pathnames.h
1459builtins/common.o: ${DEFDIR}/builtext.h parser.h
1460builtins/common.o: ${BASHINCDIR}/chartypes.h
1461builtins/evalfile.o: bashtypes.h ${BASHINCDIR}/posixstat.h ${BASHINCDIR}/filecntl.h bashansi.h ${BASHINCDIR}/ansi_stdlib.h
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
1464builtins/evalfile.o: make_cmd.h subst.h sig.h pathnames.h externs.h parser.h
1465builtins/evalfile.o: jobs.h builtins.h flags.h input.h execute_cmd.h
1466builtins/evalfile.o: bashhist.h $(DEFSRC)/common.h
1467builtins/evalstring.o: config.h bashansi.h ${BASHINCDIR}/ansi_stdlib.h
1468builtins/evalstring.o: shell.h syntax.h bashjmp.h ${BASHINCDIR}/posixjmp.h sig.h command.h siglist.h
1469builtins/evalstring.o: ${BASHINCDIR}/memalloc.h variables.h arrayfunc.h conftypes.h input.h
1470builtins/evalstring.o: quit.h unwind_prot.h ${BASHINCDIR}/maxpath.h jobs.h builtins.h
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
1473builtins/evalstring.o: bashhist.h $(DEFSRC)/common.h pathnames.h redir.h
1474builtins/evalstring.o: ${DEFDIR}/builtext.h
1475builtins/getopt.o: config.h ${BASHINCDIR}/memalloc.h
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
1478builtins/getopt.o: make_cmd.h subst.h sig.h pathnames.h externs.h
1479builtins/getopt.o: $(DEFSRC)/getopt.h
1480builtins/mkbuiltins.o: config.h bashtypes.h ${BASHINCDIR}/posixstat.h ${BASHINCDIR}/filecntl.h
1481builtins/mkbuiltins.o: bashansi.h ${BASHINCDIR}/ansi_stdlib.h
1482builtins/mkbuiltins.o: $(BASHINCDIR)/stdc.h
1483
1484# builtin def files
1485builtins/alias.o: command.h config.h ${BASHINCDIR}/memalloc.h error.h general.h xmalloc.h ${BASHINCDIR}/maxpath.h
1486builtins/alias.o: quit.h $(DEFSRC)/common.h pathnames.h
1487builtins/alias.o: shell.h syntax.h bashjmp.h ${BASHINCDIR}/posixjmp.h sig.h command.h ${BASHINCDIR}/stdc.h unwind_prot.h
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
1490builtins/bind.o: dispose_cmd.h make_cmd.h subst.h externs.h ${BASHINCDIR}/stdc.h
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
1492builtins/bind.o: $(DEFSRC)/bashgetopt.h pathnames.h
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
1495builtins/break.o: dispose_cmd.h make_cmd.h subst.h externs.h ${BASHINCDIR}/stdc.h
1496builtins/break.o: pathnames.h execute_cmd.h
1497builtins/builtin.o: command.h config.h ${BASHINCDIR}/memalloc.h error.h general.h xmalloc.h ${BASHINCDIR}/maxpath.h
1498builtins/builtin.o: quit.h $(DEFSRC)/common.h $(DEFSRC)/bashgetopt.h
1499builtins/builtin.o: shell.h syntax.h bashjmp.h ${BASHINCDIR}/posixjmp.h sig.h unwind_prot.h variables.h arrayfunc.h conftypes.h
1500builtins/builtin.o: dispose_cmd.h make_cmd.h subst.h externs.h ${BASHINCDIR}/stdc.h
1501builtins/builtin.o: pathnames.h execute_cmd.h
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
1507builtins/caller.o: ${DEFDIR}/builtext.h pathnames.h
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
1510builtins/cd.o: dispose_cmd.h make_cmd.h subst.h externs.h ${BASHINCDIR}/stdc.h
1511builtins/cd.o: $(DEFSRC)/common.h quit.h pathnames.h
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
1516builtins/command.o: command.h config.h ${BASHINCDIR}/memalloc.h error.h general.h xmalloc.h ${BASHINCDIR}/maxpath.h
1517builtins/command.o: quit.h $(DEFSRC)/bashgetopt.h
1518builtins/command.o: shell.h syntax.h bashjmp.h ${BASHINCDIR}/posixjmp.h sig.h unwind_prot.h variables.h arrayfunc.h conftypes.h
1519builtins/command.o: dispose_cmd.h make_cmd.h subst.h externs.h ${BASHINCDIR}/stdc.h pathnames.h
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
1522builtins/declare.o: dispose_cmd.h make_cmd.h subst.h externs.h ${BASHINCDIR}/stdc.h
1523builtins/declare.o: $(DEFSRC)/bashgetopt.h pathnames.h flags.h
1524builtins/declare.o: ${DEFDIR}/builtext.h
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
1527builtins/echo.o: dispose_cmd.h make_cmd.h subst.h externs.h ${BASHINCDIR}/stdc.h
1528builtins/echo.o: pathnames.h
1529builtins/echo.o: $(DEFSRC)/common.h
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
1532builtins/enable.o: dispose_cmd.h make_cmd.h subst.h externs.h ${BASHINCDIR}/stdc.h
1533builtins/enable.o: pcomplete.h pathnames.h
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
1536builtins/eval.o: dispose_cmd.h make_cmd.h subst.h externs.h ${BASHINCDIR}/stdc.h
1537builtins/eval.o: pathnames.h
1538builtins/exec.o: bashtypes.h pathnames.h
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
1541builtins/exec.o: dispose_cmd.h make_cmd.h subst.h externs.h execute_cmd.h
1542builtins/exec.o: findcmd.h flags.h quit.h $(DEFSRC)/common.h ${BASHINCDIR}/stdc.h
1543builtins/exec.o: pathnames.h
1544builtins/exit.o: bashtypes.h
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
1547builtins/exit.o: dispose_cmd.h make_cmd.h subst.h externs.h ${BASHINCDIR}/stdc.h
1548builtins/exit.o: pathnames.h execute_cmd.h
1549builtins/exit.o: ${DEFDIR}/builtext.h
1550builtins/fc.o: bashtypes.h ${BASHINCDIR}/posixstat.h
1551builtins/fc.o: bashansi.h ${BASHINCDIR}/ansi_stdlib.h builtins.h command.h ${BASHINCDIR}/stdc.h
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
1554builtins/fc.o: dispose_cmd.h make_cmd.h subst.h externs.h ${BASHINCDIR}/stdc.h quit.h
1555builtins/fc.o: $(DEFSRC)/bashgetopt.h bashhist.h pathnames.h parser.h
1556builtins/fc.o: ${BASHINCDIR}/chartypes.h
1557builtins/fg_bg.o: bashtypes.h $(DEFSRC)/bashgetopt.h
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
1560builtins/fg_bg.o: dispose_cmd.h make_cmd.h subst.h externs.h ${BASHINCDIR}/stdc.h
1561builtins/fg_bg.o: pathnames.h execute_cmd.h
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
1564builtins/getopts.o: dispose_cmd.h make_cmd.h subst.h externs.h ${BASHINCDIR}/stdc.h
1565builtins/getopts.o: pathnames.h execute_cmd.h
1566builtins/hash.o: bashtypes.h execute_cmd.h
1567builtins/hash.o: builtins.h command.h findcmd.h ${BASHINCDIR}/stdc.h $(DEFSRC)/common.h
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
1570builtins/hash.o: pathnames.h
1571builtins/help.o: command.h config.h ${BASHINCDIR}/memalloc.h error.h general.h xmalloc.h ${BASHINCDIR}/maxpath.h
1572builtins/help.o: dispose_cmd.h make_cmd.h subst.h externs.h ${BASHINCDIR}/stdc.h
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
1575builtins/help.o: $(GLOB_LIBSRC)/glob.h pathnames.h
1576builtins/history.o: bashtypes.h pathnames.h parser.h
1577builtins/history.o: command.h config.h ${BASHINCDIR}/memalloc.h error.h general.h xmalloc.h ${BASHINCDIR}/maxpath.h
1578builtins/history.o: quit.h dispose_cmd.h make_cmd.h subst.h externs.h ${BASHINCDIR}/stdc.h
1579builtins/history.o: ${BASHINCDIR}/filecntl.h shell.h syntax.h bashjmp.h ${BASHINCDIR}/posixjmp.h sig.h unwind_prot.h
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
1583builtins/inlib.o: dispose_cmd.h make_cmd.h subst.h externs.h ${BASHINCDIR}/stdc.h
1584builtins/inlib.o: pathnames.h
1585builtins/jobs.o: command.h config.h ${BASHINCDIR}/memalloc.h error.h general.h xmalloc.h ${BASHINCDIR}/maxpath.h
1586builtins/jobs.o: quit.h $(DEFSRC)/bashgetopt.h
1587builtins/jobs.o: shell.h syntax.h bashjmp.h ${BASHINCDIR}/posixjmp.h sig.h unwind_prot.h variables.h arrayfunc.h conftypes.h
1588builtins/jobs.o: dispose_cmd.h make_cmd.h subst.h externs.h ${BASHINCDIR}/stdc.h
1589builtins/jobs.o: pathnames.h
1590builtins/kill.o: command.h config.h ${BASHINCDIR}/memalloc.h error.h general.h xmalloc.h ${BASHINCDIR}/maxpath.h
1591builtins/kill.o: quit.h dispose_cmd.h make_cmd.h subst.h externs.h ${BASHINCDIR}/stdc.h
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
1593builtins/kill.o: pathnames.h
1594builtins/let.o: command.h config.h ${BASHINCDIR}/memalloc.h error.h general.h xmalloc.h ${BASHINCDIR}/maxpath.h
1595builtins/let.o: quit.h dispose_cmd.h make_cmd.h subst.h externs.h ${BASHINCDIR}/stdc.h
1596builtins/let.o: shell.h syntax.h bashjmp.h ${BASHINCDIR}/posixjmp.h sig.h unwind_prot.h variables.h arrayfunc.h conftypes.h
1597builtins/let.o: pathnames.h
1598builtins/printf.o: config.h ${BASHINCDIR}/memalloc.h bashjmp.h command.h error.h
1599builtins/printf.o: general.h xmalloc.h quit.h dispose_cmd.h make_cmd.h subst.h
1600builtins/printf.o: externs.h sig.h pathnames.h shell.h syntax.h unwind_prot.h
1601builtins/printf.o: variables.h arrayfunc.h conftypes.h ${BASHINCDIR}/stdc.h $(DEFSRC)/bashgetopt.h
1602builtins/printf.o: ${BASHINCDIR}/shmbutil.h ${BASHINCDIR}/shmbchar.h
1603builtins/printf.o: ${BASHINCDIR}/chartypes.h
1604builtins/pushd.o: command.h config.h ${BASHINCDIR}/memalloc.h error.h general.h xmalloc.h ${BASHINCDIR}/maxpath.h
1605builtins/pushd.o: quit.h dispose_cmd.h make_cmd.h subst.h externs.h ${BASHINCDIR}/stdc.h
1606builtins/pushd.o: shell.h syntax.h bashjmp.h ${BASHINCDIR}/posixjmp.h sig.h unwind_prot.h variables.h arrayfunc.h conftypes.h
1607builtins/pushd.o: $(DEFSRC)/common.h pathnames.h
1608builtins/pushd.o: ${DEFDIR}/builtext.h
1609builtins/read.o: command.h config.h ${BASHINCDIR}/memalloc.h error.h general.h xmalloc.h ${BASHINCDIR}/maxpath.h
1610builtins/read.o: quit.h dispose_cmd.h make_cmd.h subst.h externs.h ${BASHINCDIR}/stdc.h
1611builtins/read.o: shell.h syntax.h bashjmp.h ${BASHINCDIR}/posixjmp.h sig.h unwind_prot.h variables.h arrayfunc.h conftypes.h
1612builtins/read.o: ${BASHINCDIR}/shmbutil.h ${BASHINCDIR}/shmbchar.h
1613builtins/read.o: pathnames.h
1614builtins/return.o: command.h config.h ${BASHINCDIR}/memalloc.h error.h general.h xmalloc.h ${BASHINCDIR}/maxpath.h
1615builtins/return.o: quit.h dispose_cmd.h make_cmd.h subst.h externs.h ${BASHINCDIR}/stdc.h
1616builtins/return.o: shell.h syntax.h bashjmp.h ${BASHINCDIR}/posixjmp.h sig.h unwind_prot.h variables.h arrayfunc.h conftypes.h
1617builtins/return.o: pathnames.h execute_cmd.h
1618builtins/set.o: command.h config.h ${BASHINCDIR}/memalloc.h error.h general.h xmalloc.h ${BASHINCDIR}/maxpath.h
1619builtins/set.o: quit.h dispose_cmd.h make_cmd.h subst.h externs.h ${BASHINCDIR}/stdc.h
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
1621builtins/set.o: pathnames.h parser.h
1622builtins/setattr.o: command.h config.h ${BASHINCDIR}/memalloc.h error.h general.h xmalloc.h ${BASHINCDIR}/maxpath.h
1623builtins/setattr.o: quit.h $(DEFSRC)/common.h $(DEFSRC)/bashgetopt.h
1624builtins/setattr.o: shell.h syntax.h bashjmp.h ${BASHINCDIR}/posixjmp.h sig.h unwind_prot.h variables.h arrayfunc.h conftypes.h
1625builtins/setattr.o: dispose_cmd.h make_cmd.h subst.h externs.h ${BASHINCDIR}/stdc.h
1626builtins/setattr.o: pathnames.h flags.h execute_cmd.h
1627builtins/shift.o: command.h config.h ${BASHINCDIR}/memalloc.h error.h general.h xmalloc.h ${BASHINCDIR}/maxpath.h
1628builtins/shift.o: quit.h dispose_cmd.h make_cmd.h subst.h externs.h ${BASHINCDIR}/stdc.h
1629builtins/shift.o: shell.h syntax.h bashjmp.h ${BASHINCDIR}/posixjmp.h sig.h unwind_prot.h variables.h arrayfunc.h conftypes.h
1630builtins/shift.o: dispose_cmd.h make_cmd.h subst.h externs.h ${BASHINCDIR}/stdc.h
1631builtins/shift.o: pathnames.h
1632builtins/shopt.o: command.h config.h ${BASHINCDIR}/memalloc.h error.h general.h xmalloc.h
1633builtins/shopt.o: quit.h dispose_cmd.h make_cmd.h subst.h externs.h
1634builtins/shopt.o: shell.h syntax.h bashjmp.h ${BASHINCDIR}/posixjmp.h unwind_prot.h variables.h arrayfunc.h conftypes.h ${BASHINCDIR}/maxpath.h
1635builtins/shopt.o: $(DEFSRC)/common.h $(DEFSRC)/bashgetopt.h pathnames.h
1636builtins/shopt.o: bashhist.h bashline.h
1637builtins/source.o: command.h config.h ${BASHINCDIR}/memalloc.h error.h general.h xmalloc.h ${BASHINCDIR}/maxpath.h
1638builtins/source.o: quit.h dispose_cmd.h make_cmd.h subst.h externs.h ${BASHINCDIR}/stdc.h
1639builtins/source.o: shell.h syntax.h bashjmp.h ${BASHINCDIR}/posixjmp.h sig.h unwind_prot.h variables.h arrayfunc.h conftypes.h
1640builtins/source.o: findcmd.h $(DEFSRC)/bashgetopt.h flags.h trap.h
1641builtins/source.o: pathnames.h execute_cmd.h
1642builtins/suspend.o: command.h config.h ${BASHINCDIR}/memalloc.h error.h general.h xmalloc.h ${BASHINCDIR}/maxpath.h
1643builtins/suspend.o: quit.h dispose_cmd.h make_cmd.h subst.h externs.h ${BASHINCDIR}/stdc.h
1644builtins/suspend.o: shell.h syntax.h bashjmp.h ${BASHINCDIR}/posixjmp.h sig.h unwind_prot.h variables.h arrayfunc.h conftypes.h
1645builtins/suspend.o: pathnames.h
1646builtins/test.o: command.h config.h ${BASHINCDIR}/memalloc.h error.h general.h xmalloc.h ${BASHINCDIR}/maxpath.h
1647builtins/test.o: quit.h dispose_cmd.h make_cmd.h subst.h externs.h ${BASHINCDIR}/stdc.h
1648builtins/test.o: shell.h syntax.h bashjmp.h ${BASHINCDIR}/posixjmp.h sig.h unwind_prot.h variables.h arrayfunc.h conftypes.h
1649builtins/test.o: execute_cmd.h test.h pathnames.h
1650builtins/times.o: command.h config.h ${BASHINCDIR}/memalloc.h error.h general.h xmalloc.h ${BASHINCDIR}/maxpath.h
1651builtins/times.o: quit.h dispose_cmd.h make_cmd.h subst.h externs.h ${BASHINCDIR}/stdc.h
1652builtins/times.o: shell.h syntax.h bashjmp.h ${BASHINCDIR}/posixjmp.h sig.h unwind_prot.h variables.h arrayfunc.h conftypes.h
1653builtins/times.o: pathnames.h
1654builtins/trap.o: command.h config.h ${BASHINCDIR}/memalloc.h error.h general.h xmalloc.h ${BASHINCDIR}/maxpath.h
1655builtins/trap.o: quit.h $(DEFSRC)/common.h
1656builtins/trap.o: shell.h syntax.h bashjmp.h ${BASHINCDIR}/posixjmp.h sig.h unwind_prot.h variables.h arrayfunc.h conftypes.h
1657builtins/trap.o: dispose_cmd.h make_cmd.h subst.h externs.h ${BASHINCDIR}/stdc.h
1658builtins/trap.o: pathnames.h
1659builtins/type.o: command.h config.h ${BASHINCDIR}/memalloc.h error.h general.h xmalloc.h ${BASHINCDIR}/maxpath.h
1660builtins/type.o: quit.h $(DEFSRC)/common.h findcmd.h
1661builtins/type.o: shell.h syntax.h bashjmp.h ${BASHINCDIR}/posixjmp.h sig.h unwind_prot.h variables.h arrayfunc.h conftypes.h
1662builtins/type.o: dispose_cmd.h make_cmd.h subst.h externs.h ${BASHINCDIR}/stdc.h
1663builtins/type.o: pathnames.h execute_cmd.h parser.h
1664builtins/ulimit.o: command.h config.h ${BASHINCDIR}/memalloc.h error.h general.h xmalloc.h ${BASHINCDIR}/maxpath.h
1665builtins/ulimit.o: quit.h dispose_cmd.h make_cmd.h subst.h externs.h ${BASHINCDIR}/stdc.h
1666builtins/ulimit.o: shell.h syntax.h bashjmp.h ${BASHINCDIR}/posixjmp.h sig.h unwind_prot.h variables.h arrayfunc.h conftypes.h
1667builtins/ulimit.o: pathnames.h
1668builtins/umask.o: command.h config.h ${BASHINCDIR}/memalloc.h error.h general.h xmalloc.h ${BASHINCDIR}/maxpath.h
1669builtins/umask.o: quit.h dispose_cmd.h make_cmd.h subst.h externs.h ${BASHINCDIR}/stdc.h
1670builtins/umask.o: shell.h syntax.h bashjmp.h ${BASHINCDIR}/posixjmp.h sig.h unwind_prot.h variables.h arrayfunc.h conftypes.h
1671builtins/umask.o: ${BASHINCDIR}/chartypes.h pathnames.h
1672builtins/wait.o: command.h config.h ${BASHINCDIR}/memalloc.h error.h general.h xmalloc.h ${BASHINCDIR}/maxpath.h
1673builtins/wait.o: quit.h dispose_cmd.h make_cmd.h subst.h externs.h ${BASHINCDIR}/stdc.h
1674builtins/wait.o: shell.h syntax.h bashjmp.h ${BASHINCDIR}/posixjmp.h sig.h unwind_prot.h variables.h arrayfunc.h conftypes.h
1675builtins/wait.o: execute_cmd.h
1676builtins/wait.o: ${BASHINCDIR}/chartypes.h pathnames.h
1677
1678builtins/complete.o: config.h shell.h syntax.h bashjmp.h ${BASHINCDIR}/posixjmp.h sig.h
1679builtins/complete.o: unwind_prot.h variables.h arrayfunc.h conftypes.h
1680builtins/complete.o: bashtypes.h bashansi.h ${BASHINCDIR}/ansi_stdlib.h
1681builtins/complete.o: builtins.h pathnames.h general.h
1682builtins/complete.o: bashtypes.h ${BASHINCDIR}/chartypes.h xmalloc.h
1683builtins/complete.o: pcomplete.h
1684builtins/complete.o: ${DEFSRC}/common.h ${DEFSRC}/bashgetopt.h
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
1688builtins/mapfile.o: pathnames.h
1689
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
1712builtins/mapfile.o: ${topdir}/bashintl.h ${LIBINTL_H} $(BASHINCDIR)/gettext.h
1713builtins/mkbuiltins.o: ${topdir}/bashintl.h ${LIBINTL_H} $(BASHINCDIR)/gettext.h
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
1728# builtin library dependencies
1729builtins/bind.o: $(RL_LIBSRC)/chardefs.h $(RL_LIBSRC)/readline.h
1730builtins/bind.o: $(RL_LIBSRC)/keymaps.h $(RL_LIBSRC)/rlstdc.h
1731
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
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
1743builtins/caller.o: $(DEFSRC)/caller.def
1744builtins/cd.o: $(DEFSRC)/cd.def
1745builtins/colon.o: $(DEFSRC)/colon.def
1746builtins/command.o: $(DEFSRC)/command.def
1747builtins/complete.o: $(DEFSRC)/complete.def
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
1764builtins/mapfile.o: $(DEFSRC)/mapfile.def
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