1 # Make sure the first target in the makefile is the right one
4 # Include some boilerplate Gnu makefile definitions.
7 exec_prefix = @exec_prefix@
11 includedir = @includedir@
17 man1dir = $(mandir)/$(manpfx)$(man1ext)
19 man3dir = $(mandir)/$(manpfx)$(man3ext)
22 BUILD_DIR = @BUILD_DIR@
36 INSTALL_PROGRAM = @INSTALL_PROGRAM@
37 INSTALL_DATA = @INSTALL_DATA@
42 #If you have purify, and want to use it, uncomment this definition or
43 # run the make as `make PURIFY=purify'
44 # or run configure with the --with-purify argument.
47 # Here is a rule for making .o files from .c files that does not
48 # force the type of the machine (like -M_MACHINE) into the flags.
51 $(CC) $(CCFLAGS) -c $<
53 # The name of this program.
61 THIS_SH = $(BUILD_DIR)/$(Program)
63 # PROFILE_FLAGS is either -pg, to generate profiling info for use
64 # with gprof, or nothing (the default).
67 # set to alloca.o if we are using the C alloca in lib/malloc
69 ALLOCA_SOURCE = @ALLOCA_SOURCE@
70 ALLOCA_OBJECT = @ALLOCA_OBJECT@
72 # The GNU coding standards don't recognize the possibility that
73 # other information besides optimization and debugging might be
74 # passed to cc. A different name should have been used.
76 LOCAL_CFLAGS = @LOCAL_CFLAGS@
78 LOCAL_LIBS = @LOCAL_LIBS@
79 LIBS = $(BUILTINS_LIB) $(LIBRARIES) $(LOCAL_LIBS) @LIBS@
80 LDFLAGS = @LDFLAGS@ $(LOCAL_LDFLAGS) $(PROFILE_FLAGS) $(CFLAGS)
81 LOCAL_LDFLAGS = @LOCAL_LDFLAGS@
83 SYSTEM_FLAGS = -DPROGRAM='"$(Program)"' -DHOSTTYPE='"$(Machine)"' -DOSTYPE='"$(OS)"' -DMACHTYPE='"$(MACHTYPE)"'
85 CCFLAGS = $(PROFILE_FLAGS) $(SYSTEM_FLAGS) -DSHELL \
86 $(DEFS) $(LOCAL_CFLAGS) $(CPPFLAGS) $(INCLUDES) $(CFLAGS)
88 INCLUDES = -I. -I$(srcdir) -I$(LIBSRC)
90 GCC_LINT_FLAGS = -ansi -Wall -Wshadow -Wpointer-arith -Wcast-qual \
91 -Wwrite-strings -Werror -Wstrict-prototypes \
93 GCC_LINT_CFLAGS = $(CCFLAGS) $(GCC_LINT_FLAGS)
102 LIBSRC = $(srcdir)/$(LIBSUBDIR)
104 SUBDIR_INCLUDES = -I. -I$(topdir) -I$(topdir)/$(LIBSUBDIR) -I$(includedir)
106 # we assume for now that readline source is being shipped with bash
107 RL_LIBSRC = $(LIBSRC)/readline
108 RL_LIBDOC = $(RL_LIBSRC)/doc
109 RL_LIBDIR = $(dot)/$(LIBSUBDIR)/readline
110 RL_ABSSRC = ${topdir}/$(RL_LIBDIR)
112 READLINE_LIB = @READLINE_LIB@
113 READLINE_LIBRARY = $(RL_LIBDIR)/libreadline.a
114 READLINE_LDFLAGS = -L${RL_LIBDIR}
115 READLINE_DEP = @READLINE_DEP@
117 # The source, object and documentation of the GNU Readline library.
118 READLINE_SOURCE = $(RL_LIBSRC)/rldefs.h $(RL_LIBSRC)/rlconf.h \
119 $(RL_LIBSRC)/readline.h $(RL_LIBSRC)/tcap.h \
120 $(RL_LIBSRC)/chardefs.h $(RL_LIBSRC)/keymaps.h \
121 $(RL_LIBSRC)/history.h $(RL_LIBSRC)/histlib.h \
122 $(RL_LIBSRC)/posixstat.h $(RL_LIBSRC)/tilde.h \
123 $(RL_LIBSRC)/funmap.c $(RL_LIBSRC)/emacs_keymap.c \
124 $(RL_LIBSRC)/search.c $(RL_LIBSRC)/vi_keymap.c \
125 $(RL_LIBSRC)/keymaps.c $(RL_LIBSRC)/parens.c \
126 $(RL_LIBSRC)/vi_mode.c $(RL_LIBSRC)/callback.c \
127 $(RL_LIBSRC)/readline.c $(RL_LIBSRC)/tilde.c \
128 $(RL_LIBSRC)/rltty.c $(RL_LIBSRC)/complete.c \
129 $(RL_LIBSRC)/bind.c $(RL_LIBSRC)/isearch.c \
130 $(RL_LIBSRC)/display.c $(RL_LIBSRC)/signals.c \
131 $(RL_LIBSRC)/util.c $(RL_LIBSRC)/kill.c \
132 $(RL_LIBSRC)/undo.c $(RL_LIBSRC)/macro.c \
133 $(RL_LIBSRC)/terminal.c $(RL_LIBSRC)/nls.c \
134 $(RL_LIBSRC)/input.c $(RL_LIBSRC)/xmalloc.c \
135 $(RL_LIBSRC)/histexpand.c $(RL_LIBSRC)/history.c \
136 $(RL_LIBSRC)/histsearch.c $(RL_LIBSRC)/histfile.c
138 READLINE_OBJ = $(RL_LIBDIR)/readline.o $(RL_LIBDIR)/funmap.o \
139 $(RL_LIBDIR)/parens.o $(RL_LIBDIR)/search.o \
140 $(RL_LIBDIR)/keymaps.o $(RL_LIBDIR)/xmalloc.o \
141 $(RL_LIBDIR)/rltty.o $(RL_LIBDIR)/complete.o \
142 $(RL_LIBDIR)/bind.o $(RL_LIBDIR)/isearch.o \
143 $(RL_LIBDIR)/display.o $(RL_LIBDIR)/signals.o \
144 $(RL_LIBDIR)/tilde.o $(RL_LIBDIR)/util.o \
145 $(RL_LIBDIR)/kill.o $(RL_LIBDIR)/undo.o $(RL_LIBDIR)/nls.o \
146 $(RL_LIBDIR)/macro.o $(RL_LIBDIR)/input.o \
147 $(RL_LIBDIR)/terminal.o $(RL_LIBDIR)/callback.o \
148 $(RL_LIBDIR)/history.o $(RL_LIBDIR)/histexpand.o \
149 $(RL_LIBDIR)/histsearch.o $(RL_LIBDIR)/histfile.o
151 HIST_LIBSRC = $(LIBSRC)/readline
152 HIST_LIBDIR = $(dot)/$(LIBSUBDIR)/readline
153 HIST_ABSSRC = ${topdir}/$(HIST_LIBDIR)
155 HISTORY_LIB = @HISTORY_LIB@
156 HISTORY_LIBRARY = $(HIST_LIBDIR)/libhistory.a
157 HISTORY_LDFLAGS = -L$(HIST_LIBDIR)
158 HISTORY_DEP = @HISTORY_DEP@
160 # The source, object and documentation of the history library.
161 HISTORY_SOURCE = $(HIST_LIBSRC)/history.c $(HIST_LIBSRC)/histexpand.c \
162 $(HIST_LIBSRC)/histsearch.c $(HIST_LIBSRC)/histfile.c \
163 $(HIST_LIBSRC)/history.h $(HIST_LIBSRC)/histlib.h
164 HISTORY_OBJ = $(HIST_LIBDIR)/history.o $(HIST_LIBDIR)/histexpand.o \
165 $(HIST_LIBDIR)/histsearch.o $(HIST_LIBDIR)/histfile.o
167 # You only need termcap (or curses) if you are linking with GNU Readline.
168 TERM_LIBSRC = $(LIBSRC)/termcap
169 TERM_LIBDIR = $(dot)/$(LIBSUBDIR)/termcap
170 TERM_ABSSRC = ${topdir}/$(TERM_LIBDIR)
172 TERMCAP_LIB = @TERMCAP_LIB@
173 TERMCAP_LIBRARY = $(TERM_LIBDIR)/libtermcap.a
174 TERMCAP_LDFLAGS = -L$(TERM_LIBDIR)
175 TERMCAP_DEP = @TERMCAP_DEP@
177 TERMCAP_SOURCE = $(TERM_LIBSRC)/termcap.c $(TERM_LIBSRC)/tparam.c
178 TERMCAP_OBJ = $(TERM_LIBDIR)/termcap.o $(TERM_LIBDIR)/tparam.o
180 GLOB_LIBSRC = $(LIBSRC)/glob
181 GLOB_LIBDIR = $(dot)/$(LIBSUBDIR)/glob
182 GLOB_ABSSRC = ${topdir}/$(GLOB_LIBDIR)
185 GLOB_LIBRARY = $(GLOB_LIBDIR)/libglob.a
186 GLOB_LDFLAGS = -L$(GLOB_LIBDIR)
187 GLOB_DEP = $(GLOB_LIBRARY)
189 GLOB_SOURCE = $(GLOB_LIBSRC)/glob.c $(GLOB_LIBSRC)/fnmatch.c \
190 $(GLOB_LIBSRC)/glob.h $(GLOB_LIBSRC)/fnmatch.h
191 GLOB_OBJ = $(GLOB_LIBDIR)/glob.o $(GLOB_LIBDIR)/fnmatch.o
193 # The source, object and documentation for the GNU Tilde library.
194 TILDE_LIBSRC = $(LIBSRC)/tilde
195 TILDE_LIBDIR = $(dot)/$(LIBSUBDIR)/tilde
196 TILDE_ABSSRC = ${topdir}/$(TILDE_LIBDIR)
199 TILDE_LIBRARY = $(TILDE_LIBDIR)/libtilde.a
200 TILDE_LDFLAGS = -L$(TILDE_LIBDIR)
201 TILDE_DEP = $(TILDE_LIBRARY)
203 TILDE_SOURCE = $(TILDE_LIBSRC)/tilde.c $(TILDE_LIBSRC)/tilde.h
204 TILDE_OBJ = $(TILDE_LIBDIR)/tilde.o
207 ALLOC_LIBSRC = $(LIBSRC)/malloc
208 ALLOC_LIBDIR = $(dot)/$(LIBSUBDIR)/malloc
209 ALLOC_ABSSRC = ${topdir}/$(ALLOC_LIBDIR)
211 ALLOCA_DEP = $(ALLOC_LIBDIR)/@ALLOCA@
213 MALLOC_OBJ = $(ALLOC_LIBDIR)/@MALLOC@
214 MALLOC_SRC = @MALLOC_SRC@
215 MALLOC_CFLAGS = -Drcheck -Dbotch=programming_error
217 MALLOC_LIB = -lmalloc
218 MALLOC_LIBRARY = $(ALLOC_LIBDIR)/libmalloc.a
219 MALLOC_LDFLAGS = -L$(ALLOC_LIBDIR)
220 MALLOC_DEP = $(MALLOC_LIBRARY)
222 ALLOC_HEADERS = $(ALLOC_LIBSRC)/getpagesize.h
224 $(MALLOC_LIBRARY): $(MALLOC_SRC)
226 @(cd $(ALLOC_LIBDIR) && \
228 MALLOC_CFLAGS="$(MALLOC_CFLAGS)" libmalloc.a ) || exit 1
230 BASHPOSIX_LIB = $(LIBSRC)/posixheaders
231 BASHPOSIX_SUPPORT = $(BASHPOSIX_LIB)/posixstat.h $(BASHPOSIX_LIB)/ansi_stdlib.h \
232 $(BASHPOSIX_LIB)/memalloc.h $(BASHPOSIX_LIB)/stdc.h
234 LIBRARIES = $(READLINE_LIB) $(HISTORY_LIB) $(TERMCAP_LIB) $(GLOB_LIB) \
235 $(TILDE_LIB) $(MALLOC_LIB) $(LOCAL_LIBS)
237 LIBDEP = $(READLINE_DEP) $(TERMCAP_DEP) $(GLOB_DEP) $(HISTORY_DEP) \
238 $(TILDE_DEP) $(MALLOC_DEP)
240 LIBRARY_LDFLAGS = $(READLINE_LDFLAGS) $(HISTORY_LDFLAGS) $(TILDE_LDFLAGS) \
241 $(GLOB_LDFLAGS) $(MALLOC_LDFLAGS)
247 # The main source code for the Bourne Again SHell.
248 CSOURCES = shell.c eval.c parse.y general.c make_cmd.c print_cmd.c y.tab.c \
249 dispose_cmd.c execute_cmd.c variables.c $(GLOBC) version.c \
250 expr.c copy_cmd.c flags.c subst.c hashlib.c mailcheck.c \
251 test.c trap.c jobs.c nojobs.c $(ALLOC_FILES) braces.c \
252 vprint.c input.c bashhist.c array.c sig.c pathexp.c oslib.c \
253 unwind_prot.c siglist.c getcwd.c $(RL_SUPPORT_SRC) error.c \
254 list.c stringlib.c locale.c xmalloc.c
256 HSOURCES = shell.h flags.h trap.h hashlib.h jobs.h builtins.h alias.c y.tab.h \
257 general.h variables.h config.h $(ALLOC_HEADERS) alias.h maxpath.h \
258 quit.h posixstat.h filecntl.h unwind_prot.h \
259 command.h input.h error.h bashansi.h dispose_cmd.h make_cmd.h \
260 subst.h externs.h siglist.h bashhist.h bashline.h bashtypes.h \
261 array.h sig.h mailcheck.h bashtty.h
263 SOURCES = $(CSOURCES) $(HSOURCES) $(BUILTIN_DEFS)
265 # object files chosen based on running of configure
268 # Matching object files.
269 OBJECTS = shell.o eval.o y.tab.o general.o make_cmd.o print_cmd.o $(GLOBO) \
270 dispose_cmd.o execute_cmd.o variables.o copy_cmd.o error.o \
271 expr.o flags.o $(JOBS_O) subst.o hashlib.o mailcheck.o test.o \
272 trap.o input.o unwind_prot.o pathexp.o sig.o version.o \
273 alias.o array.o braces.o bracecomp.o bashhist.o bashline.o \
274 getcwd.o siglist.o vprint.o oslib.o list.o stringlib.o \
277 # Where the source code of the shell builtins resides.
278 BUILTIN_SRCDIR=$(srcdir)/builtins
279 DEFSRC=$(BUILTIN_SRCDIR)
280 BUILTIN_ABSSRC=${topdir}/builtins
281 DEFDIR = $(dot)/builtins
283 BUILTIN_DEFS = $(DEFSRC)/alias.def $(DEFSRC)/bind.def $(DEFSRC)/break.def \
284 $(DEFSRC)/builtin.def $(DEFSRC)/cd.def $(DEFSRC)/colon.def \
285 $(DEFSRC)/command.def $(DEFSRC)/declare.def \
286 $(DEFSRC)/echo.def $(DEFSRC)/enable.def $(DEFSRC)/eval.def \
287 $(DEFSRC)/exec.def $(DEFSRC)/exit.def $(DEFSRC)/fc.def \
288 $(DEFSRC)/fg_bg.def $(DEFSRC)/hash.def $(DEFSRC)/help.def \
289 $(DEFSRC)/history.def $(DEFSRC)/jobs.def $(DEFSRC)/kill.def \
290 $(DEFSRC)/let.def $(DEFSRC)/read.def $(DEFSRC)/return.def \
291 $(DEFSRC)/set.def $(DEFSRC)/setattr.def $(DEFSRC)/shift.def \
292 $(DEFSRC)/source.def $(DEFSRC)/suspend.def $(DEFSRC)/test.def \
293 $(DEFSRC)/times.def $(DEFSRC)/trap.def $(DEFSRC)/type.def \
294 $(DEFSRC)/ulimit.def $(DEFSRC)/umask.def $(DEFSRC)/wait.def \
295 $(DEFSRC)/getopts.def $(DEFSRC)/reserved.def \
296 $(DEFSRC)/pushd.def $(DEFSRC)/shopt.def
297 BUILTIN_C_SRC = $(DEFSRC)/mkbuiltins.c $(DEFSRC)/common.c \
298 $(DEFSRC)/evalstring.c $(DEFSRC)/evalfile.c \
299 $(DEFSRC)/bashgetopt.c $(GETOPT_SOURCE) \
301 BUILTIN_C_OBJ = $(DEFDIR)/common.o $(DEFDIR)/evalstring.o \
302 $(DEFDIR)/evalfile.o $(DEFDIR)/bashgetopt.o
303 BUILTIN_OBJS = $(DEFDIR)/alias.o $(DEFDIR)/bind.o $(DEFDIR)/break.o \
304 $(DEFDIR)/builtin.o $(DEFDIR)/cd.o $(DEFDIR)/colon.o \
305 $(DEFDIR)/command.o $(DEFDIR)/declare.o \
306 $(DEFDIR)/echo.o $(DEFDIR)/enable.o $(DEFDIR)/eval.o \
307 $(DEFDIR)/exec.o $(DEFDIR)/exit.o $(DEFDIR)/fc.o \
308 $(DEFDIR)/fg_bg.o $(DEFDIR)/hash.o $(DEFDIR)/help.o \
309 $(DEFDIR)/history.o $(DEFDIR)/jobs.o $(DEFDIR)/kill.o \
310 $(DEFDIR)/let.o $(DEFDIR)/pushd.o $(DEFDIR)/read.o \
311 $(DEFDIR)/return.o $(DEFDIR)/shopt.o \
312 $(DEFDIR)/set.o $(DEFDIR)/setattr.o $(DEFDIR)/shift.o \
313 $(DEFDIR)/source.o $(DEFDIR)/suspend.o $(DEFDIR)/test.o \
314 $(DEFDIR)/times.o $(DEFDIR)/trap.o $(DEFDIR)/type.o \
315 $(DEFDIR)/ulimit.o $(DEFDIR)/umask.o $(DEFDIR)/wait.o \
316 $(DEFDIR)/getopts.o $(BUILTIN_C_OBJ)
317 GETOPT_SOURCE = $(DEFSRC)/getopt.c $(DEFSRC)/getopt.h
318 PSIZE_SOURCE = $(DEFSRC)/psize.sh $(DEFSRC)/psize.c
320 BUILTINS_LIBRARY = builtins/libbuiltins.a
321 BUILTINS_LIB = -lbuiltins
322 BUILTINS_LDFLAGS = -L$(DEFDIR)
323 BUILTINS_DEP = $(BUILTINS_LIBRARY)
325 # Documentation for the shell.
326 DOCSRC = $(srcdir)/doc
329 SIGNAMES_SUPPORT = $(SUPPORT_SRC)mksignames.c
331 SUPPORT_SRC = $(srcdir)/support/
334 CREATED_SUPPORT = signames.h recho zecho tests/recho tests/zecho \
335 tests/printenv mksignames mkversion
336 CREATED_CONFIGURE = config.h config.cache config.status config.log \
338 CREATED_MAKEFILES = Makefile builtins/Makefile doc/Makefile \
339 lib/readline/Makefile lib/glob/Makefile \
340 lib/tilde/Makefile lib/malloc/Makefile \
343 # Keep GNU Make from exporting the entire environment for small machines.
346 .made: $(Program) bashbug
349 $(Program): .build $(OBJECTS) $(BUILTINS_DEP) $(LIBDEP) $(srcdir)/.distribution
351 $(PURIFY) $(CC) $(LDFLAGS) $(BUILTINS_LDFLAGS) $(LIBRARY_LDFLAGS) -o $(Program) $(OBJECTS) $(LIBS)
355 .build: $(SOURCES) config.h Makefile mkversion version.h .machine
357 @echo " ***********************************************************"
359 @echo " * Making Bash-`cat $(srcdir)/.distribution`.`cat $(srcdir)/.patchlevel`-$(RELSTATUS) for a $(Machine) running $(OS)"
361 @echo " ***********************************************************"
364 .machine: $(SOURCES) config.h Makefile mkversion version.h
365 @echo "$(Program) last made for a $(Machine) running $(OS)" >.machine
367 bashbug: $(SUPPORT_SRC)bashbug.sh mkversion config.h Makefile
368 @sed -e "s:!MACHINE!:$(Machine):" -e "s:!OS!:$(OS):" \
369 -e "s:!CFLAGS!:$(CCFLAGS):" -e "s:!CC!:$(CC):" \
370 -e "s:!RELEASE!:`cat $(srcdir)/.distribution`:" \
371 -e "s:!PATCHLEVEL!:`cat $(srcdir)/.patchlevel`:" \
372 -e "s:!MACHTYPE!:$(MACHTYPE):" -e "s:!RELSTATUS!:$(RELSTATUS):" \
373 $(SUPPORT_SRC)bashbug.sh > $@
376 strip: $(Program) .made
381 version.h: $(SOURCES) config.h Makefile mkversion .patchlevel .distribution
382 if ./mkversion -dir $(srcdir) -build -status $(RELSTATUS); then mv -f newversion.h version.h; fi
385 y.tab.o: y.tab.c parser-built
386 y.tab.c: parser-built
387 y.tab.h: parser-built
388 parser-built: parse.y command.h stdc.h input.h
390 -if test -f y.tab.h; then mv -f y.tab.h old-y.tab.h; fi
391 $(YACC) -d $(srcdir)/parse.y
392 -if cmp -s old-y.tab.h y.tab.h; then mv old-y.tab.h y.tab.h; fi
395 # experimental new rules - work with GNU make but not BSD (or OSF) make
396 #y.tab.o: y.tab.c y.tab.h
397 #y.tab.c y.tab.h: parse.y command.h stdc.h input.h
398 # -if test -f y.tab.h; then mv -f y.tab.h old-y.tab.h; fi
399 # $(YACC) -d $(srcdir)/parse.y
400 # -if cmp -s old-y.tab.h y.tab.h; then mv old-y.tab.h y.tab.h; fi
402 $(READLINE_LIBRARY): config.h $(READLINE_SOURCE)
403 @echo making $@ in ${RL_LIBDIR}
404 @(cd ${RL_LIBDIR} && \
405 $(MAKE) $(MFLAGS) APP_CFLAGS=-DSHELL libreadline.a) || exit 1
407 $(HISTORY_LIBRARY): config.h $(HISTORY_SOURCE)
408 @echo making $@ in ${HIST_LIBDIR}
409 @(cd ${HIST_LIBDIR} && \
410 $(MAKE) $(MFLAGS) libhistory.a) || exit 1
412 $(GLOB_LIBRARY): config.h $(GLOB_SOURCE)
413 @echo making $@ in ${GLOB_LIBDIR}
414 @(cd ${GLOB_LIBDIR} && \
415 $(MAKE) $(MFLAGS) libglob.a) || exit 1
417 $(TILDE_LIBRARY): config.h $(TILDE_SOURCE)
418 @echo making $@ in ${TILDE_LIBDIR}
419 @(cd ${TILDE_LIBDIR} && \
420 $(MAKE) $(MFLAGS) libtilde.a) || exit 1
422 $(TERMCAP_LIBRARY): config.h ${TERMCAP_SOURCE}
423 @echo making $@ in ${TERMCAP_LIBDIR}
424 @(cd ${TERMCAP_LIBDIR} && \
425 $(MAKE) $(MFLAGS) libtermcap.a) || exit 1
427 mksignames: $(SUPPORT_SRC)mksignames.c
428 $(CC) $(CCFLAGS) $(CPPFLAGS) -o $@ $(SUPPORT_SRC)mksignames.c
430 signames.h: mksignames
434 $(BUILTINS_LIBRARY): $(BUILTIN_DEFS) $(BUILTIN_C_SRC) config.h memalloc.h
435 @(cd $(DEFDIR) && $(MAKE) $(MFLAGS) libbuiltins.a ) || exit 1
437 # these require special rules to circumvent make builtin rules
438 builtins/common.o: $(BUILTIN_SRCDIR)/common.c
439 @(cd $(DEFDIR) && $(MAKE) $(MFLAGS) common.o) || exit 1
441 builtins/bashgetopt.o: $(BUILTIN_SRCDIR)/bashgetopt.c
442 @(cd $(DEFDIR) && $(MAKE) $(MFLAGS) bashgetopt.o) || exit 1
444 builtins/builtext.h: $(BUILTIN_DEFS)
445 @(cd $(DEFDIR) && $(MAKE) $(MFLAGS) builtext.h ) || exit 1
447 # For the justification of the following Makefile rules, see node
448 # `Automatic Remaking' in GNU Autoconf documentation.
450 Makefile: config.status $(srcdir)/Makefile.in
451 CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status
453 Makefiles makefiles: config.status $(srcdir)/Makefile.in
454 @for mf in $(CREATED_MAKEFILES); do \
455 CONFIG_FILES=$$mf CONFIG_HEADERS= $(SHELL) ./config.status ; \
460 stamp-h: config.status $(srcdir)/config.h.in $(srcdir)/config.h.top $(srcdir)/config.h.bot
461 CONFIG_FILES= CONFIG_HEADERS=config.h $(SHELL) ./config.status
463 config.status: $(srcdir)/configure
464 $(SHELL) ./config.status --recheck
466 # comment out for distribution
467 #$(srcdir)/configure: $(srcdir)/configure.in $(srcdir)/aclocal.m4
468 # cd $(srcdir) && autoconf
470 mkversion: $(SUPPORT_SRC)mkversion.c
471 $(CC) $(CCFLAGS) -I.. -o $@ $(SUPPORT_SRC)mkversion.c
473 newversion: mkversion
475 ./mkversion -dir $(srcdir) -dist
476 mv -f newversion.h version.h
477 $(MAKE) -f $(srcdir)/Makefile $(MFLAGS) srcdir=$(srcdir)
479 doc documentation: force
480 @(cd $(DOCDIR) ; $(MAKE) $(MFLAGS) )
483 @(cd $(DOCDIR) ; $(MAKE) $(MFLAGS) CFLAGS='$(CCFLAGS)' $@ )
487 tags: $(SOURCES) $(BUILTIN_C_SRC) $(LIBRARY_SOURCE)
488 etags $(SOURCES) $(BUILTIN_C_SRC) $(LIBRARY_SOURCE)
490 TAGS: $(SOURCES) $(BUILTIN_C_SRC) $(LIBRARY_SOURCE)
491 ctags -x $(SOURCES) $(BUILTIN_C_SRC) $(LIBRARY_SOURCE) > $@
493 # Targets that actually do things not part of the build
496 @${SHELL} $(SUPPORT_SRC)mkdirs $(bindir)
497 @${SHELL} $(SUPPORT_SRC)mkdirs $(man1dir) $(man3dir)
498 @${SHELL} $(SUPPORT_SRC)mkdirs $(infodir)
500 install: .made installdirs
501 $(INSTALL_PROGRAM) $(Program) $(bindir)/$(Program)
502 $(INSTALL_PROGRAM) bashbug $(bindir)/bashbug
503 -( cd $(DOCDIR) ; $(MAKE) $(MFLAGS) \
504 man1dir=$(man1dir) man1ext=$(man1ext) \
505 man3dir=$(man3dir) man3ext=$(man3ext) \
506 infodir=$(infodir) $@ )
509 $(MAKE) $(MFLAGS) INSTALL_PROGRAM='$(INSTALL_PROGRAM) -s' \
510 prefix=${prefix} exec_prefix=${exec_prefix} install
513 $(RM) $(bindir)/$(Program) $(bindir)/bashbug
514 -( cd $(DOCDIR) ; $(MAKE) $(MFLAGS) \
515 man1dir=$(man1dir) man1ext=$(man1ext) \
516 man3dir=$(man3dir) man3ext=$(man3ext) \
517 infodir=$(infodir) $@ )
519 .PHONY: basic-clean clean realclean maintainer-clean distclean mostlyclean
521 $(RM) $(OBJECTS) $(Program) bashbug
522 $(RM) .build .made .machine version.h
525 ( cd $(DOCDIR) && $(MAKE) $(MFLAGS) $@ )
526 ( cd builtins && $(MAKE) $(MFLAGS) $@ )
527 -(cd $(RL_LIBDIR) && $(MAKE) $(MFLAGS) $@)
528 -(cd $(HIST_LIBDIR) && test -f Makefile && $(MAKE) $(MFLAGS) $@)
529 -(cd $(TERM_LIBDIR) && $(MAKE) $(MFLAGS) $@)
530 -(cd $(GLOB_LIBDIR) && $(MAKE) $(MFLAGS) $@)
531 -(cd $(TILDE_LIBDIR) && $(MAKE) $(MFLAGS) $@)
532 -(cd $(ALLOC_LIBDIR) && $(MAKE) $(MFLAGS) $@)
533 $(RM) $(CREATED_SUPPORT)
535 mostlyclean: basic-clean
536 ( cd $(DOCDIR) && $(MAKE) $(MFLAGS) $@ )
537 ( cd builtins && $(MAKE) $(MFLAGS) $@ )
538 -(cd $(RL_LIBDIR) && $(MAKE) $(MFLAGS) $@)
539 -(cd $(HIST_LIBDIR) && test -f Makefile && $(MAKE) $(MFLAGS) $@)
540 -(cd $(TERM_LIBDIR) && $(MAKE) $(MFLAGS) $@)
541 -(cd $(GLOB_LIBDIR) && $(MAKE) $(MFLAGS) $@)
542 -(cd $(TILDE_LIBDIR) && $(MAKE) $(MFLAGS) $@)
543 -(cd $(ALLOC_LIBDIR) && $(MAKE) $(MFLAGS) $@)
545 distclean: basic-clean
546 ( cd $(DOCDIR) && $(MAKE) $(MFLAGS) $@ )
547 ( cd builtins && $(MAKE) $(MFLAGS) $@ )
548 -(cd $(RL_LIBDIR) && $(MAKE) $(MFLAGS) $@)
549 -(cd $(HIST_LIBDIR) && test -f Makefile && $(MAKE) $(MFLAGS) $@)
550 -(cd $(TERM_LIBDIR) && $(MAKE) $(MFLAGS) $@)
551 -(cd $(GLOB_LIBDIR) && $(MAKE) $(MFLAGS) $@)
552 -(cd $(TILDE_LIBDIR) && $(MAKE) $(MFLAGS) $@)
553 -(cd $(ALLOC_LIBDIR) && $(MAKE) $(MFLAGS) $@)
554 $(RM) $(CREATED_CONFIGURE) tags TAGS
555 $(RM) $(CREATED_SUPPORT) Makefile $(CREATED_MAKEFILES)
557 maintainer-clean: basic-clean
558 @echo This command is intended for maintainers to use.
559 @echo It deletes files that may require special tools to rebuild.
560 $(RM) y.tab.c y.tab.h parser-built tags TAGS
561 ( cd $(DOCDIR) && $(MAKE) $(MFLAGS) $@ )
562 ( cd builtins && $(MAKE) $(MFLAGS) $@ )
563 -(cd $(RL_LIBDIR) && $(MAKE) $(MFLAGS) $@)
564 -(cd $(HIST_LIBDIR) && test -f Makefile && $(MAKE) $(MFLAGS) $@)
565 -(cd $(TERM_LIBDIR) && $(MAKE) $(MFLAGS) $@)
566 -(cd $(GLOB_LIBDIR) && $(MAKE) $(MFLAGS) $@)
567 -(cd $(TILDE_LIBDIR) && $(MAKE) $(MFLAGS) $@)
568 -(cd $(ALLOC_LIBDIR) && $(MAKE) $(MFLAGS) $@)
569 $(RM) $(CREATED_CONFIGURE) $(CREATED_MAKEFILES)
570 $(RM) $(CREATED_SUPPORT) Makefile
572 recho: $(SUPPORT_SRC)recho.c
573 @$(CC) -o $@ $(SUPPORT_SRC)recho.c
575 zecho: $(SUPPORT_SRC)zecho.c
576 @$(CC) -o $@ $(SUPPORT_SRC)zecho.c
578 tests check: force $(Program) recho zecho
579 @-test -d tests || mkdir tests
580 @cp recho zecho $(SUPPORT_SRC)printenv tests
581 @( cd $(srcdir)/tests && \
582 PATH=$$PATH:$(BUILD_DIR)/tests THIS_SH=$(THIS_SH) sh run-all )
585 $(SHELL) $(SUPPORT_SRC)fixlinks -s $(srcdir)
588 @echo Bash distributions are created using $(srcdir)/support/mkdist.
589 @echo Here is a sample of the necessary commands:
590 @echo $(Program) $(srcdir)/support/mkdist -m $(srcdir)/MANIFEST -s $(srcdir) -r ${Program} `cat $(srcdir)/.distribution`
591 @echo tar cf $(Program)-`cat $(srcdir)/.distribution`.tar ${Program}-`cat $(srcdir)/.distribution`
592 @echo gzip $(Program)-`cat $(srcdir)/.distribution`.tar
594 ############################ DEPENDENCIES ###############################
596 # Files that depend on the definitions in config.h.top, which are not meant
598 shell.o: config.h.top
599 input.o: config.h.top
600 y.tab.o: config.h.top
602 nojobs.o: config.h.top
603 execute_cmd.o: config.h.top
604 builtins/break.o: config.h.top
605 builtins/common.o: config.h.top
606 builtins/echo.o: config.h.top
607 variables.o: config.h.top
608 builtins/command.o: config.h.top
610 copy_cmd.o: shell.h bashjmp.h sig.h command.h stdc.h hashlib.h
611 copy_cmd.o: general.h variables.h config.h memalloc.h quit.h
612 copy_cmd.o: dispose_cmd.h make_cmd.h subst.h externs.h
613 dispose_cmd.o: shell.h bashjmp.h sig.h command.h stdc.h
614 dispose_cmd.o: general.h variables.h config.h memalloc.h quit.h
615 dispose_cmd.o: dispose_cmd.h make_cmd.h subst.h externs.h
617 execute_cmd.o: shell.h bashjmp.h sig.h command.h stdc.h y.tab.h posixstat.h
618 execute_cmd.o: general.h variables.h config.h memalloc.h quit.h hashlib.h jobs.h
619 execute_cmd.o: unwind_prot.h siglist.h builtins/builtext.h config.h flags.h
620 execute_cmd.o: dispose_cmd.h make_cmd.h subst.h externs.h bashtypes.h
621 execute_cmd.o: pathexp.h
622 expr.o: shell.h bashjmp.h sig.h command.h stdc.h hashlib.h
623 expr.o: general.h variables.h config.h memalloc.h quit.h
624 expr.o: dispose_cmd.h make_cmd.h subst.h externs.h
625 flags.o: flags.h stdc.h config.h memalloc.h general.h quit.h
626 general.o: shell.h bashjmp.h sig.h command.h stdc.h maxpath.h
627 general.o: general.h variables.h config.h memalloc.h quit.h unwind_prot.h
628 general.o: dispose_cmd.h make_cmd.h subst.h externs.h stdc.h
629 getcwd.o: config.h config.h.bot bashtypes.h maxpath.h posixstat.h
630 hashlib.o: shell.h bashjmp.h sig.h command.h stdc.h hashlib.h
631 hashlib.o: general.h variables.h config.h memalloc.h quit.h
632 hashlib.o: dispose_cmd.h make_cmd.h subst.h externs.h stdc.h
633 jobs.o: shell.h bashjmp.h sig.h command.h stdc.h hashlib.h trap.h jobs.h
634 jobs.o: general.h variables.h config.h memalloc.h quit.h bashtty.h siglist.h
635 jobs.o: dispose_cmd.h make_cmd.h subst.h externs.h builtins/builtext.h
636 jobs.o: unwind_prot.h
637 mailcheck.o: posixstat.h maxpath.h variables.h
638 mailcheck.o: hashlib.h quit.h mailcheck.h
639 make_cmd.o: shell.h bashjmp.h sig.h command.h stdc.h flags.h input.h
640 make_cmd.o: general.h variables.h config.h memalloc.h quit.h bashtypes.h
641 make_cmd.o: dispose_cmd.h make_cmd.h subst.h externs.h
642 y.tab.o: shell.h bashjmp.h sig.h command.h stdc.h flags.h maxpath.h alias.h
643 y.tab.o: general.h variables.h config.h memalloc.h quit.h mailcheck.h parser.h
644 y.tab.o: dispose_cmd.h make_cmd.h subst.h externs.h bashtypes.h bashline.h
645 y.tab.o: builtins/builtext.h
646 print_cmd.o: shell.h bashjmp.h sig.h command.h stdc.h y.tab.h
647 print_cmd.o: general.h variables.h config.h memalloc.h quit.h
648 print_cmd.o: dispose_cmd.h make_cmd.h subst.h externs.h unwind_prot.h
649 shell.o: shell.h bashjmp.h sig.h command.h stdc.h flags.h stdc.h
650 shell.o: general.h variables.h config.h memalloc.h quit.h
651 shell.o: dispose_cmd.h make_cmd.h subst.h externs.h mailcheck.h
652 shell.o: posixstat.h filecntl.h jobs.h input.h
653 subst.o: shell.h bashjmp.h sig.h command.h stdc.h flags.h jobs.h siglist.h
654 subst.o: general.h variables.h config.h memalloc.h quit.h bashtypes.h
655 subst.o: dispose_cmd.h make_cmd.h subst.h externs.h execute_cmd.h
656 subst.o: ${DEFSRC}/getopt.h pathexp.h bashline.h
657 pathexp.o: config.h shell.h bashjmp.h command.h stdc.h general.h
658 pathexp.o: error.h variables.h quit.h maxpath.h unwind_prot.h dispose_cmd.h
659 pathexp.o: make_cmd.h subst.h sig.h pathnames.h externs.h
660 pathexp.o: $(GLOB_LIBSRC)/glob.h $(GLOB_LIBSRC)/fnmatch.h
662 trap.o: trap.h shell.h bashjmp.h sig.h command.h stdc.h hashlib.h unwind_prot.h
663 trap.o: general.h variables.h config.h memalloc.h quit.h signames.h
664 trap.o: dispose_cmd.h make_cmd.h subst.h externs.h
665 unwind_prot.o: config.h memalloc.h general.h unwind_prot.h sig.h
666 variables.o: shell.h bashjmp.h sig.h command.h stdc.h hashlib.h flags.h
667 variables.o: config.h memalloc.h general.h variables.h quit.h mailcheck.h
668 variables.o: execute_cmd.h dispose_cmd.h make_cmd.h subst.h externs.h
669 sig.o: shell.h bashjmp.h sig.h command.h stdc.h hashlib.h flags.h
670 sig.o: config.h memalloc.h general.h variables.h quit.h
671 sig.o: bashtypes.h jobs.h bashline.h unwind_prot.h
672 version.o: version.h .build
673 oslib.o: config.h bashtypes.h posixstat.h filecntl.h bashansi.h maxpath.h
674 oslib.o: shell.h bashjmp.h sig.h command.h stdc.h mailcheck.h
675 oslib.o: general.h error.h variables.h quit.h unwind_prot.h dispose_cmd.h
676 oslib.o: make_cmd.h subst.h pathnames.h externs.h
677 xmalloc.o: config.h ansi_stdlib.h general.h error.h
679 eval.o: config.h bashansi.h shell.h trap.h flags.h builtins/common.h
680 eval.o: input.h execute_cmd.h
681 eval.o: bashjmp.h command.h general.h error.h variables.h quit.h
682 eval.o: maxpath.h unwind_prot.h dispose_cmd.h make_cmd.h subst.h
683 eval.o: sig.h pathnames.h externs.h
685 locale.o: bashintl.h bashansi.h config.h bashtypes.h shell.h
686 locale.o: bashjmp.h command.h general.h error.h variables.h quit.h
687 locale.o: maxpath.h unwind_prot.h dispose_cmd.h make_cmd.h subst.h
688 locale.o: sig.h pathnames.h externs.h
691 alias.o: ansi_stdlib.h
692 bashline.o: ansi_stdlib.h
693 variables.o: ansi_stdlib.h
694 shell.o: ansi_stdlib.h
695 error.o: ansi_stdlib.h
696 hash.o: ansi_stdlib.h
697 signames.o: ansi_stdlib.h
698 expr.o: ansi_stdlib.h
699 general.o: ansi_stdlib.h
700 input.o: ansi_stdlib.h
705 array.o: general.h shell.h bashjmp.h sig.h variables.h quit.h config.h
706 array.o: command.h error.h maxpath.h unwind_prot.h dispose_cmd.h memalloc.h
707 array.o: make_cmd.h subst.h externs.h
708 array.o: array.h stdc.h $(DEFSRC)/common.h
710 braces.o: general.h shell.h bashjmp.h sig.h variables.h quit.h config.h
711 braces.o: dispose_cmd.h make_cmd.h subst.h externs.h memalloc.h
712 braces.o: maxpath.h unwind_prot.h command.h stdc.h
714 bracecomp.o: bracecomp.c
715 bracecomp.o: shell.h bashjmp.h sig.h command.h hashlib.h builtins.h general.h
716 bracecomp.o: quit.h alias.h config.h variables.h
717 bracecomp.o: dispose_cmd.h make_cmd.h subst.h externs.h stdc.h
718 bracecomp.o: $(RL_LIBSRC)/readline.h
720 bashline.o: shell.h bashjmp.h sig.h command.h stdc.h hashlib.h builtins.h
721 bashline.o: general.h variables.h config.h memalloc.h quit.h alias.h
722 bashline.o: dispose_cmd.h make_cmd.h subst.h externs.h config.h bashline.h
723 bashline.o: $(GLOB_LIBSRC)/glob.h pathexp.h execute_cmd.h
725 bashhist.o: config.h bashansi.h posixstat.h filecntl.h parser.h
726 bashhist.o: shell.h bashjmp.h sig.h command.h stdc.h hashlib.h builtins.h
727 bashhist.o: general.h variables.h memalloc.h quit.h alias.h execute_cmd.h
728 bashhist.o: dispose_cmd.h make_cmd.h subst.h externs.h flags.h
730 bashline.o: $(RL_LIBSRC)/chardefs.h $(RL_LIBSRC)/readline.h
731 bashline.o: $(RL_LIBSRC)/keymaps.h
732 y.tab.o: $(RL_LIBSRC)/keymaps.h $(RL_LIBSRC)/chardefs.h
733 y.tab.o: $(RL_LIBSRC)/readline.h
735 subst.o: $(HIST_LIBSRC)/history.h
736 bashline.o: $(HIST_LIBSRC)/history.h
737 bashhist.o: $(HIST_LIBSRC)/history.h
738 y.tab.o: $(HIST_LIBSRC)/history.h
740 subst.o: $(GLOB_LIBSRC)/fnmatch.h
741 execute_cmd.o: $(GLOB_LIBSRC)/fnmatch.h
742 bashhist.o: $(GLOB_LIBSRC)/fnmatch.h
744 execute_cmd.o: $(TILDE_LIBSRC)/tilde.h
745 general.o: $(TILDE_LIBSRC)/tilde.h
746 mailcheck.o: $(TILDE_LIBSRC)/tilde.h
747 shell.o: $(TILDE_LIBSRC)/tilde.h
748 subst.o: $(TILDE_LIBSRC)/tilde.h
749 variables.o: $(TILDE_LIBSRC)/tilde.h
751 builtins/common.o: shell.h bashjmp.h sig.h command.h config.h memalloc.h
752 builtins/common.o: variables.h input.h $(DEFSRC)/hashcom.h siglist.h
753 builtins/common.o: quit.h unwind_prot.h maxpath.h jobs.h builtins.h
754 builtins/common.o: dispose_cmd.h make_cmd.h subst.h externs.h bashhist.h
755 builtins/common.o: execute_cmd.h stdc.h general.h error.h unwind_prot.h
756 builtins/alias.o: command.h config.h memalloc.h error.h general.h maxpath.h
757 builtins/alias.o: quit.h $(DEFSRC)/common.h
758 builtins/alias.o: shell.h bashjmp.h sig.h command.h stdc.h unwind_prot.h
759 builtins/alias.o: dispose_cmd.h make_cmd.h subst.h externs.h variables.h
760 builtins/bind.o: command.h config.h memalloc.h error.h general.h maxpath.h
761 builtins/bind.o: dispose_cmd.h make_cmd.h subst.h externs.h stdc.h
762 builtins/bind.o: shell.h bashjmp.h sig.h unwind_prot.h variables.h quit.h
763 builtins/bind.o: $(DEFSRC)/bashgetopt.h
764 builtins/break.o: command.h config.h memalloc.h error.h general.h maxpath.h
765 builtins/break.o: shell.h bashjmp.h sig.h unwind_prot.h variables.h quit.h
766 builtins/break.o: dispose_cmd.h make_cmd.h subst.h externs.h stdc.h
767 builtins/builtin.o: command.h config.h memalloc.h error.h general.h maxpath.h
768 builtins/builtin.o: quit.h $(DEFSRC)/common.h
769 builtins/builtin.o: shell.h bashjmp.h sig.h unwind_prot.h variables.h
770 builtins/builtin.o: dispose_cmd.h make_cmd.h subst.h externs.h stdc.h
771 builtins/cd.o: command.h config.h memalloc.h error.h general.h maxpath.h
772 builtins/cd.o: shell.h bashjmp.h sig.h unwind_prot.h variables.h
773 builtins/cd.o: dispose_cmd.h make_cmd.h subst.h externs.h stdc.h
774 builtins/cd.o: $(DEFSRC)/common.h quit.h
775 builtins/command.o: command.h config.h memalloc.h error.h general.h maxpath.h
776 builtins/command.o: quit.h $(DEFSRC)/bashgetopt.h
777 builtins/command.o: shell.h bashjmp.h sig.h unwind_prot.h variables.h
778 builtins/command.o: dispose_cmd.h make_cmd.h subst.h externs.h stdc.h
779 builtins/declare.o: command.h config.h memalloc.h error.h general.h maxpath.h
780 builtins/declare.o: shell.h bashjmp.h sig.h unwind_prot.h variables.h quit.h
781 builtins/declare.o: dispose_cmd.h make_cmd.h subst.h externs.h stdc.h
782 builtins/echo.o: command.h config.h memalloc.h error.h general.h maxpath.h
783 builtins/echo.o: shell.h bashjmp.h sig.h unwind_prot.h variables.h quit.h
784 builtins/echo.o: dispose_cmd.h make_cmd.h subst.h externs.h stdc.h
785 builtins/enable.o: command.h config.h memalloc.h error.h general.h maxpath.h
786 builtins/enable.o: shell.h bashjmp.h sig.h unwind_prot.h variables.h quit.h
787 builtins/enable.o: dispose_cmd.h make_cmd.h subst.h externs.h stdc.h
788 builtins/eval.o: command.h config.h memalloc.h error.h general.h maxpath.h
789 builtins/eval.o: shell.h bashjmp.h sig.h unwind_prot.h variables.h quit.h
790 builtins/eval.o: dispose_cmd.h make_cmd.h subst.h externs.h stdc.h
791 builtins/exec.o: command.h config.h memalloc.h error.h general.h maxpath.h
792 builtins/exec.o: shell.h bashjmp.h sig.h unwind_prot.h variables.h
793 builtins/exec.o: dispose_cmd.h make_cmd.h subst.h externs.h execute_cmd.h
794 builtins/exec.o: flags.h quit.h $(DEFSRC)/common.h stdc.h
795 builtins/exit.o: command.h config.h memalloc.h error.h general.h maxpath.h
796 builtins/exit.o: shell.h bashjmp.h sig.h unwind_prot.h variables.h quit.h
797 builtins/exit.o: dispose_cmd.h make_cmd.h subst.h externs.h stdc.h
798 builtins/fc.o: builtins.h command.h stdc.h
799 builtins/fc.o: command.h config.h memalloc.h error.h general.h maxpath.h
800 builtins/fc.o: flags.h unwind_prot.h variables.h shell.h bashjmp.h sig.h
801 builtins/fc.o: dispose_cmd.h make_cmd.h subst.h externs.h stdc.h quit.h
802 builtins/fc.o: $(DEFSRC)/bashgetopt.h bashhist.h
803 builtins/fg_bg.o: command.h config.h memalloc.h error.h general.h maxpath.h
804 builtins/fg_bg.o: shell.h bashjmp.h sig.h unwind_prot.h variables.h quit.h
805 builtins/fg_bg.o: dispose_cmd.h make_cmd.h subst.h externs.h stdc.h
806 builtins/getopts.o: command.h config.h memalloc.h error.h general.h maxpath.h
807 builtins/getopts.o: shell.h bashjmp.h sig.h unwind_prot.h variables.h quit.h
808 builtins/getopts.o: dispose_cmd.h make_cmd.h subst.h externs.h stdc.h
809 builtins/hash.o: builtins.h command.h execute_cmd.h stdc.h $(DEFSRC)/common.h
810 builtins/hash.o: command.h config.h memalloc.h error.h general.h maxpath.h
811 builtins/hash.o: shell.h bashjmp.h sig.h unwind_prot.h variables.h quit.h
812 builtins/help.o: command.h config.h memalloc.h error.h general.h maxpath.h
813 builtins/help.o: dispose_cmd.h make_cmd.h subst.h externs.h stdc.h
814 builtins/help.o: shell.h bashjmp.h sig.h unwind_prot.h variables.h quit.h
815 builtins/help.o: $(GLOB_LIBSRC)/glob.h
816 builtins/history.o: command.h config.h memalloc.h error.h general.h maxpath.h
817 builtins/history.o: quit.h dispose_cmd.h make_cmd.h subst.h externs.h stdc.h
818 builtins/history.o: filecntl.h shell.h bashjmp.h sig.h unwind_prot.h
819 builtins/history.o: bashhist.h variables.h
820 builtins/inlib.o: command.h config.h memalloc.h error.h general.h maxpath.h
821 builtins/inlib.o: shell.h bashjmp.h sig.h unwind_prot.h variables.h quit.h
822 builtins/inlib.o: dispose_cmd.h make_cmd.h subst.h externs.h stdc.h
823 builtins/jobs.o: command.h config.h memalloc.h error.h general.h maxpath.h
824 builtins/jobs.o: quit.h $(DEFSRC)/bashgetopt.h
825 builtins/jobs.o: shell.h bashjmp.h sig.h unwind_prot.h variables.h
826 builtins/jobs.o: dispose_cmd.h make_cmd.h subst.h externs.h stdc.h
827 builtins/kill.o: command.h config.h memalloc.h error.h general.h maxpath.h
828 builtins/kill.o: quit.h dispose_cmd.h make_cmd.h subst.h externs.h stdc.h
829 builtins/kill.o: shell.h bashjmp.h sig.h trap.h unwind_prot.h variables.h
830 builtins/let.o: command.h config.h memalloc.h error.h general.h maxpath.h
831 builtins/let.o: quit.h dispose_cmd.h make_cmd.h subst.h externs.h stdc.h
832 builtins/let.o: shell.h bashjmp.h sig.h unwind_prot.h variables.h
833 builtins/pushd.o: command.h config.h memalloc.h error.h general.h maxpath.h
834 builtins/pushd.o: quit.h dispose_cmd.h make_cmd.h subst.h externs.h stdc.h
835 builtins/pushd.o: shell.h bashjmp.h sig.h unwind_prot.h variables.h
836 builtins/pushd.o: $(DEFSRC)/common.h
837 builtins/read.o: command.h config.h memalloc.h error.h general.h maxpath.h
838 builtins/read.o: quit.h dispose_cmd.h make_cmd.h subst.h externs.h stdc.h
839 builtins/read.o: shell.h bashjmp.h sig.h unwind_prot.h variables.h
840 builtins/return.o: command.h config.h memalloc.h error.h general.h maxpath.h
841 builtins/return.o: quit.h dispose_cmd.h make_cmd.h subst.h externs.h stdc.h
842 builtins/return.o: shell.h bashjmp.h sig.h unwind_prot.h variables.h
843 builtins/set.o: command.h config.h memalloc.h error.h general.h maxpath.h
844 builtins/set.o: quit.h dispose_cmd.h make_cmd.h subst.h externs.h stdc.h
845 builtins/set.o: shell.h bashjmp.h sig.h unwind_prot.h variables.h flags.h
846 builtins/setattr.o: command.h config.h memalloc.h error.h general.h maxpath.h
847 builtins/setattr.o: quit.h $(DEFSRC)/common.h $(DEFSRC)/bashgetopt.h
848 builtins/setattr.o: shell.h bashjmp.h sig.h unwind_prot.h variables.h
849 builtins/setattr.o: dispose_cmd.h make_cmd.h subst.h externs.h stdc.h
850 builtins/shift.o: command.h config.h memalloc.h error.h general.h maxpath.h
851 builtins/shift.o: quit.h dispose_cmd.h make_cmd.h subst.h externs.h stdc.h
852 builtins/shift.o: shell.h bashjmp.h sig.h unwind_prot.h variables.h
853 builtins/shift.o: dispose_cmd.h make_cmd.h subst.h externs.h stdc.h
854 builtins/source.o: command.h config.h memalloc.h error.h general.h maxpath.h
855 builtins/source.o: quit.h dispose_cmd.h make_cmd.h subst.h externs.h stdc.h
856 builtins/source.o: shell.h bashjmp.h sig.h unwind_prot.h variables.h
857 builtins/suspend.o: command.h config.h memalloc.h error.h general.h maxpath.h
858 builtins/suspend.o: quit.h dispose_cmd.h make_cmd.h subst.h externs.h stdc.h
859 builtins/suspend.o: shell.h bashjmp.h sig.h unwind_prot.h variables.h
860 builtins/test.o: command.h config.h memalloc.h error.h general.h maxpath.h
861 builtins/test.o: quit.h dispose_cmd.h make_cmd.h subst.h externs.h stdc.h
862 builtins/test.o: shell.h bashjmp.h sig.h unwind_prot.h variables.h
863 builtins/times.o: command.h config.h memalloc.h error.h general.h maxpath.h
864 builtins/times.o: quit.h dispose_cmd.h make_cmd.h subst.h externs.h stdc.h
865 builtins/times.o: shell.h bashjmp.h sig.h unwind_prot.h variables.h
866 builtins/trap.o: command.h config.h memalloc.h error.h general.h maxpath.h
867 builtins/trap.o: quit.h $(DEFSRC)/common.h
868 builtins/trap.o: shell.h bashjmp.h sig.h unwind_prot.h variables.h
869 builtins/trap.o: dispose_cmd.h make_cmd.h subst.h externs.h stdc.h
870 builtins/type.o: command.h config.h memalloc.h error.h general.h maxpath.h
871 builtins/type.o: quit.h $(DEFSRC)/common.h execute_cmd.h
872 builtins/type.o: shell.h bashjmp.h sig.h unwind_prot.h variables.h
873 builtins/type.o: dispose_cmd.h make_cmd.h subst.h externs.h stdc.h
874 builtins/ulimit.o: command.h config.h memalloc.h error.h general.h maxpath.h
875 builtins/ulimit.o: quit.h dispose_cmd.h make_cmd.h subst.h externs.h stdc.h
876 builtins/ulimit.o: shell.h bashjmp.h sig.h unwind_prot.h variables.h
877 builtins/umask.o: command.h config.h memalloc.h error.h general.h maxpath.h
878 builtins/umask.o: quit.h dispose_cmd.h make_cmd.h subst.h externs.h stdc.h
879 builtins/umask.o: shell.h bashjmp.h sig.h unwind_prot.h variables.h
880 builtins/wait.o: command.h config.h memalloc.h error.h general.h maxpath.h
881 builtins/wait.o: quit.h dispose_cmd.h make_cmd.h subst.h externs.h stdc.h
882 builtins/wait.o: shell.h bashjmp.h sig.h unwind_prot.h variables.h
883 builtins/shopt.o: command.h config.h memalloc.h error.h general.h
884 builtins/shopt.o: quit.h dispose_cmd.h make_cmd.h subst.h externs.h
885 builtins/shopt.o: shell.h bashjmp.h unwind_prot.h variables.h maxpath.h
886 builtins/shopt.o: $(DEFSRC)/common.h $(DEFSRC)/bashgetopt.h
888 builtins/bashgetopt.o: bashansi.h ansi_stdlib.h
889 builtins/mkbuiltins.o: bashansi.h ansi_stdlib.h
890 builtins/fc.o: bashansi.h ansi_stdlib.h
892 builtins/bind.o: $(RL_LIBSRC)/chardefs.h $(RL_LIBSRC)/readline.h
893 builtins/bind.o: $(RL_LIBSRC)/keymaps.h
895 builtins/bind.o: $(HIST_LIBSRC)/history.h
896 builtins/fc.o: $(HIST_LIBSRC)/history.h
897 builtins/history.o: $(HIST_LIBSRC)/history.h
899 builtins/common.o: $(TILDE_LIBSRC)/tilde.h
900 builtins/cd.o: $(TILDE_LIBSRC)/tilde.h
902 builtins/alias.o: $(DEFSRC)/alias.def
903 builtins/bind.o: $(DEFSRC)/bind.def
904 builtins/break.o: $(DEFSRC)/break.def
905 builtins/builtin.o: $(DEFSRC)/builtin.def
906 builtins/cd.o: $(DEFSRC)/cd.def
907 builtins/colon.o: $(DEFSRC)/colon.def
908 builtins/command.o: $(DEFSRC)/command.def
909 builtins/declare.o: $(DEFSRC)/declare.def
910 builtins/echo.o: $(DEFSRC)/echo.def
911 builtins/enable.o: $(DEFSRC)/enable.def
912 builtins/eval.o: $(DEFSRC)/eval.def
913 builtins/exec.o: $(DEFSRC)/exec.def
914 builtins/exit.o: $(DEFSRC)/exit.def
915 builtins/fc.o: $(DEFSRC)/fc.def
916 builtins/fg_bg.o: $(DEFSRC)/fg_bg.def
917 builtins/getopts.o: $(DEFSRC)/getopts.def
918 builtins/hash.o: $(DEFSRC)/hash.def
919 builtins/help.o: $(DEFSRC)/help.def
920 builtins/history.o: $(DEFSRC)/history.def
921 builtins/inlib.o: $(DEFSRC)/inlib.def
922 builtins/jobs.o: $(DEFSRC)/jobs.def
923 builtins/kill.o: $(DEFSRC)/kill.def
924 builtins/let.o: $(DEFSRC)/let.def
925 builtins/pushd.o: $(DEFSRC)/pushd.def
926 builtins/read.o: $(DEFSRC)/read.def
927 builtins/reserved.o: $(DEFSRC)/reserved.def
928 builtins/return.o: $(DEFSRC)/return.def
929 builtins/set.o: $(DEFSRC)/set.def
930 builtins/setattr.o: $(DEFSRC)/setattr.def
931 builtins/shift.o: $(DEFSRC)/shift.def
932 builtins/shopt.o: $(DEFSRC)/shopt.def
933 builtins/source.o: $(DEFSRC)/source.def
934 builtins/suspend.o: $(DEFSRC)/suspend.def
935 builtins/test.o: $(DEFSRC)/test.def
936 builtins/times.o: $(DEFSRC)/times.def
937 builtins/trap.o: $(DEFSRC)/trap.def
938 builtins/type.o: $(DEFSRC)/type.def
939 builtins/ulimit.o: $(DEFSRC)/ulimit.def
940 builtins/umask.o: $(DEFSRC)/umask.def
941 builtins/wait.o: $(DEFSRC)/wait.def