blob: 56bc2b4b09311241f8bb96e0e43ef0359929ce83 [file] [log] [blame]
Jari Aaltob80f6442004-07-27 13:29:18 +00001# Makefile for bash-3.0, version 2.152
Jari Aaltod166f041997-06-05 14:59:13 +00002#
Jari Aaltob80f6442004-07-27 13:29:18 +00003# Copyright (C) 1996-2004 Free Software Foundation, Inc.
Jari Aaltobb706242000-03-17 21:46:59 +00004
5# This program is free software; you can redistribute it and/or modify
6# it under the terms of the GNU General Public License as published by
7# the Free Software Foundation; either version 2, or (at your option)
8# any later version.
9
10# This program is distributed in the hope that it will be useful,
11# but WITHOUT ANY WARRANTY; without even the implied warranty of
12# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13# GNU General Public License for more details.
14
15# You should have received a copy of the GNU General Public License
16# along with this program; if not, write to the Free Software
17# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111 USA.
18
Jari Aaltoccc6cda1996-12-23 17:02:34 +000019# Make sure the first target in the makefile is the right one
20all: .made
21
Jari Aaltob80f6442004-07-27 13:29:18 +000022PACKAGE = @PACKAGE_NAME@
23VERSION = @PACKAGE_VERSION@
24
25PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
26PACKAGE_NAME = @PACKAGE_NAME@
27PACKAGE_STRING = @PACKAGE_STRING@
28PACKAGE_VERSION = @PACKAGE_VERSION@
29
Jari Aaltoccc6cda1996-12-23 17:02:34 +000030# Include some boilerplate Gnu makefile definitions.
31prefix = @prefix@
32
33exec_prefix = @exec_prefix@
34bindir = @bindir@
35libdir = @libdir@
36infodir = @infodir@
37includedir = @includedir@
Jari Aalto7117c2d2002-07-17 14:10:11 +000038datadir = @datadir@
Jari Aaltob80f6442004-07-27 13:29:18 +000039localedir = $(datadir)/locale
Jari Aaltoccc6cda1996-12-23 17:02:34 +000040
41mandir = @mandir@
42manpfx = man
43
Jari Aaltof73dda02001-11-13 17:56:06 +000044man1ext = .1
45man1dir = $(mandir)/$(manpfx)1
46man3ext = .3
47man3dir = $(mandir)/$(manpfx)3
Jari Aaltoccc6cda1996-12-23 17:02:34 +000048
Jari Aaltobb706242000-03-17 21:46:59 +000049htmldir = @htmldir@
50
Jari Aaltof73dda02001-11-13 17:56:06 +000051# Support an alternate destination root directory for package building
52DESTDIR =
53
Jari Aaltoccc6cda1996-12-23 17:02:34 +000054topdir = @top_srcdir@
55BUILD_DIR = @BUILD_DIR@
Jari Aaltob80f6442004-07-27 13:29:18 +000056top_builddir = @BUILD_DIR@
Jari Aaltoccc6cda1996-12-23 17:02:34 +000057srcdir = @srcdir@
58VPATH = .:@srcdir@
59
60@SET_MAKE@
61CC = @CC@
Jari Aaltocce855b1998-04-17 19:52:44 +000062CC_FOR_BUILD = @CC_FOR_BUILD@
Jari Aaltoccc6cda1996-12-23 17:02:34 +000063YACC = @YACC@
Jari Aaltob72432f1999-02-19 17:11:39 +000064SHELL = @MAKE_SHELL@
Jari Aaltoccc6cda1996-12-23 17:02:34 +000065CP = cp
66RM = rm -f
67AR = @AR@
Jari Aaltob72432f1999-02-19 17:11:39 +000068ARFLAGS = @ARFLAGS@
Jari Aaltoccc6cda1996-12-23 17:02:34 +000069RANLIB = @RANLIB@
70
71INSTALL = @INSTALL@
72INSTALL_PROGRAM = @INSTALL_PROGRAM@
Jari Aalto7117c2d2002-07-17 14:10:11 +000073INSTALL_SCRIPT = @INSTALL_SCRIPT@
Jari Aaltoccc6cda1996-12-23 17:02:34 +000074INSTALL_DATA = @INSTALL_DATA@
Jari Aaltob72432f1999-02-19 17:11:39 +000075INSTALLMODE= -m 0755
Jari Aaltobb706242000-03-17 21:46:59 +000076INSTALLMODE2 = -m 0555
Jari Aaltoccc6cda1996-12-23 17:02:34 +000077
Jari Aaltod166f041997-06-05 14:59:13 +000078TESTSCRIPT = @TESTSCRIPT@
79
Jari Aaltoccc6cda1996-12-23 17:02:34 +000080#If you have purify, and want to use it, uncomment this definition or
81# run the make as `make PURIFY=purify'
82# or run configure with the --with-purify argument.
83PURIFY = @PURIFY@
84
85# Here is a rule for making .o files from .c files that does not
86# force the type of the machine (like -M_MACHINE) into the flags.
87.c.o:
88 $(RM) $@
89 $(CC) $(CCFLAGS) -c $<
90
Jari Aaltobb706242000-03-17 21:46:59 +000091EXEEXT = @EXEEXT@
Jari Aaltof73dda02001-11-13 17:56:06 +000092OBJEXT = @OBJEXT@
93
94# The name of this program and some version information.
95VERSPROG = bashversion$(EXEEXT)
96VERSOBJ = bashversion.$(OBJEXT)
97
Jari Aaltobb706242000-03-17 21:46:59 +000098Program = bash$(EXEEXT)
Jari Aaltod166f041997-06-05 14:59:13 +000099Version = @BASHVERS@
Jari Aaltof73dda02001-11-13 17:56:06 +0000100PatchLevel = `$(BUILD_DIR)/$(VERSPROG) -p`
Jari Aalto7117c2d2002-07-17 14:10:11 +0000101RELSTATUS = @RELSTATUS@
Jari Aaltod166f041997-06-05 14:59:13 +0000102
Jari Aaltoccc6cda1996-12-23 17:02:34 +0000103Machine = @host_cpu@
104OS = @host_os@
Jari Aaltob72432f1999-02-19 17:11:39 +0000105VENDOR = @host_vendor@
Jari Aaltoccc6cda1996-12-23 17:02:34 +0000106MACHTYPE = @host@
107
Jari Aalto28ef6c32001-04-06 19:14:31 +0000108# comment out for release
Jari Aalto7117c2d2002-07-17 14:10:11 +0000109DEBUG = @DEBUG@
110MALLOC_DEBUG = @MALLOC_DEBUG@
Jari Aalto28ef6c32001-04-06 19:14:31 +0000111
Jari Aaltoccc6cda1996-12-23 17:02:34 +0000112THIS_SH = $(BUILD_DIR)/$(Program)
113
114# PROFILE_FLAGS is either -pg, to generate profiling info for use
115# with gprof, or nothing (the default).
Jari Aaltocce855b1998-04-17 19:52:44 +0000116PROFILE_FLAGS= @PROFILE_FLAGS@
Jari Aaltoccc6cda1996-12-23 17:02:34 +0000117
Jari Aaltoccc6cda1996-12-23 17:02:34 +0000118CFLAGS = @CFLAGS@
Jari Aalto7117c2d2002-07-17 14:10:11 +0000119CFLAGS_FOR_BUILD = @CFLAGS_FOR_BUILD@
Jari Aaltocce855b1998-04-17 19:52:44 +0000120CPPFLAGS = @CPPFLAGS@
Jari Aalto7117c2d2002-07-17 14:10:11 +0000121CPPFLAGS_FOR_BUILD = @CPPFLAGS_FOR_BUILD@
Jari Aalto28ef6c32001-04-06 19:14:31 +0000122LOCAL_CFLAGS = @LOCAL_CFLAGS@ ${DEBUG}
Jari Aaltoccc6cda1996-12-23 17:02:34 +0000123DEFS = @DEFS@
Jari Aaltod166f041997-06-05 14:59:13 +0000124LOCAL_DEFS = @LOCAL_DEFS@
Jari Aalto7117c2d2002-07-17 14:10:11 +0000125
Jari Aaltob80f6442004-07-27 13:29:18 +0000126LOCALE_DEFS = -DLOCALEDIR='"$(localedir)"' -DPACKAGE='"$(PACKAGE)"'
127
Jari Aaltoccc6cda1996-12-23 17:02:34 +0000128LOCAL_LIBS = @LOCAL_LIBS@
Jari Aaltob72432f1999-02-19 17:11:39 +0000129LIBS = $(BUILTINS_LIB) $(LIBRARIES) @LIBS@
Jari Aaltob72432f1999-02-19 17:11:39 +0000130STATIC_LD = @STATIC_LD@
Jari Aaltoccc6cda1996-12-23 17:02:34 +0000131LOCAL_LDFLAGS = @LOCAL_LDFLAGS@
132
Jari Aaltob80f6442004-07-27 13:29:18 +0000133SYSTEM_FLAGS = -DPROGRAM='"$(Program)"' -DCONF_HOSTTYPE='"$(Machine)"' -DCONF_OSTYPE='"$(OS)"' -DCONF_MACHTYPE='"$(MACHTYPE)"' -DCONF_VENDOR='"$(VENDOR)"' $(LOCALE_DEFS)
Jari Aaltoccc6cda1996-12-23 17:02:34 +0000134
Jari Aalto7117c2d2002-07-17 14:10:11 +0000135BASE_CCFLAGS = $(PROFILE_FLAGS) $(SYSTEM_FLAGS) $(LOCAL_DEFS) \
136 $(DEFS) $(LOCAL_CFLAGS) $(INCLUDES)
Jari Aaltoccc6cda1996-12-23 17:02:34 +0000137
Jari Aalto7117c2d2002-07-17 14:10:11 +0000138CCFLAGS = $(BASE_CCFLAGS) $(CPPFLAGS) $(CFLAGS)
139
140CCFLAGS_FOR_BUILD = $(BASE_CCFLAGS) $(CPPFLAGS_FOR_BUILD) $(CFLAGS_FOR_BUILD)
141
142LDFLAGS = @LDFLAGS@ $(STATIC_LD) $(LOCAL_LDFLAGS) $(PROFILE_FLAGS) $(CFLAGS)
143LDFLAGS_FOR_BUILD = $(LDFLAGS)
Jari Aaltoccc6cda1996-12-23 17:02:34 +0000144
Jari Aaltob80f6442004-07-27 13:29:18 +0000145INCLUDES = -I. @RL_INCLUDE@ -I$(srcdir) -I$(BASHINCDIR) -I$(LIBSRC) $(INTL_INC)
Jari Aaltof73dda02001-11-13 17:56:06 +0000146
147GCC_LINT_FLAGS = -Wall -Wshadow -Wpointer-arith -Wcast-qual \
148 -Wcast-align -Wstrict-prototypes -Wconversion \
149 -Wmissing-prototypes -Wtraditional -Wredundant-decls -pedantic
150
Jari Aalto7117c2d2002-07-17 14:10:11 +0000151GCC_LINT_CFLAGS = $(BASE_CCFLAGS) $(CPPFLAGS) $(GCC_LINT_FLAGS)
Jari Aaltoccc6cda1996-12-23 17:02:34 +0000152
153#
154# Support libraries
155#
156
157dot = .
158
159LIBSUBDIR = lib
160LIBSRC = $(srcdir)/$(LIBSUBDIR)
161
Jari Aaltob80f6442004-07-27 13:29:18 +0000162LIBBUILD = ${BUILD_DIR}/${LIBSUBDIR}
163
Jari Aaltof73dda02001-11-13 17:56:06 +0000164SUBDIR_INCLUDES = -I. @RL_INCLUDE@ -I$(topdir) -I$(topdir)/$(LIBSUBDIR)
Jari Aaltoccc6cda1996-12-23 17:02:34 +0000165
Jari Aaltob80f6442004-07-27 13:29:18 +0000166BUILD_INCLUDED_LIBINTL = @BUILD_INCLUDED_LIBINTL@
167USE_INCLUDED_LIBINTL = @USE_INCLUDED_LIBINTL@
168
Jari Aaltocce855b1998-04-17 19:52:44 +0000169# the bash library
170# the library is a mix of functions that the C library does not provide on
171# some platforms and general shell utility functions
172SH_LIBSRC = $(LIBSRC)/sh
173SH_LIBDIR = $(dot)/${LIBSUBDIR}/sh
174SH_ABSSRC = ${topdir}/${SH_LIBSRC}
175
Jari Aalto7117c2d2002-07-17 14:10:11 +0000176SHLIB_SOURCE = ${SH_LIBSRC}/clktck.c ${SH_LIBSRC}/getcwd.c \
177 ${SH_LIBSRC}/getenv.c ${SH_LIBSRC}/oslib.c \
178 ${SH_LIBSRC}/setlinebuf.c \
179 ${SH_LIBSRC}/strcasecmp.c ${SH_LIBSRC}/strerror.c \
180 ${SH_LIBSRC}/strtod.c ${SH_LIBSRC}/strtol.c \
181 ${SH_LIBSRC}/strtoul.c ${SH_LIBSRC}/vprint.c \
182 ${SH_LIBSRC}/itos.c ${SH_LIBSRC}/rename.c \
183 ${SH_LIBSRC}/zread.c ${SH_LIBSRC}/zwrite.c \
184 ${SH_LIBSRC}/shtty.c ${SH_LIBSRC}/inet_aton.c \
185 ${SH_LIBSRC}/netopen.c ${SH_LIBSRC}/strpbrk.c \
186 ${SH_LIBSRC}/timeval.c ${SH_LIBSRC}/clock.c \
187 ${SH_LIBSRC}/makepath.c ${SH_LIBSRC}/pathcanon.c \
188 ${SH_LIBSRC}/pathphys.c ${SH_LIBSRC}/stringlist.c \
189 ${SH_LIBSRC}/stringvec.c ${SH_LIBSRC}/tmpfile.c \
190 ${SH_LIBSRC}/spell.c ${SH_LIBSRC}/strtrans.c \
191 ${SH_LIBSRC}/strindex.c ${SH_LIBSRC}/shquote.c \
192 ${SH_LIBSRC}/snprintf.c ${SH_LIBSRC}/mailstat.c \
193 ${SH_LIBSRC}/fmtulong.c ${SH_LIBSRC}/fmtullong.c \
194 ${SH_LIBSRC}/strtoll.c ${SH_LIBSRC}/strtoull.c \
195 ${SH_LIBSRC}/strtoimax.c ${SH_LIBSRC}/strtoumax.c \
196 ${SH_LIBSRC}/fmtumax.c ${SH_LIBSRC}/netconn.c \
197 ${SH_LIBSRC}/mktime.c ${SH_LIBSRC}/strftime.c \
198 ${SH_LIBSRC}/memset.c ${SH_LIBSRC}/xstrchr.c \
Jari Aaltob80f6442004-07-27 13:29:18 +0000199 ${SH_LIBSRC}/zcatfd.c ${SH_LIBSRC}/shmatch.c
Jari Aaltocce855b1998-04-17 19:52:44 +0000200
201SHLIB_LIB = -lsh
202SHLIB_LIBNAME = libsh.a
203SHLIB_LIBRARY = ${SH_LIBDIR}/${SHLIB_LIBNAME}
204SHLIB_LDFLAGS = -L${SH_LIBDIR}
205SHLIB_DEP = ${SHLIB_LIBRARY}
206
Jari Aaltoccc6cda1996-12-23 17:02:34 +0000207# we assume for now that readline source is being shipped with bash
208RL_LIBSRC = $(LIBSRC)/readline
209RL_LIBDOC = $(RL_LIBSRC)/doc
Jari Aaltob72432f1999-02-19 17:11:39 +0000210RL_LIBDIR = @RL_LIBDIR@
Jari Aaltoccc6cda1996-12-23 17:02:34 +0000211RL_ABSSRC = ${topdir}/$(RL_LIBDIR)
212
Jari Aaltof73dda02001-11-13 17:56:06 +0000213RL_INCLUDEDIR = @RL_INCLUDEDIR@
214
Jari Aaltoccc6cda1996-12-23 17:02:34 +0000215READLINE_LIB = @READLINE_LIB@
216READLINE_LIBRARY = $(RL_LIBDIR)/libreadline.a
217READLINE_LDFLAGS = -L${RL_LIBDIR}
218READLINE_DEP = @READLINE_DEP@
219
220# The source, object and documentation of the GNU Readline library.
221READLINE_SOURCE = $(RL_LIBSRC)/rldefs.h $(RL_LIBSRC)/rlconf.h \
222 $(RL_LIBSRC)/readline.h $(RL_LIBSRC)/tcap.h \
223 $(RL_LIBSRC)/chardefs.h $(RL_LIBSRC)/keymaps.h \
224 $(RL_LIBSRC)/history.h $(RL_LIBSRC)/histlib.h \
225 $(RL_LIBSRC)/posixstat.h $(RL_LIBSRC)/tilde.h \
Jari Aaltobb706242000-03-17 21:46:59 +0000226 $(RL_LIBSRC)/rlstdc.h ${RL_LIBSRC}/xmalloc.h \
227 $(RL_LIBSRC)/rlshell.h ${RL_LIBSRC}/rlprivate.h \
Jari Aaltoccc6cda1996-12-23 17:02:34 +0000228 $(RL_LIBSRC)/funmap.c $(RL_LIBSRC)/emacs_keymap.c \
229 $(RL_LIBSRC)/search.c $(RL_LIBSRC)/vi_keymap.c \
230 $(RL_LIBSRC)/keymaps.c $(RL_LIBSRC)/parens.c \
231 $(RL_LIBSRC)/vi_mode.c $(RL_LIBSRC)/callback.c \
232 $(RL_LIBSRC)/readline.c $(RL_LIBSRC)/tilde.c \
233 $(RL_LIBSRC)/rltty.c $(RL_LIBSRC)/complete.c \
234 $(RL_LIBSRC)/bind.c $(RL_LIBSRC)/isearch.c \
235 $(RL_LIBSRC)/display.c $(RL_LIBSRC)/signals.c \
Jari Aalto7117c2d2002-07-17 14:10:11 +0000236 $(RL_LIBSRC)/util.c $(RL_LIBSRC)/kill.c $(RL_LIBSRC)/text.c \
Jari Aaltoccc6cda1996-12-23 17:02:34 +0000237 $(RL_LIBSRC)/undo.c $(RL_LIBSRC)/macro.c \
238 $(RL_LIBSRC)/terminal.c $(RL_LIBSRC)/nls.c \
239 $(RL_LIBSRC)/input.c $(RL_LIBSRC)/xmalloc.c \
Jari Aaltob72432f1999-02-19 17:11:39 +0000240 $(RL_LIBSRC)/shell.c $(RL_LIBSRC)/savestring.c \
Jari Aaltob80f6442004-07-27 13:29:18 +0000241 $(RL_LIBSRC)/misc.c $(RL_LIBSRC)/mbutil.c $(RL_LIBSRC)/compat.c \
Jari Aaltoccc6cda1996-12-23 17:02:34 +0000242 $(RL_LIBSRC)/histexpand.c $(RL_LIBSRC)/history.c \
243 $(RL_LIBSRC)/histsearch.c $(RL_LIBSRC)/histfile.c
244
245READLINE_OBJ = $(RL_LIBDIR)/readline.o $(RL_LIBDIR)/funmap.o \
246 $(RL_LIBDIR)/parens.o $(RL_LIBDIR)/search.o \
247 $(RL_LIBDIR)/keymaps.o $(RL_LIBDIR)/xmalloc.o \
248 $(RL_LIBDIR)/rltty.o $(RL_LIBDIR)/complete.o \
249 $(RL_LIBDIR)/bind.o $(RL_LIBDIR)/isearch.o \
250 $(RL_LIBDIR)/display.o $(RL_LIBDIR)/signals.o \
251 $(RL_LIBDIR)/tilde.o $(RL_LIBDIR)/util.o \
252 $(RL_LIBDIR)/kill.o $(RL_LIBDIR)/undo.o $(RL_LIBDIR)/nls.o \
253 $(RL_LIBDIR)/macro.o $(RL_LIBDIR)/input.o \
254 $(RL_LIBDIR)/terminal.o $(RL_LIBDIR)/callback.o \
Jari Aaltob72432f1999-02-19 17:11:39 +0000255 $(RL_LIBDIR)/shell.o $(RL_LIBDIR)/savestring.o \
Jari Aaltob80f6442004-07-27 13:29:18 +0000256 $(RL_LIBDIR)/mbutil.o $(RL_LIBDIR)/compat.o \
Jari Aaltoccc6cda1996-12-23 17:02:34 +0000257 $(RL_LIBDIR)/history.o $(RL_LIBDIR)/histexpand.o \
258 $(RL_LIBDIR)/histsearch.o $(RL_LIBDIR)/histfile.o
259
260HIST_LIBSRC = $(LIBSRC)/readline
Jari Aaltob72432f1999-02-19 17:11:39 +0000261HIST_LIBDIR = @HIST_LIBDIR@
Jari Aaltoccc6cda1996-12-23 17:02:34 +0000262HIST_ABSSRC = ${topdir}/$(HIST_LIBDIR)
263
264HISTORY_LIB = @HISTORY_LIB@
265HISTORY_LIBRARY = $(HIST_LIBDIR)/libhistory.a
266HISTORY_LDFLAGS = -L$(HIST_LIBDIR)
267HISTORY_DEP = @HISTORY_DEP@
268
269# The source, object and documentation of the history library.
270HISTORY_SOURCE = $(HIST_LIBSRC)/history.c $(HIST_LIBSRC)/histexpand.c \
271 $(HIST_LIBSRC)/histsearch.c $(HIST_LIBSRC)/histfile.c \
Jari Aaltod166f041997-06-05 14:59:13 +0000272 $(HIST_LIBSRC)/shell.c \
Jari Aaltoccc6cda1996-12-23 17:02:34 +0000273 $(HIST_LIBSRC)/history.h $(HIST_LIBSRC)/histlib.h
274HISTORY_OBJ = $(HIST_LIBDIR)/history.o $(HIST_LIBDIR)/histexpand.o \
Jari Aaltod166f041997-06-05 14:59:13 +0000275 $(HIST_LIBDIR)/histsearch.o $(HIST_LIBDIR)/histfile.o \
276 $(HIST_LIBDIR)/shell.o
Jari Aaltoccc6cda1996-12-23 17:02:34 +0000277
278# You only need termcap (or curses) if you are linking with GNU Readline.
279TERM_LIBSRC = $(LIBSRC)/termcap
280TERM_LIBDIR = $(dot)/$(LIBSUBDIR)/termcap
281TERM_ABSSRC = ${topdir}/$(TERM_LIBDIR)
282
283TERMCAP_LIB = @TERMCAP_LIB@
284TERMCAP_LIBRARY = $(TERM_LIBDIR)/libtermcap.a
285TERMCAP_LDFLAGS = -L$(TERM_LIBDIR)
286TERMCAP_DEP = @TERMCAP_DEP@
287
288TERMCAP_SOURCE = $(TERM_LIBSRC)/termcap.c $(TERM_LIBSRC)/tparam.c
289TERMCAP_OBJ = $(TERM_LIBDIR)/termcap.o $(TERM_LIBDIR)/tparam.o
290
291GLOB_LIBSRC = $(LIBSRC)/glob
292GLOB_LIBDIR = $(dot)/$(LIBSUBDIR)/glob
293GLOB_ABSSRC = ${topdir}/$(GLOB_LIBDIR)
294
295GLOB_LIB = -lglob
296GLOB_LIBRARY = $(GLOB_LIBDIR)/libglob.a
297GLOB_LDFLAGS = -L$(GLOB_LIBDIR)
298GLOB_DEP = $(GLOB_LIBRARY)
299
Jari Aaltof73dda02001-11-13 17:56:06 +0000300GLOB_SOURCE = $(GLOB_LIBSRC)/glob.c $(GLOB_LIBSRC)/strmatch.c \
Jari Aalto7117c2d2002-07-17 14:10:11 +0000301 $(GLOB_LIBSRC)/smatch.c $(GLOB_LIBSRC)/xmbsrtowcs.c \
302 $(GLOB_LIBSRC)/glob_loop.c $(GLOB_LIBSRC)/sm_loop.c \
Jari Aaltof73dda02001-11-13 17:56:06 +0000303 $(GLOB_LIBSRC)/glob.h $(GLOB_LIBSRC)/strmatch.h
Jari Aalto7117c2d2002-07-17 14:10:11 +0000304GLOB_OBJ = $(GLOB_LIBDIR)/glob.o $(GLOB_LIBDIR)/strmatch.o \
305 $(GLOB_LIBDIR)/smatch.o $(GLOB_LIBDIR)/xmbsrtowcs.o
Jari Aaltoccc6cda1996-12-23 17:02:34 +0000306
307# The source, object and documentation for the GNU Tilde library.
308TILDE_LIBSRC = $(LIBSRC)/tilde
309TILDE_LIBDIR = $(dot)/$(LIBSUBDIR)/tilde
310TILDE_ABSSRC = ${topdir}/$(TILDE_LIBDIR)
311
312TILDE_LIB = -ltilde
313TILDE_LIBRARY = $(TILDE_LIBDIR)/libtilde.a
314TILDE_LDFLAGS = -L$(TILDE_LIBDIR)
315TILDE_DEP = $(TILDE_LIBRARY)
316
317TILDE_SOURCE = $(TILDE_LIBSRC)/tilde.c $(TILDE_LIBSRC)/tilde.h
318TILDE_OBJ = $(TILDE_LIBDIR)/tilde.o
319
Jari Aaltob80f6442004-07-27 13:29:18 +0000320# libintl
321INTL_LIBSRC = $(LIBSRC)/intl
322INTL_LIBDIR = $(dot)/$(LIBSUBDIR)/intl
323INTL_ABSSRC = ${topdir}/$(INTL_LIB)
324INTL_BUILDDIR = ${LIBBUILD}/intl
325
326INTL_LIB = @LIBINTL@
327INTL_LIBRARY = $(INTL_LIBDIR)/libintl.a
328INTL_DEP = @INTL_DEP@
329INTL_INC = @INTL_INC@
330
331LIBINTL_H = @LIBINTL_H@
332
333# tests
334LIBINTL = @LIBINTL@
335LTLIBINTL = @LTLIBINTL@
336INTLLIBS = @INTLLIBS@
337INTLOBJS = @INTLOBJS@
338
Jari Aaltoccc6cda1996-12-23 17:02:34 +0000339# Our malloc.
Jari Aaltod166f041997-06-05 14:59:13 +0000340MALLOC_TARGET = @MALLOC_TARGET@
341
342# set to alloca.o if we are using the C alloca in lib/malloc
343ALLOCA = @ALLOCA@
344
Jari Aaltoccc6cda1996-12-23 17:02:34 +0000345ALLOC_LIBSRC = $(LIBSRC)/malloc
346ALLOC_LIBDIR = $(dot)/$(LIBSUBDIR)/malloc
347ALLOC_ABSSRC = ${topdir}/$(ALLOC_LIBDIR)
348
Jari Aaltoccc6cda1996-12-23 17:02:34 +0000349MALLOC_SRC = @MALLOC_SRC@
Jari Aaltof73dda02001-11-13 17:56:06 +0000350MALLOC_OTHERSRC = ${ALLOC_LIBSRC}/trace.c ${ALLOC_LIBSRC}/stats.c \
Jari Aalto7117c2d2002-07-17 14:10:11 +0000351 ${ALLOC_LIBSRC}/table.c ${ALLOC_LIBSRC}/watch.c
Jari Aaltof73dda02001-11-13 17:56:06 +0000352MALLOC_SOURCE = ${ALLOC_LIBSRC}/${MALLOC_SRC} ${MALLOC_OTHERSRC}
353MALLOC_CFLAGS = -DRCHECK -Dbotch=programming_error ${MALLOC_DEBUG}
Jari Aaltoccc6cda1996-12-23 17:02:34 +0000354
Jari Aaltof73dda02001-11-13 17:56:06 +0000355MALLOC_LIB = @MALLOC_LIB@
356MALLOC_LIBRARY = @MALLOC_LIBRARY@
357MALLOC_LDFLAGS = @MALLOC_LDFLAGS@
358MALLOC_DEP = @MALLOC_DEP@
Jari Aaltoccc6cda1996-12-23 17:02:34 +0000359
Jari Aaltof73dda02001-11-13 17:56:06 +0000360ALLOC_HEADERS = $(ALLOC_LIBSRC)/getpagesize.h $(ALLOC_LIBSRC)/shmalloc.h \
Jari Aalto7117c2d2002-07-17 14:10:11 +0000361 $(ALLOC_LIBSRC)/imalloc.h $(ALLOC_LIBSRC)/mstats.h \
362 $(ALLOC_LIBSRC)/table.h $(ALLOC_LIBSRC)/watch.h
Jari Aaltoccc6cda1996-12-23 17:02:34 +0000363
Jari Aaltof73dda02001-11-13 17:56:06 +0000364$(MALLOC_LIBRARY): ${MALLOC_SOURCE} ${ALLOC_HEADERS} config.h
Jari Aaltoccc6cda1996-12-23 17:02:34 +0000365 @(cd $(ALLOC_LIBDIR) && \
366 $(MAKE) $(MFLAGS) \
Jari Aaltod166f041997-06-05 14:59:13 +0000367 MALLOC_CFLAGS="$(MALLOC_CFLAGS)" ${MALLOC_TARGET} ) || exit 1
Jari Aaltoccc6cda1996-12-23 17:02:34 +0000368
Jari Aaltobb706242000-03-17 21:46:59 +0000369BASHINCDIR = ${srcdir}/include
370BASHINCFILES = $(BASHINCDIR)/posixstat.h $(BASHINCDIR)/ansi_stdlib.h \
371 $(BASHINCDIR)/filecntl.h $(BASHINCDIR)/posixdir.h \
372 $(BASHINCDIR)/memalloc.h $(BASHINCDIR)/stdc.h \
373 $(BASHINCDIR)/posixjmp.h $(BASHINCDIR)/posixwait.h \
374 $(BASHINCDIR)/posixtime.h $(BASHINCDIR)/systimes.h \
375 $(BASHINCDIR)/unionwait.h $(BASHINCDIR)/maxpath.h \
Jari Aalto7117c2d2002-07-17 14:10:11 +0000376 $(BASHINCDIR)/shtty.h $(BASHINCDIR)/typemax.h \
377 $(BASHINCDIR)/ocache.h
Jari Aaltoccc6cda1996-12-23 17:02:34 +0000378
Jari Aalto28ef6c32001-04-06 19:14:31 +0000379LIBRARIES = $(SHLIB_LIB) $(READLINE_LIB) $(HISTORY_LIB) $(TERMCAP_LIB) $(GLOB_LIB) \
Jari Aaltob80f6442004-07-27 13:29:18 +0000380 $(TILDE_LIB) $(MALLOC_LIB) $(INTL_LIB) $(LOCAL_LIBS)
Jari Aaltoccc6cda1996-12-23 17:02:34 +0000381
Jari Aaltob80f6442004-07-27 13:29:18 +0000382LIBDEP = $(SHLIB_DEP) $(INTL_DEP) $(READLINE_DEP) $(HISTORY_DEP) $(TERMCAP_DEP) $(GLOB_DEP) \
Jari Aalto28ef6c32001-04-06 19:14:31 +0000383 $(TILDE_DEP) $(MALLOC_DEP)
Jari Aaltoccc6cda1996-12-23 17:02:34 +0000384
Jari Aaltob72432f1999-02-19 17:11:39 +0000385LIBRARY_LDFLAGS = $(READLINE_LDFLAGS) $(HISTORY_LDFLAGS) $(GLOB_LDFLAGS) \
386 $(TILDE_LDFLAGS) $(MALLOC_LDFLAGS) $(SHLIB_LDFLAGS)
Jari Aaltoccc6cda1996-12-23 17:02:34 +0000387
388#
389# The shell itself
390#
391
392# The main source code for the Bourne Again SHell.
393CSOURCES = shell.c eval.c parse.y general.c make_cmd.c print_cmd.c y.tab.c \
394 dispose_cmd.c execute_cmd.c variables.c $(GLOBC) version.c \
Jari Aaltod166f041997-06-05 14:59:13 +0000395 expr.c copy_cmd.c flags.c subst.c hashcmd.c hashlib.c mailcheck.c \
396 test.c trap.c alias.c jobs.c nojobs.c $(ALLOC_FILES) braces.c \
Jari Aaltof73dda02001-11-13 17:56:06 +0000397 input.c bashhist.c array.c arrayfunc.c sig.c pathexp.c \
Jari Aaltocce855b1998-04-17 19:52:44 +0000398 unwind_prot.c siglist.c bashline.c bracecomp.c error.c \
Jari Aaltobb706242000-03-17 21:46:59 +0000399 list.c stringlib.c locale.c findcmd.c redir.c \
Jari Aalto28ef6c32001-04-06 19:14:31 +0000400 pcomplete.c pcomplib.c syntax.c xmalloc.c
Jari Aaltoccc6cda1996-12-23 17:02:34 +0000401
Jari Aaltod166f041997-06-05 14:59:13 +0000402HSOURCES = shell.h flags.h trap.h hashcmd.h hashlib.h jobs.h builtins.h \
Jari Aaltobb706242000-03-17 21:46:59 +0000403 general.h variables.h config.h $(ALLOC_HEADERS) alias.h \
Jari Aaltof73dda02001-11-13 17:56:06 +0000404 quit.h unwind_prot.h syntax.h ${GRAM_H} \
Jari Aaltoccc6cda1996-12-23 17:02:34 +0000405 command.h input.h error.h bashansi.h dispose_cmd.h make_cmd.h \
406 subst.h externs.h siglist.h bashhist.h bashline.h bashtypes.h \
Jari Aaltof73dda02001-11-13 17:56:06 +0000407 array.h arrayfunc.h sig.h mailcheck.h bashintl.h bashjmp.h \
Jari Aaltobb706242000-03-17 21:46:59 +0000408 execute_cmd.h parser.h pathexp.h pathnames.h pcomplete.h \
409 $(BASHINCFILES)
Jari Aaltoccc6cda1996-12-23 17:02:34 +0000410
411SOURCES = $(CSOURCES) $(HSOURCES) $(BUILTIN_DEFS)
412
Jari Aaltocce855b1998-04-17 19:52:44 +0000413# header files chosen based on running of configure
414SIGNAMES_H = @SIGNAMES_H@
415
Jari Aaltoccc6cda1996-12-23 17:02:34 +0000416# object files chosen based on running of configure
417JOBS_O = @JOBS_O@
Jari Aaltof73dda02001-11-13 17:56:06 +0000418SIGLIST_O = @SIGLIST_O@
Jari Aaltoccc6cda1996-12-23 17:02:34 +0000419
420# Matching object files.
421OBJECTS = shell.o eval.o y.tab.o general.o make_cmd.o print_cmd.o $(GLOBO) \
422 dispose_cmd.o execute_cmd.o variables.o copy_cmd.o error.o \
Jari Aaltod166f041997-06-05 14:59:13 +0000423 expr.o flags.o $(JOBS_O) subst.o hashcmd.o hashlib.o mailcheck.o \
424 trap.o input.o unwind_prot.o pathexp.o sig.o test.o version.o \
Jari Aaltof73dda02001-11-13 17:56:06 +0000425 alias.o array.o arrayfunc.o braces.o bracecomp.o bashhist.o \
426 bashline.o $(SIGLIST_O) list.o stringlib.o locale.o findcmd.o redir.o \
Jari Aalto28ef6c32001-04-06 19:14:31 +0000427 pcomplete.o pcomplib.o syntax.o xmalloc.o
Jari Aaltoccc6cda1996-12-23 17:02:34 +0000428
429# Where the source code of the shell builtins resides.
430BUILTIN_SRCDIR=$(srcdir)/builtins
431DEFSRC=$(BUILTIN_SRCDIR)
432BUILTIN_ABSSRC=${topdir}/builtins
433DEFDIR = $(dot)/builtins
Jari Aaltob80f6442004-07-27 13:29:18 +0000434DEBUGGER_DIR = $(dot)/debugger
Jari Aaltoccc6cda1996-12-23 17:02:34 +0000435
436BUILTIN_DEFS = $(DEFSRC)/alias.def $(DEFSRC)/bind.def $(DEFSRC)/break.def \
437 $(DEFSRC)/builtin.def $(DEFSRC)/cd.def $(DEFSRC)/colon.def \
Jari Aaltobb706242000-03-17 21:46:59 +0000438 $(DEFSRC)/command.def ${DEFSRC}/complete.def \
Jari Aaltob80f6442004-07-27 13:29:18 +0000439 $(DEFSRC)/caller.def $(DEFSRC)/declare.def \
Jari Aaltoccc6cda1996-12-23 17:02:34 +0000440 $(DEFSRC)/echo.def $(DEFSRC)/enable.def $(DEFSRC)/eval.def \
441 $(DEFSRC)/exec.def $(DEFSRC)/exit.def $(DEFSRC)/fc.def \
442 $(DEFSRC)/fg_bg.def $(DEFSRC)/hash.def $(DEFSRC)/help.def \
443 $(DEFSRC)/history.def $(DEFSRC)/jobs.def $(DEFSRC)/kill.def \
444 $(DEFSRC)/let.def $(DEFSRC)/read.def $(DEFSRC)/return.def \
445 $(DEFSRC)/set.def $(DEFSRC)/setattr.def $(DEFSRC)/shift.def \
446 $(DEFSRC)/source.def $(DEFSRC)/suspend.def $(DEFSRC)/test.def \
447 $(DEFSRC)/times.def $(DEFSRC)/trap.def $(DEFSRC)/type.def \
448 $(DEFSRC)/ulimit.def $(DEFSRC)/umask.def $(DEFSRC)/wait.def \
449 $(DEFSRC)/getopts.def $(DEFSRC)/reserved.def \
Jari Aaltocce855b1998-04-17 19:52:44 +0000450 $(DEFSRC)/pushd.def $(DEFSRC)/shopt.def $(DEFSRC)/printf.def
Jari Aaltoccc6cda1996-12-23 17:02:34 +0000451BUILTIN_C_SRC = $(DEFSRC)/mkbuiltins.c $(DEFSRC)/common.c \
452 $(DEFSRC)/evalstring.c $(DEFSRC)/evalfile.c \
Jari Aaltod166f041997-06-05 14:59:13 +0000453 $(DEFSRC)/bashgetopt.c $(GETOPT_SOURCE)
Jari Aaltoccc6cda1996-12-23 17:02:34 +0000454BUILTIN_C_OBJ = $(DEFDIR)/common.o $(DEFDIR)/evalstring.o \
455 $(DEFDIR)/evalfile.o $(DEFDIR)/bashgetopt.o
456BUILTIN_OBJS = $(DEFDIR)/alias.o $(DEFDIR)/bind.o $(DEFDIR)/break.o \
457 $(DEFDIR)/builtin.o $(DEFDIR)/cd.o $(DEFDIR)/colon.o \
Jari Aaltob80f6442004-07-27 13:29:18 +0000458 $(DEFDIR)/command.o $(DEFDIR)/caller.o $(DEFDIR)/declare.o \
Jari Aaltoccc6cda1996-12-23 17:02:34 +0000459 $(DEFDIR)/echo.o $(DEFDIR)/enable.o $(DEFDIR)/eval.o \
460 $(DEFDIR)/exec.o $(DEFDIR)/exit.o $(DEFDIR)/fc.o \
461 $(DEFDIR)/fg_bg.o $(DEFDIR)/hash.o $(DEFDIR)/help.o \
462 $(DEFDIR)/history.o $(DEFDIR)/jobs.o $(DEFDIR)/kill.o \
463 $(DEFDIR)/let.o $(DEFDIR)/pushd.o $(DEFDIR)/read.o \
Jari Aaltocce855b1998-04-17 19:52:44 +0000464 $(DEFDIR)/return.o $(DEFDIR)/shopt.o $(DEFDIR)/printf.o \
Jari Aaltoccc6cda1996-12-23 17:02:34 +0000465 $(DEFDIR)/set.o $(DEFDIR)/setattr.o $(DEFDIR)/shift.o \
466 $(DEFDIR)/source.o $(DEFDIR)/suspend.o $(DEFDIR)/test.o \
467 $(DEFDIR)/times.o $(DEFDIR)/trap.o $(DEFDIR)/type.o \
468 $(DEFDIR)/ulimit.o $(DEFDIR)/umask.o $(DEFDIR)/wait.o \
469 $(DEFDIR)/getopts.o $(BUILTIN_C_OBJ)
470GETOPT_SOURCE = $(DEFSRC)/getopt.c $(DEFSRC)/getopt.h
471PSIZE_SOURCE = $(DEFSRC)/psize.sh $(DEFSRC)/psize.c
472
Jari Aaltod166f041997-06-05 14:59:13 +0000473BUILTINS_LIBRARY = $(DEFDIR)/libbuiltins.a
Jari Aaltoccc6cda1996-12-23 17:02:34 +0000474BUILTINS_LIB = -lbuiltins
475BUILTINS_LDFLAGS = -L$(DEFDIR)
476BUILTINS_DEP = $(BUILTINS_LIBRARY)
477
478# Documentation for the shell.
479DOCSRC = $(srcdir)/doc
Jari Aaltod166f041997-06-05 14:59:13 +0000480DOCDIR = $(dot)/doc
Jari Aaltoccc6cda1996-12-23 17:02:34 +0000481
Jari Aaltob80f6442004-07-27 13:29:18 +0000482# Translations and other i18n support files
483PO_SRC = $(srcdir)/po/
484PO_DIR = $(dot)/po/
485
Jari Aaltoccc6cda1996-12-23 17:02:34 +0000486SIGNAMES_SUPPORT = $(SUPPORT_SRC)mksignames.c
487
488SUPPORT_SRC = $(srcdir)/support/
Jari Aaltod166f041997-06-05 14:59:13 +0000489SDIR = $(dot)/support/
Jari Aaltoccc6cda1996-12-23 17:02:34 +0000490
Jari Aaltobb706242000-03-17 21:46:59 +0000491TESTS_SUPPORT = recho$(EXEEXT) zecho$(EXEEXT) printenv$(EXEEXT)
492CREATED_SUPPORT = signames.h recho$(EXEEXT) zecho$(EXEEXT) printenv$(EXEEXT) \
493 tests/recho$(EXEEXT) tests/zecho$(EXEEXT) \
Jari Aalto28ef6c32001-04-06 19:14:31 +0000494 tests/printenv$(EXEEXT) mksignames$(EXEEXT) lsignames.h \
Jari Aalto7117c2d2002-07-17 14:10:11 +0000495 mksyntax${EXEEXT} syntax.c $(VERSPROG) $(VERSOBJ) \
496 buildversion.o
Jari Aaltoccc6cda1996-12-23 17:02:34 +0000497CREATED_CONFIGURE = config.h config.cache config.status config.log \
Jari Aaltob80f6442004-07-27 13:29:18 +0000498 stamp-h po/POTFILES
Jari Aaltoccc6cda1996-12-23 17:02:34 +0000499CREATED_MAKEFILES = Makefile builtins/Makefile doc/Makefile \
500 lib/readline/Makefile lib/glob/Makefile \
Jari Aaltocce855b1998-04-17 19:52:44 +0000501 lib/sh/Makefile lib/tilde/Makefile lib/malloc/Makefile \
502 lib/termcap/Makefile examples/loadables/Makefile \
Jari Aaltob80f6442004-07-27 13:29:18 +0000503 examples/loadables/perl/Makefile support/Makefile \
504 lib/intl/Makefile po/Makefile po/Makefile.in
Jari Aaltoccc6cda1996-12-23 17:02:34 +0000505
506# Keep GNU Make from exporting the entire environment for small machines.
507.NOEXPORT:
508
509.made: $(Program) bashbug
Jari Aaltod166f041997-06-05 14:59:13 +0000510 @echo "$(Program) last made for a $(Machine) running $(OS)" >.made
Jari Aaltoccc6cda1996-12-23 17:02:34 +0000511
Jari Aaltod166f041997-06-05 14:59:13 +0000512$(Program): .build $(OBJECTS) $(BUILTINS_DEP) $(LIBDEP)
Jari Aaltoccc6cda1996-12-23 17:02:34 +0000513 $(RM) $@
Jari Aaltocce855b1998-04-17 19:52:44 +0000514 $(PURIFY) $(CC) $(BUILTINS_LDFLAGS) $(LIBRARY_LDFLAGS) $(LDFLAGS) -o $(Program) $(OBJECTS) $(LIBS)
Jari Aaltoccc6cda1996-12-23 17:02:34 +0000515 ls -l $(Program)
516 size $(Program)
517
Jari Aaltof73dda02001-11-13 17:56:06 +0000518.build: $(SOURCES) config.h Makefile version.h $(VERSPROG)
Jari Aaltoccc6cda1996-12-23 17:02:34 +0000519 @echo
520 @echo " ***********************************************************"
521 @echo " * *"
Jari Aaltof73dda02001-11-13 17:56:06 +0000522 @echo " * `$(BUILD_DIR)/$(VERSPROG) -l`"
Jari Aaltoccc6cda1996-12-23 17:02:34 +0000523 @echo " * *"
524 @echo " ***********************************************************"
525 @echo
526
Jari Aaltof73dda02001-11-13 17:56:06 +0000527bashbug: $(SUPPORT_SRC)bashbug.sh config.h Makefile $(VERSPROG)
Jari Aaltod166f041997-06-05 14:59:13 +0000528 @sed -e "s%!MACHINE!%$(Machine)%" -e "s%!OS!%$(OS)%" \
529 -e "s%!CFLAGS!%$(CCFLAGS)%" -e "s%!CC!%$(CC)%" \
530 -e "s%!RELEASE!%$(Version)%" -e "s%!PATCHLEVEL!%$(PatchLevel)%" \
531 -e "s%!MACHTYPE!%$(MACHTYPE)%" -e "s%!RELSTATUS!%$(RELSTATUS)%" \
Jari Aaltoccc6cda1996-12-23 17:02:34 +0000532 $(SUPPORT_SRC)bashbug.sh > $@
533 @chmod a+rx bashbug
534
535strip: $(Program) .made
536 strip $(Program)
537 ls -l $(Program)
538 size $(Program)
539
Jari Aaltof73dda02001-11-13 17:56:06 +0000540lint:
541 ${MAKE} ${MFLAGS} CFLAGS='${GCC_LINT_FLAGS}' .made
542
Jari Aaltod166f041997-06-05 14:59:13 +0000543version.h: $(SOURCES) config.h Makefile
Jari Aaltof73dda02001-11-13 17:56:06 +0000544 $(SHELL) $(SUPPORT_SRC)mkversion.sh -b -S ${topdir} -s $(RELSTATUS) -d $(Version) -o newversion.h \
Jari Aaltob72432f1999-02-19 17:11:39 +0000545 && mv newversion.h version.h
Jari Aaltoccc6cda1996-12-23 17:02:34 +0000546
Jari Aalto7117c2d2002-07-17 14:10:11 +0000547bashversion$(EXEEXT): patchlevel.h conftypes.h version.h buildversion.o $(SUPPORT_SRC)bashversion.c
548 $(CC_FOR_BUILD) $(CCFLAGS_FOR_BUILD) -o $@ $(SUPPORT_SRC)bashversion.c buildversion.o
549
550buildversion.o: version.h conftypes.h patchlevel.h $(srcdir)/version.c
Jari Aaltob80f6442004-07-27 13:29:18 +0000551 $(CC_FOR_BUILD) $(CCFLAGS_FOR_BUILD) -DBUILDTOOL -c -o $@ $(srcdir)/version.c
Jari Aaltof73dda02001-11-13 17:56:06 +0000552
Jari Aaltoccc6cda1996-12-23 17:02:34 +0000553# old rules
Jari Aaltod166f041997-06-05 14:59:13 +0000554GRAM_H = parser-built
Jari Aaltobb706242000-03-17 21:46:59 +0000555y.tab.o: y.tab.c ${GRAM_H} command.h ${BASHINCDIR}/stdc.h input.h
Jari Aaltod166f041997-06-05 14:59:13 +0000556${GRAM_H}: y.tab.h
557 @-if test -f y.tab.h ; then \
558 cmp -s $@ y.tab.h 2>/dev/null || cp -p y.tab.h $@; \
559 fi
560y.tab.c y.tab.h: parse.y
561# -if test -f y.tab.h; then mv -f y.tab.h old-y.tab.h; fi
Jari Aaltoccc6cda1996-12-23 17:02:34 +0000562 $(YACC) -d $(srcdir)/parse.y
Jari Aaltof73dda02001-11-13 17:56:06 +0000563 touch parser-built
Jari Aaltod166f041997-06-05 14:59:13 +0000564# -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
Jari Aaltoccc6cda1996-12-23 17:02:34 +0000565
566# experimental new rules - work with GNU make but not BSD (or OSF) make
567#y.tab.o: y.tab.c y.tab.h
Jari Aaltobb706242000-03-17 21:46:59 +0000568#y.tab.c y.tab.h: parse.y command.h ${BASHINCDIR}/stdc.h input.h
Jari Aaltoccc6cda1996-12-23 17:02:34 +0000569# -if test -f y.tab.h; then mv -f y.tab.h old-y.tab.h; fi
570# $(YACC) -d $(srcdir)/parse.y
571# -if cmp -s old-y.tab.h y.tab.h; then mv old-y.tab.h y.tab.h; fi
572
573$(READLINE_LIBRARY): config.h $(READLINE_SOURCE)
574 @echo making $@ in ${RL_LIBDIR}
Jari Aaltob72432f1999-02-19 17:11:39 +0000575 @( { test "${RL_LIBDIR}" = "${libdir}" && exit 0; } || \
576 cd ${RL_LIBDIR} && $(MAKE) $(MFLAGS) libreadline.a) || exit 1
Jari Aaltoccc6cda1996-12-23 17:02:34 +0000577
578$(HISTORY_LIBRARY): config.h $(HISTORY_SOURCE)
579 @echo making $@ in ${HIST_LIBDIR}
Jari Aaltob72432f1999-02-19 17:11:39 +0000580 @( { test "${HIST_LIBDIR}" = "${libdir}" && exit 0; } || \
581 cd ${HIST_LIBDIR} && $(MAKE) $(MFLAGS) libhistory.a) || exit 1
Jari Aaltoccc6cda1996-12-23 17:02:34 +0000582
583$(GLOB_LIBRARY): config.h $(GLOB_SOURCE)
584 @echo making $@ in ${GLOB_LIBDIR}
585 @(cd ${GLOB_LIBDIR} && \
Jari Aaltof73dda02001-11-13 17:56:06 +0000586 $(MAKE) $(MFLAGS) DEBUG=${DEBUG} libglob.a) || exit 1
Jari Aaltoccc6cda1996-12-23 17:02:34 +0000587
588$(TILDE_LIBRARY): config.h $(TILDE_SOURCE)
589 @echo making $@ in ${TILDE_LIBDIR}
590 @(cd ${TILDE_LIBDIR} && \
591 $(MAKE) $(MFLAGS) libtilde.a) || exit 1
592
593$(TERMCAP_LIBRARY): config.h ${TERMCAP_SOURCE}
Jari Aaltod166f041997-06-05 14:59:13 +0000594 @echo making $@ in ${TERM_LIBDIR}
595 @(cd ${TERM_LIBDIR} && \
Jari Aaltoccc6cda1996-12-23 17:02:34 +0000596 $(MAKE) $(MFLAGS) libtermcap.a) || exit 1
597
Jari Aaltocce855b1998-04-17 19:52:44 +0000598$(SHLIB_LIBRARY): config.h ${SHLIB_SOURCE}
599 @echo making $@ in ${SH_LIBDIR}
600 @(cd ${SH_LIBDIR} && \
Jari Aaltof73dda02001-11-13 17:56:06 +0000601 $(MAKE) $(MFLAGS) DEBUG=${DEBUG} ${SHLIB_LIBNAME}) || exit 1
Jari Aaltocce855b1998-04-17 19:52:44 +0000602
Jari Aaltob80f6442004-07-27 13:29:18 +0000603${INTL_LIBRARY}: config.h ${INTL_LIBDIR}/Makefile
604 @echo making $@ in ${INTL_LIBDIR}
605 @(cd ${INTL_LIBDIR} && \
606 $(MAKE) $(MFLAGS) all) || exit 1
607
608${LIBINTL_H}: ${INTL_LIBRARY}
609
Jari Aaltobb706242000-03-17 21:46:59 +0000610mksignames$(EXEEXT): $(SUPPORT_SRC)mksignames.c
Jari Aalto7117c2d2002-07-17 14:10:11 +0000611 $(CC_FOR_BUILD) $(CCFLAGS_FOR_BUILD) -o $@ $(SUPPORT_SRC)mksignames.c
Jari Aaltoccc6cda1996-12-23 17:02:34 +0000612
Jari Aaltof73dda02001-11-13 17:56:06 +0000613mksyntax$(EXEEXT): ${srcdir}/mksyntax.c config.h syntax.h ${BASHINCDIR}/chartypes.h
Jari Aalto7117c2d2002-07-17 14:10:11 +0000614 ${CC_FOR_BUILD} ${CCFLAGS_FOR_BUILD} -o $@ ${srcdir}/mksyntax.c
Jari Aalto28ef6c32001-04-06 19:14:31 +0000615
Jari Aaltocce855b1998-04-17 19:52:44 +0000616# make a list of signals for the local system -- this is done when we're
617# *not* cross-compiling
Jari Aaltobb706242000-03-17 21:46:59 +0000618lsignames.h: mksignames$(EXEEXT)
Jari Aaltoccc6cda1996-12-23 17:02:34 +0000619 $(RM) $@
620 ./mksignames $@
621
Jari Aaltocce855b1998-04-17 19:52:44 +0000622# copy the correct signames header file to signames.h
623signames.h: $(SIGNAMES_H)
624 -if cmp -s $(SIGNAMES_H) $@ ; then :; else $(RM) $@ ; $(CP) $(SIGNAMES_H) $@ ; fi
625
Jari Aalto28ef6c32001-04-06 19:14:31 +0000626syntax.c: mksyntax${EXEEXT} $(srcdir)/syntax.h
627 $(RM) $@
628 ./mksyntax -o $@
629
Jari Aaltob80f6442004-07-27 13:29:18 +0000630$(BUILTINS_LIBRARY): $(BUILTIN_DEFS) $(BUILTIN_C_SRC) config.h ${BASHINCDIR}/memalloc.h version.h
Jari Aaltof73dda02001-11-13 17:56:06 +0000631 @(cd $(DEFDIR) && $(MAKE) $(MFLAGS) DEBUG=${DEBUG} libbuiltins.a ) || exit 1
Jari Aaltoccc6cda1996-12-23 17:02:34 +0000632
633# these require special rules to circumvent make builtin rules
Jari Aaltod166f041997-06-05 14:59:13 +0000634${DEFDIR}/common.o: $(BUILTIN_SRCDIR)/common.c
Jari Aaltof73dda02001-11-13 17:56:06 +0000635 @(cd $(DEFDIR) && $(MAKE) $(MFLAGS) DEBUG=${DEBUG} common.o) || exit 1
Jari Aaltoccc6cda1996-12-23 17:02:34 +0000636
Jari Aaltod166f041997-06-05 14:59:13 +0000637${DEFDIR}/bashgetopt.o: $(BUILTIN_SRCDIR)/bashgetopt.c
Jari Aaltof73dda02001-11-13 17:56:06 +0000638 @(cd $(DEFDIR) && $(MAKE) $(MFLAGS) DEBUG=${DEBUG} bashgetopt.o) || exit 1
Jari Aaltoccc6cda1996-12-23 17:02:34 +0000639
Jari Aaltod166f041997-06-05 14:59:13 +0000640${DEFDIR}/builtext.h: $(BUILTIN_DEFS)
Jari Aaltoccc6cda1996-12-23 17:02:34 +0000641 @(cd $(DEFDIR) && $(MAKE) $(MFLAGS) builtext.h ) || exit 1
642
643# For the justification of the following Makefile rules, see node
644# `Automatic Remaking' in GNU Autoconf documentation.
645
Jari Aaltod166f041997-06-05 14:59:13 +0000646Makefile makefile: config.status $(srcdir)/Makefile.in
647 CONFIG_FILES=Makefile CONFIG_HEADERS= $(SHELL) ./config.status
Jari Aaltoccc6cda1996-12-23 17:02:34 +0000648
Jari Aaltob80f6442004-07-27 13:29:18 +0000649pathnames.h: config.status $(srcdir)/Makefile.in
650 CONFIG_HEADERS= $(SHELL) ./config.status
651
Jari Aaltoccc6cda1996-12-23 17:02:34 +0000652Makefiles makefiles: config.status $(srcdir)/Makefile.in
653 @for mf in $(CREATED_MAKEFILES); do \
654 CONFIG_FILES=$$mf CONFIG_HEADERS= $(SHELL) ./config.status ; \
655 done
656
657config.h: stamp-h
658
Jari Aaltob72432f1999-02-19 17:11:39 +0000659stamp-h: config.status $(srcdir)/config.h.in $(srcdir)/config-top.h $(srcdir)/config-bot.h
Jari Aaltoccc6cda1996-12-23 17:02:34 +0000660 CONFIG_FILES= CONFIG_HEADERS=config.h $(SHELL) ./config.status
661
662config.status: $(srcdir)/configure
663 $(SHELL) ./config.status --recheck
664
665# comment out for distribution
Jari Aaltob72432f1999-02-19 17:11:39 +0000666$(srcdir)/configure: $(srcdir)/configure.in $(srcdir)/aclocal.m4 $(srcdir)/config.h.in
667 cd $(srcdir) && autoconf
668
669# for chet
670reconfig: force
671 sh $(srcdir)/configure
Jari Aaltoccc6cda1996-12-23 17:02:34 +0000672
Jari Aaltod166f041997-06-05 14:59:13 +0000673#newversion: mkversion
674# $(RM) .build
675# ./mkversion -dir $(srcdir) -dist
676# mv -f newversion.h version.h
677# $(MAKE) -f $(srcdir)/Makefile $(MFLAGS) srcdir=$(srcdir)
Jari Aaltoccc6cda1996-12-23 17:02:34 +0000678
679doc documentation: force
680 @(cd $(DOCDIR) ; $(MAKE) $(MFLAGS) )
681
682info dvi ps: force
683 @(cd $(DOCDIR) ; $(MAKE) $(MFLAGS) CFLAGS='$(CCFLAGS)' $@ )
684
685force:
686
687tags: $(SOURCES) $(BUILTIN_C_SRC) $(LIBRARY_SOURCE)
688 etags $(SOURCES) $(BUILTIN_C_SRC) $(LIBRARY_SOURCE)
689
690TAGS: $(SOURCES) $(BUILTIN_C_SRC) $(LIBRARY_SOURCE)
691 ctags -x $(SOURCES) $(BUILTIN_C_SRC) $(LIBRARY_SOURCE) > $@
692
693# Targets that actually do things not part of the build
694
695installdirs:
Jari Aaltob80f6442004-07-27 13:29:18 +0000696 @${SHELL} $(SUPPORT_SRC)mkinstalldirs $(DESTDIR)$(bindir)
697 @${SHELL} $(SUPPORT_SRC)mkinstalldirs $(DESTDIR)$(man1dir)
698 @${SHELL} $(SUPPORT_SRC)mkinstalldirs $(DESTDIR)$(infodir)
699 -( cd $(PO_DIR) ; $(MAKE) $(MFLAGS) DESTDIR=$(DESTDIR) $@ )
Jari Aaltoccc6cda1996-12-23 17:02:34 +0000700
701install: .made installdirs
Jari Aaltof73dda02001-11-13 17:56:06 +0000702 $(INSTALL_PROGRAM) $(INSTALLMODE) $(Program) $(DESTDIR)$(bindir)/$(Program)
Jari Aalto7117c2d2002-07-17 14:10:11 +0000703 $(INSTALL_SCRIPT) $(INSTALLMODE2) bashbug $(DESTDIR)$(bindir)/bashbug
Jari Aaltoccc6cda1996-12-23 17:02:34 +0000704 -( cd $(DOCDIR) ; $(MAKE) $(MFLAGS) \
705 man1dir=$(man1dir) man1ext=$(man1ext) \
706 man3dir=$(man3dir) man3ext=$(man3ext) \
Jari Aaltof73dda02001-11-13 17:56:06 +0000707 infodir=$(infodir) htmldir=$(htmldir) DESTDIR=$(DESTDIR) $@ )
Jari Aalto7117c2d2002-07-17 14:10:11 +0000708 -( cd $(DEFDIR) ; $(MAKE) $(MFLAGS) DESTDIR=$(DESTDIR) $@ )
Jari Aaltob80f6442004-07-27 13:29:18 +0000709 -( cd $(PO_DIR) ; $(MAKE) $(MFLAGS) DESTDIR=$(DESTDIR) $@ )
Jari Aaltoccc6cda1996-12-23 17:02:34 +0000710
711install-strip:
712 $(MAKE) $(MFLAGS) INSTALL_PROGRAM='$(INSTALL_PROGRAM) -s' \
Jari Aaltof73dda02001-11-13 17:56:06 +0000713 prefix=${prefix} exec_prefix=${exec_prefix} \
714 DESTDIR=$(DESTDIR) install
Jari Aaltoccc6cda1996-12-23 17:02:34 +0000715
716uninstall: .made
Jari Aaltof73dda02001-11-13 17:56:06 +0000717 $(RM) $(DESTDIR)$(bindir)/$(Program) $(DESTDIR)$(bindir)/bashbug
Jari Aaltoccc6cda1996-12-23 17:02:34 +0000718 -( cd $(DOCDIR) ; $(MAKE) $(MFLAGS) \
719 man1dir=$(man1dir) man1ext=$(man1ext) \
720 man3dir=$(man3dir) man3ext=$(man3ext) \
Jari Aaltof73dda02001-11-13 17:56:06 +0000721 infodir=$(infodir) htmldir=$(htmldir) DESTDIR=$(DESTDIR) $@ )
Jari Aaltob80f6442004-07-27 13:29:18 +0000722 -( cd $(PO_DIR) ; $(MAKE) $(MFLAGS) DESTDIR=$(DESTDIR) $@ )
Jari Aaltoccc6cda1996-12-23 17:02:34 +0000723
Jari Aalto7117c2d2002-07-17 14:10:11 +0000724.PHONY: basic-clean clean realclean maintainer-clean distclean mostlyclean maybe-clean
725
Jari Aaltob80f6442004-07-27 13:29:18 +0000726LIB_SUBDIRS = ${RL_LIBDIR} ${HIST_LIBDIR} ${TERM_LIBDIR} ${GLOB_LIBDIR} \
727 ${INTL_LIBDIR} ${TILDE_LIBDIR} ${ALLOC_LIBDIR} ${SH_LIBDIR}
728
Jari Aaltoccc6cda1996-12-23 17:02:34 +0000729basic-clean:
730 $(RM) $(OBJECTS) $(Program) bashbug
Jari Aaltob80f6442004-07-27 13:29:18 +0000731 $(RM) .build .made version.h pathnames.h
Jari Aaltoccc6cda1996-12-23 17:02:34 +0000732
733clean: basic-clean
734 ( cd $(DOCDIR) && $(MAKE) $(MFLAGS) $@ )
735 ( cd builtins && $(MAKE) $(MFLAGS) $@ )
Jari Aalto7117c2d2002-07-17 14:10:11 +0000736 -( cd $(SDIR) && $(MAKE) $(MFLAGS) $@ )
Jari Aaltob80f6442004-07-27 13:29:18 +0000737 -for libdir in ${LIB_SUBDIRS}; do \
738 (cd $$libdir && test -f Makefile && $(MAKE) $(MFLAGS) $@) ;\
739 done
740 -( cd $(PO_DIR) ; $(MAKE) $(MFLAGS) DESTDIR=$(DESTDIR) $@ )
Jari Aaltoccc6cda1996-12-23 17:02:34 +0000741 $(RM) $(CREATED_SUPPORT)
742
743mostlyclean: basic-clean
744 ( cd $(DOCDIR) && $(MAKE) $(MFLAGS) $@ )
745 ( cd builtins && $(MAKE) $(MFLAGS) $@ )
Jari Aalto7117c2d2002-07-17 14:10:11 +0000746 -( cd $(SDIR) && $(MAKE) $(MFLAGS) $@ )
Jari Aaltob80f6442004-07-27 13:29:18 +0000747 -for libdir in ${LIB_SUBDIRS}; do \
748 (cd $$libdir && test -f Makefile && $(MAKE) $(MFLAGS) $@) ;\
749 done
750 -( cd $(PO_DIR) ; $(MAKE) $(MFLAGS) DESTDIR=$(DESTDIR) $@ )
Jari Aaltoccc6cda1996-12-23 17:02:34 +0000751
Jari Aalto7117c2d2002-07-17 14:10:11 +0000752distclean: basic-clean maybe-clean
Jari Aaltoccc6cda1996-12-23 17:02:34 +0000753 ( cd $(DOCDIR) && $(MAKE) $(MFLAGS) $@ )
754 ( cd builtins && $(MAKE) $(MFLAGS) $@ )
Jari Aalto7117c2d2002-07-17 14:10:11 +0000755 -( cd $(SDIR) && $(MAKE) $(MFLAGS) $@ )
Jari Aaltob80f6442004-07-27 13:29:18 +0000756 -for libdir in ${LIB_SUBDIRS}; do \
757 (cd $$libdir && test -f Makefile && $(MAKE) $(MFLAGS) $@) ;\
758 done
759 -( cd $(PO_DIR) ; $(MAKE) $(MFLAGS) DESTDIR=$(DESTDIR) $@ )
Jari Aaltoccc6cda1996-12-23 17:02:34 +0000760 $(RM) $(CREATED_CONFIGURE) tags TAGS
761 $(RM) $(CREATED_SUPPORT) Makefile $(CREATED_MAKEFILES)
762
763maintainer-clean: basic-clean
764 @echo This command is intended for maintainers to use.
765 @echo It deletes files that may require special tools to rebuild.
Jari Aaltof73dda02001-11-13 17:56:06 +0000766 $(RM) y.tab.c y.tab.h parser-built tags TAGS
Jari Aaltoccc6cda1996-12-23 17:02:34 +0000767 ( cd $(DOCDIR) && $(MAKE) $(MFLAGS) $@ )
768 ( cd builtins && $(MAKE) $(MFLAGS) $@ )
Jari Aalto7117c2d2002-07-17 14:10:11 +0000769 ( cd $(SDIR) && $(MAKE) $(MFLAGS) $@ )
Jari Aaltob80f6442004-07-27 13:29:18 +0000770 -for libdir in ${LIB_SUBDIRS}; do \
771 (cd $$libdir && test -f Makefile && $(MAKE) $(MFLAGS) $@) ;\
772 done
773 -( cd $(PO_DIR) ; $(MAKE) $(MFLAGS) DESTDIR=$(DESTDIR) $@ )
Jari Aaltoccc6cda1996-12-23 17:02:34 +0000774 $(RM) $(CREATED_CONFIGURE) $(CREATED_MAKEFILES)
775 $(RM) $(CREATED_SUPPORT) Makefile
776
Jari Aalto7117c2d2002-07-17 14:10:11 +0000777maybe-clean:
778 -if test "X$(topdir)" != "X$(BUILD_DIR)" ; then \
779 $(RM) parser-built y.tab.c y.tab.h ; \
780 fi
781
Jari Aaltobb706242000-03-17 21:46:59 +0000782recho$(EXEEXT): $(SUPPORT_SRC)recho.c
Jari Aalto7117c2d2002-07-17 14:10:11 +0000783 @$(CC_FOR_BUILD) $(CCFLAGS_FOR_BUILD) -o $@ $(SUPPORT_SRC)recho.c
Jari Aaltoccc6cda1996-12-23 17:02:34 +0000784
Jari Aaltobb706242000-03-17 21:46:59 +0000785zecho$(EXEEXT): $(SUPPORT_SRC)zecho.c
Jari Aalto7117c2d2002-07-17 14:10:11 +0000786 @$(CC_FOR_BUILD) $(CCFLAGS_FOR_BUILD) -o $@ $(SUPPORT_SRC)zecho.c
Jari Aaltoccc6cda1996-12-23 17:02:34 +0000787
Jari Aaltobb706242000-03-17 21:46:59 +0000788printenv$(EXEEXT): $(SUPPORT_SRC)printenv.c
Jari Aalto7117c2d2002-07-17 14:10:11 +0000789 @$(CC_FOR_BUILD) $(CCFLAGS_FOR_BUILD) -o $@ $(SUPPORT_SRC)printenv.c
Jari Aaltod166f041997-06-05 14:59:13 +0000790
Jari Aaltof73dda02001-11-13 17:56:06 +0000791test tests check: force $(Program) $(TESTS_SUPPORT)
Jari Aaltoccc6cda1996-12-23 17:02:34 +0000792 @-test -d tests || mkdir tests
Jari Aaltod166f041997-06-05 14:59:13 +0000793 @cp $(TESTS_SUPPORT) tests
Jari Aaltoccc6cda1996-12-23 17:02:34 +0000794 @( cd $(srcdir)/tests && \
Jari Aaltocce855b1998-04-17 19:52:44 +0000795 PATH=$$PATH:$(BUILD_DIR)/tests THIS_SH=$(THIS_SH) $(SHELL) ${TESTSCRIPT} )
Jari Aaltoccc6cda1996-12-23 17:02:34 +0000796
797symlinks:
798 $(SHELL) $(SUPPORT_SRC)fixlinks -s $(srcdir)
799
800dist: force
801 @echo Bash distributions are created using $(srcdir)/support/mkdist.
802 @echo Here is a sample of the necessary commands:
Jari Aaltob80f6442004-07-27 13:29:18 +0000803 @echo $(Program) $(srcdir)/support/mkdist -m $(srcdir)/MANIFEST -s $(srcdir) -r ${PACKAGE} $(PACKAGE_VERSION)
804 @echo tar cf $(PACKAGE)-${PACKAGE_VERSION}.tar ${PACKAGE}-$(PACKAGE_VERSION)
805 @echo gzip $(PACKAGE)-$(PACKAGE_VERSION).tar
Jari Aaltod166f041997-06-05 14:59:13 +0000806
807depend: depends
808
Jari Aaltobb706242000-03-17 21:46:59 +0000809depends: force
Jari Aaltod166f041997-06-05 14:59:13 +0000810 $(Program) $(SUPPORT_SRC)mkdep -c ${CC} -- ${CCFLAGS} ${CSOURCES}
Jari Aaltoccc6cda1996-12-23 17:02:34 +0000811
Jari Aaltof73dda02001-11-13 17:56:06 +0000812#### PRIVATE TARGETS ####
813hashtest: hashlib.c
814 $(CC) -DTEST_HASHING $(CCFLAGS) -o $@ $(srcdir)/hashlib.c
815
Jari Aaltoccc6cda1996-12-23 17:02:34 +0000816############################ DEPENDENCIES ###############################
817
Jari Aaltob72432f1999-02-19 17:11:39 +0000818# Files that depend on the definitions in config-top.h, which are not meant
Jari Aaltoccc6cda1996-12-23 17:02:34 +0000819# to be changed
Jari Aaltob72432f1999-02-19 17:11:39 +0000820shell.o: config-top.h
821input.o: config-top.h
822y.tab.o: config-top.h
823jobs.o: config-top.h
824nojobs.o: config-top.h
825execute_cmd.o: config-top.h
826variables.o: config-top.h
827builtins/command.o: config-top.h
828builtins/common.o: config-top.h
829builtins/break.o: config-top.h
830builtins/echo.o: config-top.h
831builtins/evalstring.o: config-top.h
832builtins/exit.o: config-top.h
833builtins/kill.o: config-top.h
Jari Aaltoccc6cda1996-12-23 17:02:34 +0000834
Jari Aaltod166f041997-06-05 14:59:13 +0000835# shell basics
Jari Aalto28ef6c32001-04-06 19:14:31 +0000836copy_cmd.o: shell.h syntax.h config.h bashjmp.h ${BASHINCDIR}/posixjmp.h command.h ${BASHINCDIR}/stdc.h error.h
Jari Aaltof73dda02001-11-13 17:56:06 +0000837copy_cmd.o: general.h xmalloc.h bashtypes.h variables.h arrayfunc.h conftypes.h array.h hashlib.h
Jari Aaltobb706242000-03-17 21:46:59 +0000838copy_cmd.o: quit.h ${BASHINCDIR}/maxpath.h unwind_prot.h dispose_cmd.h
Jari Aaltod166f041997-06-05 14:59:13 +0000839copy_cmd.o: make_cmd.h subst.h sig.h pathnames.h externs.h
Jari Aaltobb706242000-03-17 21:46:59 +0000840dispose_cmd.o: bashansi.h ${BASHINCDIR}/ansi_stdlib.h
Jari Aalto28ef6c32001-04-06 19:14:31 +0000841dispose_cmd.o: shell.h syntax.h config.h bashjmp.h ${BASHINCDIR}/posixjmp.h command.h ${BASHINCDIR}/stdc.h
Jari Aaltof73dda02001-11-13 17:56:06 +0000842dispose_cmd.o: error.h general.h xmalloc.h bashtypes.h variables.h arrayfunc.h conftypes.h array.h hashlib.h
Jari Aaltobb706242000-03-17 21:46:59 +0000843dispose_cmd.o: quit.h ${BASHINCDIR}/maxpath.h unwind_prot.h dispose_cmd.h
Jari Aaltod166f041997-06-05 14:59:13 +0000844dispose_cmd.o: make_cmd.h subst.h sig.h pathnames.h externs.h
Jari Aalto7117c2d2002-07-17 14:10:11 +0000845dispose_cmd.o: ${BASHINCDIR}/ocache.h
Jari Aaltobb706242000-03-17 21:46:59 +0000846error.o: config.h bashtypes.h bashansi.h ${BASHINCDIR}/ansi_stdlib.h flags.h ${BASHINCDIR}/stdc.h error.h
Jari Aaltof73dda02001-11-13 17:56:06 +0000847error.o: command.h general.h xmalloc.h externs.h input.h bashhist.h
Jari Aaltob80f6442004-07-27 13:29:18 +0000848error.o: shell.h syntax.h config.h bashjmp.h ${BASHINCDIR}/posixjmp.h command.h ${BASHINCDIR}/stdc.h error.h
849error.o: general.h xmalloc.h bashtypes.h variables.h arrayfunc.h conftypes.h array.h hashlib.h
850error.o: quit.h ${BASHINCDIR}/maxpath.h unwind_prot.h dispose_cmd.h
851error.o: make_cmd.h subst.h sig.h pathnames.h externs.h
852error.o: input.h execute_cmd.h
Jari Aaltobb706242000-03-17 21:46:59 +0000853eval.o: config.h bashansi.h ${BASHINCDIR}/ansi_stdlib.h trap.h flags.h ${DEFSRC}/common.h
Jari Aalto28ef6c32001-04-06 19:14:31 +0000854eval.o: shell.h syntax.h config.h bashjmp.h ${BASHINCDIR}/posixjmp.h command.h ${BASHINCDIR}/stdc.h error.h
Jari Aaltof73dda02001-11-13 17:56:06 +0000855eval.o: general.h xmalloc.h bashtypes.h variables.h arrayfunc.h conftypes.h array.h hashlib.h
Jari Aaltobb706242000-03-17 21:46:59 +0000856eval.o: quit.h ${BASHINCDIR}/maxpath.h unwind_prot.h dispose_cmd.h
Jari Aaltod166f041997-06-05 14:59:13 +0000857eval.o: make_cmd.h subst.h sig.h pathnames.h externs.h
Jari Aaltob80f6442004-07-27 13:29:18 +0000858eval.o: input.h execute_cmd.h
Jari Aaltobb706242000-03-17 21:46:59 +0000859execute_cmd.o: config.h bashtypes.h ${BASHINCDIR}/filecntl.h ${BASHINCDIR}/posixstat.h bashansi.h ${BASHINCDIR}/ansi_stdlib.h
Jari Aalto28ef6c32001-04-06 19:14:31 +0000860execute_cmd.o: shell.h syntax.h config.h bashjmp.h ${BASHINCDIR}/posixjmp.h command.h ${BASHINCDIR}/stdc.h error.h
Jari Aaltof73dda02001-11-13 17:56:06 +0000861execute_cmd.o: general.h xmalloc.h bashtypes.h variables.h arrayfunc.h conftypes.h array.h hashlib.h
Jari Aaltobb706242000-03-17 21:46:59 +0000862execute_cmd.o: quit.h ${BASHINCDIR}/maxpath.h unwind_prot.h dispose_cmd.h
Jari Aaltob80f6442004-07-27 13:29:18 +0000863execute_cmd.o: make_cmd.h subst.h sig.h pathnames.h externs.h
Jari Aaltobb706242000-03-17 21:46:59 +0000864execute_cmd.o: ${BASHINCDIR}/memalloc.h ${GRAM_H} flags.h builtins.h jobs.h quit.h siglist.h
Jari Aaltocce855b1998-04-17 19:52:44 +0000865execute_cmd.o: execute_cmd.h findcmd.h redir.h trap.h test.h pathexp.h
Jari Aaltof73dda02001-11-13 17:56:06 +0000866execute_cmd.o: $(DEFSRC)/common.h ${DEFDIR}/builtext.h ${GLOB_LIBSRC}/strmatch.h
867execute_cmd.o: ${BASHINCDIR}/posixtime.h ${BASHINCDIR}/chartypes.h
Jari Aaltob80f6442004-07-27 13:29:18 +0000868expr.o: config.h bashansi.h ${BASHINCDIR}/ansi_stdlib.h
Jari Aalto28ef6c32001-04-06 19:14:31 +0000869expr.o: shell.h syntax.h config.h bashjmp.h ${BASHINCDIR}/posixjmp.h command.h ${BASHINCDIR}/stdc.h error.h
Jari Aaltof73dda02001-11-13 17:56:06 +0000870expr.o: general.h xmalloc.h bashtypes.h variables.h arrayfunc.h conftypes.h array.h hashlib.h
Jari Aaltobb706242000-03-17 21:46:59 +0000871expr.o: quit.h ${BASHINCDIR}/maxpath.h unwind_prot.h dispose_cmd.h
Jari Aaltod166f041997-06-05 14:59:13 +0000872expr.o: make_cmd.h subst.h sig.h pathnames.h externs.h
Jari Aaltof73dda02001-11-13 17:56:06 +0000873expr.o: ${BASHINCDIR}/chartypes.h
Jari Aaltobb706242000-03-17 21:46:59 +0000874findcmd.o: config.h bashtypes.h ${BASHINCDIR}/filecntl.h ${BASHINCDIR}/posixstat.h bashansi.h
Jari Aalto28ef6c32001-04-06 19:14:31 +0000875findcmd.o: ${BASHINCDIR}/ansi_stdlib.h ${BASHINCDIR}/memalloc.h shell.h syntax.h bashjmp.h ${BASHINCDIR}/posixjmp.h command.h
Jari Aaltof73dda02001-11-13 17:56:06 +0000876findcmd.o: ${BASHINCDIR}/stdc.h error.h general.h xmalloc.h variables.h arrayfunc.h conftypes.h quit.h ${BASHINCDIR}/maxpath.h unwind_prot.h
Jari Aaltocce855b1998-04-17 19:52:44 +0000877findcmd.o: dispose_cmd.h make_cmd.h subst.h sig.h pathnames.h externs.h
878findcmd.o: flags.h hashlib.h pathexp.h hashcmd.h
Jari Aaltof73dda02001-11-13 17:56:06 +0000879findcmd.o: ${BASHINCDIR}/chartypes.h
Jari Aaltob80f6442004-07-27 13:29:18 +0000880flags.o: config.h flags.h
Jari Aalto28ef6c32001-04-06 19:14:31 +0000881flags.o: shell.h syntax.h config.h bashjmp.h ${BASHINCDIR}/posixjmp.h command.h ${BASHINCDIR}/stdc.h error.h
Jari Aaltof73dda02001-11-13 17:56:06 +0000882flags.o: general.h xmalloc.h bashtypes.h variables.h arrayfunc.h conftypes.h array.h hashlib.h
Jari Aaltobb706242000-03-17 21:46:59 +0000883flags.o: quit.h ${BASHINCDIR}/maxpath.h unwind_prot.h dispose_cmd.h
Jari Aaltof73dda02001-11-13 17:56:06 +0000884flags.o: make_cmd.h subst.h sig.h pathnames.h externs.h bashhist.h
Jari Aaltobb706242000-03-17 21:46:59 +0000885general.o: config.h bashtypes.h ${BASHINCDIR}/posixstat.h ${BASHINCDIR}/filecntl.h bashansi.h ${BASHINCDIR}/ansi_stdlib.h
Jari Aalto28ef6c32001-04-06 19:14:31 +0000886general.o: shell.h syntax.h config.h bashjmp.h ${BASHINCDIR}/posixjmp.h command.h ${BASHINCDIR}/stdc.h error.h
Jari Aaltof73dda02001-11-13 17:56:06 +0000887general.o: general.h xmalloc.h bashtypes.h variables.h arrayfunc.h conftypes.h array.h hashlib.h
Jari Aaltobb706242000-03-17 21:46:59 +0000888general.o: quit.h ${BASHINCDIR}/maxpath.h unwind_prot.h dispose_cmd.h
Jari Aaltob80f6442004-07-27 13:29:18 +0000889general.o: make_cmd.h subst.h sig.h pathnames.h externs.h
Jari Aaltobb706242000-03-17 21:46:59 +0000890general.o: ${BASHINCDIR}/maxpath.h ${BASHINCDIR}/posixtime.h
Jari Aaltof73dda02001-11-13 17:56:06 +0000891general.o: ${BASHINCDIR}/chartypes.h
Jari Aaltobb706242000-03-17 21:46:59 +0000892hashcmd.o: config.h ${BASHINCDIR}/posixstat.h bashtypes.h bashansi.h ${BASHINCDIR}/ansi_stdlib.h
Jari Aalto28ef6c32001-04-06 19:14:31 +0000893hashcmd.o: shell.h syntax.h config.h bashjmp.h ${BASHINCDIR}/posixjmp.h command.h ${BASHINCDIR}/stdc.h error.h
Jari Aaltof73dda02001-11-13 17:56:06 +0000894hashcmd.o: general.h xmalloc.h bashtypes.h variables.h arrayfunc.h conftypes.h array.h hashcmd.h
Jari Aalto7117c2d2002-07-17 14:10:11 +0000895hashcmd.o: execute_cmd.h findcmd.h ${BASHINCDIR}/stdc.h hashlib.h
Jari Aaltobb706242000-03-17 21:46:59 +0000896hashlib.o: config.h bashansi.h ${BASHINCDIR}/ansi_stdlib.h
Jari Aalto28ef6c32001-04-06 19:14:31 +0000897hashlib.o: shell.h syntax.h config.h bashjmp.h ${BASHINCDIR}/posixjmp.h command.h ${BASHINCDIR}/stdc.h error.h
Jari Aaltof73dda02001-11-13 17:56:06 +0000898hashlib.o: general.h xmalloc.h bashtypes.h variables.h arrayfunc.h conftypes.h array.h hashlib.h
Jari Aaltobb706242000-03-17 21:46:59 +0000899hashlib.o: quit.h ${BASHINCDIR}/maxpath.h unwind_prot.h dispose_cmd.h
Jari Aaltob80f6442004-07-27 13:29:18 +0000900hashlib.o: make_cmd.h subst.h sig.h pathnames.h externs.h
Jari Aaltobb706242000-03-17 21:46:59 +0000901input.o: config.h bashtypes.h ${BASHINCDIR}/filecntl.h ${BASHINCDIR}/posixstat.h bashansi.h ${BASHINCDIR}/ansi_stdlib.h
Jari Aaltof73dda02001-11-13 17:56:06 +0000902input.o: command.h ${BASHINCDIR}/stdc.h general.h xmalloc.h input.h error.h externs.h
Jari Aalto28ef6c32001-04-06 19:14:31 +0000903list.o: shell.h syntax.h config.h bashjmp.h ${BASHINCDIR}/posixjmp.h command.h ${BASHINCDIR}/stdc.h error.h
Jari Aaltof73dda02001-11-13 17:56:06 +0000904list.o: general.h xmalloc.h bashtypes.h variables.h arrayfunc.h conftypes.h array.h hashlib.h
Jari Aaltobb706242000-03-17 21:46:59 +0000905list.o: quit.h ${BASHINCDIR}/maxpath.h unwind_prot.h dispose_cmd.h
Jari Aaltob80f6442004-07-27 13:29:18 +0000906list.o: make_cmd.h subst.h sig.h pathnames.h externs.h
907locale.o: config.h bashtypes.h bashintl.h ${LIBINTL_H} bashansi.h ${BASHINCDIR}/ansi_stdlib.h
Jari Aalto28ef6c32001-04-06 19:14:31 +0000908locale.o: shell.h syntax.h config.h bashjmp.h ${BASHINCDIR}/posixjmp.h command.h ${BASHINCDIR}/stdc.h error.h
Jari Aaltof73dda02001-11-13 17:56:06 +0000909locale.o: general.h xmalloc.h bashtypes.h variables.h arrayfunc.h conftypes.h array.h hashlib.h
Jari Aaltobb706242000-03-17 21:46:59 +0000910locale.o: quit.h ${BASHINCDIR}/maxpath.h unwind_prot.h dispose_cmd.h
Jari Aaltob80f6442004-07-27 13:29:18 +0000911locale.o: make_cmd.h subst.h sig.h pathnames.h externs.h
Jari Aaltof73dda02001-11-13 17:56:06 +0000912locale.o: ${BASHINCDIR}/chartypes.h
Jari Aaltobb706242000-03-17 21:46:59 +0000913mailcheck.o: config.h bashtypes.h ${BASHINCDIR}/posixstat.h bashansi.h ${BASHINCDIR}/ansi_stdlib.h
Jari Aaltof73dda02001-11-13 17:56:06 +0000914mailcheck.o: ${BASHINCDIR}/posixtime.h
Jari Aalto28ef6c32001-04-06 19:14:31 +0000915mailcheck.o: shell.h syntax.h config.h bashjmp.h ${BASHINCDIR}/posixjmp.h command.h ${BASHINCDIR}/stdc.h error.h
Jari Aaltof73dda02001-11-13 17:56:06 +0000916mailcheck.o: general.h xmalloc.h bashtypes.h variables.h arrayfunc.h conftypes.h array.h hashlib.h
Jari Aaltobb706242000-03-17 21:46:59 +0000917mailcheck.o: quit.h ${BASHINCDIR}/maxpath.h unwind_prot.h dispose_cmd.h
Jari Aaltod166f041997-06-05 14:59:13 +0000918mailcheck.o: make_cmd.h subst.h sig.h pathnames.h externs.h
Jari Aaltob80f6442004-07-27 13:29:18 +0000919mailcheck.o: execute_cmd.h mailcheck.h
Jari Aaltobb706242000-03-17 21:46:59 +0000920make_cmd.o: config.h bashtypes.h ${BASHINCDIR}/filecntl.h bashansi.h
Jari Aaltof73dda02001-11-13 17:56:06 +0000921make_cmd.o: command.h ${BASHINCDIR}/stdc.h general.h xmalloc.h error.h flags.h make_cmd.h
922make_cmd.o: variables.h arrayfunc.h conftypes.h array.h hashlib.h subst.h input.h externs.h
Jari Aalto7117c2d2002-07-17 14:10:11 +0000923make_cmd.o: jobs.h quit.h siglist.h syntax.h dispose_cmd.h
924make_cmd.o: ${BASHINCDIR}/shmbutil.h ${BASHINCDIR}/ocache.h
Jari Aaltobb706242000-03-17 21:46:59 +0000925y.tab.o: config.h bashtypes.h bashansi.h ${BASHINCDIR}/ansi_stdlib.h ${BASHINCDIR}/memalloc.h
Jari Aalto28ef6c32001-04-06 19:14:31 +0000926y.tab.o: shell.h syntax.h config.h bashjmp.h ${BASHINCDIR}/posixjmp.h command.h ${BASHINCDIR}/stdc.h error.h
Jari Aaltof73dda02001-11-13 17:56:06 +0000927y.tab.o: general.h xmalloc.h bashtypes.h variables.h arrayfunc.h conftypes.h array.h hashlib.h
Jari Aaltobb706242000-03-17 21:46:59 +0000928y.tab.o: quit.h ${BASHINCDIR}/maxpath.h unwind_prot.h dispose_cmd.h
Jari Aaltof73dda02001-11-13 17:56:06 +0000929y.tab.o: make_cmd.h subst.h sig.h pathnames.h externs.h test.h
Jari Aaltod166f041997-06-05 14:59:13 +0000930y.tab.o: trap.h flags.h parser.h input.h mailcheck.h $(DEFSRC)/common.h
931y.tab.o: $(DEFDIR)/builtext.h bashline.h bashhist.h jobs.h siglist.h alias.h
Jari Aaltobb706242000-03-17 21:46:59 +0000932pathexp.o: config.h bashtypes.h bashansi.h ${BASHINCDIR}/ansi_stdlib.h
Jari Aalto28ef6c32001-04-06 19:14:31 +0000933pathexp.o: shell.h syntax.h config.h bashjmp.h ${BASHINCDIR}/posixjmp.h command.h ${BASHINCDIR}/stdc.h error.h
Jari Aaltof73dda02001-11-13 17:56:06 +0000934pathexp.o: general.h xmalloc.h bashtypes.h variables.h arrayfunc.h conftypes.h array.h hashlib.h
Jari Aaltobb706242000-03-17 21:46:59 +0000935pathexp.o: quit.h ${BASHINCDIR}/maxpath.h unwind_prot.h dispose_cmd.h
Jari Aaltod166f041997-06-05 14:59:13 +0000936pathexp.o: make_cmd.h subst.h sig.h pathnames.h externs.h
937pathexp.o: pathexp.h flags.h
Jari Aaltof73dda02001-11-13 17:56:06 +0000938pathexp.o: $(GLOB_LIBSRC)/glob.h $(GLOB_LIBSRC)/strmatch.h
Jari Aalto7117c2d2002-07-17 14:10:11 +0000939pathexp.o: ${BASHINCDIR}/shmbutil.h
Jari Aaltobb706242000-03-17 21:46:59 +0000940print_cmd.o: config.h bashansi.h ${BASHINCDIR}/ansi_stdlib.h
Jari Aalto28ef6c32001-04-06 19:14:31 +0000941print_cmd.o: shell.h syntax.h config.h bashjmp.h ${BASHINCDIR}/posixjmp.h command.h ${BASHINCDIR}/stdc.h error.h
Jari Aaltof73dda02001-11-13 17:56:06 +0000942print_cmd.o: general.h xmalloc.h bashtypes.h variables.h arrayfunc.h conftypes.h array.h hashlib.h
Jari Aaltobb706242000-03-17 21:46:59 +0000943print_cmd.o: quit.h ${BASHINCDIR}/maxpath.h unwind_prot.h dispose_cmd.h
Jari Aaltob80f6442004-07-27 13:29:18 +0000944print_cmd.o: make_cmd.h subst.h sig.h pathnames.h externs.h
Jari Aaltod166f041997-06-05 14:59:13 +0000945print_cmd.o: ${GRAM_H} $(DEFSRC)/common.h
Jari Aaltobb706242000-03-17 21:46:59 +0000946redir.o: config.h bashtypes.h ${BASHINCDIR}/posixstat.h bashansi.h ${BASHINCDIR}/ansi_stdlib.h ${BASHINCDIR}/filecntl.h
Jari Aalto28ef6c32001-04-06 19:14:31 +0000947redir.o: ${BASHINCDIR}/memalloc.h shell.h syntax.h bashjmp.h ${BASHINCDIR}/posixjmp.h command.h ${BASHINCDIR}/stdc.h error.h
Jari Aaltof73dda02001-11-13 17:56:06 +0000948redir.o: general.h xmalloc.h variables.h arrayfunc.h conftypes.h array.h hashlib.h quit.h ${BASHINCDIR}/maxpath.h unwind_prot.h
Jari Aaltob80f6442004-07-27 13:29:18 +0000949redir.o: dispose_cmd.h make_cmd.h subst.h sig.h pathnames.h externs.h
Jari Aaltocce855b1998-04-17 19:52:44 +0000950redir.o: flags.h execute_cmd.h redir.h input.h
Jari Aaltobb706242000-03-17 21:46:59 +0000951shell.o: config.h bashtypes.h ${BASHINCDIR}/posixstat.h bashansi.h ${BASHINCDIR}/ansi_stdlib.h ${BASHINCDIR}/filecntl.h
Jari Aalto28ef6c32001-04-06 19:14:31 +0000952shell.o: shell.h syntax.h config.h bashjmp.h ${BASHINCDIR}/posixjmp.h command.h ${BASHINCDIR}/stdc.h error.h
Jari Aaltof73dda02001-11-13 17:56:06 +0000953shell.o: general.h xmalloc.h bashtypes.h variables.h arrayfunc.h conftypes.h array.h hashlib.h
Jari Aaltobb706242000-03-17 21:46:59 +0000954shell.o: quit.h ${BASHINCDIR}/maxpath.h unwind_prot.h dispose_cmd.h
Jari Aaltob80f6442004-07-27 13:29:18 +0000955shell.o: make_cmd.h subst.h sig.h pathnames.h externs.h
Jari Aaltod166f041997-06-05 14:59:13 +0000956shell.o: flags.h trap.h mailcheck.h builtins.h $(DEFSRC)/common.h
Jari Aaltocce855b1998-04-17 19:52:44 +0000957shell.o: jobs.h siglist.h input.h execute_cmd.h findcmd.h bashhist.h
Jari Aaltof73dda02001-11-13 17:56:06 +0000958shell.o: ${GLOB_LIBSRC}/strmatch.h ${BASHINCDIR}/posixtime.h
Jari Aaltod166f041997-06-05 14:59:13 +0000959sig.o: config.h bashtypes.h
Jari Aalto28ef6c32001-04-06 19:14:31 +0000960sig.o: shell.h syntax.h config.h bashjmp.h ${BASHINCDIR}/posixjmp.h command.h ${BASHINCDIR}/stdc.h error.h
Jari Aaltof73dda02001-11-13 17:56:06 +0000961sig.o: general.h xmalloc.h bashtypes.h variables.h arrayfunc.h conftypes.h array.h hashlib.h
Jari Aaltobb706242000-03-17 21:46:59 +0000962sig.o: quit.h ${BASHINCDIR}/maxpath.h unwind_prot.h dispose_cmd.h
Jari Aaltob80f6442004-07-27 13:29:18 +0000963sig.o: make_cmd.h subst.h sig.h pathnames.h externs.h
Jari Aaltod166f041997-06-05 14:59:13 +0000964sig.o: jobs.h siglist.h trap.h $(DEFSRC)/common.h bashline.h bashhist.h
965siglist.o: config.h bashtypes.h siglist.h trap.h
Jari Aaltof73dda02001-11-13 17:56:06 +0000966stringlib.o: bashtypes.h ${BASHINCDIR}/chartypes.h
Jari Aalto28ef6c32001-04-06 19:14:31 +0000967stringlib.o: shell.h syntax.h config.h bashjmp.h ${BASHINCDIR}/posixjmp.h command.h ${BASHINCDIR}/stdc.h error.h
Jari Aaltof73dda02001-11-13 17:56:06 +0000968stringlib.o: general.h xmalloc.h bashtypes.h variables.h arrayfunc.h conftypes.h array.h hashlib.h
Jari Aaltobb706242000-03-17 21:46:59 +0000969stringlib.o: quit.h ${BASHINCDIR}/maxpath.h unwind_prot.h dispose_cmd.h
Jari Aaltob80f6442004-07-27 13:29:18 +0000970stringlib.o: make_cmd.h subst.h sig.h pathnames.h externs.h
Jari Aaltof73dda02001-11-13 17:56:06 +0000971stringlib.o: ${GLOB_LIBSRC}/glob.h ${GLOB_LIBSRC}/strmatch.h
Jari Aaltobb706242000-03-17 21:46:59 +0000972subst.o: config.h bashtypes.h bashansi.h ${BASHINCDIR}/ansi_stdlib.h ${BASHINCDIR}/posixstat.h
Jari Aalto28ef6c32001-04-06 19:14:31 +0000973subst.o: shell.h syntax.h config.h bashjmp.h ${BASHINCDIR}/posixjmp.h command.h ${BASHINCDIR}/stdc.h error.h
Jari Aaltof73dda02001-11-13 17:56:06 +0000974subst.o: general.h xmalloc.h bashtypes.h variables.h arrayfunc.h conftypes.h array.h hashlib.h
Jari Aaltobb706242000-03-17 21:46:59 +0000975subst.o: quit.h ${BASHINCDIR}/maxpath.h unwind_prot.h dispose_cmd.h
Jari Aaltob80f6442004-07-27 13:29:18 +0000976subst.o: make_cmd.h subst.h sig.h pathnames.h externs.h
Jari Aaltobb706242000-03-17 21:46:59 +0000977subst.o: flags.h jobs.h siglist.h execute_cmd.h ${BASHINCDIR}/filecntl.h trap.h pathexp.h
Jari Aaltod166f041997-06-05 14:59:13 +0000978subst.o: mailcheck.h input.h $(DEFSRC)/getopt.h $(DEFSRC)/common.h
Jari Aaltof73dda02001-11-13 17:56:06 +0000979subst.o: bashline.h bashhist.h ${GLOB_LIBSRC}/strmatch.h
980subst.o: ${BASHINCDIR}/chartypes.h
Jari Aalto7117c2d2002-07-17 14:10:11 +0000981subst.o: ${BASHINCDIR}/shmbutil.h
Jari Aaltobb706242000-03-17 21:46:59 +0000982test.o: bashtypes.h ${BASHINCDIR}/posixstat.h ${BASHINCDIR}/filecntl.h
Jari Aalto28ef6c32001-04-06 19:14:31 +0000983test.o: shell.h syntax.h config.h bashjmp.h ${BASHINCDIR}/posixjmp.h command.h ${BASHINCDIR}/stdc.h error.h
Jari Aaltof73dda02001-11-13 17:56:06 +0000984test.o: general.h xmalloc.h bashtypes.h variables.h arrayfunc.h conftypes.h array.h hashlib.h
Jari Aaltobb706242000-03-17 21:46:59 +0000985test.o: quit.h ${BASHINCDIR}/maxpath.h unwind_prot.h dispose_cmd.h
Jari Aaltocce855b1998-04-17 19:52:44 +0000986test.o: make_cmd.h subst.h sig.h pathnames.h externs.h test.h
Jari Aaltob80f6442004-07-27 13:29:18 +0000987test.o: ${DEFSRC}/common.h
Jari Aaltobb706242000-03-17 21:46:59 +0000988trap.o: config.h bashtypes.h trap.h bashansi.h ${BASHINCDIR}/ansi_stdlib.h
Jari Aalto28ef6c32001-04-06 19:14:31 +0000989trap.o: shell.h syntax.h config.h bashjmp.h ${BASHINCDIR}/posixjmp.h command.h ${BASHINCDIR}/stdc.h error.h
Jari Aaltof73dda02001-11-13 17:56:06 +0000990trap.o: general.h xmalloc.h bashtypes.h variables.h arrayfunc.h conftypes.h array.h hashlib.h
Jari Aaltobb706242000-03-17 21:46:59 +0000991trap.o: quit.h ${BASHINCDIR}/maxpath.h unwind_prot.h dispose_cmd.h
Jari Aaltob80f6442004-07-27 13:29:18 +0000992trap.o: make_cmd.h subst.h sig.h pathnames.h externs.h
Jari Aaltod166f041997-06-05 14:59:13 +0000993trap.o: signames.h $(DEFSRC)/common.h
Jari Aaltob80f6442004-07-27 13:29:18 +0000994trap.o: ${DEFDIR}/builtext.h
Jari Aaltobb706242000-03-17 21:46:59 +0000995unwind_prot.o: config.h bashtypes.h bashansi.h ${BASHINCDIR}/ansi_stdlib.h command.h ${BASHINCDIR}/stdc.h
Jari Aaltof73dda02001-11-13 17:56:06 +0000996unwind_prot.o: general.h xmalloc.h unwind_prot.h quit.h sig.h
Jari Aaltobb706242000-03-17 21:46:59 +0000997variables.o: config.h bashtypes.h ${BASHINCDIR}/posixstat.h bashansi.h ${BASHINCDIR}/ansi_stdlib.h
Jari Aalto28ef6c32001-04-06 19:14:31 +0000998variables.o: shell.h syntax.h config.h bashjmp.h ${BASHINCDIR}/posixjmp.h command.h ${BASHINCDIR}/stdc.h error.h
Jari Aaltof73dda02001-11-13 17:56:06 +0000999variables.o: general.h xmalloc.h bashtypes.h variables.h arrayfunc.h conftypes.h array.h hashlib.h
Jari Aaltobb706242000-03-17 21:46:59 +00001000variables.o: quit.h ${BASHINCDIR}/maxpath.h unwind_prot.h dispose_cmd.h
Jari Aaltob80f6442004-07-27 13:29:18 +00001001variables.o: make_cmd.h subst.h sig.h pathnames.h externs.h
Jari Aaltocce855b1998-04-17 19:52:44 +00001002variables.o: flags.h execute_cmd.h mailcheck.h input.h $(DEFSRC)/common.h
Jari Aaltof73dda02001-11-13 17:56:06 +00001003variables.o: findcmd.h bashhist.h hashcmd.h pathexp.h
Jari Aaltob80f6442004-07-27 13:29:18 +00001004variables.o: pcomplete.h ${BASHINCDIR}/chartypes.h
Jari Aaltof73dda02001-11-13 17:56:06 +00001005variables.o: ${BASHINCDIR}/posixtime.h
Jari Aaltob80f6442004-07-27 13:29:18 +00001006version.o: conftypes.h patchlevel.h version.h
Jari Aaltobb706242000-03-17 21:46:59 +00001007xmalloc.o: config.h bashtypes.h ${BASHINCDIR}/ansi_stdlib.h error.h
Jari Aaltoccc6cda1996-12-23 17:02:34 +00001008
Jari Aaltod166f041997-06-05 14:59:13 +00001009# job control
Jari Aaltoccc6cda1996-12-23 17:02:34 +00001010
Jari Aaltobb706242000-03-17 21:46:59 +00001011jobs.o: config.h bashtypes.h trap.h ${BASHINCDIR}/filecntl.h input.h ${BASHINCDIR}/shtty.h
1012jobs.o: bashansi.h ${BASHINCDIR}/ansi_stdlib.h
Jari Aalto28ef6c32001-04-06 19:14:31 +00001013jobs.o: shell.h syntax.h config.h bashjmp.h ${BASHINCDIR}/posixjmp.h command.h ${BASHINCDIR}/stdc.h error.h
Jari Aaltof73dda02001-11-13 17:56:06 +00001014jobs.o: general.h xmalloc.h bashtypes.h variables.h arrayfunc.h conftypes.h array.h hashlib.h
Jari Aaltobb706242000-03-17 21:46:59 +00001015jobs.o: quit.h ${BASHINCDIR}/maxpath.h unwind_prot.h dispose_cmd.h
Jari Aaltob80f6442004-07-27 13:29:18 +00001016jobs.o: make_cmd.h subst.h sig.h pathnames.h externs.h
Jari Aaltod166f041997-06-05 14:59:13 +00001017jobs.o: jobs.h flags.h $(DEFSRC)/common.h $(DEFDIR)/builtext.h
Jari Aaltobb706242000-03-17 21:46:59 +00001018jobs.o: ${BASHINCDIR}/posixwait.h ${BASHINCDIR}/unionwait.h
Jari Aaltof73dda02001-11-13 17:56:06 +00001019jobs.o: ${BASHINCDIR}/posixtime.h
Jari Aaltobb706242000-03-17 21:46:59 +00001020nojobs.o: config.h bashtypes.h ${BASHINCDIR}/filecntl.h bashjmp.h ${BASHINCDIR}/posixjmp.h
Jari Aaltof73dda02001-11-13 17:56:06 +00001021nojobs.o: command.h ${BASHINCDIR}/stdc.h general.h xmalloc.h jobs.h quit.h siglist.h externs.h
Jari Aaltobb706242000-03-17 21:46:59 +00001022nojobs.o: sig.h error.h ${BASHINCDIR}/shtty.h input.h
Jari Aaltoccc6cda1996-12-23 17:02:34 +00001023
Jari Aaltod166f041997-06-05 14:59:13 +00001024# shell features that may be compiled in
Jari Aaltoccc6cda1996-12-23 17:02:34 +00001025
Jari Aaltobb706242000-03-17 21:46:59 +00001026array.o: config.h bashansi.h ${BASHINCDIR}/ansi_stdlib.h
Jari Aalto28ef6c32001-04-06 19:14:31 +00001027array.o: shell.h syntax.h config.h bashjmp.h ${BASHINCDIR}/posixjmp.h command.h ${BASHINCDIR}/stdc.h error.h
Jari Aaltof73dda02001-11-13 17:56:06 +00001028array.o: general.h xmalloc.h bashtypes.h variables.h arrayfunc.h conftypes.h array.h hashlib.h
Jari Aaltobb706242000-03-17 21:46:59 +00001029array.o: quit.h ${BASHINCDIR}/maxpath.h unwind_prot.h dispose_cmd.h
Jari Aaltob80f6442004-07-27 13:29:18 +00001030array.o: make_cmd.h subst.h sig.h pathnames.h externs.h
Jari Aaltod166f041997-06-05 14:59:13 +00001031array.o: $(DEFSRC)/common.h
Jari Aaltof73dda02001-11-13 17:56:06 +00001032arrayfunc.o: config.h bashansi.h ${BASHINCDIR}/ansi_stdlib.h
1033arrayfunc.o: shell.h syntax.h config.h bashjmp.h ${BASHINCDIR}/posixjmp.h command.h ${BASHINCDIR}/stdc.h error.h
1034arrayfunc.o: general.h xmalloc.h bashtypes.h variables.h arrayfunc.h conftypes.h array.h hashlib.h
1035arrayfunc.o: quit.h ${BASHINCDIR}/maxpath.h unwind_prot.h dispose_cmd.h
Jari Aaltob80f6442004-07-27 13:29:18 +00001036arrayfunc.o: make_cmd.h subst.h sig.h pathnames.h externs.h
Jari Aaltof73dda02001-11-13 17:56:06 +00001037arrayfunc.o: $(DEFSRC)/common.h
Jari Aalto7117c2d2002-07-17 14:10:11 +00001038arrayfunc.o: ${BASHINCDIR}/shmbutil.h
Jari Aaltobb706242000-03-17 21:46:59 +00001039braces.o: config.h bashansi.h ${BASHINCDIR}/ansi_stdlib.h
Jari Aalto28ef6c32001-04-06 19:14:31 +00001040braces.o: shell.h syntax.h config.h bashjmp.h ${BASHINCDIR}/posixjmp.h command.h ${BASHINCDIR}/stdc.h error.h
Jari Aaltof73dda02001-11-13 17:56:06 +00001041braces.o: general.h xmalloc.h bashtypes.h variables.h arrayfunc.h conftypes.h array.h hashlib.h
Jari Aaltobb706242000-03-17 21:46:59 +00001042braces.o: quit.h ${BASHINCDIR}/maxpath.h unwind_prot.h dispose_cmd.h
Jari Aaltob80f6442004-07-27 13:29:18 +00001043braces.o: make_cmd.h subst.h sig.h pathnames.h externs.h
Jari Aalto7117c2d2002-07-17 14:10:11 +00001044braces.o: ${BASHINCDIR}/shmbutil.h
Jari Aaltobb706242000-03-17 21:46:59 +00001045alias.o: config.h bashansi.h ${BASHINCDIR}/ansi_stdlib.h command.h ${BASHINCDIR}/stdc.h
Jari Aaltof73dda02001-11-13 17:56:06 +00001046alias.o: general.h xmalloc.h bashtypes.h externs.h alias.h
Jari Aaltob80f6442004-07-27 13:29:18 +00001047alias.o: pcomplete.h
Jari Aaltof73dda02001-11-13 17:56:06 +00001048alias.o: ${BASHINCDIR}/chartypes.h
Jari Aaltobb706242000-03-17 21:46:59 +00001049
1050pcomplib.o: config.h bashansi.h ${BASHINCDIR}/ansi_stdlib.h bashtypes.h
Jari Aalto28ef6c32001-04-06 19:14:31 +00001051pcomplib.o: ${BASHINCDIR}/stdc.h hashlib.h pcomplete.h shell.h syntax.h
Jari Aaltof73dda02001-11-13 17:56:06 +00001052pcomplib.o: bashjmp.h command.h general.h xmalloc.h error.h variables.h arrayfunc.h conftypes.h quit.h
Jari Aaltobb706242000-03-17 21:46:59 +00001053pcomplib.o: unwind_prot.h dispose_cmd.h make_cmd.h subst.h sig.h pathnames.h
1054pcomplib.o: externs.h ${BASHINCDIR}/maxpath.h
1055
1056pcomplete.o: config.h bashansi.h ${BASHINCDIR}/ansi_stdlib.h bashtypes.h
Jari Aalto28ef6c32001-04-06 19:14:31 +00001057pcomplete.o: ${BASHINCDIR}/stdc.h hashlib.h pcomplete.h shell.h syntax.h
Jari Aaltof73dda02001-11-13 17:56:06 +00001058pcomplete.o: bashjmp.h command.h general.h xmalloc.h error.h variables.h arrayfunc.h conftypes.h quit.h
Jari Aaltobb706242000-03-17 21:46:59 +00001059pcomplete.o: unwind_prot.h dispose_cmd.h make_cmd.h subst.h sig.h pathnames.h
Jari Aaltob80f6442004-07-27 13:29:18 +00001060pcomplete.o: externs.h ${BASHINCDIR}/maxpath.h execute_cmd.h
Jari Aaltoccc6cda1996-12-23 17:02:34 +00001061
Jari Aaltod166f041997-06-05 14:59:13 +00001062# library support files
Jari Aaltoccc6cda1996-12-23 17:02:34 +00001063
Jari Aaltobb706242000-03-17 21:46:59 +00001064bashhist.o: config.h bashtypes.h bashansi.h ${BASHINCDIR}/ansi_stdlib.h ${BASHINCDIR}/posixstat.h
1065bashhist.o: ${BASHINCDIR}/filecntl.h
Jari Aalto28ef6c32001-04-06 19:14:31 +00001066bashhist.o: shell.h syntax.h config.h bashjmp.h ${BASHINCDIR}/posixjmp.h command.h ${BASHINCDIR}/stdc.h error.h
Jari Aaltof73dda02001-11-13 17:56:06 +00001067bashhist.o: general.h xmalloc.h bashtypes.h variables.h arrayfunc.h conftypes.h array.h hashlib.h
Jari Aaltobb706242000-03-17 21:46:59 +00001068bashhist.o: quit.h ${BASHINCDIR}/maxpath.h unwind_prot.h dispose_cmd.h
Jari Aaltob80f6442004-07-27 13:29:18 +00001069bashhist.o: make_cmd.h subst.h sig.h pathnames.h externs.h
Jari Aaltod166f041997-06-05 14:59:13 +00001070bashhist.o: flags.h input.h parser.h pathexp.h $(DEFSRC)/common.h bashline.h
Jari Aaltof73dda02001-11-13 17:56:06 +00001071bashhist.o: $(GLOB_LIBSRC)/strmatch.h
Jari Aaltobb706242000-03-17 21:46:59 +00001072bashline.o: config.h bashtypes.h ${BASHINCDIR}/posixstat.h bashansi.h ${BASHINCDIR}/ansi_stdlib.h
Jari Aalto28ef6c32001-04-06 19:14:31 +00001073bashline.o: shell.h syntax.h config.h bashjmp.h ${BASHINCDIR}/posixjmp.h command.h ${BASHINCDIR}/stdc.h error.h
Jari Aaltof73dda02001-11-13 17:56:06 +00001074bashline.o: general.h xmalloc.h bashtypes.h variables.h arrayfunc.h conftypes.h array.h hashlib.h
Jari Aaltobb706242000-03-17 21:46:59 +00001075bashline.o: quit.h ${BASHINCDIR}/maxpath.h unwind_prot.h dispose_cmd.h
Jari Aaltob80f6442004-07-27 13:29:18 +00001076bashline.o: make_cmd.h subst.h sig.h pathnames.h externs.h
Jari Aaltocce855b1998-04-17 19:52:44 +00001077bashline.o: builtins.h bashhist.h bashline.h execute_cmd.h findcmd.h pathexp.h
Jari Aaltod166f041997-06-05 14:59:13 +00001078bashline.o: $(DEFSRC)/common.h $(GLOB_LIBSRC)/glob.h alias.h
Jari Aalto7117c2d2002-07-17 14:10:11 +00001079bashline.o: pcomplete.h ${BASHINCDIR}/chartypes.h input.h
Jari Aaltobb706242000-03-17 21:46:59 +00001080bracecomp.o: config.h bashansi.h ${BASHINCDIR}/ansi_stdlib.h
Jari Aalto28ef6c32001-04-06 19:14:31 +00001081bracecomp.o: shell.h syntax.h config.h bashjmp.h ${BASHINCDIR}/posixjmp.h command.h ${BASHINCDIR}/stdc.h error.h
Jari Aaltof73dda02001-11-13 17:56:06 +00001082bracecomp.o: general.h xmalloc.h bashtypes.h variables.h arrayfunc.h conftypes.h array.h hashlib.h
Jari Aaltobb706242000-03-17 21:46:59 +00001083bracecomp.o: quit.h ${BASHINCDIR}/maxpath.h unwind_prot.h dispose_cmd.h
Jari Aaltob80f6442004-07-27 13:29:18 +00001084bracecomp.o: make_cmd.h subst.h sig.h pathnames.h externs.h
Jari Aaltof73dda02001-11-13 17:56:06 +00001085bracecomp.o: shell.h syntax.h bashjmp.h ${BASHINCDIR}/posixjmp.h sig.h command.h hashlib.h builtins.h general.h xmalloc.h
1086bracecomp.o: quit.h alias.h config.h variables.h arrayfunc.h conftypes.h
Jari Aaltobb706242000-03-17 21:46:59 +00001087bracecomp.o: dispose_cmd.h make_cmd.h subst.h externs.h ${BASHINCDIR}/stdc.h
Jari Aaltoccc6cda1996-12-23 17:02:34 +00001088
Jari Aaltod166f041997-06-05 14:59:13 +00001089# library dependencies
Jari Aaltoccc6cda1996-12-23 17:02:34 +00001090
Jari Aaltod166f041997-06-05 14:59:13 +00001091bashline.o: $(RL_LIBSRC)/rlconf.h
Jari Aaltob72432f1999-02-19 17:11:39 +00001092bashline.o: $(RL_LIBSRC)/keymaps.h $(RL_LIBSRC)/rlstdc.h
Jari Aaltod166f041997-06-05 14:59:13 +00001093bashline.o: $(RL_LIBSRC)/chardefs.h $(RL_LIBSRC)/readline.h
1094bracecomp.o: $(RL_LIBSRC)/keymaps.h $(RL_LIBSRC)/chardefs.h
Jari Aaltob72432f1999-02-19 17:11:39 +00001095bracecomp.o: $(RL_LIBSRC)/readline.h $(RL_LIBSRC)/rlstdc.h
1096y.tab.o: $(RL_LIBSRC)/keymaps.h $(RL_LIBSRC)/chardefs.h
1097y.tab.o: $(RL_LIBSRC)/readline.h $(RL_LIBSRC)/rlstdc.h
1098subst.o: $(RL_LIBSRC)/keymaps.h $(RL_LIBSRC)/chardefs.h
1099subst.o: $(RL_LIBSRC)/readline.h $(RL_LIBSRC)/rlstdc.h
Jari Aaltoccc6cda1996-12-23 17:02:34 +00001100
Jari Aaltob72432f1999-02-19 17:11:39 +00001101shell.o: $(HIST_LIBSRC)/history.h $(HIST_LIBSRC)/rlstdc.h
1102subst.o: $(HIST_LIBSRC)/history.h $(HIST_LIBSRC)/rlstdc.h
1103bashline.o: $(HIST_LIBSRC)/history.h $(HIST_LIBSRC)/rlstdc.h
1104bashhist.o: $(HIST_LIBSRC)/history.h $(HIST_LIBSRC)/rlstdc.h
1105y.tab.o: $(HIST_LIBSRC)/history.h $(HIST_LIBSRC)/rlstdc.h
Jari Aaltoccc6cda1996-12-23 17:02:34 +00001106
Jari Aaltoccc6cda1996-12-23 17:02:34 +00001107execute_cmd.o: $(TILDE_LIBSRC)/tilde.h
1108general.o: $(TILDE_LIBSRC)/tilde.h
1109mailcheck.o: $(TILDE_LIBSRC)/tilde.h
1110shell.o: $(TILDE_LIBSRC)/tilde.h
1111subst.o: $(TILDE_LIBSRC)/tilde.h
1112variables.o: $(TILDE_LIBSRC)/tilde.h
1113
Jari Aaltob80f6442004-07-27 13:29:18 +00001114# libintl dependencies
1115arrayfunc.o: bashintl.h ${LIBINTL_H} $(BASHINCDIR)/gettext.h
1116bashhist.o: bashintl.h ${LIBINTL_H} $(BASHINCDIR)/gettext.h
1117bashline.o: bashintl.h ${LIBINTL_H} $(BASHINCDIR)/gettext.h
1118braces.o: bashintl.h ${LIBINTL_H} $(BASHINCDIR)/gettext.h
1119error.o: bashintl.h ${LIBINTL_H} $(BASHINCDIR)/gettext.h
1120eval.o: bashintl.h ${LIBINTL_H} $(BASHINCDIR)/gettext.h
1121execute_cmd.o: bashintl.h ${LIBINTL_H} $(BASHINCDIR)/gettext.h
1122expr.o: bashintl.h ${LIBINTL_H} $(BASHINCDIR)/gettext.h
1123general.o: bashintl.h ${LIBINTL_H} $(BASHINCDIR)/gettext.h
1124input.o: bashintl.h ${LIBINTL_H} $(BASHINCDIR)/gettext.h
1125jobs.o: bashintl.h ${LIBINTL_H} $(BASHINCDIR)/gettext.h
1126mailcheck.o: bashintl.h ${LIBINTL_H} $(BASHINCDIR)/gettext.h
1127make_cmd.o: bashintl.h ${LIBINTL_H} $(BASHINCDIR)/gettext.h
1128nojobs.o: bashintl.h ${LIBINTL_H} $(BASHINCDIR)/gettext.h
1129parse.y: bashintl.h ${LIBINTL_H} $(BASHINCDIR)/gettext.h
1130pcomplete.o: bashintl.h ${LIBINTL_H} $(BASHINCDIR)/gettext.h
1131pcomplib.o: bashintl.h ${LIBINTL_H} $(BASHINCDIR)/gettext.h
1132print_cmd.o: bashintl.h ${LIBINTL_H} $(BASHINCDIR)/gettext.h
1133redir.o: bashintl.h ${LIBINTL_H} $(BASHINCDIR)/gettext.h
1134shell.o: bashintl.h ${LIBINTL_H} $(BASHINCDIR)/gettext.h
1135sig.o: bashintl.h ${LIBINTL_H} $(BASHINCDIR)/gettext.h
1136siglist.o: bashintl.h ${LIBINTL_H} $(BASHINCDIR)/gettext.h
1137subst.o: bashintl.h ${LIBINTL_H} $(BASHINCDIR)/gettext.h
1138test.o: bashintl.h ${LIBINTL_H} $(BASHINCDIR)/gettext.h
1139trap.o: bashintl.h ${LIBINTL_H} $(BASHINCDIR)/gettext.h
1140variables.o: bashintl.h ${LIBINTL_H} $(BASHINCDIR)/gettext.h
1141version.o: bashintl.h ${LIBINTL_H} $(BASHINCDIR)/gettext.h
1142xmalloc.o: bashintl.h ${LIBINTL_H} $(BASHINCDIR)/gettext.h
1143
Jari Aaltod166f041997-06-05 14:59:13 +00001144# XXX - dependencies checked through here
1145
1146# builtin c sources
Jari Aaltobb706242000-03-17 21:46:59 +00001147builtins/bashgetopt.o: config.h bashansi.h ${BASHINCDIR}/ansi_stdlib.h
Jari Aaltof73dda02001-11-13 17:56:06 +00001148builtins/bashgetopt.o: shell.h syntax.h config.h bashjmp.h command.h general.h xmalloc.h error.h
1149builtins/bashgetopt.o: variables.h arrayfunc.h conftypes.h quit.h ${BASHINCDIR}/maxpath.h unwind_prot.h dispose_cmd.h
Jari Aaltob80f6442004-07-27 13:29:18 +00001150builtins/bashgetopt.o: make_cmd.h subst.h sig.h pathnames.h externs.h
Jari Aaltod166f041997-06-05 14:59:13 +00001151builtins/bashgetopt.o: $(DEFSRC)/common.h
Jari Aaltof73dda02001-11-13 17:56:06 +00001152builtins/bashgetopt.o: ${BASHINCDIR}/chartypes.h
Jari Aaltobb706242000-03-17 21:46:59 +00001153builtins/common.o: bashtypes.h ${BASHINCDIR}/posixstat.h bashansi.h ${BASHINCDIR}/ansi_stdlib.h
Jari Aalto28ef6c32001-04-06 19:14:31 +00001154builtins/common.o: shell.h syntax.h config.h bashjmp.h ${BASHINCDIR}/posixjmp.h sig.h command.h
Jari Aaltof73dda02001-11-13 17:56:06 +00001155builtins/common.o: ${BASHINCDIR}/memalloc.h variables.h arrayfunc.h conftypes.h input.h siglist.h
Jari Aaltobb706242000-03-17 21:46:59 +00001156builtins/common.o: quit.h unwind_prot.h ${BASHINCDIR}/maxpath.h jobs.h builtins.h
Jari Aaltob80f6442004-07-27 13:29:18 +00001157builtins/common.o: dispose_cmd.h make_cmd.h subst.h externs.h bashhist.h
Jari Aaltof73dda02001-11-13 17:56:06 +00001158builtins/common.o: execute_cmd.h ${BASHINCDIR}/stdc.h general.h xmalloc.h error.h pathnames.h
Jari Aaltod166f041997-06-05 14:59:13 +00001159builtins/common.o: ${DEFDIR}/builtext.h
Jari Aaltof73dda02001-11-13 17:56:06 +00001160builtins/common.o: ${BASHINCDIR}/chartypes.h
Jari Aaltobb706242000-03-17 21:46:59 +00001161builtins/evalfile.o: bashtypes.h ${BASHINCDIR}/posixstat.h ${BASHINCDIR}/filecntl.h bashansi.h ${BASHINCDIR}/ansi_stdlib.h
Jari Aaltof73dda02001-11-13 17:56:06 +00001162builtins/evalfile.o: shell.h syntax.h config.h bashjmp.h command.h general.h xmalloc.h error.h
1163builtins/evalfile.o: variables.h arrayfunc.h conftypes.h quit.h ${BASHINCDIR}/maxpath.h unwind_prot.h dispose_cmd.h
Jari Aaltob80f6442004-07-27 13:29:18 +00001164builtins/evalfile.o: make_cmd.h subst.h sig.h pathnames.h externs.h
Jari Aaltod166f041997-06-05 14:59:13 +00001165builtins/evalfile.o: jobs.h builtins.h flags.h input.h execute_cmd.h
1166builtins/evalfile.o: bashhist.h $(DEFSRC)/common.h
Jari Aaltobb706242000-03-17 21:46:59 +00001167builtins/evalstring.o: config.h bashansi.h ${BASHINCDIR}/ansi_stdlib.h
Jari Aalto28ef6c32001-04-06 19:14:31 +00001168builtins/evalstring.o: shell.h syntax.h bashjmp.h ${BASHINCDIR}/posixjmp.h sig.h command.h siglist.h
Jari Aaltof73dda02001-11-13 17:56:06 +00001169builtins/evalstring.o: ${BASHINCDIR}/memalloc.h variables.h arrayfunc.h conftypes.h input.h
Jari Aaltobb706242000-03-17 21:46:59 +00001170builtins/evalstring.o: quit.h unwind_prot.h ${BASHINCDIR}/maxpath.h jobs.h builtins.h
Jari Aaltod166f041997-06-05 14:59:13 +00001171builtins/evalstring.o: dispose_cmd.h make_cmd.h subst.h externs.h
1172builtins/evalstring.o: jobs.h builtins.h flags.h input.h execute_cmd.h
1173builtins/evalstring.o: bashhist.h $(DEFSRC)/common.h
Jari Aaltobb706242000-03-17 21:46:59 +00001174builtins/getopt.o: config.h ${BASHINCDIR}/memalloc.h
Jari Aaltof73dda02001-11-13 17:56:06 +00001175builtins/getopt.o: shell.h syntax.h bashjmp.h command.h general.h xmalloc.h error.h
1176builtins/getopt.o: variables.h arrayfunc.h conftypes.h quit.h ${BASHINCDIR}/maxpath.h unwind_prot.h dispose_cmd.h
Jari Aaltob80f6442004-07-27 13:29:18 +00001177builtins/getopt.o: make_cmd.h subst.h sig.h pathnames.h externs.h
Jari Aaltod166f041997-06-05 14:59:13 +00001178builtins/getopt.o: $(DEFSRC)/getopt.h
Jari Aaltobb706242000-03-17 21:46:59 +00001179builtins/mkbuiltins.o: config.h bashtypes.h ${BASHINCDIR}/posixstat.h ${BASHINCDIR}/filecntl.h
1180builtins/mkbuiltins.o: bashansi.h ${BASHINCDIR}/ansi_stdlib.h
Jari Aaltod166f041997-06-05 14:59:13 +00001181
1182# builtin def files
Jari Aaltof73dda02001-11-13 17:56:06 +00001183builtins/alias.o: command.h config.h ${BASHINCDIR}/memalloc.h error.h general.h xmalloc.h ${BASHINCDIR}/maxpath.h
Jari Aaltoccc6cda1996-12-23 17:02:34 +00001184builtins/alias.o: quit.h $(DEFSRC)/common.h
Jari Aalto28ef6c32001-04-06 19:14:31 +00001185builtins/alias.o: shell.h syntax.h bashjmp.h ${BASHINCDIR}/posixjmp.h sig.h command.h ${BASHINCDIR}/stdc.h unwind_prot.h
Jari Aaltof73dda02001-11-13 17:56:06 +00001186builtins/alias.o: dispose_cmd.h make_cmd.h subst.h externs.h variables.h arrayfunc.h conftypes.h
1187builtins/bind.o: command.h config.h ${BASHINCDIR}/memalloc.h error.h general.h xmalloc.h ${BASHINCDIR}/maxpath.h
Jari Aaltobb706242000-03-17 21:46:59 +00001188builtins/bind.o: dispose_cmd.h make_cmd.h subst.h externs.h ${BASHINCDIR}/stdc.h
Jari Aaltof73dda02001-11-13 17:56:06 +00001189builtins/bind.o: shell.h syntax.h bashjmp.h ${BASHINCDIR}/posixjmp.h sig.h unwind_prot.h variables.h arrayfunc.h conftypes.h quit.h
Jari Aaltoccc6cda1996-12-23 17:02:34 +00001190builtins/bind.o: $(DEFSRC)/bashgetopt.h
Jari Aaltof73dda02001-11-13 17:56:06 +00001191builtins/break.o: command.h config.h ${BASHINCDIR}/memalloc.h error.h general.h xmalloc.h ${BASHINCDIR}/maxpath.h
1192builtins/break.o: shell.h syntax.h bashjmp.h ${BASHINCDIR}/posixjmp.h sig.h unwind_prot.h variables.h arrayfunc.h conftypes.h quit.h
Jari Aaltobb706242000-03-17 21:46:59 +00001193builtins/break.o: dispose_cmd.h make_cmd.h subst.h externs.h ${BASHINCDIR}/stdc.h
Jari Aaltof73dda02001-11-13 17:56:06 +00001194builtins/builtin.o: command.h config.h ${BASHINCDIR}/memalloc.h error.h general.h xmalloc.h ${BASHINCDIR}/maxpath.h
Jari Aalto7117c2d2002-07-17 14:10:11 +00001195builtins/builtin.o: quit.h $(DEFSRC)/common.h $(DEFSRC)/bashgetopt.h
Jari Aaltof73dda02001-11-13 17:56:06 +00001196builtins/builtin.o: shell.h syntax.h bashjmp.h ${BASHINCDIR}/posixjmp.h sig.h unwind_prot.h variables.h arrayfunc.h conftypes.h
Jari Aaltobb706242000-03-17 21:46:59 +00001197builtins/builtin.o: dispose_cmd.h make_cmd.h subst.h externs.h ${BASHINCDIR}/stdc.h
Jari Aaltob80f6442004-07-27 13:29:18 +00001198builtins/caller.o: command.h config.h ${BASHINCDIR}/memalloc.h error.h general.h xmalloc.h ${BASHINCDIR}/maxpath.h
1199builtins/caller.o: shell.h syntax.h bashjmp.h ${BASHINCDIR}/posixjmp.h sig.h unwind_prot.h variables.h arrayfunc.h conftypes.h
1200builtins/caller.o: dispose_cmd.h make_cmd.h subst.h externs.h ${BASHINCDIR}/stdc.h
1201builtins/caller.o: $(DEFSRC)/common.h quit.h
1202builtins/caller.o: ${BASHINCDIR}/chartypes.h bashtypes.h
1203builtins/caller.o: ${DEFDIR}/builtext.h
Jari Aaltof73dda02001-11-13 17:56:06 +00001204builtins/cd.o: command.h config.h ${BASHINCDIR}/memalloc.h error.h general.h xmalloc.h ${BASHINCDIR}/maxpath.h
1205builtins/cd.o: shell.h syntax.h bashjmp.h ${BASHINCDIR}/posixjmp.h sig.h unwind_prot.h variables.h arrayfunc.h conftypes.h
Jari Aaltobb706242000-03-17 21:46:59 +00001206builtins/cd.o: dispose_cmd.h make_cmd.h subst.h externs.h ${BASHINCDIR}/stdc.h
Jari Aaltoccc6cda1996-12-23 17:02:34 +00001207builtins/cd.o: $(DEFSRC)/common.h quit.h
Jari Aaltof73dda02001-11-13 17:56:06 +00001208builtins/command.o: command.h config.h ${BASHINCDIR}/memalloc.h error.h general.h xmalloc.h ${BASHINCDIR}/maxpath.h
Jari Aaltoccc6cda1996-12-23 17:02:34 +00001209builtins/command.o: quit.h $(DEFSRC)/bashgetopt.h
Jari Aaltof73dda02001-11-13 17:56:06 +00001210builtins/command.o: shell.h syntax.h bashjmp.h ${BASHINCDIR}/posixjmp.h sig.h unwind_prot.h variables.h arrayfunc.h conftypes.h
Jari Aaltobb706242000-03-17 21:46:59 +00001211builtins/command.o: dispose_cmd.h make_cmd.h subst.h externs.h ${BASHINCDIR}/stdc.h
Jari Aaltof73dda02001-11-13 17:56:06 +00001212builtins/declare.o: command.h config.h ${BASHINCDIR}/memalloc.h error.h general.h xmalloc.h ${BASHINCDIR}/maxpath.h
1213builtins/declare.o: shell.h syntax.h bashjmp.h ${BASHINCDIR}/posixjmp.h sig.h unwind_prot.h variables.h arrayfunc.h conftypes.h quit.h
Jari Aaltobb706242000-03-17 21:46:59 +00001214builtins/declare.o: dispose_cmd.h make_cmd.h subst.h externs.h ${BASHINCDIR}/stdc.h
Jari Aalto7117c2d2002-07-17 14:10:11 +00001215builtins/declare.o: $(DEFSRC)/bashgetopt.h
Jari Aaltof73dda02001-11-13 17:56:06 +00001216builtins/echo.o: command.h config.h ${BASHINCDIR}/memalloc.h error.h general.h xmalloc.h ${BASHINCDIR}/maxpath.h
1217builtins/echo.o: shell.h syntax.h bashjmp.h ${BASHINCDIR}/posixjmp.h sig.h unwind_prot.h variables.h arrayfunc.h conftypes.h quit.h
Jari Aaltobb706242000-03-17 21:46:59 +00001218builtins/echo.o: dispose_cmd.h make_cmd.h subst.h externs.h ${BASHINCDIR}/stdc.h
Jari Aaltof73dda02001-11-13 17:56:06 +00001219builtins/enable.o: command.h config.h ${BASHINCDIR}/memalloc.h error.h general.h xmalloc.h ${BASHINCDIR}/maxpath.h
1220builtins/enable.o: shell.h syntax.h bashjmp.h ${BASHINCDIR}/posixjmp.h sig.h unwind_prot.h variables.h arrayfunc.h conftypes.h quit.h
Jari Aaltobb706242000-03-17 21:46:59 +00001221builtins/enable.o: dispose_cmd.h make_cmd.h subst.h externs.h ${BASHINCDIR}/stdc.h
Jari Aaltob80f6442004-07-27 13:29:18 +00001222builtins/enable.o: pcomplete.h
Jari Aaltof73dda02001-11-13 17:56:06 +00001223builtins/eval.o: command.h config.h ${BASHINCDIR}/memalloc.h error.h general.h xmalloc.h ${BASHINCDIR}/maxpath.h
1224builtins/eval.o: shell.h syntax.h bashjmp.h ${BASHINCDIR}/posixjmp.h sig.h unwind_prot.h variables.h arrayfunc.h conftypes.h quit.h
Jari Aaltobb706242000-03-17 21:46:59 +00001225builtins/eval.o: dispose_cmd.h make_cmd.h subst.h externs.h ${BASHINCDIR}/stdc.h
Jari Aaltob80f6442004-07-27 13:29:18 +00001226builtins/exec.o: bashtypes.h
Jari Aaltof73dda02001-11-13 17:56:06 +00001227builtins/exec.o: command.h config.h ${BASHINCDIR}/memalloc.h error.h general.h xmalloc.h ${BASHINCDIR}/maxpath.h
1228builtins/exec.o: shell.h syntax.h bashjmp.h ${BASHINCDIR}/posixjmp.h sig.h unwind_prot.h variables.h arrayfunc.h conftypes.h
Jari Aaltob80f6442004-07-27 13:29:18 +00001229builtins/exec.o: dispose_cmd.h make_cmd.h subst.h externs.h execute_cmd.h
Jari Aaltobb706242000-03-17 21:46:59 +00001230builtins/exec.o: findcmd.h flags.h quit.h $(DEFSRC)/common.h ${BASHINCDIR}/stdc.h
Jari Aaltob80f6442004-07-27 13:29:18 +00001231builtins/exit.o: bashtypes.h
Jari Aaltof73dda02001-11-13 17:56:06 +00001232builtins/exit.o: command.h config.h ${BASHINCDIR}/memalloc.h error.h general.h xmalloc.h ${BASHINCDIR}/maxpath.h
1233builtins/exit.o: shell.h syntax.h bashjmp.h ${BASHINCDIR}/posixjmp.h sig.h unwind_prot.h variables.h arrayfunc.h conftypes.h quit.h
Jari Aaltobb706242000-03-17 21:46:59 +00001234builtins/exit.o: dispose_cmd.h make_cmd.h subst.h externs.h ${BASHINCDIR}/stdc.h
1235builtins/fc.o: bashtypes.h ${BASHINCDIR}/posixstat.h
1236builtins/fc.o: bashansi.h ${BASHINCDIR}/ansi_stdlib.h builtins.h command.h ${BASHINCDIR}/stdc.h
Jari Aaltof73dda02001-11-13 17:56:06 +00001237builtins/fc.o: command.h config.h ${BASHINCDIR}/memalloc.h error.h general.h xmalloc.h ${BASHINCDIR}/maxpath.h
1238builtins/fc.o: flags.h unwind_prot.h variables.h arrayfunc.h conftypes.h shell.h syntax.h bashjmp.h ${BASHINCDIR}/posixjmp.h sig.h
Jari Aaltobb706242000-03-17 21:46:59 +00001239builtins/fc.o: dispose_cmd.h make_cmd.h subst.h externs.h ${BASHINCDIR}/stdc.h quit.h
Jari Aaltoccc6cda1996-12-23 17:02:34 +00001240builtins/fc.o: $(DEFSRC)/bashgetopt.h bashhist.h
Jari Aaltof73dda02001-11-13 17:56:06 +00001241builtins/fc.o: ${BASHINCDIR}/chartypes.h
Jari Aaltob80f6442004-07-27 13:29:18 +00001242builtins/fg_bg.o: bashtypes.h $(DEFSRC)/bashgetopt.h
Jari Aaltof73dda02001-11-13 17:56:06 +00001243builtins/fg_bg.o: command.h config.h ${BASHINCDIR}/memalloc.h error.h general.h xmalloc.h ${BASHINCDIR}/maxpath.h
1244builtins/fg_bg.o: shell.h syntax.h bashjmp.h ${BASHINCDIR}/posixjmp.h sig.h unwind_prot.h variables.h arrayfunc.h conftypes.h quit.h
Jari Aaltobb706242000-03-17 21:46:59 +00001245builtins/fg_bg.o: dispose_cmd.h make_cmd.h subst.h externs.h ${BASHINCDIR}/stdc.h
Jari Aaltof73dda02001-11-13 17:56:06 +00001246builtins/getopts.o: command.h config.h ${BASHINCDIR}/memalloc.h error.h general.h xmalloc.h ${BASHINCDIR}/maxpath.h
1247builtins/getopts.o: shell.h syntax.h bashjmp.h ${BASHINCDIR}/posixjmp.h sig.h unwind_prot.h variables.h arrayfunc.h conftypes.h quit.h
Jari Aaltobb706242000-03-17 21:46:59 +00001248builtins/getopts.o: dispose_cmd.h make_cmd.h subst.h externs.h ${BASHINCDIR}/stdc.h
Jari Aaltob80f6442004-07-27 13:29:18 +00001249builtins/hash.o: bashtypes.h
Jari Aaltobb706242000-03-17 21:46:59 +00001250builtins/hash.o: builtins.h command.h findcmd.h ${BASHINCDIR}/stdc.h $(DEFSRC)/common.h
Jari Aaltof73dda02001-11-13 17:56:06 +00001251builtins/hash.o: command.h config.h ${BASHINCDIR}/memalloc.h error.h general.h xmalloc.h ${BASHINCDIR}/maxpath.h
1252builtins/hash.o: shell.h syntax.h bashjmp.h ${BASHINCDIR}/posixjmp.h sig.h unwind_prot.h variables.h arrayfunc.h conftypes.h quit.h
1253builtins/help.o: command.h config.h ${BASHINCDIR}/memalloc.h error.h general.h xmalloc.h ${BASHINCDIR}/maxpath.h
Jari Aaltobb706242000-03-17 21:46:59 +00001254builtins/help.o: dispose_cmd.h make_cmd.h subst.h externs.h ${BASHINCDIR}/stdc.h
Jari Aaltof73dda02001-11-13 17:56:06 +00001255builtins/help.o: shell.h syntax.h bashjmp.h ${BASHINCDIR}/posixjmp.h sig.h unwind_prot.h variables.h arrayfunc.h conftypes.h quit.h
Jari Aaltob80f6442004-07-27 13:29:18 +00001256builtins/help.o: $(GLOB_LIBSRC)/glob.h
1257builtins/history.o: bashtypes.h
Jari Aaltof73dda02001-11-13 17:56:06 +00001258builtins/history.o: command.h config.h ${BASHINCDIR}/memalloc.h error.h general.h xmalloc.h ${BASHINCDIR}/maxpath.h
Jari Aaltobb706242000-03-17 21:46:59 +00001259builtins/history.o: quit.h dispose_cmd.h make_cmd.h subst.h externs.h ${BASHINCDIR}/stdc.h
Jari Aalto28ef6c32001-04-06 19:14:31 +00001260builtins/history.o: ${BASHINCDIR}/filecntl.h shell.h syntax.h bashjmp.h ${BASHINCDIR}/posixjmp.h sig.h unwind_prot.h
Jari Aaltof73dda02001-11-13 17:56:06 +00001261builtins/history.o: bashhist.h variables.h arrayfunc.h conftypes.h
1262builtins/inlib.o: command.h config.h ${BASHINCDIR}/memalloc.h error.h general.h xmalloc.h ${BASHINCDIR}/maxpath.h
1263builtins/inlib.o: shell.h syntax.h bashjmp.h ${BASHINCDIR}/posixjmp.h sig.h unwind_prot.h variables.h arrayfunc.h conftypes.h quit.h
Jari Aaltobb706242000-03-17 21:46:59 +00001264builtins/inlib.o: dispose_cmd.h make_cmd.h subst.h externs.h ${BASHINCDIR}/stdc.h
Jari Aaltof73dda02001-11-13 17:56:06 +00001265builtins/jobs.o: command.h config.h ${BASHINCDIR}/memalloc.h error.h general.h xmalloc.h ${BASHINCDIR}/maxpath.h
Jari Aaltoccc6cda1996-12-23 17:02:34 +00001266builtins/jobs.o: quit.h $(DEFSRC)/bashgetopt.h
Jari Aaltof73dda02001-11-13 17:56:06 +00001267builtins/jobs.o: shell.h syntax.h bashjmp.h ${BASHINCDIR}/posixjmp.h sig.h unwind_prot.h variables.h arrayfunc.h conftypes.h
Jari Aaltobb706242000-03-17 21:46:59 +00001268builtins/jobs.o: dispose_cmd.h make_cmd.h subst.h externs.h ${BASHINCDIR}/stdc.h
Jari Aaltof73dda02001-11-13 17:56:06 +00001269builtins/kill.o: command.h config.h ${BASHINCDIR}/memalloc.h error.h general.h xmalloc.h ${BASHINCDIR}/maxpath.h
Jari Aaltobb706242000-03-17 21:46:59 +00001270builtins/kill.o: quit.h dispose_cmd.h make_cmd.h subst.h externs.h ${BASHINCDIR}/stdc.h
Jari Aaltof73dda02001-11-13 17:56:06 +00001271builtins/kill.o: shell.h syntax.h bashjmp.h ${BASHINCDIR}/posixjmp.h sig.h trap.h unwind_prot.h variables.h arrayfunc.h conftypes.h
1272builtins/let.o: command.h config.h ${BASHINCDIR}/memalloc.h error.h general.h xmalloc.h ${BASHINCDIR}/maxpath.h
Jari Aaltobb706242000-03-17 21:46:59 +00001273builtins/let.o: quit.h dispose_cmd.h make_cmd.h subst.h externs.h ${BASHINCDIR}/stdc.h
Jari Aaltof73dda02001-11-13 17:56:06 +00001274builtins/let.o: shell.h syntax.h bashjmp.h ${BASHINCDIR}/posixjmp.h sig.h unwind_prot.h variables.h arrayfunc.h conftypes.h
Jari Aaltobb706242000-03-17 21:46:59 +00001275builtins/printf.o: config.h ${BASHINCDIR}/memalloc.h bashjmp.h command.h error.h
Jari Aaltof73dda02001-11-13 17:56:06 +00001276builtins/printf.o: general.h xmalloc.h quit.h dispose_cmd.h make_cmd.h subst.h
Jari Aalto28ef6c32001-04-06 19:14:31 +00001277builtins/printf.o: externs.h sig.h pathnames.h shell.h syntax.h unwind_prot.h
Jari Aaltof73dda02001-11-13 17:56:06 +00001278builtins/printf.o: variables.h arrayfunc.h conftypes.h ${BASHINCDIR}/stdc.h $(DEFSRC)/bashgetopt.h
1279builtins/printf.o: ${BASHINCDIR}/chartypes.h
1280builtins/pushd.o: command.h config.h ${BASHINCDIR}/memalloc.h error.h general.h xmalloc.h ${BASHINCDIR}/maxpath.h
Jari Aaltobb706242000-03-17 21:46:59 +00001281builtins/pushd.o: quit.h dispose_cmd.h make_cmd.h subst.h externs.h ${BASHINCDIR}/stdc.h
Jari Aaltof73dda02001-11-13 17:56:06 +00001282builtins/pushd.o: shell.h syntax.h bashjmp.h ${BASHINCDIR}/posixjmp.h sig.h unwind_prot.h variables.h arrayfunc.h conftypes.h
Jari Aaltoccc6cda1996-12-23 17:02:34 +00001283builtins/pushd.o: $(DEFSRC)/common.h
Jari Aaltof73dda02001-11-13 17:56:06 +00001284builtins/read.o: command.h config.h ${BASHINCDIR}/memalloc.h error.h general.h xmalloc.h ${BASHINCDIR}/maxpath.h
Jari Aaltobb706242000-03-17 21:46:59 +00001285builtins/read.o: quit.h dispose_cmd.h make_cmd.h subst.h externs.h ${BASHINCDIR}/stdc.h
Jari Aaltof73dda02001-11-13 17:56:06 +00001286builtins/read.o: shell.h syntax.h bashjmp.h ${BASHINCDIR}/posixjmp.h sig.h unwind_prot.h variables.h arrayfunc.h conftypes.h
1287builtins/return.o: command.h config.h ${BASHINCDIR}/memalloc.h error.h general.h xmalloc.h ${BASHINCDIR}/maxpath.h
Jari Aaltobb706242000-03-17 21:46:59 +00001288builtins/return.o: quit.h dispose_cmd.h make_cmd.h subst.h externs.h ${BASHINCDIR}/stdc.h
Jari Aaltof73dda02001-11-13 17:56:06 +00001289builtins/return.o: shell.h syntax.h bashjmp.h ${BASHINCDIR}/posixjmp.h sig.h unwind_prot.h variables.h arrayfunc.h conftypes.h
1290builtins/set.o: command.h config.h ${BASHINCDIR}/memalloc.h error.h general.h xmalloc.h ${BASHINCDIR}/maxpath.h
Jari Aaltobb706242000-03-17 21:46:59 +00001291builtins/set.o: quit.h dispose_cmd.h make_cmd.h subst.h externs.h ${BASHINCDIR}/stdc.h
Jari Aaltof73dda02001-11-13 17:56:06 +00001292builtins/set.o: shell.h syntax.h bashjmp.h ${BASHINCDIR}/posixjmp.h sig.h unwind_prot.h variables.h arrayfunc.h conftypes.h flags.h
1293builtins/setattr.o: command.h config.h ${BASHINCDIR}/memalloc.h error.h general.h xmalloc.h ${BASHINCDIR}/maxpath.h
Jari Aaltoccc6cda1996-12-23 17:02:34 +00001294builtins/setattr.o: quit.h $(DEFSRC)/common.h $(DEFSRC)/bashgetopt.h
Jari Aaltof73dda02001-11-13 17:56:06 +00001295builtins/setattr.o: shell.h syntax.h bashjmp.h ${BASHINCDIR}/posixjmp.h sig.h unwind_prot.h variables.h arrayfunc.h conftypes.h
Jari Aaltobb706242000-03-17 21:46:59 +00001296builtins/setattr.o: dispose_cmd.h make_cmd.h subst.h externs.h ${BASHINCDIR}/stdc.h
Jari Aaltof73dda02001-11-13 17:56:06 +00001297builtins/shift.o: command.h config.h ${BASHINCDIR}/memalloc.h error.h general.h xmalloc.h ${BASHINCDIR}/maxpath.h
Jari Aaltobb706242000-03-17 21:46:59 +00001298builtins/shift.o: quit.h dispose_cmd.h make_cmd.h subst.h externs.h ${BASHINCDIR}/stdc.h
Jari Aaltof73dda02001-11-13 17:56:06 +00001299builtins/shift.o: shell.h syntax.h bashjmp.h ${BASHINCDIR}/posixjmp.h sig.h unwind_prot.h variables.h arrayfunc.h conftypes.h
Jari Aaltobb706242000-03-17 21:46:59 +00001300builtins/shift.o: dispose_cmd.h make_cmd.h subst.h externs.h ${BASHINCDIR}/stdc.h
Jari Aaltof73dda02001-11-13 17:56:06 +00001301builtins/shopt.o: command.h config.h ${BASHINCDIR}/memalloc.h error.h general.h xmalloc.h
Jari Aaltod166f041997-06-05 14:59:13 +00001302builtins/shopt.o: quit.h dispose_cmd.h make_cmd.h subst.h externs.h
Jari Aaltof73dda02001-11-13 17:56:06 +00001303builtins/shopt.o: shell.h syntax.h bashjmp.h ${BASHINCDIR}/posixjmp.h unwind_prot.h variables.h arrayfunc.h conftypes.h ${BASHINCDIR}/maxpath.h
Jari Aaltod166f041997-06-05 14:59:13 +00001304builtins/shopt.o: $(DEFSRC)/common.h $(DEFSRC)/bashgetopt.h
Jari Aaltof73dda02001-11-13 17:56:06 +00001305builtins/source.o: command.h config.h ${BASHINCDIR}/memalloc.h error.h general.h xmalloc.h ${BASHINCDIR}/maxpath.h
Jari Aaltobb706242000-03-17 21:46:59 +00001306builtins/source.o: quit.h dispose_cmd.h make_cmd.h subst.h externs.h ${BASHINCDIR}/stdc.h
Jari Aaltof73dda02001-11-13 17:56:06 +00001307builtins/source.o: shell.h syntax.h bashjmp.h ${BASHINCDIR}/posixjmp.h sig.h unwind_prot.h variables.h arrayfunc.h conftypes.h
Jari Aaltob80f6442004-07-27 13:29:18 +00001308builtins/source.o: findcmd.h $(DEFSRC)/bashgetopt.h flags.h trap.h
Jari Aaltof73dda02001-11-13 17:56:06 +00001309builtins/suspend.o: command.h config.h ${BASHINCDIR}/memalloc.h error.h general.h xmalloc.h ${BASHINCDIR}/maxpath.h
Jari Aaltobb706242000-03-17 21:46:59 +00001310builtins/suspend.o: quit.h dispose_cmd.h make_cmd.h subst.h externs.h ${BASHINCDIR}/stdc.h
Jari Aaltof73dda02001-11-13 17:56:06 +00001311builtins/suspend.o: shell.h syntax.h bashjmp.h ${BASHINCDIR}/posixjmp.h sig.h unwind_prot.h variables.h arrayfunc.h conftypes.h
1312builtins/test.o: command.h config.h ${BASHINCDIR}/memalloc.h error.h general.h xmalloc.h ${BASHINCDIR}/maxpath.h
Jari Aaltobb706242000-03-17 21:46:59 +00001313builtins/test.o: quit.h dispose_cmd.h make_cmd.h subst.h externs.h ${BASHINCDIR}/stdc.h
Jari Aaltof73dda02001-11-13 17:56:06 +00001314builtins/test.o: shell.h syntax.h bashjmp.h ${BASHINCDIR}/posixjmp.h sig.h unwind_prot.h variables.h arrayfunc.h conftypes.h
Jari Aaltob80f6442004-07-27 13:29:18 +00001315builtins/test.o: test.h
Jari Aaltof73dda02001-11-13 17:56:06 +00001316builtins/times.o: command.h config.h ${BASHINCDIR}/memalloc.h error.h general.h xmalloc.h ${BASHINCDIR}/maxpath.h
Jari Aaltobb706242000-03-17 21:46:59 +00001317builtins/times.o: quit.h dispose_cmd.h make_cmd.h subst.h externs.h ${BASHINCDIR}/stdc.h
Jari Aaltof73dda02001-11-13 17:56:06 +00001318builtins/times.o: shell.h syntax.h bashjmp.h ${BASHINCDIR}/posixjmp.h sig.h unwind_prot.h variables.h arrayfunc.h conftypes.h
1319builtins/trap.o: command.h config.h ${BASHINCDIR}/memalloc.h error.h general.h xmalloc.h ${BASHINCDIR}/maxpath.h
Jari Aaltoccc6cda1996-12-23 17:02:34 +00001320builtins/trap.o: quit.h $(DEFSRC)/common.h
Jari Aaltof73dda02001-11-13 17:56:06 +00001321builtins/trap.o: shell.h syntax.h bashjmp.h ${BASHINCDIR}/posixjmp.h sig.h unwind_prot.h variables.h arrayfunc.h conftypes.h
Jari Aaltobb706242000-03-17 21:46:59 +00001322builtins/trap.o: dispose_cmd.h make_cmd.h subst.h externs.h ${BASHINCDIR}/stdc.h
Jari Aaltof73dda02001-11-13 17:56:06 +00001323builtins/type.o: command.h config.h ${BASHINCDIR}/memalloc.h error.h general.h xmalloc.h ${BASHINCDIR}/maxpath.h
Jari Aaltocce855b1998-04-17 19:52:44 +00001324builtins/type.o: quit.h $(DEFSRC)/common.h findcmd.h
Jari Aaltof73dda02001-11-13 17:56:06 +00001325builtins/type.o: shell.h syntax.h bashjmp.h ${BASHINCDIR}/posixjmp.h sig.h unwind_prot.h variables.h arrayfunc.h conftypes.h
Jari Aaltobb706242000-03-17 21:46:59 +00001326builtins/type.o: dispose_cmd.h make_cmd.h subst.h externs.h ${BASHINCDIR}/stdc.h
Jari Aaltof73dda02001-11-13 17:56:06 +00001327builtins/ulimit.o: command.h config.h ${BASHINCDIR}/memalloc.h error.h general.h xmalloc.h ${BASHINCDIR}/maxpath.h
Jari Aaltobb706242000-03-17 21:46:59 +00001328builtins/ulimit.o: quit.h dispose_cmd.h make_cmd.h subst.h externs.h ${BASHINCDIR}/stdc.h
Jari Aaltof73dda02001-11-13 17:56:06 +00001329builtins/ulimit.o: shell.h syntax.h bashjmp.h ${BASHINCDIR}/posixjmp.h sig.h unwind_prot.h variables.h arrayfunc.h conftypes.h
1330builtins/umask.o: command.h config.h ${BASHINCDIR}/memalloc.h error.h general.h xmalloc.h ${BASHINCDIR}/maxpath.h
Jari Aaltobb706242000-03-17 21:46:59 +00001331builtins/umask.o: quit.h dispose_cmd.h make_cmd.h subst.h externs.h ${BASHINCDIR}/stdc.h
Jari Aaltof73dda02001-11-13 17:56:06 +00001332builtins/umask.o: shell.h syntax.h bashjmp.h ${BASHINCDIR}/posixjmp.h sig.h unwind_prot.h variables.h arrayfunc.h conftypes.h
1333builtins/umask.o: ${BASHINCDIR}/chartypes.h
1334builtins/wait.o: command.h config.h ${BASHINCDIR}/memalloc.h error.h general.h xmalloc.h ${BASHINCDIR}/maxpath.h
Jari Aaltobb706242000-03-17 21:46:59 +00001335builtins/wait.o: quit.h dispose_cmd.h make_cmd.h subst.h externs.h ${BASHINCDIR}/stdc.h
Jari Aaltof73dda02001-11-13 17:56:06 +00001336builtins/wait.o: shell.h syntax.h bashjmp.h ${BASHINCDIR}/posixjmp.h sig.h unwind_prot.h variables.h arrayfunc.h conftypes.h
1337builtins/wait.o: ${BASHINCDIR}/chartypes.h
Jari Aaltobb706242000-03-17 21:46:59 +00001338
Jari Aalto28ef6c32001-04-06 19:14:31 +00001339builtins/complete.o: config.h shell.h syntax.h bashjmp.h ${BASHINCDIR}/posixjmp.h sig.h
Jari Aaltof73dda02001-11-13 17:56:06 +00001340builtins/complete.o: unwind_prot.h variables.h arrayfunc.h conftypes.h
Jari Aaltobb706242000-03-17 21:46:59 +00001341builtins/complete.o: bashtypes.h bashansi.h ${BASHINCDIR}/ansi_stdlib.h
Jari Aaltob80f6442004-07-27 13:29:18 +00001342builtins/complete.o: builtins.h
Jari Aaltobb706242000-03-17 21:46:59 +00001343builtins/complete.o: pcomplete.h
1344builtins/complete.o: ${DEFSRC}/common.h ${DEFSRC}/bashgetopt.h
Jari Aaltoccc6cda1996-12-23 17:02:34 +00001345
Jari Aaltob80f6442004-07-27 13:29:18 +00001346# libintl dependencies
1347builtins/bind.o: ${topdir}/bashintl.h ${LIBINTL_H} $(BASHINCDIR)/gettext.h
1348builtins/break.o: ${topdir}/bashintl.h ${LIBINTL_H} $(BASHINCDIR)/gettext.h
1349builtins/caller.o: ${topdir}/bashintl.h ${LIBINTL_H} $(BASHINCDIR)/gettext.h
1350builtins/cd.o: ${topdir}/bashintl.h ${LIBINTL_H} $(BASHINCDIR)/gettext.h
1351builtins/common.c: ${topdir}/bashintl.h ${LIBINTL_H} $(BASHINCDIR)/gettext.h
1352builtins/complete.o: ${topdir}/bashintl.h ${LIBINTL_H} $(BASHINCDIR)/gettext.h
1353builtins/declare.o: ${topdir}/bashintl.h ${LIBINTL_H} $(BASHINCDIR)/gettext.h
1354builtins/enable.o: ${topdir}/bashintl.h ${LIBINTL_H} $(BASHINCDIR)/gettext.h
1355builtins/evalfile.c: ${topdir}/bashintl.h ${LIBINTL_H} $(BASHINCDIR)/gettext.h
1356builtins/exec.o: ${topdir}/bashintl.h ${LIBINTL_H} $(BASHINCDIR)/gettext.h
1357builtins/exit.o: ${topdir}/bashintl.h ${LIBINTL_H} $(BASHINCDIR)/gettext.h
1358builtins/fc.o: ${topdir}/bashintl.h ${LIBINTL_H} $(BASHINCDIR)/gettext.h
1359builtins/fg_bg.o: ${topdir}/bashintl.h ${LIBINTL_H} $(BASHINCDIR)/gettext.h
1360builtins/getopt.c: ${topdir}/bashintl.h ${LIBINTL_H} $(BASHINCDIR)/gettext.h
1361builtins/hash.o: ${topdir}/bashintl.h ${LIBINTL_H} $(BASHINCDIR)/gettext.h
1362builtins/help.o: ${topdir}/bashintl.h ${LIBINTL_H} $(BASHINCDIR)/gettext.h
1363builtins/history.o: ${topdir}/bashintl.h ${LIBINTL_H} $(BASHINCDIR)/gettext.h
1364builtins/inlib.o: ${topdir}/bashintl.h ${LIBINTL_H} $(BASHINCDIR)/gettext.h
1365builtins/jobs.o: ${topdir}/bashintl.h ${LIBINTL_H} $(BASHINCDIR)/gettext.h
1366builtins/kill.o: ${topdir}/bashintl.h ${LIBINTL_H} $(BASHINCDIR)/gettext.h
1367builtins/let.o: ${topdir}/bashintl.h ${LIBINTL_H} $(BASHINCDIR)/gettext.h
1368builtins/mkbuiltins.c: ${topdir}/bashintl.h ${LIBINTL_H} $(BASHINCDIR)/gettext.h
1369builtins/printf.o: ${topdir}/bashintl.h ${LIBINTL_H} $(BASHINCDIR)/gettext.h
1370builtins/pushd.o: ${topdir}/bashintl.h ${LIBINTL_H} $(BASHINCDIR)/gettext.h
1371builtins/read.o: ${topdir}/bashintl.h ${LIBINTL_H} $(BASHINCDIR)/gettext.h
1372builtins/return.o: ${topdir}/bashintl.h ${LIBINTL_H} $(BASHINCDIR)/gettext.h
1373builtins/set.o: ${topdir}/bashintl.h ${LIBINTL_H} $(BASHINCDIR)/gettext.h
1374builtins/setattr.o: ${topdir}/bashintl.h ${LIBINTL_H} $(BASHINCDIR)/gettext.h
1375builtins/shift.o: ${topdir}/bashintl.h ${LIBINTL_H} $(BASHINCDIR)/gettext.h
1376builtins/shopt.o: ${topdir}/bashintl.h ${LIBINTL_H} $(BASHINCDIR)/gettext.h
1377builtins/source.o: ${topdir}/bashintl.h ${LIBINTL_H} $(BASHINCDIR)/gettext.h
1378builtins/suspend.o: ${topdir}/bashintl.h ${LIBINTL_H} $(BASHINCDIR)/gettext.h
1379builtins/type.o: ${topdir}/bashintl.h ${LIBINTL_H} $(BASHINCDIR)/gettext.h
1380builtins/ulimit.o: ${topdir}/bashintl.h ${LIBINTL_H} $(BASHINCDIR)/gettext.h
1381builtins/umask.o: ${topdir}/bashintl.h ${LIBINTL_H} $(BASHINCDIR)/gettext.h
1382
Jari Aaltod166f041997-06-05 14:59:13 +00001383# builtin library dependencies
Jari Aaltoccc6cda1996-12-23 17:02:34 +00001384builtins/bind.o: $(RL_LIBSRC)/chardefs.h $(RL_LIBSRC)/readline.h
Jari Aaltob72432f1999-02-19 17:11:39 +00001385builtins/bind.o: $(RL_LIBSRC)/keymaps.h $(RL_LIBSRC)/rlstdc.h
Jari Aaltoccc6cda1996-12-23 17:02:34 +00001386
Jari Aaltob72432f1999-02-19 17:11:39 +00001387builtins/bind.o: $(HIST_LIBSRC)/history.h $(RL_LIBSRC)/rlstdc.h
1388builtins/fc.o: $(HIST_LIBSRC)/history.h $(RL_LIBSRC)/rlstdc.h
1389builtins/history.o: $(HIST_LIBSRC)/history.h $(RL_LIBSRC)/rlstdc.h
Jari Aaltoccc6cda1996-12-23 17:02:34 +00001390
1391builtins/common.o: $(TILDE_LIBSRC)/tilde.h
1392builtins/cd.o: $(TILDE_LIBSRC)/tilde.h
1393
1394builtins/alias.o: $(DEFSRC)/alias.def
1395builtins/bind.o: $(DEFSRC)/bind.def
1396builtins/break.o: $(DEFSRC)/break.def
1397builtins/builtin.o: $(DEFSRC)/builtin.def
Jari Aaltob80f6442004-07-27 13:29:18 +00001398builtins/caller.o: $(DEFSRC)/caller.def
Jari Aaltoccc6cda1996-12-23 17:02:34 +00001399builtins/cd.o: $(DEFSRC)/cd.def
1400builtins/colon.o: $(DEFSRC)/colon.def
1401builtins/command.o: $(DEFSRC)/command.def
Jari Aaltobb706242000-03-17 21:46:59 +00001402builtins/complete.o: $(DEFSRC)/complete.def
Jari Aaltoccc6cda1996-12-23 17:02:34 +00001403builtins/declare.o: $(DEFSRC)/declare.def
1404builtins/echo.o: $(DEFSRC)/echo.def
1405builtins/enable.o: $(DEFSRC)/enable.def
1406builtins/eval.o: $(DEFSRC)/eval.def
1407builtins/exec.o: $(DEFSRC)/exec.def
1408builtins/exit.o: $(DEFSRC)/exit.def
1409builtins/fc.o: $(DEFSRC)/fc.def
1410builtins/fg_bg.o: $(DEFSRC)/fg_bg.def
1411builtins/getopts.o: $(DEFSRC)/getopts.def
1412builtins/hash.o: $(DEFSRC)/hash.def
1413builtins/help.o: $(DEFSRC)/help.def
1414builtins/history.o: $(DEFSRC)/history.def
1415builtins/inlib.o: $(DEFSRC)/inlib.def
1416builtins/jobs.o: $(DEFSRC)/jobs.def
1417builtins/kill.o: $(DEFSRC)/kill.def
1418builtins/let.o: $(DEFSRC)/let.def
1419builtins/pushd.o: $(DEFSRC)/pushd.def
1420builtins/read.o: $(DEFSRC)/read.def
1421builtins/reserved.o: $(DEFSRC)/reserved.def
1422builtins/return.o: $(DEFSRC)/return.def
1423builtins/set.o: $(DEFSRC)/set.def
1424builtins/setattr.o: $(DEFSRC)/setattr.def
1425builtins/shift.o: $(DEFSRC)/shift.def
1426builtins/shopt.o: $(DEFSRC)/shopt.def
1427builtins/source.o: $(DEFSRC)/source.def
1428builtins/suspend.o: $(DEFSRC)/suspend.def
1429builtins/test.o: $(DEFSRC)/test.def
1430builtins/times.o: $(DEFSRC)/times.def
1431builtins/trap.o: $(DEFSRC)/trap.def
1432builtins/type.o: $(DEFSRC)/type.def
1433builtins/ulimit.o: $(DEFSRC)/ulimit.def
1434builtins/umask.o: $(DEFSRC)/umask.def
1435builtins/wait.o: $(DEFSRC)/wait.def