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