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