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