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