]> git.ipfire.org Git - thirdparty/bash.git/blame - Makefile.in
Imported from ../bash-2.02.1.tar.gz.
[thirdparty/bash.git] / Makefile.in
CommitLineData
cce855bc 1# Makefile for bash-2.02, version 2.84
d166f048 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@
cce855bc 30CC_FOR_BUILD = @CC_FOR_BUILD@
ccc6cda3
JA
31YACC = @YACC@
32SHELL=/bin/sh
33CP = cp
34RM = rm -f
35AR = @AR@
36RANLIB = @RANLIB@
37
38INSTALL = @INSTALL@
39INSTALL_PROGRAM = @INSTALL_PROGRAM@
40INSTALL_DATA = @INSTALL_DATA@
41
42COMPRESS = gzip
43COMPRESS_EXT = .gz
44
d166f048
JA
45TESTSCRIPT = @TESTSCRIPT@
46
ccc6cda3
JA
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.
50PURIFY = @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
d166f048 58# The name of this program and some version information.
ccc6cda3 59Program = bash
d166f048
JA
60Version = @BASHVERS@
61PatchLevel = @BASHPATCH@
62RELSTATUS = release
63
ccc6cda3
JA
64Machine = @host_cpu@
65OS = @host_os@
66MACHTYPE = @host@
67
ccc6cda3
JA
68THIS_SH = $(BUILD_DIR)/$(Program)
69
70# PROFILE_FLAGS is either -pg, to generate profiling info for use
71# with gprof, or nothing (the default).
cce855bc 72PROFILE_FLAGS= @PROFILE_FLAGS@
ccc6cda3 73
ccc6cda3
JA
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.
77CFLAGS = @CFLAGS@
cce855bc 78CPPFLAGS = @CPPFLAGS@
ccc6cda3
JA
79LOCAL_CFLAGS = @LOCAL_CFLAGS@
80DEFS = @DEFS@
d166f048 81LOCAL_DEFS = @LOCAL_DEFS@
ccc6cda3
JA
82LOCAL_LIBS = @LOCAL_LIBS@
83LIBS = $(BUILTINS_LIB) $(LIBRARIES) $(LOCAL_LIBS) @LIBS@
84LDFLAGS = @LDFLAGS@ $(LOCAL_LDFLAGS) $(PROFILE_FLAGS) $(CFLAGS)
85LOCAL_LDFLAGS = @LOCAL_LDFLAGS@
86
87SYSTEM_FLAGS = -DPROGRAM='"$(Program)"' -DHOSTTYPE='"$(Machine)"' -DOSTYPE='"$(OS)"' -DMACHTYPE='"$(MACHTYPE)"'
88
d166f048 89CCFLAGS = $(PROFILE_FLAGS) $(SYSTEM_FLAGS) $(LOCAL_DEFS) \
ccc6cda3
JA
90 $(DEFS) $(LOCAL_CFLAGS) $(CPPFLAGS) $(INCLUDES) $(CFLAGS)
91
92INCLUDES = -I. -I$(srcdir) -I$(LIBSRC)
93
94GCC_LINT_FLAGS = -ansi -Wall -Wshadow -Wpointer-arith -Wcast-qual \
95 -Wwrite-strings -Werror -Wstrict-prototypes \
96 -Wmissing-prototypes
97GCC_LINT_CFLAGS = $(CCFLAGS) $(GCC_LINT_FLAGS)
98
99#
100# Support libraries
101#
102
103dot = .
104
105LIBSUBDIR = lib
106LIBSRC = $(srcdir)/$(LIBSUBDIR)
107
108SUBDIR_INCLUDES = -I. -I$(topdir) -I$(topdir)/$(LIBSUBDIR) -I$(includedir)
109
cce855bc
JA
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
113SH_LIBSRC = $(LIBSRC)/sh
114SH_LIBDIR = $(dot)/${LIBSUBDIR}/sh
115SH_ABSSRC = ${topdir}/${SH_LIBSRC}
116
117SHLIB_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
125SHLIB_LIB = -lsh
126SHLIB_LIBNAME = libsh.a
127SHLIB_LIBRARY = ${SH_LIBDIR}/${SHLIB_LIBNAME}
128SHLIB_LDFLAGS = -L${SH_LIBDIR}
129SHLIB_DEP = ${SHLIB_LIBRARY}
130
ccc6cda3
JA
131# we assume for now that readline source is being shipped with bash
132RL_LIBSRC = $(LIBSRC)/readline
133RL_LIBDOC = $(RL_LIBSRC)/doc
134RL_LIBDIR = $(dot)/$(LIBSUBDIR)/readline
135RL_ABSSRC = ${topdir}/$(RL_LIBDIR)
136
137READLINE_LIB = @READLINE_LIB@
138READLINE_LIBRARY = $(RL_LIBDIR)/libreadline.a
139READLINE_LDFLAGS = -L${RL_LIBDIR}
140READLINE_DEP = @READLINE_DEP@
141
142# The source, object and documentation of the GNU Readline library.
143READLINE_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 \
d166f048 160 $(RL_LIBSRC)/shell.c \
ccc6cda3
JA
161 $(RL_LIBSRC)/histexpand.c $(RL_LIBSRC)/history.c \
162 $(RL_LIBSRC)/histsearch.c $(RL_LIBSRC)/histfile.c
163
164READLINE_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 \
d166f048 174 $(RL_LIBDIR)/shell.o \
ccc6cda3
JA
175 $(RL_LIBDIR)/history.o $(RL_LIBDIR)/histexpand.o \
176 $(RL_LIBDIR)/histsearch.o $(RL_LIBDIR)/histfile.o
177
178HIST_LIBSRC = $(LIBSRC)/readline
179HIST_LIBDIR = $(dot)/$(LIBSUBDIR)/readline
180HIST_ABSSRC = ${topdir}/$(HIST_LIBDIR)
181
182HISTORY_LIB = @HISTORY_LIB@
183HISTORY_LIBRARY = $(HIST_LIBDIR)/libhistory.a
184HISTORY_LDFLAGS = -L$(HIST_LIBDIR)
185HISTORY_DEP = @HISTORY_DEP@
186
187# The source, object and documentation of the history library.
188HISTORY_SOURCE = $(HIST_LIBSRC)/history.c $(HIST_LIBSRC)/histexpand.c \
189 $(HIST_LIBSRC)/histsearch.c $(HIST_LIBSRC)/histfile.c \
d166f048 190 $(HIST_LIBSRC)/shell.c \
ccc6cda3
JA
191 $(HIST_LIBSRC)/history.h $(HIST_LIBSRC)/histlib.h
192HISTORY_OBJ = $(HIST_LIBDIR)/history.o $(HIST_LIBDIR)/histexpand.o \
d166f048
JA
193 $(HIST_LIBDIR)/histsearch.o $(HIST_LIBDIR)/histfile.o \
194 $(HIST_LIBDIR)/shell.o
ccc6cda3
JA
195
196# You only need termcap (or curses) if you are linking with GNU Readline.
197TERM_LIBSRC = $(LIBSRC)/termcap
198TERM_LIBDIR = $(dot)/$(LIBSUBDIR)/termcap
199TERM_ABSSRC = ${topdir}/$(TERM_LIBDIR)
200
201TERMCAP_LIB = @TERMCAP_LIB@
202TERMCAP_LIBRARY = $(TERM_LIBDIR)/libtermcap.a
203TERMCAP_LDFLAGS = -L$(TERM_LIBDIR)
204TERMCAP_DEP = @TERMCAP_DEP@
205
206TERMCAP_SOURCE = $(TERM_LIBSRC)/termcap.c $(TERM_LIBSRC)/tparam.c
207TERMCAP_OBJ = $(TERM_LIBDIR)/termcap.o $(TERM_LIBDIR)/tparam.o
208
209GLOB_LIBSRC = $(LIBSRC)/glob
210GLOB_LIBDIR = $(dot)/$(LIBSUBDIR)/glob
211GLOB_ABSSRC = ${topdir}/$(GLOB_LIBDIR)
212
213GLOB_LIB = -lglob
214GLOB_LIBRARY = $(GLOB_LIBDIR)/libglob.a
215GLOB_LDFLAGS = -L$(GLOB_LIBDIR)
216GLOB_DEP = $(GLOB_LIBRARY)
217
218GLOB_SOURCE = $(GLOB_LIBSRC)/glob.c $(GLOB_LIBSRC)/fnmatch.c \
219 $(GLOB_LIBSRC)/glob.h $(GLOB_LIBSRC)/fnmatch.h
220GLOB_OBJ = $(GLOB_LIBDIR)/glob.o $(GLOB_LIBDIR)/fnmatch.o
221
222# The source, object and documentation for the GNU Tilde library.
223TILDE_LIBSRC = $(LIBSRC)/tilde
224TILDE_LIBDIR = $(dot)/$(LIBSUBDIR)/tilde
225TILDE_ABSSRC = ${topdir}/$(TILDE_LIBDIR)
226
227TILDE_LIB = -ltilde
228TILDE_LIBRARY = $(TILDE_LIBDIR)/libtilde.a
229TILDE_LDFLAGS = -L$(TILDE_LIBDIR)
230TILDE_DEP = $(TILDE_LIBRARY)
231
232TILDE_SOURCE = $(TILDE_LIBSRC)/tilde.c $(TILDE_LIBSRC)/tilde.h
233TILDE_OBJ = $(TILDE_LIBDIR)/tilde.o
234
235# Our malloc.
d166f048
JA
236MALLOC_TARGET = @MALLOC_TARGET@
237
238# set to alloca.o if we are using the C alloca in lib/malloc
239ALLOCA = @ALLOCA@
240
ccc6cda3
JA
241ALLOC_LIBSRC = $(LIBSRC)/malloc
242ALLOC_LIBDIR = $(dot)/$(LIBSUBDIR)/malloc
243ALLOC_ABSSRC = ${topdir}/$(ALLOC_LIBDIR)
244
ccc6cda3 245MALLOC_SRC = @MALLOC_SRC@
d166f048
JA
246MALLOC_SOURCE = ${ALLOC_LIBSRC}/${MALLOC_SRC}
247MALLOC_CFLAGS = -DRCHECK -Dbotch=programming_error
ccc6cda3
JA
248
249MALLOC_LIB = -lmalloc
250MALLOC_LIBRARY = $(ALLOC_LIBDIR)/libmalloc.a
251MALLOC_LDFLAGS = -L$(ALLOC_LIBDIR)
252MALLOC_DEP = $(MALLOC_LIBRARY)
253
254ALLOC_HEADERS = $(ALLOC_LIBSRC)/getpagesize.h
255
d166f048 256$(MALLOC_LIBRARY): ${MALLOC_SOURCE}
ccc6cda3
JA
257 @(cd $(ALLOC_LIBDIR) && \
258 $(MAKE) $(MFLAGS) \
d166f048 259 MALLOC_CFLAGS="$(MALLOC_CFLAGS)" ${MALLOC_TARGET} ) || exit 1
ccc6cda3
JA
260
261BASHPOSIX_LIB = $(LIBSRC)/posixheaders
262BASHPOSIX_SUPPORT = $(BASHPOSIX_LIB)/posixstat.h $(BASHPOSIX_LIB)/ansi_stdlib.h \
263 $(BASHPOSIX_LIB)/memalloc.h $(BASHPOSIX_LIB)/stdc.h
264
265LIBRARIES = $(READLINE_LIB) $(HISTORY_LIB) $(TERMCAP_LIB) $(GLOB_LIB) \
cce855bc 266 $(TILDE_LIB) $(MALLOC_LIB) $(SHLIB_LIB) $(LOCAL_LIBS)
ccc6cda3
JA
267
268LIBDEP = $(READLINE_DEP) $(TERMCAP_DEP) $(GLOB_DEP) $(HISTORY_DEP) \
cce855bc 269 $(TILDE_DEP) $(MALLOC_DEP) $(SHLIB_DEP)
ccc6cda3
JA
270
271LIBRARY_LDFLAGS = $(READLINE_LDFLAGS) $(HISTORY_LDFLAGS) $(TILDE_LDFLAGS) \
cce855bc 272 $(GLOB_LDFLAGS) $(MALLOC_LDFLAGS) $(SHLIB_LDFLAGS)
ccc6cda3
JA
273
274#
275# The shell itself
276#
277
278# The main source code for the Bourne Again SHell.
279CSOURCES = 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 \
d166f048
JA
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 \
cce855bc
JA
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
ccc6cda3 286
d166f048 287HSOURCES = shell.h flags.h trap.h hashcmd.h hashlib.h jobs.h builtins.h \
ccc6cda3 288 general.h variables.h config.h $(ALLOC_HEADERS) alias.h maxpath.h \
d166f048 289 quit.h posixdir.h posixstat.h filecntl.h unwind_prot.h ansi_stdlib.h \
ccc6cda3
JA
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 \
d166f048
JA
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)
ccc6cda3
JA
295
296SOURCES = $(CSOURCES) $(HSOURCES) $(BUILTIN_DEFS)
297
cce855bc
JA
298# header files chosen based on running of configure
299SIGNAMES_H = @SIGNAMES_H@
300
ccc6cda3
JA
301# object files chosen based on running of configure
302JOBS_O = @JOBS_O@
303
304# Matching object files.
305OBJECTS = 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 \
d166f048
JA
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 \
ccc6cda3 309 alias.o array.o braces.o bracecomp.o bashhist.o bashline.o \
cce855bc 310 siglist.o list.o stringlib.o locale.o findcmd.o redir.o xmalloc.o
ccc6cda3
JA
311
312# Where the source code of the shell builtins resides.
313BUILTIN_SRCDIR=$(srcdir)/builtins
314DEFSRC=$(BUILTIN_SRCDIR)
315BUILTIN_ABSSRC=${topdir}/builtins
316DEFDIR = $(dot)/builtins
317
318BUILTIN_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 \
cce855bc 331 $(DEFSRC)/pushd.def $(DEFSRC)/shopt.def $(DEFSRC)/printf.def
ccc6cda3
JA
332BUILTIN_C_SRC = $(DEFSRC)/mkbuiltins.c $(DEFSRC)/common.c \
333 $(DEFSRC)/evalstring.c $(DEFSRC)/evalfile.c \
d166f048 334 $(DEFSRC)/bashgetopt.c $(GETOPT_SOURCE)
ccc6cda3
JA
335BUILTIN_C_OBJ = $(DEFDIR)/common.o $(DEFDIR)/evalstring.o \
336 $(DEFDIR)/evalfile.o $(DEFDIR)/bashgetopt.o
337BUILTIN_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 \
cce855bc 345 $(DEFDIR)/return.o $(DEFDIR)/shopt.o $(DEFDIR)/printf.o \
ccc6cda3
JA
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)
351GETOPT_SOURCE = $(DEFSRC)/getopt.c $(DEFSRC)/getopt.h
352PSIZE_SOURCE = $(DEFSRC)/psize.sh $(DEFSRC)/psize.c
353
d166f048 354BUILTINS_LIBRARY = $(DEFDIR)/libbuiltins.a
ccc6cda3
JA
355BUILTINS_LIB = -lbuiltins
356BUILTINS_LDFLAGS = -L$(DEFDIR)
357BUILTINS_DEP = $(BUILTINS_LIBRARY)
358
359# Documentation for the shell.
360DOCSRC = $(srcdir)/doc
d166f048 361DOCDIR = $(dot)/doc
ccc6cda3
JA
362
363SIGNAMES_SUPPORT = $(SUPPORT_SRC)mksignames.c
364
365SUPPORT_SRC = $(srcdir)/support/
d166f048 366SDIR = $(dot)/support/
ccc6cda3 367
d166f048
JA
368TESTS_SUPPORT = recho zecho printenv
369CREATED_SUPPORT = signames.h recho zecho printenv tests/recho tests/zecho \
cce855bc 370 tests/printenv mksignames lsignames.h
ccc6cda3
JA
371CREATED_CONFIGURE = config.h config.cache config.status config.log \
372 stamp-h
373CREATED_MAKEFILES = Makefile builtins/Makefile doc/Makefile \
374 lib/readline/Makefile lib/glob/Makefile \
cce855bc
JA
375 lib/sh/Makefile lib/tilde/Makefile lib/malloc/Makefile \
376 lib/termcap/Makefile examples/loadables/Makefile \
377 support/Makefile
ccc6cda3
JA
378
379# Keep GNU Make from exporting the entire environment for small machines.
380.NOEXPORT:
381
382.made: $(Program) bashbug
d166f048 383 @echo "$(Program) last made for a $(Machine) running $(OS)" >.made
ccc6cda3 384
d166f048 385$(Program): .build $(OBJECTS) $(BUILTINS_DEP) $(LIBDEP)
ccc6cda3 386 $(RM) $@
cce855bc 387 $(PURIFY) $(CC) $(BUILTINS_LDFLAGS) $(LIBRARY_LDFLAGS) $(LDFLAGS) -o $(Program) $(OBJECTS) $(LIBS)
ccc6cda3
JA
388 ls -l $(Program)
389 size $(Program)
390
d166f048 391.build: $(SOURCES) config.h Makefile version.h
ccc6cda3
JA
392 @echo
393 @echo " ***********************************************************"
394 @echo " * *"
d166f048 395 @echo " * Making Bash-$(Version).$(PatchLevel)-$(RELSTATUS) for a $(Machine) running $(OS)"
ccc6cda3
JA
396 @echo " * *"
397 @echo " ***********************************************************"
398 @echo
399
d166f048
JA
400bashbug: $(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)%" \
ccc6cda3
JA
405 $(SUPPORT_SRC)bashbug.sh > $@
406 @chmod a+rx bashbug
407
408strip: $(Program) .made
409 strip $(Program)
410 ls -l $(Program)
411 size $(Program)
412
d166f048
JA
413version.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;
ccc6cda3
JA
416
417# old rules
d166f048
JA
418GRAM_H = parser-built
419y.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
424y.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
ccc6cda3 426 $(YACC) -d $(srcdir)/parse.y
d166f048 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
ccc6cda3
JA
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} && \
d166f048 439 $(MAKE) $(MFLAGS) libreadline.a) || exit 1
ccc6cda3
JA
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}
d166f048
JA
457 @echo making $@ in ${TERM_LIBDIR}
458 @(cd ${TERM_LIBDIR} && \
ccc6cda3
JA
459 $(MAKE) $(MFLAGS) libtermcap.a) || exit 1
460
cce855bc
JA
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
ccc6cda3
JA
466mksignames: $(SUPPORT_SRC)mksignames.c
467 $(CC) $(CCFLAGS) $(CPPFLAGS) -o $@ $(SUPPORT_SRC)mksignames.c
468
cce855bc
JA
469# make a list of signals for the local system -- this is done when we're
470# *not* cross-compiling
471lsignames.h: mksignames
ccc6cda3
JA
472 $(RM) $@
473 ./mksignames $@
474
cce855bc
JA
475# copy the correct signames header file to signames.h
476signames.h: $(SIGNAMES_H)
477 -if cmp -s $(SIGNAMES_H) $@ ; then :; else $(RM) $@ ; $(CP) $(SIGNAMES_H) $@ ; fi
478
ccc6cda3
JA
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
d166f048 483${DEFDIR}/common.o: $(BUILTIN_SRCDIR)/common.c
ccc6cda3
JA
484 @(cd $(DEFDIR) && $(MAKE) $(MFLAGS) common.o) || exit 1
485
d166f048 486${DEFDIR}/bashgetopt.o: $(BUILTIN_SRCDIR)/bashgetopt.c
ccc6cda3
JA
487 @(cd $(DEFDIR) && $(MAKE) $(MFLAGS) bashgetopt.o) || exit 1
488
d166f048 489${DEFDIR}/builtext.h: $(BUILTIN_DEFS)
ccc6cda3
JA
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
d166f048
JA
495Makefile makefile: config.status $(srcdir)/Makefile.in
496 CONFIG_FILES=Makefile CONFIG_HEADERS= $(SHELL) ./config.status
ccc6cda3
JA
497
498Makefiles 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
503config.h: stamp-h
504
505stamp-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
508config.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
d166f048
JA
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)
ccc6cda3
JA
520
521doc documentation: force
522 @(cd $(DOCDIR) ; $(MAKE) $(MFLAGS) )
523
524info dvi ps: force
525 @(cd $(DOCDIR) ; $(MAKE) $(MFLAGS) CFLAGS='$(CCFLAGS)' $@ )
526
527force:
528
529tags: $(SOURCES) $(BUILTIN_C_SRC) $(LIBRARY_SOURCE)
530 etags $(SOURCES) $(BUILTIN_C_SRC) $(LIBRARY_SOURCE)
531
532TAGS: $(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
537installdirs:
538 @${SHELL} $(SUPPORT_SRC)mkdirs $(bindir)
539 @${SHELL} $(SUPPORT_SRC)mkdirs $(man1dir) $(man3dir)
540 @${SHELL} $(SUPPORT_SRC)mkdirs $(infodir)
541
542install: .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
550install-strip:
551 $(MAKE) $(MFLAGS) INSTALL_PROGRAM='$(INSTALL_PROGRAM) -s' \
552 prefix=${prefix} exec_prefix=${exec_prefix} install
553
554uninstall: .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
562basic-clean:
563 $(RM) $(OBJECTS) $(Program) bashbug
d166f048 564 $(RM) .build .made version.h
ccc6cda3
JA
565
566clean: 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
577mostlyclean: 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
587distclean: 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
599maintainer-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.
d166f048 602 $(RM) y.tab.c y.tab.h parser-built.h tags TAGS
ccc6cda3
JA
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
614recho: $(SUPPORT_SRC)recho.c
d166f048 615 @$(CC) $(CCFLAGS) -o $@ $(SUPPORT_SRC)recho.c
ccc6cda3
JA
616
617zecho: $(SUPPORT_SRC)zecho.c
d166f048
JA
618 @$(CC) $(CCFLAGS) -o $@ $(SUPPORT_SRC)zecho.c
619
620printenv: $(SUPPORT_SRC)printenv.c
621 @$(CC) $(CCFLAGS) -o $@ $(SUPPORT_SRC)printenv.c
ccc6cda3 622
d166f048 623test tests check: force $(Program) $(TESTS_SUPPORT)
ccc6cda3 624 @-test -d tests || mkdir tests
d166f048 625 @cp $(TESTS_SUPPORT) tests
ccc6cda3 626 @( cd $(srcdir)/tests && \
cce855bc 627 PATH=$$PATH:$(BUILD_DIR)/tests THIS_SH=$(THIS_SH) $(SHELL) ${TESTSCRIPT} )
ccc6cda3
JA
628
629symlinks:
630 $(SHELL) $(SUPPORT_SRC)fixlinks -s $(srcdir)
631
632dist: force
633 @echo Bash distributions are created using $(srcdir)/support/mkdist.
634 @echo Here is a sample of the necessary commands:
d166f048
JA
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
639depend: depends
640
641sdepend: force
642 $(Program) $(SUPPORT_SRC)mkdep -c ${CC} -- ${CCFLAGS} ${CSOURCES}
ccc6cda3
JA
643
644############################ DEPENDENCIES ###############################
645
646# Files that depend on the definitions in config.h.top, which are not meant
647# to be changed
648shell.o: config.h.top
649input.o: config.h.top
650y.tab.o: config.h.top
651jobs.o: config.h.top
652nojobs.o: config.h.top
653execute_cmd.o: config.h.top
ccc6cda3
JA
654variables.o: config.h.top
655builtins/command.o: config.h.top
d166f048
JA
656builtins/common.o: config.h.top
657builtins/break.o: config.h.top
658builtins/echo.o: config.h.top
659builtins/evalstring.o: config.h.top
660builtins/exit.o: config.h.top
661builtins/kill.o: config.h.top
662
663# shell basics
664copy_cmd.o: shell.h config.h bashjmp.h posixjmp.h command.h stdc.h error.h
665copy_cmd.o: general.h bashtypes.h variables.h array.h hashlib.h
666copy_cmd.o: quit.h maxpath.h unwind_prot.h dispose_cmd.h
667copy_cmd.o: make_cmd.h subst.h sig.h pathnames.h externs.h
668dispose_cmd.o: bashansi.h ansi_stdlib.h
669dispose_cmd.o: shell.h config.h bashjmp.h posixjmp.h command.h stdc.h
670dispose_cmd.o: error.h general.h bashtypes.h variables.h array.h hashlib.h
671dispose_cmd.o: quit.h maxpath.h unwind_prot.h dispose_cmd.h
672dispose_cmd.o: make_cmd.h subst.h sig.h pathnames.h externs.h
d166f048
JA
673error.o: config.h bashtypes.h bashansi.h ansi_stdlib.h flags.h stdc.h error.h
674error.o: command.h general.h externs.h input.h bashhist.h
675eval.o: config.h bashansi.h ansi_stdlib.h trap.h flags.h ${DEFSRC}/common.h
676eval.o: shell.h config.h bashjmp.h posixjmp.h command.h stdc.h error.h
677eval.o: general.h bashtypes.h variables.h array.h hashlib.h
678eval.o: quit.h maxpath.h unwind_prot.h dispose_cmd.h
679eval.o: make_cmd.h subst.h sig.h pathnames.h externs.h
680eval.o: input.h execute_cmd.h
681execute_cmd.o: config.h bashtypes.h filecntl.h posixstat.h bashansi.h ansi_stdlib.h
682execute_cmd.o: shell.h config.h bashjmp.h posixjmp.h command.h stdc.h error.h
683execute_cmd.o: general.h bashtypes.h variables.h array.h hashlib.h
684execute_cmd.o: quit.h maxpath.h unwind_prot.h dispose_cmd.h
685execute_cmd.o: make_cmd.h subst.h sig.h pathnames.h externs.h
686execute_cmd.o: memalloc.h ${GRAM_H} flags.h builtins.h jobs.h quit.h siglist.h
cce855bc
JA
687execute_cmd.o: execute_cmd.h findcmd.h redir.h trap.h test.h pathexp.h
688execute_cmd.o: $(DEFSRC)/common.h ${DEFDIR}/builtext.h ${GLOB_LIBSRC}/fnmatch.h
d166f048
JA
689expr.o: config.h bashansi.h ansi_stdlib.h
690expr.o: shell.h config.h bashjmp.h posixjmp.h command.h stdc.h error.h
691expr.o: general.h bashtypes.h variables.h array.h hashlib.h
692expr.o: quit.h maxpath.h unwind_prot.h dispose_cmd.h
693expr.o: make_cmd.h subst.h sig.h pathnames.h externs.h
cce855bc
JA
694findcmd.o: config.h bashtypes.h filecntl.h posixstat.h bashansi.h
695findcmd.o: ansi_stdlib.h memalloc.h shell.h bashjmp.h posixjmp.h command.h
696findcmd.o: stdc.h error.h general.h variables.h quit.h maxpath.h unwind_prot.h
697findcmd.o: dispose_cmd.h make_cmd.h subst.h sig.h pathnames.h externs.h
698findcmd.o: flags.h hashlib.h pathexp.h hashcmd.h
d166f048
JA
699flags.o: config.h flags.h
700flags.o: shell.h config.h bashjmp.h posixjmp.h command.h stdc.h error.h
701flags.o: general.h bashtypes.h variables.h array.h hashlib.h
702flags.o: quit.h maxpath.h unwind_prot.h dispose_cmd.h
703flags.o: make_cmd.h subst.h sig.h pathnames.h externs.h
704general.o: config.h bashtypes.h posixstat.h filecntl.h bashansi.h ansi_stdlib.h
705general.o: shell.h config.h bashjmp.h posixjmp.h command.h stdc.h error.h
706general.o: general.h bashtypes.h variables.h array.h hashlib.h
707general.o: quit.h maxpath.h unwind_prot.h dispose_cmd.h
708general.o: make_cmd.h subst.h sig.h pathnames.h externs.h
709general.o: maxpath.h
710hashcmd.o: config.h posixstat.h bashtypes.h bashansi.h ansi_stdlib.h
711hashcmd.o: shell.h config.h bashjmp.h posixjmp.h command.h stdc.h error.h
712hashcmd.o: general.h bashtypes.h variables.h array.h hashcmd.h
cce855bc 713hashcmd.o: execute_cmd.h findcmd.h stdc.h
d166f048
JA
714hashlib.o: config.h bashansi.h ansi_stdlib.h
715hashlib.o: shell.h config.h bashjmp.h posixjmp.h command.h stdc.h error.h
716hashlib.o: general.h bashtypes.h variables.h array.h hashlib.h
717hashlib.o: quit.h maxpath.h unwind_prot.h dispose_cmd.h
718hashlib.o: make_cmd.h subst.h sig.h pathnames.h externs.h
719input.o: config.h bashtypes.h filecntl.h posixstat.h bashansi.h ansi_stdlib.h
720input.o: command.h stdc.h general.h input.h error.h externs.h
721list.o: shell.h config.h bashjmp.h posixjmp.h command.h stdc.h error.h
722list.o: general.h bashtypes.h variables.h array.h hashlib.h
723list.o: quit.h maxpath.h unwind_prot.h dispose_cmd.h
724list.o: make_cmd.h subst.h sig.h pathnames.h externs.h
725locale.o: config.h bashtypes.h bashintl.h bashansi.h ansi_stdlib.h
726locale.o: shell.h config.h bashjmp.h posixjmp.h command.h stdc.h error.h
727locale.o: general.h bashtypes.h variables.h array.h hashlib.h
728locale.o: quit.h maxpath.h unwind_prot.h dispose_cmd.h
729locale.o: make_cmd.h subst.h sig.h pathnames.h externs.h
730mailcheck.o: config.h bashtypes.h posixstat.h bashansi.h ansi_stdlib.h
731mailcheck.o: shell.h config.h bashjmp.h posixjmp.h command.h stdc.h error.h
732mailcheck.o: general.h bashtypes.h variables.h array.h hashlib.h
733mailcheck.o: quit.h maxpath.h unwind_prot.h dispose_cmd.h
734mailcheck.o: make_cmd.h subst.h sig.h pathnames.h externs.h
735mailcheck.o: execute_cmd.h mailcheck.h
736make_cmd.o: config.h bashtypes.h filecntl.h bashansi.h
737make_cmd.o: command.h stdc.h general.h error.h flags.h make_cmd.h
738make_cmd.o: variables.h array.h hashlib.h subst.h input.h externs.h
739make_cmd.o: jobs.h quit.h siglist.h
d166f048
JA
740y.tab.o: config.h bashtypes.h bashansi.h ansi_stdlib.h memalloc.h
741y.tab.o: shell.h config.h bashjmp.h posixjmp.h command.h stdc.h error.h
742y.tab.o: general.h bashtypes.h variables.h array.h hashlib.h
743y.tab.o: quit.h maxpath.h unwind_prot.h dispose_cmd.h
744y.tab.o: make_cmd.h subst.h sig.h pathnames.h externs.h
745y.tab.o: trap.h flags.h parser.h input.h mailcheck.h $(DEFSRC)/common.h
746y.tab.o: $(DEFDIR)/builtext.h bashline.h bashhist.h jobs.h siglist.h alias.h
747pathexp.o: config.h bashtypes.h bashansi.h ansi_stdlib.h
748pathexp.o: shell.h config.h bashjmp.h posixjmp.h command.h stdc.h error.h
749pathexp.o: general.h bashtypes.h variables.h array.h hashlib.h
750pathexp.o: quit.h maxpath.h unwind_prot.h dispose_cmd.h
ccc6cda3 751pathexp.o: make_cmd.h subst.h sig.h pathnames.h externs.h
d166f048 752pathexp.o: pathexp.h flags.h
ccc6cda3 753pathexp.o: $(GLOB_LIBSRC)/glob.h $(GLOB_LIBSRC)/fnmatch.h
d166f048
JA
754print_cmd.o: config.h bashansi.h ansi_stdlib.h
755print_cmd.o: shell.h config.h bashjmp.h posixjmp.h command.h stdc.h error.h
756print_cmd.o: general.h bashtypes.h variables.h array.h hashlib.h
757print_cmd.o: quit.h maxpath.h unwind_prot.h dispose_cmd.h
758print_cmd.o: make_cmd.h subst.h sig.h pathnames.h externs.h
759print_cmd.o: ${GRAM_H} $(DEFSRC)/common.h
cce855bc
JA
760redir.o: config.h bashtypes.h posixstat.h bashansi.h ansi_stdlib.h filecntl.h
761redir.o: memalloc.h shell.h bashjmp.h posixjmp.h command.h stdc.h error.h
762redir.o: general.h variables.h array.h hashlib.h quit.h maxpath.h unwind_prot.h
763redir.o: dispose_cmd.h make_cmd.h subst.h sig.h pathnames.h externs.h
764redir.o: flags.h execute_cmd.h redir.h input.h
d166f048
JA
765shell.o: config.h bashtypes.h posixstat.h bashansi.h ansi_stdlib.h filecntl.h
766shell.o: shell.h config.h bashjmp.h posixjmp.h command.h stdc.h error.h
767shell.o: general.h bashtypes.h variables.h array.h hashlib.h
768shell.o: quit.h maxpath.h unwind_prot.h dispose_cmd.h
769shell.o: make_cmd.h subst.h sig.h pathnames.h externs.h
770shell.o: flags.h trap.h mailcheck.h builtins.h $(DEFSRC)/common.h
cce855bc 771shell.o: jobs.h siglist.h input.h execute_cmd.h findcmd.h bashhist.h
d166f048
JA
772shell.o: ${GLOB_LIBSRC}/fnmatch.h
773sig.o: config.h bashtypes.h
774sig.o: shell.h config.h bashjmp.h posixjmp.h command.h stdc.h error.h
775sig.o: general.h bashtypes.h variables.h array.h hashlib.h
776sig.o: quit.h maxpath.h unwind_prot.h dispose_cmd.h
777sig.o: make_cmd.h subst.h sig.h pathnames.h externs.h
778sig.o: jobs.h siglist.h trap.h $(DEFSRC)/common.h bashline.h bashhist.h
779siglist.o: config.h bashtypes.h siglist.h trap.h
780stringlib.o: bashtypes.h
781stringlib.o: shell.h config.h bashjmp.h posixjmp.h command.h stdc.h error.h
782stringlib.o: general.h bashtypes.h variables.h array.h hashlib.h
783stringlib.o: quit.h maxpath.h unwind_prot.h dispose_cmd.h
784stringlib.o: make_cmd.h subst.h sig.h pathnames.h externs.h
785subst.o: config.h bashtypes.h bashansi.h ansi_stdlib.h posixstat.h
786subst.o: shell.h config.h bashjmp.h posixjmp.h command.h stdc.h error.h
787subst.o: general.h bashtypes.h variables.h array.h hashlib.h
788subst.o: quit.h maxpath.h unwind_prot.h dispose_cmd.h
789subst.o: make_cmd.h subst.h sig.h pathnames.h externs.h
790subst.o: flags.h jobs.h siglist.h execute_cmd.h filecntl.h trap.h pathexp.h
791subst.o: mailcheck.h input.h $(DEFSRC)/getopt.h $(DEFSRC)/common.h
792subst.o: bashline.h bashhist.h ${GLOB_LIBSRC}/fnmatch.h
793test.o: bashtypes.h posixstat.h filecntl.h
794test.o: shell.h config.h bashjmp.h posixjmp.h command.h stdc.h error.h
795test.o: general.h bashtypes.h variables.h array.h hashlib.h
796test.o: quit.h maxpath.h unwind_prot.h dispose_cmd.h
cce855bc 797test.o: make_cmd.h subst.h sig.h pathnames.h externs.h test.h
d166f048
JA
798test.o: ${DEFSRC}/common.h
799trap.o: config.h bashtypes.h trap.h bashansi.h ansi_stdlib.h
800trap.o: shell.h config.h bashjmp.h posixjmp.h command.h stdc.h error.h
801trap.o: general.h bashtypes.h variables.h array.h hashlib.h
802trap.o: quit.h maxpath.h unwind_prot.h dispose_cmd.h
803trap.o: make_cmd.h subst.h sig.h pathnames.h externs.h
804trap.o: signames.h $(DEFSRC)/common.h
805unwind_prot.o: config.h bashtypes.h bashansi.h ansi_stdlib.h command.h stdc.h
806unwind_prot.o: general.h unwind_prot.h quit.h sig.h
807variables.o: config.h bashtypes.h posixstat.h bashansi.h ansi_stdlib.h
808variables.o: shell.h config.h bashjmp.h posixjmp.h command.h stdc.h error.h
809variables.o: general.h bashtypes.h variables.h array.h hashlib.h
810variables.o: quit.h maxpath.h unwind_prot.h dispose_cmd.h
811variables.o: make_cmd.h subst.h sig.h pathnames.h externs.h
cce855bc
JA
812variables.o: flags.h execute_cmd.h mailcheck.h input.h $(DEFSRC)/common.h
813variables.o: findcmd.h bashhist.h
ccc6cda3 814version.o: version.h .build
d166f048
JA
815xmalloc.o: config.h bashtypes.h ansi_stdlib.h error.h
816
817# job control
818
819jobs.o: config.h bashtypes.h trap.h filecntl.h input.h bashtty.h
820jobs.o: bashansi.h ansi_stdlib.h
821jobs.o: shell.h config.h bashjmp.h posixjmp.h command.h stdc.h error.h
822jobs.o: general.h bashtypes.h variables.h array.h hashlib.h
823jobs.o: quit.h maxpath.h unwind_prot.h dispose_cmd.h
824jobs.o: make_cmd.h subst.h sig.h pathnames.h externs.h
825jobs.o: jobs.h flags.h $(DEFSRC)/common.h $(DEFDIR)/builtext.h
826nojobs.o: config.h bashtypes.h filecntl.h bashjmp.h posixjmp.h
827nojobs.o: command.h stdc.h general.h jobs.h quit.h siglist.h externs.h
828nojobs.o: sig.h error.h bashtty.h input.h
829
830# shell features that may be compiled in
831
832array.o: config.h bashansi.h ansi_stdlib.h
833array.o: shell.h config.h bashjmp.h posixjmp.h command.h stdc.h error.h
834array.o: general.h bashtypes.h variables.h array.h hashlib.h
835array.o: quit.h maxpath.h unwind_prot.h dispose_cmd.h
836array.o: make_cmd.h subst.h sig.h pathnames.h externs.h
837array.o: $(DEFSRC)/common.h
838braces.o: config.h bashansi.h ansi_stdlib.h
839braces.o: shell.h config.h bashjmp.h posixjmp.h command.h stdc.h error.h
840braces.o: general.h bashtypes.h variables.h array.h hashlib.h
841braces.o: quit.h maxpath.h unwind_prot.h dispose_cmd.h
842braces.o: make_cmd.h subst.h sig.h pathnames.h externs.h
843alias.o: config.h bashansi.h ansi_stdlib.h command.h stdc.h
844alias.o: general.h bashtypes.h externs.h alias.h
845
846# library support files
847
848bashhist.o: config.h bashtypes.h bashansi.h ansi_stdlib.h posixstat.h
849bashhist.o: filecntl.h
850bashhist.o: shell.h config.h bashjmp.h posixjmp.h command.h stdc.h error.h
851bashhist.o: general.h bashtypes.h variables.h array.h hashlib.h
852bashhist.o: quit.h maxpath.h unwind_prot.h dispose_cmd.h
853bashhist.o: make_cmd.h subst.h sig.h pathnames.h externs.h
854bashhist.o: flags.h input.h parser.h pathexp.h $(DEFSRC)/common.h bashline.h
855bashhist.o: $(GLOB_LIBSRC)/fnmatch.h
856bashline.o: config.h bashtypes.h posixstat.h bashansi.h ansi_stdlib.h
857bashline.o: shell.h config.h bashjmp.h posixjmp.h command.h stdc.h error.h
858bashline.o: general.h bashtypes.h variables.h array.h hashlib.h
859bashline.o: quit.h maxpath.h unwind_prot.h dispose_cmd.h
860bashline.o: make_cmd.h subst.h sig.h pathnames.h externs.h
cce855bc 861bashline.o: builtins.h bashhist.h bashline.h execute_cmd.h findcmd.h pathexp.h
d166f048
JA
862bashline.o: $(DEFSRC)/common.h $(GLOB_LIBSRC)/glob.h alias.h
863bracecomp.o: config.h bashansi.h ansi_stdlib.h
864bracecomp.o: shell.h config.h bashjmp.h posixjmp.h command.h stdc.h error.h
865bracecomp.o: general.h bashtypes.h variables.h array.h hashlib.h
866bracecomp.o: quit.h maxpath.h unwind_prot.h dispose_cmd.h
867bracecomp.o: make_cmd.h subst.h sig.h pathnames.h externs.h
868bracecomp.o: shell.h bashjmp.h posixjmp.h sig.h command.h hashlib.h builtins.h general.h
ccc6cda3
JA
869bracecomp.o: quit.h alias.h config.h variables.h
870bracecomp.o: dispose_cmd.h make_cmd.h subst.h externs.h stdc.h
ccc6cda3 871
d166f048 872# library dependencies
ccc6cda3 873
d166f048 874bashline.o: $(RL_LIBSRC)/rlconf.h
ccc6cda3 875bashline.o: $(RL_LIBSRC)/keymaps.h
d166f048
JA
876bashline.o: $(RL_LIBSRC)/chardefs.h $(RL_LIBSRC)/readline.h
877bracecomp.o: $(RL_LIBSRC)/keymaps.h $(RL_LIBSRC)/chardefs.h
878bracecomp.o: $(RL_LIBSRC)/readline.h
879y.tab.o: $(RL_LIBSRC)/keymaps.h $(RL_LIBSRC)/chardefs.h $(RL_LIBSRC)/readline.h
880subst.o: $(RL_LIBSRC)/keymaps.h $(RL_LIBSRC)/chardefs.h $(RL_LIBSRC)/readline.h
ccc6cda3 881
d166f048 882shell.o: $(HIST_LIBSRC)/history.h
ccc6cda3
JA
883subst.o: $(HIST_LIBSRC)/history.h
884bashline.o: $(HIST_LIBSRC)/history.h
885bashhist.o: $(HIST_LIBSRC)/history.h
886y.tab.o: $(HIST_LIBSRC)/history.h
887
ccc6cda3
JA
888execute_cmd.o: $(TILDE_LIBSRC)/tilde.h
889general.o: $(TILDE_LIBSRC)/tilde.h
890mailcheck.o: $(TILDE_LIBSRC)/tilde.h
891shell.o: $(TILDE_LIBSRC)/tilde.h
892subst.o: $(TILDE_LIBSRC)/tilde.h
893variables.o: $(TILDE_LIBSRC)/tilde.h
894
d166f048
JA
895# XXX - dependencies checked through here
896
897# builtin c sources
898builtins/bashgetopt.o: config.h bashansi.h ansi_stdlib.h
899builtins/bashgetopt.o: shell.h config.h bashjmp.h command.h general.h error.h
900builtins/bashgetopt.o: variables.h quit.h maxpath.h unwind_prot.h dispose_cmd.h
901builtins/bashgetopt.o: make_cmd.h subst.h sig.h pathnames.h externs.h
902builtins/bashgetopt.o: $(DEFSRC)/common.h
903builtins/common.o: bashtypes.h posixstat.h bashansi.h ansi_stdlib.h
904builtins/common.o: shell.h config.h bashjmp.h posixjmp.h sig.h command.h
905builtins/common.o: memalloc.h variables.h input.h siglist.h
ccc6cda3
JA
906builtins/common.o: quit.h unwind_prot.h maxpath.h jobs.h builtins.h
907builtins/common.o: dispose_cmd.h make_cmd.h subst.h externs.h bashhist.h
d166f048
JA
908builtins/common.o: execute_cmd.h stdc.h general.h error.h pathnames.h
909builtins/common.o: ${DEFDIR}/builtext.h
910builtins/evalfile.o: bashtypes.h posixstat.h filecntl.h bashansi.h ansi_stdlib.h
911builtins/evalfile.o: shell.h config.h bashjmp.h command.h general.h error.h
912builtins/evalfile.o: variables.h quit.h maxpath.h unwind_prot.h dispose_cmd.h
913builtins/evalfile.o: make_cmd.h subst.h sig.h pathnames.h externs.h
914builtins/evalfile.o: jobs.h builtins.h flags.h input.h execute_cmd.h
915builtins/evalfile.o: bashhist.h $(DEFSRC)/common.h
916builtins/evalstring.o: config.h bashansi.h ansi_stdlib.h
917builtins/evalstring.o: shell.h bashjmp.h posixjmp.h sig.h command.h siglist.h
918builtins/evalstring.o: memalloc.h variables.h input.h
919builtins/evalstring.o: quit.h unwind_prot.h maxpath.h jobs.h builtins.h
920builtins/evalstring.o: dispose_cmd.h make_cmd.h subst.h externs.h
921builtins/evalstring.o: jobs.h builtins.h flags.h input.h execute_cmd.h
922builtins/evalstring.o: bashhist.h $(DEFSRC)/common.h
923builtins/getopt.o: config.h memalloc.h
924builtins/getopt.o: shell.h bashjmp.h command.h general.h error.h
925builtins/getopt.o: variables.h quit.h maxpath.h unwind_prot.h dispose_cmd.h
926builtins/getopt.o: make_cmd.h subst.h sig.h pathnames.h externs.h
927builtins/getopt.o: $(DEFSRC)/getopt.h
928builtins/mkbuiltins.o: config.h bashtypes.h posixstat.h filecntl.h
929builtins/mkbuiltins.o: bashansi.h ansi_stdlib.h
930
931# builtin def files
ccc6cda3
JA
932builtins/alias.o: command.h config.h memalloc.h error.h general.h maxpath.h
933builtins/alias.o: quit.h $(DEFSRC)/common.h
d166f048 934builtins/alias.o: shell.h bashjmp.h posixjmp.h sig.h command.h stdc.h unwind_prot.h
ccc6cda3
JA
935builtins/alias.o: dispose_cmd.h make_cmd.h subst.h externs.h variables.h
936builtins/bind.o: command.h config.h memalloc.h error.h general.h maxpath.h
937builtins/bind.o: dispose_cmd.h make_cmd.h subst.h externs.h stdc.h
d166f048 938builtins/bind.o: shell.h bashjmp.h posixjmp.h sig.h unwind_prot.h variables.h quit.h
ccc6cda3
JA
939builtins/bind.o: $(DEFSRC)/bashgetopt.h
940builtins/break.o: command.h config.h memalloc.h error.h general.h maxpath.h
d166f048 941builtins/break.o: shell.h bashjmp.h posixjmp.h sig.h unwind_prot.h variables.h quit.h
ccc6cda3
JA
942builtins/break.o: dispose_cmd.h make_cmd.h subst.h externs.h stdc.h
943builtins/builtin.o: command.h config.h memalloc.h error.h general.h maxpath.h
944builtins/builtin.o: quit.h $(DEFSRC)/common.h
d166f048 945builtins/builtin.o: shell.h bashjmp.h posixjmp.h sig.h unwind_prot.h variables.h
ccc6cda3
JA
946builtins/builtin.o: dispose_cmd.h make_cmd.h subst.h externs.h stdc.h
947builtins/cd.o: command.h config.h memalloc.h error.h general.h maxpath.h
d166f048 948builtins/cd.o: shell.h bashjmp.h posixjmp.h sig.h unwind_prot.h variables.h
ccc6cda3
JA
949builtins/cd.o: dispose_cmd.h make_cmd.h subst.h externs.h stdc.h
950builtins/cd.o: $(DEFSRC)/common.h quit.h
951builtins/command.o: command.h config.h memalloc.h error.h general.h maxpath.h
952builtins/command.o: quit.h $(DEFSRC)/bashgetopt.h
d166f048 953builtins/command.o: shell.h bashjmp.h posixjmp.h sig.h unwind_prot.h variables.h
ccc6cda3
JA
954builtins/command.o: dispose_cmd.h make_cmd.h subst.h externs.h stdc.h
955builtins/declare.o: command.h config.h memalloc.h error.h general.h maxpath.h
d166f048 956builtins/declare.o: shell.h bashjmp.h posixjmp.h sig.h unwind_prot.h variables.h quit.h
ccc6cda3
JA
957builtins/declare.o: dispose_cmd.h make_cmd.h subst.h externs.h stdc.h
958builtins/echo.o: command.h config.h memalloc.h error.h general.h maxpath.h
d166f048 959builtins/echo.o: shell.h bashjmp.h posixjmp.h sig.h unwind_prot.h variables.h quit.h
ccc6cda3
JA
960builtins/echo.o: dispose_cmd.h make_cmd.h subst.h externs.h stdc.h
961builtins/enable.o: command.h config.h memalloc.h error.h general.h maxpath.h
d166f048 962builtins/enable.o: shell.h bashjmp.h posixjmp.h sig.h unwind_prot.h variables.h quit.h
ccc6cda3
JA
963builtins/enable.o: dispose_cmd.h make_cmd.h subst.h externs.h stdc.h
964builtins/eval.o: command.h config.h memalloc.h error.h general.h maxpath.h
d166f048 965builtins/eval.o: shell.h bashjmp.h posixjmp.h sig.h unwind_prot.h variables.h quit.h
ccc6cda3 966builtins/eval.o: dispose_cmd.h make_cmd.h subst.h externs.h stdc.h
d166f048 967builtins/exec.o: bashtypes.h
ccc6cda3 968builtins/exec.o: command.h config.h memalloc.h error.h general.h maxpath.h
d166f048 969builtins/exec.o: shell.h bashjmp.h posixjmp.h sig.h unwind_prot.h variables.h
ccc6cda3 970builtins/exec.o: dispose_cmd.h make_cmd.h subst.h externs.h execute_cmd.h
cce855bc 971builtins/exec.o: findcmd.h flags.h quit.h $(DEFSRC)/common.h stdc.h
d166f048 972builtins/exit.o: bashtypes.h
ccc6cda3 973builtins/exit.o: command.h config.h memalloc.h error.h general.h maxpath.h
d166f048 974builtins/exit.o: shell.h bashjmp.h posixjmp.h sig.h unwind_prot.h variables.h quit.h
ccc6cda3 975builtins/exit.o: dispose_cmd.h make_cmd.h subst.h externs.h stdc.h
d166f048
JA
976builtins/fc.o: bashtypes.h posixstat.h
977builtins/fc.o: bashansi.h ansi_stdlib.h builtins.h command.h stdc.h
ccc6cda3 978builtins/fc.o: command.h config.h memalloc.h error.h general.h maxpath.h
d166f048 979builtins/fc.o: flags.h unwind_prot.h variables.h shell.h bashjmp.h posixjmp.h sig.h
ccc6cda3
JA
980builtins/fc.o: dispose_cmd.h make_cmd.h subst.h externs.h stdc.h quit.h
981builtins/fc.o: $(DEFSRC)/bashgetopt.h bashhist.h
d166f048 982builtins/fg_bg.o: bashtypes.h
ccc6cda3 983builtins/fg_bg.o: command.h config.h memalloc.h error.h general.h maxpath.h
d166f048 984builtins/fg_bg.o: shell.h bashjmp.h posixjmp.h sig.h unwind_prot.h variables.h quit.h
ccc6cda3
JA
985builtins/fg_bg.o: dispose_cmd.h make_cmd.h subst.h externs.h stdc.h
986builtins/getopts.o: command.h config.h memalloc.h error.h general.h maxpath.h
d166f048 987builtins/getopts.o: shell.h bashjmp.h posixjmp.h sig.h unwind_prot.h variables.h quit.h
ccc6cda3 988builtins/getopts.o: dispose_cmd.h make_cmd.h subst.h externs.h stdc.h
d166f048 989builtins/hash.o: bashtypes.h
cce855bc 990builtins/hash.o: builtins.h command.h findcmd.h stdc.h $(DEFSRC)/common.h
ccc6cda3 991builtins/hash.o: command.h config.h memalloc.h error.h general.h maxpath.h
d166f048 992builtins/hash.o: shell.h bashjmp.h posixjmp.h sig.h unwind_prot.h variables.h quit.h
ccc6cda3
JA
993builtins/help.o: command.h config.h memalloc.h error.h general.h maxpath.h
994builtins/help.o: dispose_cmd.h make_cmd.h subst.h externs.h stdc.h
d166f048 995builtins/help.o: shell.h bashjmp.h posixjmp.h sig.h unwind_prot.h variables.h quit.h
ccc6cda3 996builtins/help.o: $(GLOB_LIBSRC)/glob.h
d166f048 997builtins/history.o: bashtypes.h
ccc6cda3
JA
998builtins/history.o: command.h config.h memalloc.h error.h general.h maxpath.h
999builtins/history.o: quit.h dispose_cmd.h make_cmd.h subst.h externs.h stdc.h
d166f048 1000builtins/history.o: filecntl.h shell.h bashjmp.h posixjmp.h sig.h unwind_prot.h
ccc6cda3
JA
1001builtins/history.o: bashhist.h variables.h
1002builtins/inlib.o: command.h config.h memalloc.h error.h general.h maxpath.h
d166f048 1003builtins/inlib.o: shell.h bashjmp.h posixjmp.h sig.h unwind_prot.h variables.h quit.h
ccc6cda3
JA
1004builtins/inlib.o: dispose_cmd.h make_cmd.h subst.h externs.h stdc.h
1005builtins/jobs.o: command.h config.h memalloc.h error.h general.h maxpath.h
1006builtins/jobs.o: quit.h $(DEFSRC)/bashgetopt.h
d166f048 1007builtins/jobs.o: shell.h bashjmp.h posixjmp.h sig.h unwind_prot.h variables.h
ccc6cda3
JA
1008builtins/jobs.o: dispose_cmd.h make_cmd.h subst.h externs.h stdc.h
1009builtins/kill.o: command.h config.h memalloc.h error.h general.h maxpath.h
1010builtins/kill.o: quit.h dispose_cmd.h make_cmd.h subst.h externs.h stdc.h
d166f048 1011builtins/kill.o: shell.h bashjmp.h posixjmp.h sig.h trap.h unwind_prot.h variables.h
ccc6cda3
JA
1012builtins/let.o: command.h config.h memalloc.h error.h general.h maxpath.h
1013builtins/let.o: quit.h dispose_cmd.h make_cmd.h subst.h externs.h stdc.h
d166f048 1014builtins/let.o: shell.h bashjmp.h posixjmp.h sig.h unwind_prot.h variables.h
cce855bc
JA
1015builtins/printf.o: config.h memalloc.h bashjmp.h command.h error.h
1016builtins/printf.o: general.h quit.h dispose_cmd.h make_cmd.h subst.h
1017builtins/printf.o: externs.h sig.h pathnames.h shell.h unwind_prot.h
1018builtins/printf.o: variables.h stdc.h $(DEFSRC)/bashgetopt.h
ccc6cda3
JA
1019builtins/pushd.o: command.h config.h memalloc.h error.h general.h maxpath.h
1020builtins/pushd.o: quit.h dispose_cmd.h make_cmd.h subst.h externs.h stdc.h
d166f048 1021builtins/pushd.o: shell.h bashjmp.h posixjmp.h sig.h unwind_prot.h variables.h
ccc6cda3
JA
1022builtins/pushd.o: $(DEFSRC)/common.h
1023builtins/read.o: command.h config.h memalloc.h error.h general.h maxpath.h
1024builtins/read.o: quit.h dispose_cmd.h make_cmd.h subst.h externs.h stdc.h
d166f048 1025builtins/read.o: shell.h bashjmp.h posixjmp.h sig.h unwind_prot.h variables.h
ccc6cda3
JA
1026builtins/return.o: command.h config.h memalloc.h error.h general.h maxpath.h
1027builtins/return.o: quit.h dispose_cmd.h make_cmd.h subst.h externs.h stdc.h
d166f048 1028builtins/return.o: shell.h bashjmp.h posixjmp.h sig.h unwind_prot.h variables.h
ccc6cda3
JA
1029builtins/set.o: command.h config.h memalloc.h error.h general.h maxpath.h
1030builtins/set.o: quit.h dispose_cmd.h make_cmd.h subst.h externs.h stdc.h
d166f048 1031builtins/set.o: shell.h bashjmp.h posixjmp.h sig.h unwind_prot.h variables.h flags.h
ccc6cda3
JA
1032builtins/setattr.o: command.h config.h memalloc.h error.h general.h maxpath.h
1033builtins/setattr.o: quit.h $(DEFSRC)/common.h $(DEFSRC)/bashgetopt.h
d166f048 1034builtins/setattr.o: shell.h bashjmp.h posixjmp.h sig.h unwind_prot.h variables.h
ccc6cda3
JA
1035builtins/setattr.o: dispose_cmd.h make_cmd.h subst.h externs.h stdc.h
1036builtins/shift.o: command.h config.h memalloc.h error.h general.h maxpath.h
1037builtins/shift.o: quit.h dispose_cmd.h make_cmd.h subst.h externs.h stdc.h
d166f048 1038builtins/shift.o: shell.h bashjmp.h posixjmp.h sig.h unwind_prot.h variables.h
ccc6cda3 1039builtins/shift.o: dispose_cmd.h make_cmd.h subst.h externs.h stdc.h
d166f048
JA
1040builtins/shopt.o: command.h config.h memalloc.h error.h general.h
1041builtins/shopt.o: quit.h dispose_cmd.h make_cmd.h subst.h externs.h
1042builtins/shopt.o: shell.h bashjmp.h posixjmp.h unwind_prot.h variables.h maxpath.h
1043builtins/shopt.o: $(DEFSRC)/common.h $(DEFSRC)/bashgetopt.h
ccc6cda3
JA
1044builtins/source.o: command.h config.h memalloc.h error.h general.h maxpath.h
1045builtins/source.o: quit.h dispose_cmd.h make_cmd.h subst.h externs.h stdc.h
cce855bc
JA
1046builtins/source.o: shell.h bashjmp.h posixjmp.h sig.h unwind_prot.h variables.h
1047builtins/source.o: findcmd.h
ccc6cda3
JA
1048builtins/suspend.o: command.h config.h memalloc.h error.h general.h maxpath.h
1049builtins/suspend.o: quit.h dispose_cmd.h make_cmd.h subst.h externs.h stdc.h
d166f048 1050builtins/suspend.o: shell.h bashjmp.h posixjmp.h sig.h unwind_prot.h variables.h
ccc6cda3
JA
1051builtins/test.o: command.h config.h memalloc.h error.h general.h maxpath.h
1052builtins/test.o: quit.h dispose_cmd.h make_cmd.h subst.h externs.h stdc.h
d166f048 1053builtins/test.o: shell.h bashjmp.h posixjmp.h sig.h unwind_prot.h variables.h
cce855bc 1054builtins/test.o: test.h
ccc6cda3
JA
1055builtins/times.o: command.h config.h memalloc.h error.h general.h maxpath.h
1056builtins/times.o: quit.h dispose_cmd.h make_cmd.h subst.h externs.h stdc.h
d166f048 1057builtins/times.o: shell.h bashjmp.h posixjmp.h sig.h unwind_prot.h variables.h
ccc6cda3
JA
1058builtins/trap.o: command.h config.h memalloc.h error.h general.h maxpath.h
1059builtins/trap.o: quit.h $(DEFSRC)/common.h
d166f048 1060builtins/trap.o: shell.h bashjmp.h posixjmp.h sig.h unwind_prot.h variables.h
ccc6cda3
JA
1061builtins/trap.o: dispose_cmd.h make_cmd.h subst.h externs.h stdc.h
1062builtins/type.o: command.h config.h memalloc.h error.h general.h maxpath.h
cce855bc 1063builtins/type.o: quit.h $(DEFSRC)/common.h findcmd.h
d166f048 1064builtins/type.o: shell.h bashjmp.h posixjmp.h sig.h unwind_prot.h variables.h
ccc6cda3
JA
1065builtins/type.o: dispose_cmd.h make_cmd.h subst.h externs.h stdc.h
1066builtins/ulimit.o: command.h config.h memalloc.h error.h general.h maxpath.h
1067builtins/ulimit.o: quit.h dispose_cmd.h make_cmd.h subst.h externs.h stdc.h
d166f048 1068builtins/ulimit.o: shell.h bashjmp.h posixjmp.h sig.h unwind_prot.h variables.h
ccc6cda3
JA
1069builtins/umask.o: command.h config.h memalloc.h error.h general.h maxpath.h
1070builtins/umask.o: quit.h dispose_cmd.h make_cmd.h subst.h externs.h stdc.h
d166f048 1071builtins/umask.o: shell.h bashjmp.h posixjmp.h sig.h unwind_prot.h variables.h
ccc6cda3
JA
1072builtins/wait.o: command.h config.h memalloc.h error.h general.h maxpath.h
1073builtins/wait.o: quit.h dispose_cmd.h make_cmd.h subst.h externs.h stdc.h
d166f048 1074builtins/wait.o: shell.h bashjmp.h posixjmp.h sig.h unwind_prot.h variables.h
ccc6cda3 1075
d166f048 1076# builtin library dependencies
ccc6cda3
JA
1077builtins/bind.o: $(RL_LIBSRC)/chardefs.h $(RL_LIBSRC)/readline.h
1078builtins/bind.o: $(RL_LIBSRC)/keymaps.h
1079
1080builtins/bind.o: $(HIST_LIBSRC)/history.h
1081builtins/fc.o: $(HIST_LIBSRC)/history.h
1082builtins/history.o: $(HIST_LIBSRC)/history.h
1083
1084builtins/common.o: $(TILDE_LIBSRC)/tilde.h
1085builtins/cd.o: $(TILDE_LIBSRC)/tilde.h
1086
1087builtins/alias.o: $(DEFSRC)/alias.def
1088builtins/bind.o: $(DEFSRC)/bind.def
1089builtins/break.o: $(DEFSRC)/break.def
1090builtins/builtin.o: $(DEFSRC)/builtin.def
1091builtins/cd.o: $(DEFSRC)/cd.def
1092builtins/colon.o: $(DEFSRC)/colon.def
1093builtins/command.o: $(DEFSRC)/command.def
1094builtins/declare.o: $(DEFSRC)/declare.def
1095builtins/echo.o: $(DEFSRC)/echo.def
1096builtins/enable.o: $(DEFSRC)/enable.def
1097builtins/eval.o: $(DEFSRC)/eval.def
1098builtins/exec.o: $(DEFSRC)/exec.def
1099builtins/exit.o: $(DEFSRC)/exit.def
1100builtins/fc.o: $(DEFSRC)/fc.def
1101builtins/fg_bg.o: $(DEFSRC)/fg_bg.def
1102builtins/getopts.o: $(DEFSRC)/getopts.def
1103builtins/hash.o: $(DEFSRC)/hash.def
1104builtins/help.o: $(DEFSRC)/help.def
1105builtins/history.o: $(DEFSRC)/history.def
1106builtins/inlib.o: $(DEFSRC)/inlib.def
1107builtins/jobs.o: $(DEFSRC)/jobs.def
1108builtins/kill.o: $(DEFSRC)/kill.def
1109builtins/let.o: $(DEFSRC)/let.def
1110builtins/pushd.o: $(DEFSRC)/pushd.def
1111builtins/read.o: $(DEFSRC)/read.def
1112builtins/reserved.o: $(DEFSRC)/reserved.def
1113builtins/return.o: $(DEFSRC)/return.def
1114builtins/set.o: $(DEFSRC)/set.def
1115builtins/setattr.o: $(DEFSRC)/setattr.def
1116builtins/shift.o: $(DEFSRC)/shift.def
1117builtins/shopt.o: $(DEFSRC)/shopt.def
1118builtins/source.o: $(DEFSRC)/source.def
1119builtins/suspend.o: $(DEFSRC)/suspend.def
1120builtins/test.o: $(DEFSRC)/test.def
1121builtins/times.o: $(DEFSRC)/times.def
1122builtins/trap.o: $(DEFSRC)/trap.def
1123builtins/type.o: $(DEFSRC)/type.def
1124builtins/ulimit.o: $(DEFSRC)/ulimit.def
1125builtins/umask.o: $(DEFSRC)/umask.def
1126builtins/wait.o: $(DEFSRC)/wait.def