]> git.ipfire.org Git - thirdparty/bash.git/blob - Makefile.in
Imported from ../bash-2.02.tar.gz.
[thirdparty/bash.git] / Makefile.in
1 # Makefile for bash-2.02, version 2.84
2 #
3 # Make sure the first target in the makefile is the right one
4 all: .made
5
6 # Include some boilerplate Gnu makefile definitions.
7 prefix = @prefix@
8
9 exec_prefix = @exec_prefix@
10 bindir = @bindir@
11 libdir = @libdir@
12 infodir = @infodir@
13 includedir = @includedir@
14
15 mandir = @mandir@
16 manpfx = man
17
18 man1ext = 1
19 man1dir = $(mandir)/$(manpfx)$(man1ext)
20 man3ext = 3
21 man3dir = $(mandir)/$(manpfx)$(man3ext)
22
23 topdir = @top_srcdir@
24 BUILD_DIR = @BUILD_DIR@
25 srcdir = @srcdir@
26 VPATH = .:@srcdir@
27
28 @SET_MAKE@
29 CC = @CC@
30 CC_FOR_BUILD = @CC_FOR_BUILD@
31 YACC = @YACC@
32 SHELL=/bin/sh
33 CP = cp
34 RM = rm -f
35 AR = @AR@
36 RANLIB = @RANLIB@
37
38 INSTALL = @INSTALL@
39 INSTALL_PROGRAM = @INSTALL_PROGRAM@
40 INSTALL_DATA = @INSTALL_DATA@
41
42 COMPRESS = gzip
43 COMPRESS_EXT = .gz
44
45 TESTSCRIPT = @TESTSCRIPT@
46
47 #If you have purify, and want to use it, uncomment this definition or
48 # run the make as `make PURIFY=purify'
49 # or run configure with the --with-purify argument.
50 PURIFY = @PURIFY@
51
52 # Here is a rule for making .o files from .c files that does not
53 # force the type of the machine (like -M_MACHINE) into the flags.
54 .c.o:
55 $(RM) $@
56 $(CC) $(CCFLAGS) -c $<
57
58 # The name of this program and some version information.
59 Program = bash
60 Version = @BASHVERS@
61 PatchLevel = @BASHPATCH@
62 RELSTATUS = release
63
64 Machine = @host_cpu@
65 OS = @host_os@
66 MACHTYPE = @host@
67
68 THIS_SH = $(BUILD_DIR)/$(Program)
69
70 # PROFILE_FLAGS is either -pg, to generate profiling info for use
71 # with gprof, or nothing (the default).
72 PROFILE_FLAGS= @PROFILE_FLAGS@
73
74 # The GNU coding standards don't recognize the possibility that
75 # other information besides optimization and debugging might be
76 # passed to cc. A different name should have been used.
77 CFLAGS = @CFLAGS@
78 CPPFLAGS = @CPPFLAGS@
79 LOCAL_CFLAGS = @LOCAL_CFLAGS@
80 DEFS = @DEFS@
81 LOCAL_DEFS = @LOCAL_DEFS@
82 LOCAL_LIBS = @LOCAL_LIBS@
83 LIBS = $(BUILTINS_LIB) $(LIBRARIES) $(LOCAL_LIBS) @LIBS@
84 LDFLAGS = @LDFLAGS@ $(LOCAL_LDFLAGS) $(PROFILE_FLAGS) $(CFLAGS)
85 LOCAL_LDFLAGS = @LOCAL_LDFLAGS@
86
87 SYSTEM_FLAGS = -DPROGRAM='"$(Program)"' -DHOSTTYPE='"$(Machine)"' -DOSTYPE='"$(OS)"' -DMACHTYPE='"$(MACHTYPE)"'
88
89 CCFLAGS = $(PROFILE_FLAGS) $(SYSTEM_FLAGS) $(LOCAL_DEFS) \
90 $(DEFS) $(LOCAL_CFLAGS) $(CPPFLAGS) $(INCLUDES) $(CFLAGS)
91
92 INCLUDES = -I. -I$(srcdir) -I$(LIBSRC)
93
94 GCC_LINT_FLAGS = -ansi -Wall -Wshadow -Wpointer-arith -Wcast-qual \
95 -Wwrite-strings -Werror -Wstrict-prototypes \
96 -Wmissing-prototypes
97 GCC_LINT_CFLAGS = $(CCFLAGS) $(GCC_LINT_FLAGS)
98
99 #
100 # Support libraries
101 #
102
103 dot = .
104
105 LIBSUBDIR = lib
106 LIBSRC = $(srcdir)/$(LIBSUBDIR)
107
108 SUBDIR_INCLUDES = -I. -I$(topdir) -I$(topdir)/$(LIBSUBDIR) -I$(includedir)
109
110 # the bash library
111 # the library is a mix of functions that the C library does not provide on
112 # some platforms and general shell utility functions
113 SH_LIBSRC = $(LIBSRC)/sh
114 SH_LIBDIR = $(dot)/${LIBSUBDIR}/sh
115 SH_ABSSRC = ${topdir}/${SH_LIBSRC}
116
117 SHLIB_SOURCE = ${SH_LIBSRC}/clktck.c ${SH_LIBSRC}/getcwd.c \
118 ${SH_LIBSRC}/getenv.c ${SH_LIBSRC}/oslib.c \
119 ${SH_LIBSRC}/setlinebuf.c \
120 ${SH_LIBSRC}/strcasecmp.c ${SH_LIBSRC}/strerror.c \
121 ${SH_LIBSRC}/strtod.c ${SH_LIBSRC}/strtol.c \
122 ${SH_LIBSRC}/strtoul.c ${SH_LIBSRC}/vprint.c \
123 ${SH_LIBSRC}/itos.c
124
125 SHLIB_LIB = -lsh
126 SHLIB_LIBNAME = libsh.a
127 SHLIB_LIBRARY = ${SH_LIBDIR}/${SHLIB_LIBNAME}
128 SHLIB_LDFLAGS = -L${SH_LIBDIR}
129 SHLIB_DEP = ${SHLIB_LIBRARY}
130
131 # we assume for now that readline source is being shipped with bash
132 RL_LIBSRC = $(LIBSRC)/readline
133 RL_LIBDOC = $(RL_LIBSRC)/doc
134 RL_LIBDIR = $(dot)/$(LIBSUBDIR)/readline
135 RL_ABSSRC = ${topdir}/$(RL_LIBDIR)
136
137 READLINE_LIB = @READLINE_LIB@
138 READLINE_LIBRARY = $(RL_LIBDIR)/libreadline.a
139 READLINE_LDFLAGS = -L${RL_LIBDIR}
140 READLINE_DEP = @READLINE_DEP@
141
142 # The source, object and documentation of the GNU Readline library.
143 READLINE_SOURCE = $(RL_LIBSRC)/rldefs.h $(RL_LIBSRC)/rlconf.h \
144 $(RL_LIBSRC)/readline.h $(RL_LIBSRC)/tcap.h \
145 $(RL_LIBSRC)/chardefs.h $(RL_LIBSRC)/keymaps.h \
146 $(RL_LIBSRC)/history.h $(RL_LIBSRC)/histlib.h \
147 $(RL_LIBSRC)/posixstat.h $(RL_LIBSRC)/tilde.h \
148 $(RL_LIBSRC)/funmap.c $(RL_LIBSRC)/emacs_keymap.c \
149 $(RL_LIBSRC)/search.c $(RL_LIBSRC)/vi_keymap.c \
150 $(RL_LIBSRC)/keymaps.c $(RL_LIBSRC)/parens.c \
151 $(RL_LIBSRC)/vi_mode.c $(RL_LIBSRC)/callback.c \
152 $(RL_LIBSRC)/readline.c $(RL_LIBSRC)/tilde.c \
153 $(RL_LIBSRC)/rltty.c $(RL_LIBSRC)/complete.c \
154 $(RL_LIBSRC)/bind.c $(RL_LIBSRC)/isearch.c \
155 $(RL_LIBSRC)/display.c $(RL_LIBSRC)/signals.c \
156 $(RL_LIBSRC)/util.c $(RL_LIBSRC)/kill.c \
157 $(RL_LIBSRC)/undo.c $(RL_LIBSRC)/macro.c \
158 $(RL_LIBSRC)/terminal.c $(RL_LIBSRC)/nls.c \
159 $(RL_LIBSRC)/input.c $(RL_LIBSRC)/xmalloc.c \
160 $(RL_LIBSRC)/shell.c \
161 $(RL_LIBSRC)/histexpand.c $(RL_LIBSRC)/history.c \
162 $(RL_LIBSRC)/histsearch.c $(RL_LIBSRC)/histfile.c
163
164 READLINE_OBJ = $(RL_LIBDIR)/readline.o $(RL_LIBDIR)/funmap.o \
165 $(RL_LIBDIR)/parens.o $(RL_LIBDIR)/search.o \
166 $(RL_LIBDIR)/keymaps.o $(RL_LIBDIR)/xmalloc.o \
167 $(RL_LIBDIR)/rltty.o $(RL_LIBDIR)/complete.o \
168 $(RL_LIBDIR)/bind.o $(RL_LIBDIR)/isearch.o \
169 $(RL_LIBDIR)/display.o $(RL_LIBDIR)/signals.o \
170 $(RL_LIBDIR)/tilde.o $(RL_LIBDIR)/util.o \
171 $(RL_LIBDIR)/kill.o $(RL_LIBDIR)/undo.o $(RL_LIBDIR)/nls.o \
172 $(RL_LIBDIR)/macro.o $(RL_LIBDIR)/input.o \
173 $(RL_LIBDIR)/terminal.o $(RL_LIBDIR)/callback.o \
174 $(RL_LIBDIR)/shell.o \
175 $(RL_LIBDIR)/history.o $(RL_LIBDIR)/histexpand.o \
176 $(RL_LIBDIR)/histsearch.o $(RL_LIBDIR)/histfile.o
177
178 HIST_LIBSRC = $(LIBSRC)/readline
179 HIST_LIBDIR = $(dot)/$(LIBSUBDIR)/readline
180 HIST_ABSSRC = ${topdir}/$(HIST_LIBDIR)
181
182 HISTORY_LIB = @HISTORY_LIB@
183 HISTORY_LIBRARY = $(HIST_LIBDIR)/libhistory.a
184 HISTORY_LDFLAGS = -L$(HIST_LIBDIR)
185 HISTORY_DEP = @HISTORY_DEP@
186
187 # The source, object and documentation of the history library.
188 HISTORY_SOURCE = $(HIST_LIBSRC)/history.c $(HIST_LIBSRC)/histexpand.c \
189 $(HIST_LIBSRC)/histsearch.c $(HIST_LIBSRC)/histfile.c \
190 $(HIST_LIBSRC)/shell.c \
191 $(HIST_LIBSRC)/history.h $(HIST_LIBSRC)/histlib.h
192 HISTORY_OBJ = $(HIST_LIBDIR)/history.o $(HIST_LIBDIR)/histexpand.o \
193 $(HIST_LIBDIR)/histsearch.o $(HIST_LIBDIR)/histfile.o \
194 $(HIST_LIBDIR)/shell.o
195
196 # You only need termcap (or curses) if you are linking with GNU Readline.
197 TERM_LIBSRC = $(LIBSRC)/termcap
198 TERM_LIBDIR = $(dot)/$(LIBSUBDIR)/termcap
199 TERM_ABSSRC = ${topdir}/$(TERM_LIBDIR)
200
201 TERMCAP_LIB = @TERMCAP_LIB@
202 TERMCAP_LIBRARY = $(TERM_LIBDIR)/libtermcap.a
203 TERMCAP_LDFLAGS = -L$(TERM_LIBDIR)
204 TERMCAP_DEP = @TERMCAP_DEP@
205
206 TERMCAP_SOURCE = $(TERM_LIBSRC)/termcap.c $(TERM_LIBSRC)/tparam.c
207 TERMCAP_OBJ = $(TERM_LIBDIR)/termcap.o $(TERM_LIBDIR)/tparam.o
208
209 GLOB_LIBSRC = $(LIBSRC)/glob
210 GLOB_LIBDIR = $(dot)/$(LIBSUBDIR)/glob
211 GLOB_ABSSRC = ${topdir}/$(GLOB_LIBDIR)
212
213 GLOB_LIB = -lglob
214 GLOB_LIBRARY = $(GLOB_LIBDIR)/libglob.a
215 GLOB_LDFLAGS = -L$(GLOB_LIBDIR)
216 GLOB_DEP = $(GLOB_LIBRARY)
217
218 GLOB_SOURCE = $(GLOB_LIBSRC)/glob.c $(GLOB_LIBSRC)/fnmatch.c \
219 $(GLOB_LIBSRC)/glob.h $(GLOB_LIBSRC)/fnmatch.h
220 GLOB_OBJ = $(GLOB_LIBDIR)/glob.o $(GLOB_LIBDIR)/fnmatch.o
221
222 # The source, object and documentation for the GNU Tilde library.
223 TILDE_LIBSRC = $(LIBSRC)/tilde
224 TILDE_LIBDIR = $(dot)/$(LIBSUBDIR)/tilde
225 TILDE_ABSSRC = ${topdir}/$(TILDE_LIBDIR)
226
227 TILDE_LIB = -ltilde
228 TILDE_LIBRARY = $(TILDE_LIBDIR)/libtilde.a
229 TILDE_LDFLAGS = -L$(TILDE_LIBDIR)
230 TILDE_DEP = $(TILDE_LIBRARY)
231
232 TILDE_SOURCE = $(TILDE_LIBSRC)/tilde.c $(TILDE_LIBSRC)/tilde.h
233 TILDE_OBJ = $(TILDE_LIBDIR)/tilde.o
234
235 # Our malloc.
236 MALLOC_TARGET = @MALLOC_TARGET@
237
238 # set to alloca.o if we are using the C alloca in lib/malloc
239 ALLOCA = @ALLOCA@
240
241 ALLOC_LIBSRC = $(LIBSRC)/malloc
242 ALLOC_LIBDIR = $(dot)/$(LIBSUBDIR)/malloc
243 ALLOC_ABSSRC = ${topdir}/$(ALLOC_LIBDIR)
244
245 MALLOC_SRC = @MALLOC_SRC@
246 MALLOC_SOURCE = ${ALLOC_LIBSRC}/${MALLOC_SRC}
247 MALLOC_CFLAGS = -DRCHECK -Dbotch=programming_error
248
249 MALLOC_LIB = -lmalloc
250 MALLOC_LIBRARY = $(ALLOC_LIBDIR)/libmalloc.a
251 MALLOC_LDFLAGS = -L$(ALLOC_LIBDIR)
252 MALLOC_DEP = $(MALLOC_LIBRARY)
253
254 ALLOC_HEADERS = $(ALLOC_LIBSRC)/getpagesize.h
255
256 $(MALLOC_LIBRARY): ${MALLOC_SOURCE}
257 @(cd $(ALLOC_LIBDIR) && \
258 $(MAKE) $(MFLAGS) \
259 MALLOC_CFLAGS="$(MALLOC_CFLAGS)" ${MALLOC_TARGET} ) || exit 1
260
261 BASHPOSIX_LIB = $(LIBSRC)/posixheaders
262 BASHPOSIX_SUPPORT = $(BASHPOSIX_LIB)/posixstat.h $(BASHPOSIX_LIB)/ansi_stdlib.h \
263 $(BASHPOSIX_LIB)/memalloc.h $(BASHPOSIX_LIB)/stdc.h
264
265 LIBRARIES = $(READLINE_LIB) $(HISTORY_LIB) $(TERMCAP_LIB) $(GLOB_LIB) \
266 $(TILDE_LIB) $(MALLOC_LIB) $(SHLIB_LIB) $(LOCAL_LIBS)
267
268 LIBDEP = $(READLINE_DEP) $(TERMCAP_DEP) $(GLOB_DEP) $(HISTORY_DEP) \
269 $(TILDE_DEP) $(MALLOC_DEP) $(SHLIB_DEP)
270
271 LIBRARY_LDFLAGS = $(READLINE_LDFLAGS) $(HISTORY_LDFLAGS) $(TILDE_LDFLAGS) \
272 $(GLOB_LDFLAGS) $(MALLOC_LDFLAGS) $(SHLIB_LDFLAGS)
273
274 #
275 # The shell itself
276 #
277
278 # The main source code for the Bourne Again SHell.
279 CSOURCES = shell.c eval.c parse.y general.c make_cmd.c print_cmd.c y.tab.c \
280 dispose_cmd.c execute_cmd.c variables.c $(GLOBC) version.c \
281 expr.c copy_cmd.c flags.c subst.c hashcmd.c hashlib.c mailcheck.c \
282 test.c trap.c alias.c jobs.c nojobs.c $(ALLOC_FILES) braces.c \
283 input.c bashhist.c array.c sig.c pathexp.c \
284 unwind_prot.c siglist.c bashline.c bracecomp.c error.c \
285 list.c stringlib.c locale.c findcmd.c redir.c xmalloc.c
286
287 HSOURCES = shell.h flags.h trap.h hashcmd.h hashlib.h jobs.h builtins.h \
288 general.h variables.h config.h $(ALLOC_HEADERS) alias.h maxpath.h \
289 quit.h posixdir.h posixstat.h filecntl.h unwind_prot.h ansi_stdlib.h \
290 command.h input.h error.h bashansi.h dispose_cmd.h make_cmd.h \
291 subst.h externs.h siglist.h bashhist.h bashline.h bashtypes.h \
292 array.h sig.h mailcheck.h bashtty.h bashintl.h bashjmp.h ${GRAM_H} \
293 posixwait.h execute_cmd.h memalloc.h parser.h pathexp.h pathnames.h \
294 posixjmp.h stdc.h unionwait.h $(BASHPOSIX_SUPPORT)
295
296 SOURCES = $(CSOURCES) $(HSOURCES) $(BUILTIN_DEFS)
297
298 # header files chosen based on running of configure
299 SIGNAMES_H = @SIGNAMES_H@
300
301 # object files chosen based on running of configure
302 JOBS_O = @JOBS_O@
303
304 # Matching object files.
305 OBJECTS = shell.o eval.o y.tab.o general.o make_cmd.o print_cmd.o $(GLOBO) \
306 dispose_cmd.o execute_cmd.o variables.o copy_cmd.o error.o \
307 expr.o flags.o $(JOBS_O) subst.o hashcmd.o hashlib.o mailcheck.o \
308 trap.o input.o unwind_prot.o pathexp.o sig.o test.o version.o \
309 alias.o array.o braces.o bracecomp.o bashhist.o bashline.o \
310 siglist.o list.o stringlib.o locale.o findcmd.o redir.o xmalloc.o
311
312 # Where the source code of the shell builtins resides.
313 BUILTIN_SRCDIR=$(srcdir)/builtins
314 DEFSRC=$(BUILTIN_SRCDIR)
315 BUILTIN_ABSSRC=${topdir}/builtins
316 DEFDIR = $(dot)/builtins
317
318 BUILTIN_DEFS = $(DEFSRC)/alias.def $(DEFSRC)/bind.def $(DEFSRC)/break.def \
319 $(DEFSRC)/builtin.def $(DEFSRC)/cd.def $(DEFSRC)/colon.def \
320 $(DEFSRC)/command.def $(DEFSRC)/declare.def \
321 $(DEFSRC)/echo.def $(DEFSRC)/enable.def $(DEFSRC)/eval.def \
322 $(DEFSRC)/exec.def $(DEFSRC)/exit.def $(DEFSRC)/fc.def \
323 $(DEFSRC)/fg_bg.def $(DEFSRC)/hash.def $(DEFSRC)/help.def \
324 $(DEFSRC)/history.def $(DEFSRC)/jobs.def $(DEFSRC)/kill.def \
325 $(DEFSRC)/let.def $(DEFSRC)/read.def $(DEFSRC)/return.def \
326 $(DEFSRC)/set.def $(DEFSRC)/setattr.def $(DEFSRC)/shift.def \
327 $(DEFSRC)/source.def $(DEFSRC)/suspend.def $(DEFSRC)/test.def \
328 $(DEFSRC)/times.def $(DEFSRC)/trap.def $(DEFSRC)/type.def \
329 $(DEFSRC)/ulimit.def $(DEFSRC)/umask.def $(DEFSRC)/wait.def \
330 $(DEFSRC)/getopts.def $(DEFSRC)/reserved.def \
331 $(DEFSRC)/pushd.def $(DEFSRC)/shopt.def $(DEFSRC)/printf.def
332 BUILTIN_C_SRC = $(DEFSRC)/mkbuiltins.c $(DEFSRC)/common.c \
333 $(DEFSRC)/evalstring.c $(DEFSRC)/evalfile.c \
334 $(DEFSRC)/bashgetopt.c $(GETOPT_SOURCE)
335 BUILTIN_C_OBJ = $(DEFDIR)/common.o $(DEFDIR)/evalstring.o \
336 $(DEFDIR)/evalfile.o $(DEFDIR)/bashgetopt.o
337 BUILTIN_OBJS = $(DEFDIR)/alias.o $(DEFDIR)/bind.o $(DEFDIR)/break.o \
338 $(DEFDIR)/builtin.o $(DEFDIR)/cd.o $(DEFDIR)/colon.o \
339 $(DEFDIR)/command.o $(DEFDIR)/declare.o \
340 $(DEFDIR)/echo.o $(DEFDIR)/enable.o $(DEFDIR)/eval.o \
341 $(DEFDIR)/exec.o $(DEFDIR)/exit.o $(DEFDIR)/fc.o \
342 $(DEFDIR)/fg_bg.o $(DEFDIR)/hash.o $(DEFDIR)/help.o \
343 $(DEFDIR)/history.o $(DEFDIR)/jobs.o $(DEFDIR)/kill.o \
344 $(DEFDIR)/let.o $(DEFDIR)/pushd.o $(DEFDIR)/read.o \
345 $(DEFDIR)/return.o $(DEFDIR)/shopt.o $(DEFDIR)/printf.o \
346 $(DEFDIR)/set.o $(DEFDIR)/setattr.o $(DEFDIR)/shift.o \
347 $(DEFDIR)/source.o $(DEFDIR)/suspend.o $(DEFDIR)/test.o \
348 $(DEFDIR)/times.o $(DEFDIR)/trap.o $(DEFDIR)/type.o \
349 $(DEFDIR)/ulimit.o $(DEFDIR)/umask.o $(DEFDIR)/wait.o \
350 $(DEFDIR)/getopts.o $(BUILTIN_C_OBJ)
351 GETOPT_SOURCE = $(DEFSRC)/getopt.c $(DEFSRC)/getopt.h
352 PSIZE_SOURCE = $(DEFSRC)/psize.sh $(DEFSRC)/psize.c
353
354 BUILTINS_LIBRARY = $(DEFDIR)/libbuiltins.a
355 BUILTINS_LIB = -lbuiltins
356 BUILTINS_LDFLAGS = -L$(DEFDIR)
357 BUILTINS_DEP = $(BUILTINS_LIBRARY)
358
359 # Documentation for the shell.
360 DOCSRC = $(srcdir)/doc
361 DOCDIR = $(dot)/doc
362
363 SIGNAMES_SUPPORT = $(SUPPORT_SRC)mksignames.c
364
365 SUPPORT_SRC = $(srcdir)/support/
366 SDIR = $(dot)/support/
367
368 TESTS_SUPPORT = recho zecho printenv
369 CREATED_SUPPORT = signames.h recho zecho printenv tests/recho tests/zecho \
370 tests/printenv mksignames lsignames.h
371 CREATED_CONFIGURE = config.h config.cache config.status config.log \
372 stamp-h
373 CREATED_MAKEFILES = Makefile builtins/Makefile doc/Makefile \
374 lib/readline/Makefile lib/glob/Makefile \
375 lib/sh/Makefile lib/tilde/Makefile lib/malloc/Makefile \
376 lib/termcap/Makefile examples/loadables/Makefile \
377 support/Makefile
378
379 # Keep GNU Make from exporting the entire environment for small machines.
380 .NOEXPORT:
381
382 .made: $(Program) bashbug
383 @echo "$(Program) last made for a $(Machine) running $(OS)" >.made
384
385 $(Program): .build $(OBJECTS) $(BUILTINS_DEP) $(LIBDEP)
386 $(RM) $@
387 $(PURIFY) $(CC) $(BUILTINS_LDFLAGS) $(LIBRARY_LDFLAGS) $(LDFLAGS) -o $(Program) $(OBJECTS) $(LIBS)
388 ls -l $(Program)
389 size $(Program)
390
391 .build: $(SOURCES) config.h Makefile version.h
392 @echo
393 @echo " ***********************************************************"
394 @echo " * *"
395 @echo " * Making Bash-$(Version).$(PatchLevel)-$(RELSTATUS) for a $(Machine) running $(OS)"
396 @echo " * *"
397 @echo " ***********************************************************"
398 @echo
399
400 bashbug: $(SUPPORT_SRC)bashbug.sh config.h Makefile
401 @sed -e "s%!MACHINE!%$(Machine)%" -e "s%!OS!%$(OS)%" \
402 -e "s%!CFLAGS!%$(CCFLAGS)%" -e "s%!CC!%$(CC)%" \
403 -e "s%!RELEASE!%$(Version)%" -e "s%!PATCHLEVEL!%$(PatchLevel)%" \
404 -e "s%!MACHTYPE!%$(MACHTYPE)%" -e "s%!RELSTATUS!%$(RELSTATUS)%" \
405 $(SUPPORT_SRC)bashbug.sh > $@
406 @chmod a+rx bashbug
407
408 strip: $(Program) .made
409 strip $(Program)
410 ls -l $(Program)
411 size $(Program)
412
413 version.h: $(SOURCES) config.h Makefile
414 if $(SHELL) $(SUPPORT_SRC)mkversion.sh -b -s $(RELSTATUS) -d $(Version) -p $(PatchLevel) -o newversion.h; \
415 then mv newversion.h version.h; fi;
416
417 # old rules
418 GRAM_H = parser-built
419 y.tab.o: y.tab.c ${GRAM_H} command.h stdc.h input.h
420 ${GRAM_H}: y.tab.h
421 @-if test -f y.tab.h ; then \
422 cmp -s $@ y.tab.h 2>/dev/null || cp -p y.tab.h $@; \
423 fi
424 y.tab.c y.tab.h: parse.y
425 # -if test -f y.tab.h; then mv -f y.tab.h old-y.tab.h; fi
426 $(YACC) -d $(srcdir)/parse.y
427 # -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
428
429 # experimental new rules - work with GNU make but not BSD (or OSF) make
430 #y.tab.o: y.tab.c y.tab.h
431 #y.tab.c y.tab.h: parse.y command.h stdc.h input.h
432 # -if test -f y.tab.h; then mv -f y.tab.h old-y.tab.h; fi
433 # $(YACC) -d $(srcdir)/parse.y
434 # -if cmp -s old-y.tab.h y.tab.h; then mv old-y.tab.h y.tab.h; fi
435
436 $(READLINE_LIBRARY): config.h $(READLINE_SOURCE)
437 @echo making $@ in ${RL_LIBDIR}
438 @(cd ${RL_LIBDIR} && \
439 $(MAKE) $(MFLAGS) libreadline.a) || exit 1
440
441 $(HISTORY_LIBRARY): config.h $(HISTORY_SOURCE)
442 @echo making $@ in ${HIST_LIBDIR}
443 @(cd ${HIST_LIBDIR} && \
444 $(MAKE) $(MFLAGS) libhistory.a) || exit 1
445
446 $(GLOB_LIBRARY): config.h $(GLOB_SOURCE)
447 @echo making $@ in ${GLOB_LIBDIR}
448 @(cd ${GLOB_LIBDIR} && \
449 $(MAKE) $(MFLAGS) libglob.a) || exit 1
450
451 $(TILDE_LIBRARY): config.h $(TILDE_SOURCE)
452 @echo making $@ in ${TILDE_LIBDIR}
453 @(cd ${TILDE_LIBDIR} && \
454 $(MAKE) $(MFLAGS) libtilde.a) || exit 1
455
456 $(TERMCAP_LIBRARY): config.h ${TERMCAP_SOURCE}
457 @echo making $@ in ${TERM_LIBDIR}
458 @(cd ${TERM_LIBDIR} && \
459 $(MAKE) $(MFLAGS) libtermcap.a) || exit 1
460
461 $(SHLIB_LIBRARY): config.h ${SHLIB_SOURCE}
462 @echo making $@ in ${SH_LIBDIR}
463 @(cd ${SH_LIBDIR} && \
464 $(MAKE) $(MFLAGS) ${SHLIB_LIBNAME}) || exit 1
465
466 mksignames: $(SUPPORT_SRC)mksignames.c
467 $(CC) $(CCFLAGS) $(CPPFLAGS) -o $@ $(SUPPORT_SRC)mksignames.c
468
469 # make a list of signals for the local system -- this is done when we're
470 # *not* cross-compiling
471 lsignames.h: mksignames
472 $(RM) $@
473 ./mksignames $@
474
475 # copy the correct signames header file to signames.h
476 signames.h: $(SIGNAMES_H)
477 -if cmp -s $(SIGNAMES_H) $@ ; then :; else $(RM) $@ ; $(CP) $(SIGNAMES_H) $@ ; fi
478
479 $(BUILTINS_LIBRARY): $(BUILTIN_DEFS) $(BUILTIN_C_SRC) config.h memalloc.h
480 @(cd $(DEFDIR) && $(MAKE) $(MFLAGS) libbuiltins.a ) || exit 1
481
482 # these require special rules to circumvent make builtin rules
483 ${DEFDIR}/common.o: $(BUILTIN_SRCDIR)/common.c
484 @(cd $(DEFDIR) && $(MAKE) $(MFLAGS) common.o) || exit 1
485
486 ${DEFDIR}/bashgetopt.o: $(BUILTIN_SRCDIR)/bashgetopt.c
487 @(cd $(DEFDIR) && $(MAKE) $(MFLAGS) bashgetopt.o) || exit 1
488
489 ${DEFDIR}/builtext.h: $(BUILTIN_DEFS)
490 @(cd $(DEFDIR) && $(MAKE) $(MFLAGS) builtext.h ) || exit 1
491
492 # For the justification of the following Makefile rules, see node
493 # `Automatic Remaking' in GNU Autoconf documentation.
494
495 Makefile makefile: config.status $(srcdir)/Makefile.in
496 CONFIG_FILES=Makefile CONFIG_HEADERS= $(SHELL) ./config.status
497
498 Makefiles makefiles: config.status $(srcdir)/Makefile.in
499 @for mf in $(CREATED_MAKEFILES); do \
500 CONFIG_FILES=$$mf CONFIG_HEADERS= $(SHELL) ./config.status ; \
501 done
502
503 config.h: stamp-h
504
505 stamp-h: config.status $(srcdir)/config.h.in $(srcdir)/config.h.top $(srcdir)/config.h.bot
506 CONFIG_FILES= CONFIG_HEADERS=config.h $(SHELL) ./config.status
507
508 config.status: $(srcdir)/configure
509 $(SHELL) ./config.status --recheck
510
511 # comment out for distribution
512 #$(srcdir)/configure: $(srcdir)/configure.in $(srcdir)/aclocal.m4
513 # cd $(srcdir) && autoconf
514
515 #newversion: mkversion
516 # $(RM) .build
517 # ./mkversion -dir $(srcdir) -dist
518 # mv -f newversion.h version.h
519 # $(MAKE) -f $(srcdir)/Makefile $(MFLAGS) srcdir=$(srcdir)
520
521 doc documentation: force
522 @(cd $(DOCDIR) ; $(MAKE) $(MFLAGS) )
523
524 info dvi ps: force
525 @(cd $(DOCDIR) ; $(MAKE) $(MFLAGS) CFLAGS='$(CCFLAGS)' $@ )
526
527 force:
528
529 tags: $(SOURCES) $(BUILTIN_C_SRC) $(LIBRARY_SOURCE)
530 etags $(SOURCES) $(BUILTIN_C_SRC) $(LIBRARY_SOURCE)
531
532 TAGS: $(SOURCES) $(BUILTIN_C_SRC) $(LIBRARY_SOURCE)
533 ctags -x $(SOURCES) $(BUILTIN_C_SRC) $(LIBRARY_SOURCE) > $@
534
535 # Targets that actually do things not part of the build
536
537 installdirs:
538 @${SHELL} $(SUPPORT_SRC)mkdirs $(bindir)
539 @${SHELL} $(SUPPORT_SRC)mkdirs $(man1dir) $(man3dir)
540 @${SHELL} $(SUPPORT_SRC)mkdirs $(infodir)
541
542 install: .made installdirs
543 $(INSTALL_PROGRAM) $(Program) $(bindir)/$(Program)
544 $(INSTALL_PROGRAM) bashbug $(bindir)/bashbug
545 -( cd $(DOCDIR) ; $(MAKE) $(MFLAGS) \
546 man1dir=$(man1dir) man1ext=$(man1ext) \
547 man3dir=$(man3dir) man3ext=$(man3ext) \
548 infodir=$(infodir) $@ )
549
550 install-strip:
551 $(MAKE) $(MFLAGS) INSTALL_PROGRAM='$(INSTALL_PROGRAM) -s' \
552 prefix=${prefix} exec_prefix=${exec_prefix} install
553
554 uninstall: .made
555 $(RM) $(bindir)/$(Program) $(bindir)/bashbug
556 -( cd $(DOCDIR) ; $(MAKE) $(MFLAGS) \
557 man1dir=$(man1dir) man1ext=$(man1ext) \
558 man3dir=$(man3dir) man3ext=$(man3ext) \
559 infodir=$(infodir) $@ )
560
561 .PHONY: basic-clean clean realclean maintainer-clean distclean mostlyclean
562 basic-clean:
563 $(RM) $(OBJECTS) $(Program) bashbug
564 $(RM) .build .made version.h
565
566 clean: basic-clean
567 ( cd $(DOCDIR) && $(MAKE) $(MFLAGS) $@ )
568 ( cd builtins && $(MAKE) $(MFLAGS) $@ )
569 -(cd $(RL_LIBDIR) && $(MAKE) $(MFLAGS) $@)
570 -(cd $(HIST_LIBDIR) && test -f Makefile && $(MAKE) $(MFLAGS) $@)
571 -(cd $(TERM_LIBDIR) && $(MAKE) $(MFLAGS) $@)
572 -(cd $(GLOB_LIBDIR) && $(MAKE) $(MFLAGS) $@)
573 -(cd $(TILDE_LIBDIR) && $(MAKE) $(MFLAGS) $@)
574 -(cd $(ALLOC_LIBDIR) && $(MAKE) $(MFLAGS) $@)
575 $(RM) $(CREATED_SUPPORT)
576
577 mostlyclean: basic-clean
578 ( cd $(DOCDIR) && $(MAKE) $(MFLAGS) $@ )
579 ( cd builtins && $(MAKE) $(MFLAGS) $@ )
580 -(cd $(RL_LIBDIR) && $(MAKE) $(MFLAGS) $@)
581 -(cd $(HIST_LIBDIR) && test -f Makefile && $(MAKE) $(MFLAGS) $@)
582 -(cd $(TERM_LIBDIR) && $(MAKE) $(MFLAGS) $@)
583 -(cd $(GLOB_LIBDIR) && $(MAKE) $(MFLAGS) $@)
584 -(cd $(TILDE_LIBDIR) && $(MAKE) $(MFLAGS) $@)
585 -(cd $(ALLOC_LIBDIR) && $(MAKE) $(MFLAGS) $@)
586
587 distclean: basic-clean
588 ( cd $(DOCDIR) && $(MAKE) $(MFLAGS) $@ )
589 ( cd builtins && $(MAKE) $(MFLAGS) $@ )
590 -(cd $(RL_LIBDIR) && $(MAKE) $(MFLAGS) $@)
591 -(cd $(HIST_LIBDIR) && test -f Makefile && $(MAKE) $(MFLAGS) $@)
592 -(cd $(TERM_LIBDIR) && $(MAKE) $(MFLAGS) $@)
593 -(cd $(GLOB_LIBDIR) && $(MAKE) $(MFLAGS) $@)
594 -(cd $(TILDE_LIBDIR) && $(MAKE) $(MFLAGS) $@)
595 -(cd $(ALLOC_LIBDIR) && $(MAKE) $(MFLAGS) $@)
596 $(RM) $(CREATED_CONFIGURE) tags TAGS
597 $(RM) $(CREATED_SUPPORT) Makefile $(CREATED_MAKEFILES)
598
599 maintainer-clean: basic-clean
600 @echo This command is intended for maintainers to use.
601 @echo It deletes files that may require special tools to rebuild.
602 $(RM) y.tab.c y.tab.h parser-built.h tags TAGS
603 ( cd $(DOCDIR) && $(MAKE) $(MFLAGS) $@ )
604 ( cd builtins && $(MAKE) $(MFLAGS) $@ )
605 -(cd $(RL_LIBDIR) && $(MAKE) $(MFLAGS) $@)
606 -(cd $(HIST_LIBDIR) && test -f Makefile && $(MAKE) $(MFLAGS) $@)
607 -(cd $(TERM_LIBDIR) && $(MAKE) $(MFLAGS) $@)
608 -(cd $(GLOB_LIBDIR) && $(MAKE) $(MFLAGS) $@)
609 -(cd $(TILDE_LIBDIR) && $(MAKE) $(MFLAGS) $@)
610 -(cd $(ALLOC_LIBDIR) && $(MAKE) $(MFLAGS) $@)
611 $(RM) $(CREATED_CONFIGURE) $(CREATED_MAKEFILES)
612 $(RM) $(CREATED_SUPPORT) Makefile
613
614 recho: $(SUPPORT_SRC)recho.c
615 @$(CC) $(CCFLAGS) -o $@ $(SUPPORT_SRC)recho.c
616
617 zecho: $(SUPPORT_SRC)zecho.c
618 @$(CC) $(CCFLAGS) -o $@ $(SUPPORT_SRC)zecho.c
619
620 printenv: $(SUPPORT_SRC)printenv.c
621 @$(CC) $(CCFLAGS) -o $@ $(SUPPORT_SRC)printenv.c
622
623 test tests check: force $(Program) $(TESTS_SUPPORT)
624 @-test -d tests || mkdir tests
625 @cp $(TESTS_SUPPORT) tests
626 @( cd $(srcdir)/tests && \
627 PATH=$$PATH:$(BUILD_DIR)/tests THIS_SH=$(THIS_SH) $(SHELL) ${TESTSCRIPT} )
628
629 symlinks:
630 $(SHELL) $(SUPPORT_SRC)fixlinks -s $(srcdir)
631
632 dist: force
633 @echo Bash distributions are created using $(srcdir)/support/mkdist.
634 @echo Here is a sample of the necessary commands:
635 @echo $(Program) $(srcdir)/support/mkdist -m $(srcdir)/MANIFEST -s $(srcdir) -r ${Program} $(Version)
636 @echo tar cf $(Program)-$(Version).tar ${Program}-$(Version)
637 @echo gzip $(Program)-$(Version).tar
638
639 depend: depends
640
641 sdepend: force
642 $(Program) $(SUPPORT_SRC)mkdep -c ${CC} -- ${CCFLAGS} ${CSOURCES}
643
644 ############################ DEPENDENCIES ###############################
645
646 # Files that depend on the definitions in config.h.top, which are not meant
647 # to be changed
648 shell.o: config.h.top
649 input.o: config.h.top
650 y.tab.o: config.h.top
651 jobs.o: config.h.top
652 nojobs.o: config.h.top
653 execute_cmd.o: config.h.top
654 variables.o: config.h.top
655 builtins/command.o: config.h.top
656 builtins/common.o: config.h.top
657 builtins/break.o: config.h.top
658 builtins/echo.o: config.h.top
659 builtins/evalstring.o: config.h.top
660 builtins/exit.o: config.h.top
661 builtins/kill.o: config.h.top
662
663 # shell basics
664 copy_cmd.o: shell.h config.h bashjmp.h posixjmp.h command.h stdc.h error.h
665 copy_cmd.o: general.h bashtypes.h variables.h array.h hashlib.h
666 copy_cmd.o: quit.h maxpath.h unwind_prot.h dispose_cmd.h
667 copy_cmd.o: make_cmd.h subst.h sig.h pathnames.h externs.h
668 dispose_cmd.o: bashansi.h ansi_stdlib.h
669 dispose_cmd.o: shell.h config.h bashjmp.h posixjmp.h command.h stdc.h
670 dispose_cmd.o: error.h general.h bashtypes.h variables.h array.h hashlib.h
671 dispose_cmd.o: quit.h maxpath.h unwind_prot.h dispose_cmd.h
672 dispose_cmd.o: make_cmd.h subst.h sig.h pathnames.h externs.h
673 error.o: config.h bashtypes.h bashansi.h ansi_stdlib.h flags.h stdc.h error.h
674 error.o: command.h general.h externs.h input.h bashhist.h
675 eval.o: config.h bashansi.h ansi_stdlib.h trap.h flags.h ${DEFSRC}/common.h
676 eval.o: shell.h config.h bashjmp.h posixjmp.h command.h stdc.h error.h
677 eval.o: general.h bashtypes.h variables.h array.h hashlib.h
678 eval.o: quit.h maxpath.h unwind_prot.h dispose_cmd.h
679 eval.o: make_cmd.h subst.h sig.h pathnames.h externs.h
680 eval.o: input.h execute_cmd.h
681 execute_cmd.o: config.h bashtypes.h filecntl.h posixstat.h bashansi.h ansi_stdlib.h
682 execute_cmd.o: shell.h config.h bashjmp.h posixjmp.h command.h stdc.h error.h
683 execute_cmd.o: general.h bashtypes.h variables.h array.h hashlib.h
684 execute_cmd.o: quit.h maxpath.h unwind_prot.h dispose_cmd.h
685 execute_cmd.o: make_cmd.h subst.h sig.h pathnames.h externs.h
686 execute_cmd.o: memalloc.h ${GRAM_H} flags.h builtins.h jobs.h quit.h siglist.h
687 execute_cmd.o: execute_cmd.h findcmd.h redir.h trap.h test.h pathexp.h
688 execute_cmd.o: $(DEFSRC)/common.h ${DEFDIR}/builtext.h ${GLOB_LIBSRC}/fnmatch.h
689 expr.o: config.h bashansi.h ansi_stdlib.h
690 expr.o: shell.h config.h bashjmp.h posixjmp.h command.h stdc.h error.h
691 expr.o: general.h bashtypes.h variables.h array.h hashlib.h
692 expr.o: quit.h maxpath.h unwind_prot.h dispose_cmd.h
693 expr.o: make_cmd.h subst.h sig.h pathnames.h externs.h
694 findcmd.o: config.h bashtypes.h filecntl.h posixstat.h bashansi.h
695 findcmd.o: ansi_stdlib.h memalloc.h shell.h bashjmp.h posixjmp.h command.h
696 findcmd.o: stdc.h error.h general.h variables.h quit.h maxpath.h unwind_prot.h
697 findcmd.o: dispose_cmd.h make_cmd.h subst.h sig.h pathnames.h externs.h
698 findcmd.o: flags.h hashlib.h pathexp.h hashcmd.h
699 flags.o: config.h flags.h
700 flags.o: shell.h config.h bashjmp.h posixjmp.h command.h stdc.h error.h
701 flags.o: general.h bashtypes.h variables.h array.h hashlib.h
702 flags.o: quit.h maxpath.h unwind_prot.h dispose_cmd.h
703 flags.o: make_cmd.h subst.h sig.h pathnames.h externs.h
704 general.o: config.h bashtypes.h posixstat.h filecntl.h bashansi.h ansi_stdlib.h
705 general.o: shell.h config.h bashjmp.h posixjmp.h command.h stdc.h error.h
706 general.o: general.h bashtypes.h variables.h array.h hashlib.h
707 general.o: quit.h maxpath.h unwind_prot.h dispose_cmd.h
708 general.o: make_cmd.h subst.h sig.h pathnames.h externs.h
709 general.o: maxpath.h
710 hashcmd.o: config.h posixstat.h bashtypes.h bashansi.h ansi_stdlib.h
711 hashcmd.o: shell.h config.h bashjmp.h posixjmp.h command.h stdc.h error.h
712 hashcmd.o: general.h bashtypes.h variables.h array.h hashcmd.h
713 hashcmd.o: execute_cmd.h findcmd.h stdc.h
714 hashlib.o: config.h bashansi.h ansi_stdlib.h
715 hashlib.o: shell.h config.h bashjmp.h posixjmp.h command.h stdc.h error.h
716 hashlib.o: general.h bashtypes.h variables.h array.h hashlib.h
717 hashlib.o: quit.h maxpath.h unwind_prot.h dispose_cmd.h
718 hashlib.o: make_cmd.h subst.h sig.h pathnames.h externs.h
719 input.o: config.h bashtypes.h filecntl.h posixstat.h bashansi.h ansi_stdlib.h
720 input.o: command.h stdc.h general.h input.h error.h externs.h
721 list.o: shell.h config.h bashjmp.h posixjmp.h command.h stdc.h error.h
722 list.o: general.h bashtypes.h variables.h array.h hashlib.h
723 list.o: quit.h maxpath.h unwind_prot.h dispose_cmd.h
724 list.o: make_cmd.h subst.h sig.h pathnames.h externs.h
725 locale.o: config.h bashtypes.h bashintl.h bashansi.h ansi_stdlib.h
726 locale.o: shell.h config.h bashjmp.h posixjmp.h command.h stdc.h error.h
727 locale.o: general.h bashtypes.h variables.h array.h hashlib.h
728 locale.o: quit.h maxpath.h unwind_prot.h dispose_cmd.h
729 locale.o: make_cmd.h subst.h sig.h pathnames.h externs.h
730 mailcheck.o: config.h bashtypes.h posixstat.h bashansi.h ansi_stdlib.h
731 mailcheck.o: shell.h config.h bashjmp.h posixjmp.h command.h stdc.h error.h
732 mailcheck.o: general.h bashtypes.h variables.h array.h hashlib.h
733 mailcheck.o: quit.h maxpath.h unwind_prot.h dispose_cmd.h
734 mailcheck.o: make_cmd.h subst.h sig.h pathnames.h externs.h
735 mailcheck.o: execute_cmd.h mailcheck.h
736 make_cmd.o: config.h bashtypes.h filecntl.h bashansi.h
737 make_cmd.o: command.h stdc.h general.h error.h flags.h make_cmd.h
738 make_cmd.o: variables.h array.h hashlib.h subst.h input.h externs.h
739 make_cmd.o: jobs.h quit.h siglist.h
740 y.tab.o: config.h bashtypes.h bashansi.h ansi_stdlib.h memalloc.h
741 y.tab.o: shell.h config.h bashjmp.h posixjmp.h command.h stdc.h error.h
742 y.tab.o: general.h bashtypes.h variables.h array.h hashlib.h
743 y.tab.o: quit.h maxpath.h unwind_prot.h dispose_cmd.h
744 y.tab.o: make_cmd.h subst.h sig.h pathnames.h externs.h
745 y.tab.o: trap.h flags.h parser.h input.h mailcheck.h $(DEFSRC)/common.h
746 y.tab.o: $(DEFDIR)/builtext.h bashline.h bashhist.h jobs.h siglist.h alias.h
747 pathexp.o: config.h bashtypes.h bashansi.h ansi_stdlib.h
748 pathexp.o: shell.h config.h bashjmp.h posixjmp.h command.h stdc.h error.h
749 pathexp.o: general.h bashtypes.h variables.h array.h hashlib.h
750 pathexp.o: quit.h maxpath.h unwind_prot.h dispose_cmd.h
751 pathexp.o: make_cmd.h subst.h sig.h pathnames.h externs.h
752 pathexp.o: pathexp.h flags.h
753 pathexp.o: $(GLOB_LIBSRC)/glob.h $(GLOB_LIBSRC)/fnmatch.h
754 print_cmd.o: config.h bashansi.h ansi_stdlib.h
755 print_cmd.o: shell.h config.h bashjmp.h posixjmp.h command.h stdc.h error.h
756 print_cmd.o: general.h bashtypes.h variables.h array.h hashlib.h
757 print_cmd.o: quit.h maxpath.h unwind_prot.h dispose_cmd.h
758 print_cmd.o: make_cmd.h subst.h sig.h pathnames.h externs.h
759 print_cmd.o: ${GRAM_H} $(DEFSRC)/common.h
760 redir.o: config.h bashtypes.h posixstat.h bashansi.h ansi_stdlib.h filecntl.h
761 redir.o: memalloc.h shell.h bashjmp.h posixjmp.h command.h stdc.h error.h
762 redir.o: general.h variables.h array.h hashlib.h quit.h maxpath.h unwind_prot.h
763 redir.o: dispose_cmd.h make_cmd.h subst.h sig.h pathnames.h externs.h
764 redir.o: flags.h execute_cmd.h redir.h input.h
765 shell.o: config.h bashtypes.h posixstat.h bashansi.h ansi_stdlib.h filecntl.h
766 shell.o: shell.h config.h bashjmp.h posixjmp.h command.h stdc.h error.h
767 shell.o: general.h bashtypes.h variables.h array.h hashlib.h
768 shell.o: quit.h maxpath.h unwind_prot.h dispose_cmd.h
769 shell.o: make_cmd.h subst.h sig.h pathnames.h externs.h
770 shell.o: flags.h trap.h mailcheck.h builtins.h $(DEFSRC)/common.h
771 shell.o: jobs.h siglist.h input.h execute_cmd.h findcmd.h bashhist.h
772 shell.o: ${GLOB_LIBSRC}/fnmatch.h
773 sig.o: config.h bashtypes.h
774 sig.o: shell.h config.h bashjmp.h posixjmp.h command.h stdc.h error.h
775 sig.o: general.h bashtypes.h variables.h array.h hashlib.h
776 sig.o: quit.h maxpath.h unwind_prot.h dispose_cmd.h
777 sig.o: make_cmd.h subst.h sig.h pathnames.h externs.h
778 sig.o: jobs.h siglist.h trap.h $(DEFSRC)/common.h bashline.h bashhist.h
779 siglist.o: config.h bashtypes.h siglist.h trap.h
780 stringlib.o: bashtypes.h
781 stringlib.o: shell.h config.h bashjmp.h posixjmp.h command.h stdc.h error.h
782 stringlib.o: general.h bashtypes.h variables.h array.h hashlib.h
783 stringlib.o: quit.h maxpath.h unwind_prot.h dispose_cmd.h
784 stringlib.o: make_cmd.h subst.h sig.h pathnames.h externs.h
785 subst.o: config.h bashtypes.h bashansi.h ansi_stdlib.h posixstat.h
786 subst.o: shell.h config.h bashjmp.h posixjmp.h command.h stdc.h error.h
787 subst.o: general.h bashtypes.h variables.h array.h hashlib.h
788 subst.o: quit.h maxpath.h unwind_prot.h dispose_cmd.h
789 subst.o: make_cmd.h subst.h sig.h pathnames.h externs.h
790 subst.o: flags.h jobs.h siglist.h execute_cmd.h filecntl.h trap.h pathexp.h
791 subst.o: mailcheck.h input.h $(DEFSRC)/getopt.h $(DEFSRC)/common.h
792 subst.o: bashline.h bashhist.h ${GLOB_LIBSRC}/fnmatch.h
793 test.o: bashtypes.h posixstat.h filecntl.h
794 test.o: shell.h config.h bashjmp.h posixjmp.h command.h stdc.h error.h
795 test.o: general.h bashtypes.h variables.h array.h hashlib.h
796 test.o: quit.h maxpath.h unwind_prot.h dispose_cmd.h
797 test.o: make_cmd.h subst.h sig.h pathnames.h externs.h test.h
798 test.o: ${DEFSRC}/common.h
799 trap.o: config.h bashtypes.h trap.h bashansi.h ansi_stdlib.h
800 trap.o: shell.h config.h bashjmp.h posixjmp.h command.h stdc.h error.h
801 trap.o: general.h bashtypes.h variables.h array.h hashlib.h
802 trap.o: quit.h maxpath.h unwind_prot.h dispose_cmd.h
803 trap.o: make_cmd.h subst.h sig.h pathnames.h externs.h
804 trap.o: signames.h $(DEFSRC)/common.h
805 unwind_prot.o: config.h bashtypes.h bashansi.h ansi_stdlib.h command.h stdc.h
806 unwind_prot.o: general.h unwind_prot.h quit.h sig.h
807 variables.o: config.h bashtypes.h posixstat.h bashansi.h ansi_stdlib.h
808 variables.o: shell.h config.h bashjmp.h posixjmp.h command.h stdc.h error.h
809 variables.o: general.h bashtypes.h variables.h array.h hashlib.h
810 variables.o: quit.h maxpath.h unwind_prot.h dispose_cmd.h
811 variables.o: make_cmd.h subst.h sig.h pathnames.h externs.h
812 variables.o: flags.h execute_cmd.h mailcheck.h input.h $(DEFSRC)/common.h
813 variables.o: findcmd.h bashhist.h
814 version.o: version.h .build
815 xmalloc.o: config.h bashtypes.h ansi_stdlib.h error.h
816
817 # job control
818
819 jobs.o: config.h bashtypes.h trap.h filecntl.h input.h bashtty.h
820 jobs.o: bashansi.h ansi_stdlib.h
821 jobs.o: shell.h config.h bashjmp.h posixjmp.h command.h stdc.h error.h
822 jobs.o: general.h bashtypes.h variables.h array.h hashlib.h
823 jobs.o: quit.h maxpath.h unwind_prot.h dispose_cmd.h
824 jobs.o: make_cmd.h subst.h sig.h pathnames.h externs.h
825 jobs.o: jobs.h flags.h $(DEFSRC)/common.h $(DEFDIR)/builtext.h
826 nojobs.o: config.h bashtypes.h filecntl.h bashjmp.h posixjmp.h
827 nojobs.o: command.h stdc.h general.h jobs.h quit.h siglist.h externs.h
828 nojobs.o: sig.h error.h bashtty.h input.h
829
830 # shell features that may be compiled in
831
832 array.o: config.h bashansi.h ansi_stdlib.h
833 array.o: shell.h config.h bashjmp.h posixjmp.h command.h stdc.h error.h
834 array.o: general.h bashtypes.h variables.h array.h hashlib.h
835 array.o: quit.h maxpath.h unwind_prot.h dispose_cmd.h
836 array.o: make_cmd.h subst.h sig.h pathnames.h externs.h
837 array.o: $(DEFSRC)/common.h
838 braces.o: config.h bashansi.h ansi_stdlib.h
839 braces.o: shell.h config.h bashjmp.h posixjmp.h command.h stdc.h error.h
840 braces.o: general.h bashtypes.h variables.h array.h hashlib.h
841 braces.o: quit.h maxpath.h unwind_prot.h dispose_cmd.h
842 braces.o: make_cmd.h subst.h sig.h pathnames.h externs.h
843 alias.o: config.h bashansi.h ansi_stdlib.h command.h stdc.h
844 alias.o: general.h bashtypes.h externs.h alias.h
845
846 # library support files
847
848 bashhist.o: config.h bashtypes.h bashansi.h ansi_stdlib.h posixstat.h
849 bashhist.o: filecntl.h
850 bashhist.o: shell.h config.h bashjmp.h posixjmp.h command.h stdc.h error.h
851 bashhist.o: general.h bashtypes.h variables.h array.h hashlib.h
852 bashhist.o: quit.h maxpath.h unwind_prot.h dispose_cmd.h
853 bashhist.o: make_cmd.h subst.h sig.h pathnames.h externs.h
854 bashhist.o: flags.h input.h parser.h pathexp.h $(DEFSRC)/common.h bashline.h
855 bashhist.o: $(GLOB_LIBSRC)/fnmatch.h
856 bashline.o: config.h bashtypes.h posixstat.h bashansi.h ansi_stdlib.h
857 bashline.o: shell.h config.h bashjmp.h posixjmp.h command.h stdc.h error.h
858 bashline.o: general.h bashtypes.h variables.h array.h hashlib.h
859 bashline.o: quit.h maxpath.h unwind_prot.h dispose_cmd.h
860 bashline.o: make_cmd.h subst.h sig.h pathnames.h externs.h
861 bashline.o: builtins.h bashhist.h bashline.h execute_cmd.h findcmd.h pathexp.h
862 bashline.o: $(DEFSRC)/common.h $(GLOB_LIBSRC)/glob.h alias.h
863 bracecomp.o: config.h bashansi.h ansi_stdlib.h
864 bracecomp.o: shell.h config.h bashjmp.h posixjmp.h command.h stdc.h error.h
865 bracecomp.o: general.h bashtypes.h variables.h array.h hashlib.h
866 bracecomp.o: quit.h maxpath.h unwind_prot.h dispose_cmd.h
867 bracecomp.o: make_cmd.h subst.h sig.h pathnames.h externs.h
868 bracecomp.o: shell.h bashjmp.h posixjmp.h sig.h command.h hashlib.h builtins.h general.h
869 bracecomp.o: quit.h alias.h config.h variables.h
870 bracecomp.o: dispose_cmd.h make_cmd.h subst.h externs.h stdc.h
871
872 # library dependencies
873
874 bashline.o: $(RL_LIBSRC)/rlconf.h
875 bashline.o: $(RL_LIBSRC)/keymaps.h
876 bashline.o: $(RL_LIBSRC)/chardefs.h $(RL_LIBSRC)/readline.h
877 bracecomp.o: $(RL_LIBSRC)/keymaps.h $(RL_LIBSRC)/chardefs.h
878 bracecomp.o: $(RL_LIBSRC)/readline.h
879 y.tab.o: $(RL_LIBSRC)/keymaps.h $(RL_LIBSRC)/chardefs.h $(RL_LIBSRC)/readline.h
880 subst.o: $(RL_LIBSRC)/keymaps.h $(RL_LIBSRC)/chardefs.h $(RL_LIBSRC)/readline.h
881
882 shell.o: $(HIST_LIBSRC)/history.h
883 subst.o: $(HIST_LIBSRC)/history.h
884 bashline.o: $(HIST_LIBSRC)/history.h
885 bashhist.o: $(HIST_LIBSRC)/history.h
886 y.tab.o: $(HIST_LIBSRC)/history.h
887
888 execute_cmd.o: $(TILDE_LIBSRC)/tilde.h
889 general.o: $(TILDE_LIBSRC)/tilde.h
890 mailcheck.o: $(TILDE_LIBSRC)/tilde.h
891 shell.o: $(TILDE_LIBSRC)/tilde.h
892 subst.o: $(TILDE_LIBSRC)/tilde.h
893 variables.o: $(TILDE_LIBSRC)/tilde.h
894
895 # XXX - dependencies checked through here
896
897 # builtin c sources
898 builtins/bashgetopt.o: config.h bashansi.h ansi_stdlib.h
899 builtins/bashgetopt.o: shell.h config.h bashjmp.h command.h general.h error.h
900 builtins/bashgetopt.o: variables.h quit.h maxpath.h unwind_prot.h dispose_cmd.h
901 builtins/bashgetopt.o: make_cmd.h subst.h sig.h pathnames.h externs.h
902 builtins/bashgetopt.o: $(DEFSRC)/common.h
903 builtins/common.o: bashtypes.h posixstat.h bashansi.h ansi_stdlib.h
904 builtins/common.o: shell.h config.h bashjmp.h posixjmp.h sig.h command.h
905 builtins/common.o: memalloc.h variables.h input.h siglist.h
906 builtins/common.o: quit.h unwind_prot.h maxpath.h jobs.h builtins.h
907 builtins/common.o: dispose_cmd.h make_cmd.h subst.h externs.h bashhist.h
908 builtins/common.o: execute_cmd.h stdc.h general.h error.h pathnames.h
909 builtins/common.o: ${DEFDIR}/builtext.h
910 builtins/evalfile.o: bashtypes.h posixstat.h filecntl.h bashansi.h ansi_stdlib.h
911 builtins/evalfile.o: shell.h config.h bashjmp.h command.h general.h error.h
912 builtins/evalfile.o: variables.h quit.h maxpath.h unwind_prot.h dispose_cmd.h
913 builtins/evalfile.o: make_cmd.h subst.h sig.h pathnames.h externs.h
914 builtins/evalfile.o: jobs.h builtins.h flags.h input.h execute_cmd.h
915 builtins/evalfile.o: bashhist.h $(DEFSRC)/common.h
916 builtins/evalstring.o: config.h bashansi.h ansi_stdlib.h
917 builtins/evalstring.o: shell.h bashjmp.h posixjmp.h sig.h command.h siglist.h
918 builtins/evalstring.o: memalloc.h variables.h input.h
919 builtins/evalstring.o: quit.h unwind_prot.h maxpath.h jobs.h builtins.h
920 builtins/evalstring.o: dispose_cmd.h make_cmd.h subst.h externs.h
921 builtins/evalstring.o: jobs.h builtins.h flags.h input.h execute_cmd.h
922 builtins/evalstring.o: bashhist.h $(DEFSRC)/common.h
923 builtins/getopt.o: config.h memalloc.h
924 builtins/getopt.o: shell.h bashjmp.h command.h general.h error.h
925 builtins/getopt.o: variables.h quit.h maxpath.h unwind_prot.h dispose_cmd.h
926 builtins/getopt.o: make_cmd.h subst.h sig.h pathnames.h externs.h
927 builtins/getopt.o: $(DEFSRC)/getopt.h
928 builtins/mkbuiltins.o: config.h bashtypes.h posixstat.h filecntl.h
929 builtins/mkbuiltins.o: bashansi.h ansi_stdlib.h
930
931 # builtin def files
932 builtins/alias.o: command.h config.h memalloc.h error.h general.h maxpath.h
933 builtins/alias.o: quit.h $(DEFSRC)/common.h
934 builtins/alias.o: shell.h bashjmp.h posixjmp.h sig.h command.h stdc.h unwind_prot.h
935 builtins/alias.o: dispose_cmd.h make_cmd.h subst.h externs.h variables.h
936 builtins/bind.o: command.h config.h memalloc.h error.h general.h maxpath.h
937 builtins/bind.o: dispose_cmd.h make_cmd.h subst.h externs.h stdc.h
938 builtins/bind.o: shell.h bashjmp.h posixjmp.h sig.h unwind_prot.h variables.h quit.h
939 builtins/bind.o: $(DEFSRC)/bashgetopt.h
940 builtins/break.o: command.h config.h memalloc.h error.h general.h maxpath.h
941 builtins/break.o: shell.h bashjmp.h posixjmp.h sig.h unwind_prot.h variables.h quit.h
942 builtins/break.o: dispose_cmd.h make_cmd.h subst.h externs.h stdc.h
943 builtins/builtin.o: command.h config.h memalloc.h error.h general.h maxpath.h
944 builtins/builtin.o: quit.h $(DEFSRC)/common.h
945 builtins/builtin.o: shell.h bashjmp.h posixjmp.h sig.h unwind_prot.h variables.h
946 builtins/builtin.o: dispose_cmd.h make_cmd.h subst.h externs.h stdc.h
947 builtins/cd.o: command.h config.h memalloc.h error.h general.h maxpath.h
948 builtins/cd.o: shell.h bashjmp.h posixjmp.h sig.h unwind_prot.h variables.h
949 builtins/cd.o: dispose_cmd.h make_cmd.h subst.h externs.h stdc.h
950 builtins/cd.o: $(DEFSRC)/common.h quit.h
951 builtins/command.o: command.h config.h memalloc.h error.h general.h maxpath.h
952 builtins/command.o: quit.h $(DEFSRC)/bashgetopt.h
953 builtins/command.o: shell.h bashjmp.h posixjmp.h sig.h unwind_prot.h variables.h
954 builtins/command.o: dispose_cmd.h make_cmd.h subst.h externs.h stdc.h
955 builtins/declare.o: command.h config.h memalloc.h error.h general.h maxpath.h
956 builtins/declare.o: shell.h bashjmp.h posixjmp.h sig.h unwind_prot.h variables.h quit.h
957 builtins/declare.o: dispose_cmd.h make_cmd.h subst.h externs.h stdc.h
958 builtins/echo.o: command.h config.h memalloc.h error.h general.h maxpath.h
959 builtins/echo.o: shell.h bashjmp.h posixjmp.h sig.h unwind_prot.h variables.h quit.h
960 builtins/echo.o: dispose_cmd.h make_cmd.h subst.h externs.h stdc.h
961 builtins/enable.o: command.h config.h memalloc.h error.h general.h maxpath.h
962 builtins/enable.o: shell.h bashjmp.h posixjmp.h sig.h unwind_prot.h variables.h quit.h
963 builtins/enable.o: dispose_cmd.h make_cmd.h subst.h externs.h stdc.h
964 builtins/eval.o: command.h config.h memalloc.h error.h general.h maxpath.h
965 builtins/eval.o: shell.h bashjmp.h posixjmp.h sig.h unwind_prot.h variables.h quit.h
966 builtins/eval.o: dispose_cmd.h make_cmd.h subst.h externs.h stdc.h
967 builtins/exec.o: bashtypes.h
968 builtins/exec.o: command.h config.h memalloc.h error.h general.h maxpath.h
969 builtins/exec.o: shell.h bashjmp.h posixjmp.h sig.h unwind_prot.h variables.h
970 builtins/exec.o: dispose_cmd.h make_cmd.h subst.h externs.h execute_cmd.h
971 builtins/exec.o: findcmd.h flags.h quit.h $(DEFSRC)/common.h stdc.h
972 builtins/exit.o: bashtypes.h
973 builtins/exit.o: command.h config.h memalloc.h error.h general.h maxpath.h
974 builtins/exit.o: shell.h bashjmp.h posixjmp.h sig.h unwind_prot.h variables.h quit.h
975 builtins/exit.o: dispose_cmd.h make_cmd.h subst.h externs.h stdc.h
976 builtins/fc.o: bashtypes.h posixstat.h
977 builtins/fc.o: bashansi.h ansi_stdlib.h builtins.h command.h stdc.h
978 builtins/fc.o: command.h config.h memalloc.h error.h general.h maxpath.h
979 builtins/fc.o: flags.h unwind_prot.h variables.h shell.h bashjmp.h posixjmp.h sig.h
980 builtins/fc.o: dispose_cmd.h make_cmd.h subst.h externs.h stdc.h quit.h
981 builtins/fc.o: $(DEFSRC)/bashgetopt.h bashhist.h
982 builtins/fg_bg.o: bashtypes.h
983 builtins/fg_bg.o: command.h config.h memalloc.h error.h general.h maxpath.h
984 builtins/fg_bg.o: shell.h bashjmp.h posixjmp.h sig.h unwind_prot.h variables.h quit.h
985 builtins/fg_bg.o: dispose_cmd.h make_cmd.h subst.h externs.h stdc.h
986 builtins/getopts.o: command.h config.h memalloc.h error.h general.h maxpath.h
987 builtins/getopts.o: shell.h bashjmp.h posixjmp.h sig.h unwind_prot.h variables.h quit.h
988 builtins/getopts.o: dispose_cmd.h make_cmd.h subst.h externs.h stdc.h
989 builtins/hash.o: bashtypes.h
990 builtins/hash.o: builtins.h command.h findcmd.h stdc.h $(DEFSRC)/common.h
991 builtins/hash.o: command.h config.h memalloc.h error.h general.h maxpath.h
992 builtins/hash.o: shell.h bashjmp.h posixjmp.h sig.h unwind_prot.h variables.h quit.h
993 builtins/help.o: command.h config.h memalloc.h error.h general.h maxpath.h
994 builtins/help.o: dispose_cmd.h make_cmd.h subst.h externs.h stdc.h
995 builtins/help.o: shell.h bashjmp.h posixjmp.h sig.h unwind_prot.h variables.h quit.h
996 builtins/help.o: $(GLOB_LIBSRC)/glob.h
997 builtins/history.o: bashtypes.h
998 builtins/history.o: command.h config.h memalloc.h error.h general.h maxpath.h
999 builtins/history.o: quit.h dispose_cmd.h make_cmd.h subst.h externs.h stdc.h
1000 builtins/history.o: filecntl.h shell.h bashjmp.h posixjmp.h sig.h unwind_prot.h
1001 builtins/history.o: bashhist.h variables.h
1002 builtins/inlib.o: command.h config.h memalloc.h error.h general.h maxpath.h
1003 builtins/inlib.o: shell.h bashjmp.h posixjmp.h sig.h unwind_prot.h variables.h quit.h
1004 builtins/inlib.o: dispose_cmd.h make_cmd.h subst.h externs.h stdc.h
1005 builtins/jobs.o: command.h config.h memalloc.h error.h general.h maxpath.h
1006 builtins/jobs.o: quit.h $(DEFSRC)/bashgetopt.h
1007 builtins/jobs.o: shell.h bashjmp.h posixjmp.h sig.h unwind_prot.h variables.h
1008 builtins/jobs.o: dispose_cmd.h make_cmd.h subst.h externs.h stdc.h
1009 builtins/kill.o: command.h config.h memalloc.h error.h general.h maxpath.h
1010 builtins/kill.o: quit.h dispose_cmd.h make_cmd.h subst.h externs.h stdc.h
1011 builtins/kill.o: shell.h bashjmp.h posixjmp.h sig.h trap.h unwind_prot.h variables.h
1012 builtins/let.o: command.h config.h memalloc.h error.h general.h maxpath.h
1013 builtins/let.o: quit.h dispose_cmd.h make_cmd.h subst.h externs.h stdc.h
1014 builtins/let.o: shell.h bashjmp.h posixjmp.h sig.h unwind_prot.h variables.h
1015 builtins/printf.o: config.h memalloc.h bashjmp.h command.h error.h
1016 builtins/printf.o: general.h quit.h dispose_cmd.h make_cmd.h subst.h
1017 builtins/printf.o: externs.h sig.h pathnames.h shell.h unwind_prot.h
1018 builtins/printf.o: variables.h stdc.h $(DEFSRC)/bashgetopt.h
1019 builtins/pushd.o: command.h config.h memalloc.h error.h general.h maxpath.h
1020 builtins/pushd.o: quit.h dispose_cmd.h make_cmd.h subst.h externs.h stdc.h
1021 builtins/pushd.o: shell.h bashjmp.h posixjmp.h sig.h unwind_prot.h variables.h
1022 builtins/pushd.o: $(DEFSRC)/common.h
1023 builtins/read.o: command.h config.h memalloc.h error.h general.h maxpath.h
1024 builtins/read.o: quit.h dispose_cmd.h make_cmd.h subst.h externs.h stdc.h
1025 builtins/read.o: shell.h bashjmp.h posixjmp.h sig.h unwind_prot.h variables.h
1026 builtins/return.o: command.h config.h memalloc.h error.h general.h maxpath.h
1027 builtins/return.o: quit.h dispose_cmd.h make_cmd.h subst.h externs.h stdc.h
1028 builtins/return.o: shell.h bashjmp.h posixjmp.h sig.h unwind_prot.h variables.h
1029 builtins/set.o: command.h config.h memalloc.h error.h general.h maxpath.h
1030 builtins/set.o: quit.h dispose_cmd.h make_cmd.h subst.h externs.h stdc.h
1031 builtins/set.o: shell.h bashjmp.h posixjmp.h sig.h unwind_prot.h variables.h flags.h
1032 builtins/setattr.o: command.h config.h memalloc.h error.h general.h maxpath.h
1033 builtins/setattr.o: quit.h $(DEFSRC)/common.h $(DEFSRC)/bashgetopt.h
1034 builtins/setattr.o: shell.h bashjmp.h posixjmp.h sig.h unwind_prot.h variables.h
1035 builtins/setattr.o: dispose_cmd.h make_cmd.h subst.h externs.h stdc.h
1036 builtins/shift.o: command.h config.h memalloc.h error.h general.h maxpath.h
1037 builtins/shift.o: quit.h dispose_cmd.h make_cmd.h subst.h externs.h stdc.h
1038 builtins/shift.o: shell.h bashjmp.h posixjmp.h sig.h unwind_prot.h variables.h
1039 builtins/shift.o: dispose_cmd.h make_cmd.h subst.h externs.h stdc.h
1040 builtins/shopt.o: command.h config.h memalloc.h error.h general.h
1041 builtins/shopt.o: quit.h dispose_cmd.h make_cmd.h subst.h externs.h
1042 builtins/shopt.o: shell.h bashjmp.h posixjmp.h unwind_prot.h variables.h maxpath.h
1043 builtins/shopt.o: $(DEFSRC)/common.h $(DEFSRC)/bashgetopt.h
1044 builtins/source.o: command.h config.h memalloc.h error.h general.h maxpath.h
1045 builtins/source.o: quit.h dispose_cmd.h make_cmd.h subst.h externs.h stdc.h
1046 builtins/source.o: shell.h bashjmp.h posixjmp.h sig.h unwind_prot.h variables.h
1047 builtins/source.o: findcmd.h
1048 builtins/suspend.o: command.h config.h memalloc.h error.h general.h maxpath.h
1049 builtins/suspend.o: quit.h dispose_cmd.h make_cmd.h subst.h externs.h stdc.h
1050 builtins/suspend.o: shell.h bashjmp.h posixjmp.h sig.h unwind_prot.h variables.h
1051 builtins/test.o: command.h config.h memalloc.h error.h general.h maxpath.h
1052 builtins/test.o: quit.h dispose_cmd.h make_cmd.h subst.h externs.h stdc.h
1053 builtins/test.o: shell.h bashjmp.h posixjmp.h sig.h unwind_prot.h variables.h
1054 builtins/test.o: test.h
1055 builtins/times.o: command.h config.h memalloc.h error.h general.h maxpath.h
1056 builtins/times.o: quit.h dispose_cmd.h make_cmd.h subst.h externs.h stdc.h
1057 builtins/times.o: shell.h bashjmp.h posixjmp.h sig.h unwind_prot.h variables.h
1058 builtins/trap.o: command.h config.h memalloc.h error.h general.h maxpath.h
1059 builtins/trap.o: quit.h $(DEFSRC)/common.h
1060 builtins/trap.o: shell.h bashjmp.h posixjmp.h sig.h unwind_prot.h variables.h
1061 builtins/trap.o: dispose_cmd.h make_cmd.h subst.h externs.h stdc.h
1062 builtins/type.o: command.h config.h memalloc.h error.h general.h maxpath.h
1063 builtins/type.o: quit.h $(DEFSRC)/common.h findcmd.h
1064 builtins/type.o: shell.h bashjmp.h posixjmp.h sig.h unwind_prot.h variables.h
1065 builtins/type.o: dispose_cmd.h make_cmd.h subst.h externs.h stdc.h
1066 builtins/ulimit.o: command.h config.h memalloc.h error.h general.h maxpath.h
1067 builtins/ulimit.o: quit.h dispose_cmd.h make_cmd.h subst.h externs.h stdc.h
1068 builtins/ulimit.o: shell.h bashjmp.h posixjmp.h sig.h unwind_prot.h variables.h
1069 builtins/umask.o: command.h config.h memalloc.h error.h general.h maxpath.h
1070 builtins/umask.o: quit.h dispose_cmd.h make_cmd.h subst.h externs.h stdc.h
1071 builtins/umask.o: shell.h bashjmp.h posixjmp.h sig.h unwind_prot.h variables.h
1072 builtins/wait.o: command.h config.h memalloc.h error.h general.h maxpath.h
1073 builtins/wait.o: quit.h dispose_cmd.h make_cmd.h subst.h externs.h stdc.h
1074 builtins/wait.o: shell.h bashjmp.h posixjmp.h sig.h unwind_prot.h variables.h
1075
1076 # builtin library dependencies
1077 builtins/bind.o: $(RL_LIBSRC)/chardefs.h $(RL_LIBSRC)/readline.h
1078 builtins/bind.o: $(RL_LIBSRC)/keymaps.h
1079
1080 builtins/bind.o: $(HIST_LIBSRC)/history.h
1081 builtins/fc.o: $(HIST_LIBSRC)/history.h
1082 builtins/history.o: $(HIST_LIBSRC)/history.h
1083
1084 builtins/common.o: $(TILDE_LIBSRC)/tilde.h
1085 builtins/cd.o: $(TILDE_LIBSRC)/tilde.h
1086
1087 builtins/alias.o: $(DEFSRC)/alias.def
1088 builtins/bind.o: $(DEFSRC)/bind.def
1089 builtins/break.o: $(DEFSRC)/break.def
1090 builtins/builtin.o: $(DEFSRC)/builtin.def
1091 builtins/cd.o: $(DEFSRC)/cd.def
1092 builtins/colon.o: $(DEFSRC)/colon.def
1093 builtins/command.o: $(DEFSRC)/command.def
1094 builtins/declare.o: $(DEFSRC)/declare.def
1095 builtins/echo.o: $(DEFSRC)/echo.def
1096 builtins/enable.o: $(DEFSRC)/enable.def
1097 builtins/eval.o: $(DEFSRC)/eval.def
1098 builtins/exec.o: $(DEFSRC)/exec.def
1099 builtins/exit.o: $(DEFSRC)/exit.def
1100 builtins/fc.o: $(DEFSRC)/fc.def
1101 builtins/fg_bg.o: $(DEFSRC)/fg_bg.def
1102 builtins/getopts.o: $(DEFSRC)/getopts.def
1103 builtins/hash.o: $(DEFSRC)/hash.def
1104 builtins/help.o: $(DEFSRC)/help.def
1105 builtins/history.o: $(DEFSRC)/history.def
1106 builtins/inlib.o: $(DEFSRC)/inlib.def
1107 builtins/jobs.o: $(DEFSRC)/jobs.def
1108 builtins/kill.o: $(DEFSRC)/kill.def
1109 builtins/let.o: $(DEFSRC)/let.def
1110 builtins/pushd.o: $(DEFSRC)/pushd.def
1111 builtins/read.o: $(DEFSRC)/read.def
1112 builtins/reserved.o: $(DEFSRC)/reserved.def
1113 builtins/return.o: $(DEFSRC)/return.def
1114 builtins/set.o: $(DEFSRC)/set.def
1115 builtins/setattr.o: $(DEFSRC)/setattr.def
1116 builtins/shift.o: $(DEFSRC)/shift.def
1117 builtins/shopt.o: $(DEFSRC)/shopt.def
1118 builtins/source.o: $(DEFSRC)/source.def
1119 builtins/suspend.o: $(DEFSRC)/suspend.def
1120 builtins/test.o: $(DEFSRC)/test.def
1121 builtins/times.o: $(DEFSRC)/times.def
1122 builtins/trap.o: $(DEFSRC)/trap.def
1123 builtins/type.o: $(DEFSRC)/type.def
1124 builtins/ulimit.o: $(DEFSRC)/ulimit.def
1125 builtins/umask.o: $(DEFSRC)/umask.def
1126 builtins/wait.o: $(DEFSRC)/wait.def