blob: 57277b6df2536e86135fc6995c54edf0648a8f0f [file] [log] [blame]
Jari Aalto95732b42005-12-07 14:08:12 +00001# Makefile for bash-3.1, version 2.157
Jari Aaltod166f041997-06-05 14:59:13 +00002#
Jari Aalto95732b42005-12-07 14:08:12 +00003# Copyright (C) 1996-2005 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@
Jari Aalto95732b42005-12-07 14:08:12 +000070SIZE = @SIZE@
Jari Aaltoccc6cda1996-12-23 17:02:34 +000071
72INSTALL = @INSTALL@
73INSTALL_PROGRAM = @INSTALL_PROGRAM@
Jari Aalto7117c2d2002-07-17 14:10:11 +000074INSTALL_SCRIPT = @INSTALL_SCRIPT@
Jari Aaltoccc6cda1996-12-23 17:02:34 +000075INSTALL_DATA = @INSTALL_DATA@
Jari Aaltob72432f1999-02-19 17:11:39 +000076INSTALLMODE= -m 0755
Jari Aaltobb706242000-03-17 21:46:59 +000077INSTALLMODE2 = -m 0555
Jari Aaltoccc6cda1996-12-23 17:02:34 +000078
Jari Aaltod166f041997-06-05 14:59:13 +000079TESTSCRIPT = @TESTSCRIPT@
80
Jari Aaltoccc6cda1996-12-23 17:02:34 +000081#If you have purify, and want to use it, uncomment this definition or
82# run the make as `make PURIFY=purify'
83# or run configure with the --with-purify argument.
84PURIFY = @PURIFY@
85
86# Here is a rule for making .o files from .c files that does not
87# force the type of the machine (like -M_MACHINE) into the flags.
88.c.o:
89 $(RM) $@
90 $(CC) $(CCFLAGS) -c $<
91
Jari Aaltobb706242000-03-17 21:46:59 +000092EXEEXT = @EXEEXT@
Jari Aaltof73dda02001-11-13 17:56:06 +000093OBJEXT = @OBJEXT@
94
95# The name of this program and some version information.
96VERSPROG = bashversion$(EXEEXT)
97VERSOBJ = bashversion.$(OBJEXT)
98
Jari Aaltobb706242000-03-17 21:46:59 +000099Program = bash$(EXEEXT)
Jari Aaltod166f041997-06-05 14:59:13 +0000100Version = @BASHVERS@
Jari Aaltof73dda02001-11-13 17:56:06 +0000101PatchLevel = `$(BUILD_DIR)/$(VERSPROG) -p`
Jari Aalto7117c2d2002-07-17 14:10:11 +0000102RELSTATUS = @RELSTATUS@
Jari Aaltod166f041997-06-05 14:59:13 +0000103
Jari Aaltoccc6cda1996-12-23 17:02:34 +0000104Machine = @host_cpu@
105OS = @host_os@
Jari Aaltob72432f1999-02-19 17:11:39 +0000106VENDOR = @host_vendor@
Jari Aaltoccc6cda1996-12-23 17:02:34 +0000107MACHTYPE = @host@
108
Jari Aalto28ef6c32001-04-06 19:14:31 +0000109# comment out for release
Jari Aalto7117c2d2002-07-17 14:10:11 +0000110DEBUG = @DEBUG@
111MALLOC_DEBUG = @MALLOC_DEBUG@
Jari Aalto28ef6c32001-04-06 19:14:31 +0000112
Jari Aaltoccc6cda1996-12-23 17:02:34 +0000113THIS_SH = $(BUILD_DIR)/$(Program)
114
115# PROFILE_FLAGS is either -pg, to generate profiling info for use
116# with gprof, or nothing (the default).
Jari Aaltocce855b1998-04-17 19:52:44 +0000117PROFILE_FLAGS= @PROFILE_FLAGS@
Jari Aaltoccc6cda1996-12-23 17:02:34 +0000118
Jari Aaltoccc6cda1996-12-23 17:02:34 +0000119CFLAGS = @CFLAGS@
Jari Aalto95732b42005-12-07 14:08:12 +0000120CFLAGS_FOR_BUILD = @CFLAGS_FOR_BUILD@ @CROSS_COMPILE@
Jari Aaltocce855b1998-04-17 19:52:44 +0000121CPPFLAGS = @CPPFLAGS@
Jari Aalto7117c2d2002-07-17 14:10:11 +0000122CPPFLAGS_FOR_BUILD = @CPPFLAGS_FOR_BUILD@
Jari Aalto95732b42005-12-07 14:08:12 +0000123LOCAL_CFLAGS = @LOCAL_CFLAGS@ ${DEBUG} ${MALLOC_DEBUG}
Jari Aaltoccc6cda1996-12-23 17:02:34 +0000124DEFS = @DEFS@
Jari Aaltod166f041997-06-05 14:59:13 +0000125LOCAL_DEFS = @LOCAL_DEFS@
Jari Aalto7117c2d2002-07-17 14:10:11 +0000126
Jari Aaltob80f6442004-07-27 13:29:18 +0000127LOCALE_DEFS = -DLOCALEDIR='"$(localedir)"' -DPACKAGE='"$(PACKAGE)"'
128
Jari Aaltoccc6cda1996-12-23 17:02:34 +0000129LOCAL_LIBS = @LOCAL_LIBS@
Jari Aaltob72432f1999-02-19 17:11:39 +0000130LIBS = $(BUILTINS_LIB) $(LIBRARIES) @LIBS@
Jari Aaltob72432f1999-02-19 17:11:39 +0000131STATIC_LD = @STATIC_LD@
Jari Aaltoccc6cda1996-12-23 17:02:34 +0000132LOCAL_LDFLAGS = @LOCAL_LDFLAGS@
133
Jari Aaltob80f6442004-07-27 13:29:18 +0000134SYSTEM_FLAGS = -DPROGRAM='"$(Program)"' -DCONF_HOSTTYPE='"$(Machine)"' -DCONF_OSTYPE='"$(OS)"' -DCONF_MACHTYPE='"$(MACHTYPE)"' -DCONF_VENDOR='"$(VENDOR)"' $(LOCALE_DEFS)
Jari Aaltoccc6cda1996-12-23 17:02:34 +0000135
Jari Aalto7117c2d2002-07-17 14:10:11 +0000136BASE_CCFLAGS = $(PROFILE_FLAGS) $(SYSTEM_FLAGS) $(LOCAL_DEFS) \
137 $(DEFS) $(LOCAL_CFLAGS) $(INCLUDES)
Jari Aaltoccc6cda1996-12-23 17:02:34 +0000138
Jari Aalto7117c2d2002-07-17 14:10:11 +0000139CCFLAGS = $(BASE_CCFLAGS) $(CPPFLAGS) $(CFLAGS)
140
141CCFLAGS_FOR_BUILD = $(BASE_CCFLAGS) $(CPPFLAGS_FOR_BUILD) $(CFLAGS_FOR_BUILD)
142
143LDFLAGS = @LDFLAGS@ $(STATIC_LD) $(LOCAL_LDFLAGS) $(PROFILE_FLAGS) $(CFLAGS)
144LDFLAGS_FOR_BUILD = $(LDFLAGS)
Jari Aaltoccc6cda1996-12-23 17:02:34 +0000145
Jari Aaltob80f6442004-07-27 13:29:18 +0000146INCLUDES = -I. @RL_INCLUDE@ -I$(srcdir) -I$(BASHINCDIR) -I$(LIBSRC) $(INTL_INC)
Jari Aaltof73dda02001-11-13 17:56:06 +0000147
148GCC_LINT_FLAGS = -Wall -Wshadow -Wpointer-arith -Wcast-qual \
149 -Wcast-align -Wstrict-prototypes -Wconversion \
150 -Wmissing-prototypes -Wtraditional -Wredundant-decls -pedantic
151
Jari Aalto7117c2d2002-07-17 14:10:11 +0000152GCC_LINT_CFLAGS = $(BASE_CCFLAGS) $(CPPFLAGS) $(GCC_LINT_FLAGS)
Jari Aaltoccc6cda1996-12-23 17:02:34 +0000153
154#
155# Support libraries
156#
157
158dot = .
159
160LIBSUBDIR = lib
161LIBSRC = $(srcdir)/$(LIBSUBDIR)
162
Jari Aaltob80f6442004-07-27 13:29:18 +0000163LIBBUILD = ${BUILD_DIR}/${LIBSUBDIR}
164
Jari Aaltof73dda02001-11-13 17:56:06 +0000165SUBDIR_INCLUDES = -I. @RL_INCLUDE@ -I$(topdir) -I$(topdir)/$(LIBSUBDIR)
Jari Aaltoccc6cda1996-12-23 17:02:34 +0000166
Jari Aaltob80f6442004-07-27 13:29:18 +0000167BUILD_INCLUDED_LIBINTL = @BUILD_INCLUDED_LIBINTL@
168USE_INCLUDED_LIBINTL = @USE_INCLUDED_LIBINTL@
169
Jari Aaltocce855b1998-04-17 19:52:44 +0000170# the bash library
171# the library is a mix of functions that the C library does not provide on
172# some platforms and general shell utility functions
173SH_LIBSRC = $(LIBSRC)/sh
174SH_LIBDIR = $(dot)/${LIBSUBDIR}/sh
175SH_ABSSRC = ${topdir}/${SH_LIBSRC}
176
Jari Aalto7117c2d2002-07-17 14:10:11 +0000177SHLIB_SOURCE = ${SH_LIBSRC}/clktck.c ${SH_LIBSRC}/getcwd.c \
178 ${SH_LIBSRC}/getenv.c ${SH_LIBSRC}/oslib.c \
179 ${SH_LIBSRC}/setlinebuf.c \
180 ${SH_LIBSRC}/strcasecmp.c ${SH_LIBSRC}/strerror.c \
181 ${SH_LIBSRC}/strtod.c ${SH_LIBSRC}/strtol.c \
182 ${SH_LIBSRC}/strtoul.c ${SH_LIBSRC}/vprint.c \
183 ${SH_LIBSRC}/itos.c ${SH_LIBSRC}/rename.c \
184 ${SH_LIBSRC}/zread.c ${SH_LIBSRC}/zwrite.c \
185 ${SH_LIBSRC}/shtty.c ${SH_LIBSRC}/inet_aton.c \
186 ${SH_LIBSRC}/netopen.c ${SH_LIBSRC}/strpbrk.c \
187 ${SH_LIBSRC}/timeval.c ${SH_LIBSRC}/clock.c \
188 ${SH_LIBSRC}/makepath.c ${SH_LIBSRC}/pathcanon.c \
189 ${SH_LIBSRC}/pathphys.c ${SH_LIBSRC}/stringlist.c \
190 ${SH_LIBSRC}/stringvec.c ${SH_LIBSRC}/tmpfile.c \
191 ${SH_LIBSRC}/spell.c ${SH_LIBSRC}/strtrans.c \
192 ${SH_LIBSRC}/strindex.c ${SH_LIBSRC}/shquote.c \
193 ${SH_LIBSRC}/snprintf.c ${SH_LIBSRC}/mailstat.c \
194 ${SH_LIBSRC}/fmtulong.c ${SH_LIBSRC}/fmtullong.c \
195 ${SH_LIBSRC}/strtoll.c ${SH_LIBSRC}/strtoull.c \
196 ${SH_LIBSRC}/strtoimax.c ${SH_LIBSRC}/strtoumax.c \
197 ${SH_LIBSRC}/fmtumax.c ${SH_LIBSRC}/netconn.c \
198 ${SH_LIBSRC}/mktime.c ${SH_LIBSRC}/strftime.c \
199 ${SH_LIBSRC}/memset.c ${SH_LIBSRC}/xstrchr.c \
Jari Aalto95732b42005-12-07 14:08:12 +0000200 ${SH_LIBSRC}/zcatfd.c ${SH_LIBSRC}/shmatch.c \
201 ${SH_LIBSRC}/strnlen.c ${SH_LIBSRC}/winsize.c
Jari Aaltocce855b1998-04-17 19:52:44 +0000202
203SHLIB_LIB = -lsh
204SHLIB_LIBNAME = libsh.a
205SHLIB_LIBRARY = ${SH_LIBDIR}/${SHLIB_LIBNAME}
206SHLIB_LDFLAGS = -L${SH_LIBDIR}
207SHLIB_DEP = ${SHLIB_LIBRARY}
208
Jari Aaltoccc6cda1996-12-23 17:02:34 +0000209# we assume for now that readline source is being shipped with bash
210RL_LIBSRC = $(LIBSRC)/readline
211RL_LIBDOC = $(RL_LIBSRC)/doc
Jari Aaltob72432f1999-02-19 17:11:39 +0000212RL_LIBDIR = @RL_LIBDIR@
Jari Aaltoccc6cda1996-12-23 17:02:34 +0000213RL_ABSSRC = ${topdir}/$(RL_LIBDIR)
214
Jari Aaltof73dda02001-11-13 17:56:06 +0000215RL_INCLUDEDIR = @RL_INCLUDEDIR@
216
Jari Aaltoccc6cda1996-12-23 17:02:34 +0000217READLINE_LIB = @READLINE_LIB@
218READLINE_LIBRARY = $(RL_LIBDIR)/libreadline.a
219READLINE_LDFLAGS = -L${RL_LIBDIR}
220READLINE_DEP = @READLINE_DEP@
221
222# The source, object and documentation of the GNU Readline library.
223READLINE_SOURCE = $(RL_LIBSRC)/rldefs.h $(RL_LIBSRC)/rlconf.h \
224 $(RL_LIBSRC)/readline.h $(RL_LIBSRC)/tcap.h \
225 $(RL_LIBSRC)/chardefs.h $(RL_LIBSRC)/keymaps.h \
226 $(RL_LIBSRC)/history.h $(RL_LIBSRC)/histlib.h \
227 $(RL_LIBSRC)/posixstat.h $(RL_LIBSRC)/tilde.h \
Jari Aaltobb706242000-03-17 21:46:59 +0000228 $(RL_LIBSRC)/rlstdc.h ${RL_LIBSRC}/xmalloc.h \
229 $(RL_LIBSRC)/rlshell.h ${RL_LIBSRC}/rlprivate.h \
Jari Aaltoccc6cda1996-12-23 17:02:34 +0000230 $(RL_LIBSRC)/funmap.c $(RL_LIBSRC)/emacs_keymap.c \
231 $(RL_LIBSRC)/search.c $(RL_LIBSRC)/vi_keymap.c \
232 $(RL_LIBSRC)/keymaps.c $(RL_LIBSRC)/parens.c \
233 $(RL_LIBSRC)/vi_mode.c $(RL_LIBSRC)/callback.c \
234 $(RL_LIBSRC)/readline.c $(RL_LIBSRC)/tilde.c \
235 $(RL_LIBSRC)/rltty.c $(RL_LIBSRC)/complete.c \
236 $(RL_LIBSRC)/bind.c $(RL_LIBSRC)/isearch.c \
237 $(RL_LIBSRC)/display.c $(RL_LIBSRC)/signals.c \
Jari Aalto7117c2d2002-07-17 14:10:11 +0000238 $(RL_LIBSRC)/util.c $(RL_LIBSRC)/kill.c $(RL_LIBSRC)/text.c \
Jari Aaltoccc6cda1996-12-23 17:02:34 +0000239 $(RL_LIBSRC)/undo.c $(RL_LIBSRC)/macro.c \
240 $(RL_LIBSRC)/terminal.c $(RL_LIBSRC)/nls.c \
241 $(RL_LIBSRC)/input.c $(RL_LIBSRC)/xmalloc.c \
Jari Aaltob72432f1999-02-19 17:11:39 +0000242 $(RL_LIBSRC)/shell.c $(RL_LIBSRC)/savestring.c \
Jari Aaltob80f6442004-07-27 13:29:18 +0000243 $(RL_LIBSRC)/misc.c $(RL_LIBSRC)/mbutil.c $(RL_LIBSRC)/compat.c \
Jari Aaltoccc6cda1996-12-23 17:02:34 +0000244 $(RL_LIBSRC)/histexpand.c $(RL_LIBSRC)/history.c \
245 $(RL_LIBSRC)/histsearch.c $(RL_LIBSRC)/histfile.c
246
247READLINE_OBJ = $(RL_LIBDIR)/readline.o $(RL_LIBDIR)/funmap.o \
248 $(RL_LIBDIR)/parens.o $(RL_LIBDIR)/search.o \
249 $(RL_LIBDIR)/keymaps.o $(RL_LIBDIR)/xmalloc.o \
250 $(RL_LIBDIR)/rltty.o $(RL_LIBDIR)/complete.o \
251 $(RL_LIBDIR)/bind.o $(RL_LIBDIR)/isearch.o \
252 $(RL_LIBDIR)/display.o $(RL_LIBDIR)/signals.o \
253 $(RL_LIBDIR)/tilde.o $(RL_LIBDIR)/util.o \
254 $(RL_LIBDIR)/kill.o $(RL_LIBDIR)/undo.o $(RL_LIBDIR)/nls.o \
255 $(RL_LIBDIR)/macro.o $(RL_LIBDIR)/input.o \
256 $(RL_LIBDIR)/terminal.o $(RL_LIBDIR)/callback.o \
Jari Aaltob72432f1999-02-19 17:11:39 +0000257 $(RL_LIBDIR)/shell.o $(RL_LIBDIR)/savestring.o \
Jari Aaltob80f6442004-07-27 13:29:18 +0000258 $(RL_LIBDIR)/mbutil.o $(RL_LIBDIR)/compat.o \
Jari Aaltoccc6cda1996-12-23 17:02:34 +0000259 $(RL_LIBDIR)/history.o $(RL_LIBDIR)/histexpand.o \
260 $(RL_LIBDIR)/histsearch.o $(RL_LIBDIR)/histfile.o
261
262HIST_LIBSRC = $(LIBSRC)/readline
Jari Aaltob72432f1999-02-19 17:11:39 +0000263HIST_LIBDIR = @HIST_LIBDIR@
Jari Aaltoccc6cda1996-12-23 17:02:34 +0000264HIST_ABSSRC = ${topdir}/$(HIST_LIBDIR)
265
266HISTORY_LIB = @HISTORY_LIB@
267HISTORY_LIBRARY = $(HIST_LIBDIR)/libhistory.a
268HISTORY_LDFLAGS = -L$(HIST_LIBDIR)
269HISTORY_DEP = @HISTORY_DEP@
270
271# The source, object and documentation of the history library.
272HISTORY_SOURCE = $(HIST_LIBSRC)/history.c $(HIST_LIBSRC)/histexpand.c \
273 $(HIST_LIBSRC)/histsearch.c $(HIST_LIBSRC)/histfile.c \
Jari Aaltod166f041997-06-05 14:59:13 +0000274 $(HIST_LIBSRC)/shell.c \
Jari Aaltoccc6cda1996-12-23 17:02:34 +0000275 $(HIST_LIBSRC)/history.h $(HIST_LIBSRC)/histlib.h
276HISTORY_OBJ = $(HIST_LIBDIR)/history.o $(HIST_LIBDIR)/histexpand.o \
Jari Aaltod166f041997-06-05 14:59:13 +0000277 $(HIST_LIBDIR)/histsearch.o $(HIST_LIBDIR)/histfile.o \
278 $(HIST_LIBDIR)/shell.o
Jari Aaltoccc6cda1996-12-23 17:02:34 +0000279
280# You only need termcap (or curses) if you are linking with GNU Readline.
281TERM_LIBSRC = $(LIBSRC)/termcap
282TERM_LIBDIR = $(dot)/$(LIBSUBDIR)/termcap
283TERM_ABSSRC = ${topdir}/$(TERM_LIBDIR)
284
285TERMCAP_LIB = @TERMCAP_LIB@
286TERMCAP_LIBRARY = $(TERM_LIBDIR)/libtermcap.a
287TERMCAP_LDFLAGS = -L$(TERM_LIBDIR)
288TERMCAP_DEP = @TERMCAP_DEP@
289
290TERMCAP_SOURCE = $(TERM_LIBSRC)/termcap.c $(TERM_LIBSRC)/tparam.c
291TERMCAP_OBJ = $(TERM_LIBDIR)/termcap.o $(TERM_LIBDIR)/tparam.o
292
293GLOB_LIBSRC = $(LIBSRC)/glob
294GLOB_LIBDIR = $(dot)/$(LIBSUBDIR)/glob
295GLOB_ABSSRC = ${topdir}/$(GLOB_LIBDIR)
296
297GLOB_LIB = -lglob
298GLOB_LIBRARY = $(GLOB_LIBDIR)/libglob.a
299GLOB_LDFLAGS = -L$(GLOB_LIBDIR)
300GLOB_DEP = $(GLOB_LIBRARY)
301
Jari Aaltof73dda02001-11-13 17:56:06 +0000302GLOB_SOURCE = $(GLOB_LIBSRC)/glob.c $(GLOB_LIBSRC)/strmatch.c \
Jari Aalto7117c2d2002-07-17 14:10:11 +0000303 $(GLOB_LIBSRC)/smatch.c $(GLOB_LIBSRC)/xmbsrtowcs.c \
304 $(GLOB_LIBSRC)/glob_loop.c $(GLOB_LIBSRC)/sm_loop.c \
Jari Aaltof73dda02001-11-13 17:56:06 +0000305 $(GLOB_LIBSRC)/glob.h $(GLOB_LIBSRC)/strmatch.h
Jari Aalto7117c2d2002-07-17 14:10:11 +0000306GLOB_OBJ = $(GLOB_LIBDIR)/glob.o $(GLOB_LIBDIR)/strmatch.o \
307 $(GLOB_LIBDIR)/smatch.o $(GLOB_LIBDIR)/xmbsrtowcs.o
Jari Aaltoccc6cda1996-12-23 17:02:34 +0000308
309# The source, object and documentation for the GNU Tilde library.
310TILDE_LIBSRC = $(LIBSRC)/tilde
311TILDE_LIBDIR = $(dot)/$(LIBSUBDIR)/tilde
312TILDE_ABSSRC = ${topdir}/$(TILDE_LIBDIR)
313
Jari Aalto95732b42005-12-07 14:08:12 +0000314TILDE_LIB = @TILDE_LIB@
Jari Aaltoccc6cda1996-12-23 17:02:34 +0000315TILDE_LIBRARY = $(TILDE_LIBDIR)/libtilde.a
316TILDE_LDFLAGS = -L$(TILDE_LIBDIR)
317TILDE_DEP = $(TILDE_LIBRARY)
318
319TILDE_SOURCE = $(TILDE_LIBSRC)/tilde.c $(TILDE_LIBSRC)/tilde.h
320TILDE_OBJ = $(TILDE_LIBDIR)/tilde.o
321
Jari Aaltob80f6442004-07-27 13:29:18 +0000322# libintl
323INTL_LIBSRC = $(LIBSRC)/intl
324INTL_LIBDIR = $(dot)/$(LIBSUBDIR)/intl
325INTL_ABSSRC = ${topdir}/$(INTL_LIB)
326INTL_BUILDDIR = ${LIBBUILD}/intl
327
328INTL_LIB = @LIBINTL@
329INTL_LIBRARY = $(INTL_LIBDIR)/libintl.a
330INTL_DEP = @INTL_DEP@
331INTL_INC = @INTL_INC@
332
333LIBINTL_H = @LIBINTL_H@
334
335# tests
336LIBINTL = @LIBINTL@
337LTLIBINTL = @LTLIBINTL@
338INTLLIBS = @INTLLIBS@
339INTLOBJS = @INTLOBJS@
340
Jari Aaltoccc6cda1996-12-23 17:02:34 +0000341# Our malloc.
Jari Aaltod166f041997-06-05 14:59:13 +0000342MALLOC_TARGET = @MALLOC_TARGET@
343
344# set to alloca.o if we are using the C alloca in lib/malloc
345ALLOCA = @ALLOCA@
346
Jari Aaltoccc6cda1996-12-23 17:02:34 +0000347ALLOC_LIBSRC = $(LIBSRC)/malloc
348ALLOC_LIBDIR = $(dot)/$(LIBSUBDIR)/malloc
349ALLOC_ABSSRC = ${topdir}/$(ALLOC_LIBDIR)
350
Jari Aaltoccc6cda1996-12-23 17:02:34 +0000351MALLOC_SRC = @MALLOC_SRC@
Jari Aaltof73dda02001-11-13 17:56:06 +0000352MALLOC_OTHERSRC = ${ALLOC_LIBSRC}/trace.c ${ALLOC_LIBSRC}/stats.c \
Jari Aalto7117c2d2002-07-17 14:10:11 +0000353 ${ALLOC_LIBSRC}/table.c ${ALLOC_LIBSRC}/watch.c
Jari Aaltof73dda02001-11-13 17:56:06 +0000354MALLOC_SOURCE = ${ALLOC_LIBSRC}/${MALLOC_SRC} ${MALLOC_OTHERSRC}
355MALLOC_CFLAGS = -DRCHECK -Dbotch=programming_error ${MALLOC_DEBUG}
Jari Aaltoccc6cda1996-12-23 17:02:34 +0000356
Jari Aaltof73dda02001-11-13 17:56:06 +0000357MALLOC_LIB = @MALLOC_LIB@
358MALLOC_LIBRARY = @MALLOC_LIBRARY@
359MALLOC_LDFLAGS = @MALLOC_LDFLAGS@
360MALLOC_DEP = @MALLOC_DEP@
Jari Aaltoccc6cda1996-12-23 17:02:34 +0000361
Jari Aaltof73dda02001-11-13 17:56:06 +0000362ALLOC_HEADERS = $(ALLOC_LIBSRC)/getpagesize.h $(ALLOC_LIBSRC)/shmalloc.h \
Jari Aalto7117c2d2002-07-17 14:10:11 +0000363 $(ALLOC_LIBSRC)/imalloc.h $(ALLOC_LIBSRC)/mstats.h \
364 $(ALLOC_LIBSRC)/table.h $(ALLOC_LIBSRC)/watch.h
Jari Aaltoccc6cda1996-12-23 17:02:34 +0000365
Jari Aaltof73dda02001-11-13 17:56:06 +0000366$(MALLOC_LIBRARY): ${MALLOC_SOURCE} ${ALLOC_HEADERS} config.h
Jari Aaltoccc6cda1996-12-23 17:02:34 +0000367 @(cd $(ALLOC_LIBDIR) && \
368 $(MAKE) $(MFLAGS) \
Jari Aaltod166f041997-06-05 14:59:13 +0000369 MALLOC_CFLAGS="$(MALLOC_CFLAGS)" ${MALLOC_TARGET} ) || exit 1
Jari Aaltoccc6cda1996-12-23 17:02:34 +0000370
Jari Aaltobb706242000-03-17 21:46:59 +0000371BASHINCDIR = ${srcdir}/include
372BASHINCFILES = $(BASHINCDIR)/posixstat.h $(BASHINCDIR)/ansi_stdlib.h \
373 $(BASHINCDIR)/filecntl.h $(BASHINCDIR)/posixdir.h \
374 $(BASHINCDIR)/memalloc.h $(BASHINCDIR)/stdc.h \
375 $(BASHINCDIR)/posixjmp.h $(BASHINCDIR)/posixwait.h \
376 $(BASHINCDIR)/posixtime.h $(BASHINCDIR)/systimes.h \
377 $(BASHINCDIR)/unionwait.h $(BASHINCDIR)/maxpath.h \
Jari Aalto7117c2d2002-07-17 14:10:11 +0000378 $(BASHINCDIR)/shtty.h $(BASHINCDIR)/typemax.h \
379 $(BASHINCDIR)/ocache.h
Jari Aaltoccc6cda1996-12-23 17:02:34 +0000380
Jari Aalto28ef6c32001-04-06 19:14:31 +0000381LIBRARIES = $(SHLIB_LIB) $(READLINE_LIB) $(HISTORY_LIB) $(TERMCAP_LIB) $(GLOB_LIB) \
Jari Aaltob80f6442004-07-27 13:29:18 +0000382 $(TILDE_LIB) $(MALLOC_LIB) $(INTL_LIB) $(LOCAL_LIBS)
Jari Aaltoccc6cda1996-12-23 17:02:34 +0000383
Jari Aaltob80f6442004-07-27 13:29:18 +0000384LIBDEP = $(SHLIB_DEP) $(INTL_DEP) $(READLINE_DEP) $(HISTORY_DEP) $(TERMCAP_DEP) $(GLOB_DEP) \
Jari Aalto28ef6c32001-04-06 19:14:31 +0000385 $(TILDE_DEP) $(MALLOC_DEP)
Jari Aaltoccc6cda1996-12-23 17:02:34 +0000386
Jari Aaltob72432f1999-02-19 17:11:39 +0000387LIBRARY_LDFLAGS = $(READLINE_LDFLAGS) $(HISTORY_LDFLAGS) $(GLOB_LDFLAGS) \
388 $(TILDE_LDFLAGS) $(MALLOC_LDFLAGS) $(SHLIB_LDFLAGS)
Jari Aaltoccc6cda1996-12-23 17:02:34 +0000389
390#
391# The shell itself
392#
393
394# The main source code for the Bourne Again SHell.
395CSOURCES = shell.c eval.c parse.y general.c make_cmd.c print_cmd.c y.tab.c \
396 dispose_cmd.c execute_cmd.c variables.c $(GLOBC) version.c \
Jari Aaltod166f041997-06-05 14:59:13 +0000397 expr.c copy_cmd.c flags.c subst.c hashcmd.c hashlib.c mailcheck.c \
398 test.c trap.c alias.c jobs.c nojobs.c $(ALLOC_FILES) braces.c \
Jari Aaltof73dda02001-11-13 17:56:06 +0000399 input.c bashhist.c array.c arrayfunc.c sig.c pathexp.c \
Jari Aaltocce855b1998-04-17 19:52:44 +0000400 unwind_prot.c siglist.c bashline.c bracecomp.c error.c \
Jari Aaltobb706242000-03-17 21:46:59 +0000401 list.c stringlib.c locale.c findcmd.c redir.c \
Jari Aalto28ef6c32001-04-06 19:14:31 +0000402 pcomplete.c pcomplib.c syntax.c xmalloc.c
Jari Aaltoccc6cda1996-12-23 17:02:34 +0000403
Jari Aaltod166f041997-06-05 14:59:13 +0000404HSOURCES = shell.h flags.h trap.h hashcmd.h hashlib.h jobs.h builtins.h \
Jari Aaltobb706242000-03-17 21:46:59 +0000405 general.h variables.h config.h $(ALLOC_HEADERS) alias.h \
Jari Aaltof73dda02001-11-13 17:56:06 +0000406 quit.h unwind_prot.h syntax.h ${GRAM_H} \
Jari Aaltoccc6cda1996-12-23 17:02:34 +0000407 command.h input.h error.h bashansi.h dispose_cmd.h make_cmd.h \
408 subst.h externs.h siglist.h bashhist.h bashline.h bashtypes.h \
Jari Aaltof73dda02001-11-13 17:56:06 +0000409 array.h arrayfunc.h sig.h mailcheck.h bashintl.h bashjmp.h \
Jari Aaltobb706242000-03-17 21:46:59 +0000410 execute_cmd.h parser.h pathexp.h pathnames.h pcomplete.h \
411 $(BASHINCFILES)
Jari Aaltoccc6cda1996-12-23 17:02:34 +0000412
413SOURCES = $(CSOURCES) $(HSOURCES) $(BUILTIN_DEFS)
414
Jari Aaltocce855b1998-04-17 19:52:44 +0000415# header files chosen based on running of configure
416SIGNAMES_H = @SIGNAMES_H@
417
Jari Aaltoccc6cda1996-12-23 17:02:34 +0000418# object files chosen based on running of configure
419JOBS_O = @JOBS_O@
Jari Aaltof73dda02001-11-13 17:56:06 +0000420SIGLIST_O = @SIGLIST_O@
Jari Aaltoccc6cda1996-12-23 17:02:34 +0000421
422# Matching object files.
423OBJECTS = shell.o eval.o y.tab.o general.o make_cmd.o print_cmd.o $(GLOBO) \
424 dispose_cmd.o execute_cmd.o variables.o copy_cmd.o error.o \
Jari Aaltod166f041997-06-05 14:59:13 +0000425 expr.o flags.o $(JOBS_O) subst.o hashcmd.o hashlib.o mailcheck.o \
426 trap.o input.o unwind_prot.o pathexp.o sig.o test.o version.o \
Jari Aaltof73dda02001-11-13 17:56:06 +0000427 alias.o array.o arrayfunc.o braces.o bracecomp.o bashhist.o \
428 bashline.o $(SIGLIST_O) list.o stringlib.o locale.o findcmd.o redir.o \
Jari Aalto28ef6c32001-04-06 19:14:31 +0000429 pcomplete.o pcomplib.o syntax.o xmalloc.o
Jari Aaltoccc6cda1996-12-23 17:02:34 +0000430
431# Where the source code of the shell builtins resides.
432BUILTIN_SRCDIR=$(srcdir)/builtins
433DEFSRC=$(BUILTIN_SRCDIR)
434BUILTIN_ABSSRC=${topdir}/builtins
435DEFDIR = $(dot)/builtins
Jari Aaltob80f6442004-07-27 13:29:18 +0000436DEBUGGER_DIR = $(dot)/debugger
Jari Aaltoccc6cda1996-12-23 17:02:34 +0000437
438BUILTIN_DEFS = $(DEFSRC)/alias.def $(DEFSRC)/bind.def $(DEFSRC)/break.def \
439 $(DEFSRC)/builtin.def $(DEFSRC)/cd.def $(DEFSRC)/colon.def \
Jari Aaltobb706242000-03-17 21:46:59 +0000440 $(DEFSRC)/command.def ${DEFSRC}/complete.def \
Jari Aaltob80f6442004-07-27 13:29:18 +0000441 $(DEFSRC)/caller.def $(DEFSRC)/declare.def \
Jari Aaltoccc6cda1996-12-23 17:02:34 +0000442 $(DEFSRC)/echo.def $(DEFSRC)/enable.def $(DEFSRC)/eval.def \
443 $(DEFSRC)/exec.def $(DEFSRC)/exit.def $(DEFSRC)/fc.def \
444 $(DEFSRC)/fg_bg.def $(DEFSRC)/hash.def $(DEFSRC)/help.def \
445 $(DEFSRC)/history.def $(DEFSRC)/jobs.def $(DEFSRC)/kill.def \
446 $(DEFSRC)/let.def $(DEFSRC)/read.def $(DEFSRC)/return.def \
447 $(DEFSRC)/set.def $(DEFSRC)/setattr.def $(DEFSRC)/shift.def \
448 $(DEFSRC)/source.def $(DEFSRC)/suspend.def $(DEFSRC)/test.def \
449 $(DEFSRC)/times.def $(DEFSRC)/trap.def $(DEFSRC)/type.def \
450 $(DEFSRC)/ulimit.def $(DEFSRC)/umask.def $(DEFSRC)/wait.def \
451 $(DEFSRC)/getopts.def $(DEFSRC)/reserved.def \
Jari Aaltocce855b1998-04-17 19:52:44 +0000452 $(DEFSRC)/pushd.def $(DEFSRC)/shopt.def $(DEFSRC)/printf.def
Jari Aaltoccc6cda1996-12-23 17:02:34 +0000453BUILTIN_C_SRC = $(DEFSRC)/mkbuiltins.c $(DEFSRC)/common.c \
454 $(DEFSRC)/evalstring.c $(DEFSRC)/evalfile.c \
Jari Aaltod166f041997-06-05 14:59:13 +0000455 $(DEFSRC)/bashgetopt.c $(GETOPT_SOURCE)
Jari Aaltoccc6cda1996-12-23 17:02:34 +0000456BUILTIN_C_OBJ = $(DEFDIR)/common.o $(DEFDIR)/evalstring.o \
457 $(DEFDIR)/evalfile.o $(DEFDIR)/bashgetopt.o
458BUILTIN_OBJS = $(DEFDIR)/alias.o $(DEFDIR)/bind.o $(DEFDIR)/break.o \
459 $(DEFDIR)/builtin.o $(DEFDIR)/cd.o $(DEFDIR)/colon.o \
Jari Aaltob80f6442004-07-27 13:29:18 +0000460 $(DEFDIR)/command.o $(DEFDIR)/caller.o $(DEFDIR)/declare.o \
Jari Aaltoccc6cda1996-12-23 17:02:34 +0000461 $(DEFDIR)/echo.o $(DEFDIR)/enable.o $(DEFDIR)/eval.o \
462 $(DEFDIR)/exec.o $(DEFDIR)/exit.o $(DEFDIR)/fc.o \
463 $(DEFDIR)/fg_bg.o $(DEFDIR)/hash.o $(DEFDIR)/help.o \
464 $(DEFDIR)/history.o $(DEFDIR)/jobs.o $(DEFDIR)/kill.o \
465 $(DEFDIR)/let.o $(DEFDIR)/pushd.o $(DEFDIR)/read.o \
Jari Aaltocce855b1998-04-17 19:52:44 +0000466 $(DEFDIR)/return.o $(DEFDIR)/shopt.o $(DEFDIR)/printf.o \
Jari Aaltoccc6cda1996-12-23 17:02:34 +0000467 $(DEFDIR)/set.o $(DEFDIR)/setattr.o $(DEFDIR)/shift.o \
468 $(DEFDIR)/source.o $(DEFDIR)/suspend.o $(DEFDIR)/test.o \
469 $(DEFDIR)/times.o $(DEFDIR)/trap.o $(DEFDIR)/type.o \
470 $(DEFDIR)/ulimit.o $(DEFDIR)/umask.o $(DEFDIR)/wait.o \
471 $(DEFDIR)/getopts.o $(BUILTIN_C_OBJ)
472GETOPT_SOURCE = $(DEFSRC)/getopt.c $(DEFSRC)/getopt.h
473PSIZE_SOURCE = $(DEFSRC)/psize.sh $(DEFSRC)/psize.c
474
Jari Aaltod166f041997-06-05 14:59:13 +0000475BUILTINS_LIBRARY = $(DEFDIR)/libbuiltins.a
Jari Aaltoccc6cda1996-12-23 17:02:34 +0000476BUILTINS_LIB = -lbuiltins
477BUILTINS_LDFLAGS = -L$(DEFDIR)
478BUILTINS_DEP = $(BUILTINS_LIBRARY)
479
480# Documentation for the shell.
481DOCSRC = $(srcdir)/doc
Jari Aaltod166f041997-06-05 14:59:13 +0000482DOCDIR = $(dot)/doc
Jari Aaltoccc6cda1996-12-23 17:02:34 +0000483
Jari Aaltob80f6442004-07-27 13:29:18 +0000484# Translations and other i18n support files
485PO_SRC = $(srcdir)/po/
486PO_DIR = $(dot)/po/
487
Jari Aaltoccc6cda1996-12-23 17:02:34 +0000488SIGNAMES_SUPPORT = $(SUPPORT_SRC)mksignames.c
489
490SUPPORT_SRC = $(srcdir)/support/
Jari Aaltod166f041997-06-05 14:59:13 +0000491SDIR = $(dot)/support/
Jari Aaltoccc6cda1996-12-23 17:02:34 +0000492
Jari Aaltobb706242000-03-17 21:46:59 +0000493TESTS_SUPPORT = recho$(EXEEXT) zecho$(EXEEXT) printenv$(EXEEXT)
494CREATED_SUPPORT = signames.h recho$(EXEEXT) zecho$(EXEEXT) printenv$(EXEEXT) \
495 tests/recho$(EXEEXT) tests/zecho$(EXEEXT) \
Jari Aalto28ef6c32001-04-06 19:14:31 +0000496 tests/printenv$(EXEEXT) mksignames$(EXEEXT) lsignames.h \
Jari Aalto7117c2d2002-07-17 14:10:11 +0000497 mksyntax${EXEEXT} syntax.c $(VERSPROG) $(VERSOBJ) \
498 buildversion.o
Jari Aaltoccc6cda1996-12-23 17:02:34 +0000499CREATED_CONFIGURE = config.h config.cache config.status config.log \
Jari Aaltob80f6442004-07-27 13:29:18 +0000500 stamp-h po/POTFILES
Jari Aaltoccc6cda1996-12-23 17:02:34 +0000501CREATED_MAKEFILES = Makefile builtins/Makefile doc/Makefile \
502 lib/readline/Makefile lib/glob/Makefile \
Jari Aaltocce855b1998-04-17 19:52:44 +0000503 lib/sh/Makefile lib/tilde/Makefile lib/malloc/Makefile \
504 lib/termcap/Makefile examples/loadables/Makefile \
Jari Aaltob80f6442004-07-27 13:29:18 +0000505 examples/loadables/perl/Makefile support/Makefile \
506 lib/intl/Makefile po/Makefile po/Makefile.in
Jari Aaltoccc6cda1996-12-23 17:02:34 +0000507
508# Keep GNU Make from exporting the entire environment for small machines.
509.NOEXPORT:
510
511.made: $(Program) bashbug
Jari Aaltod166f041997-06-05 14:59:13 +0000512 @echo "$(Program) last made for a $(Machine) running $(OS)" >.made
Jari Aaltoccc6cda1996-12-23 17:02:34 +0000513
Jari Aaltod166f041997-06-05 14:59:13 +0000514$(Program): .build $(OBJECTS) $(BUILTINS_DEP) $(LIBDEP)
Jari Aaltoccc6cda1996-12-23 17:02:34 +0000515 $(RM) $@
Jari Aaltocce855b1998-04-17 19:52:44 +0000516 $(PURIFY) $(CC) $(BUILTINS_LDFLAGS) $(LIBRARY_LDFLAGS) $(LDFLAGS) -o $(Program) $(OBJECTS) $(LIBS)
Jari Aaltoccc6cda1996-12-23 17:02:34 +0000517 ls -l $(Program)
Jari Aalto95732b42005-12-07 14:08:12 +0000518 -$(SIZE) $(Program)
Jari Aaltoccc6cda1996-12-23 17:02:34 +0000519
Jari Aaltof73dda02001-11-13 17:56:06 +0000520.build: $(SOURCES) config.h Makefile version.h $(VERSPROG)
Jari Aaltoccc6cda1996-12-23 17:02:34 +0000521 @echo
522 @echo " ***********************************************************"
523 @echo " * *"
Jari Aaltof73dda02001-11-13 17:56:06 +0000524 @echo " * `$(BUILD_DIR)/$(VERSPROG) -l`"
Jari Aaltoccc6cda1996-12-23 17:02:34 +0000525 @echo " * *"
526 @echo " ***********************************************************"
527 @echo
528
Jari Aaltof73dda02001-11-13 17:56:06 +0000529bashbug: $(SUPPORT_SRC)bashbug.sh config.h Makefile $(VERSPROG)
Jari Aaltod166f041997-06-05 14:59:13 +0000530 @sed -e "s%!MACHINE!%$(Machine)%" -e "s%!OS!%$(OS)%" \
531 -e "s%!CFLAGS!%$(CCFLAGS)%" -e "s%!CC!%$(CC)%" \
532 -e "s%!RELEASE!%$(Version)%" -e "s%!PATCHLEVEL!%$(PatchLevel)%" \
533 -e "s%!MACHTYPE!%$(MACHTYPE)%" -e "s%!RELSTATUS!%$(RELSTATUS)%" \
Jari Aaltoccc6cda1996-12-23 17:02:34 +0000534 $(SUPPORT_SRC)bashbug.sh > $@
535 @chmod a+rx bashbug
536
537strip: $(Program) .made
538 strip $(Program)
539 ls -l $(Program)
Jari Aalto95732b42005-12-07 14:08:12 +0000540 -$(SIZE) $(Program)
Jari Aaltoccc6cda1996-12-23 17:02:34 +0000541
Jari Aaltof73dda02001-11-13 17:56:06 +0000542lint:
543 ${MAKE} ${MFLAGS} CFLAGS='${GCC_LINT_FLAGS}' .made
544
Jari Aaltod166f041997-06-05 14:59:13 +0000545version.h: $(SOURCES) config.h Makefile
Jari Aaltof73dda02001-11-13 17:56:06 +0000546 $(SHELL) $(SUPPORT_SRC)mkversion.sh -b -S ${topdir} -s $(RELSTATUS) -d $(Version) -o newversion.h \
Jari Aaltob72432f1999-02-19 17:11:39 +0000547 && mv newversion.h version.h
Jari Aaltoccc6cda1996-12-23 17:02:34 +0000548
Jari Aalto7117c2d2002-07-17 14:10:11 +0000549bashversion$(EXEEXT): patchlevel.h conftypes.h version.h buildversion.o $(SUPPORT_SRC)bashversion.c
550 $(CC_FOR_BUILD) $(CCFLAGS_FOR_BUILD) -o $@ $(SUPPORT_SRC)bashversion.c buildversion.o
551
552buildversion.o: version.h conftypes.h patchlevel.h $(srcdir)/version.c
Jari Aaltob80f6442004-07-27 13:29:18 +0000553 $(CC_FOR_BUILD) $(CCFLAGS_FOR_BUILD) -DBUILDTOOL -c -o $@ $(srcdir)/version.c
Jari Aaltof73dda02001-11-13 17:56:06 +0000554
Jari Aaltoccc6cda1996-12-23 17:02:34 +0000555# old rules
Jari Aaltod166f041997-06-05 14:59:13 +0000556GRAM_H = parser-built
Jari Aaltobb706242000-03-17 21:46:59 +0000557y.tab.o: y.tab.c ${GRAM_H} command.h ${BASHINCDIR}/stdc.h input.h
Jari Aaltod166f041997-06-05 14:59:13 +0000558${GRAM_H}: y.tab.h
559 @-if test -f y.tab.h ; then \
560 cmp -s $@ y.tab.h 2>/dev/null || cp -p y.tab.h $@; \
561 fi
562y.tab.c y.tab.h: parse.y
563# -if test -f y.tab.h; then mv -f y.tab.h old-y.tab.h; fi
Jari Aaltoccc6cda1996-12-23 17:02:34 +0000564 $(YACC) -d $(srcdir)/parse.y
Jari Aaltof73dda02001-11-13 17:56:06 +0000565 touch parser-built
Jari Aaltod166f041997-06-05 14:59:13 +0000566# -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 +0000567
568# experimental new rules - work with GNU make but not BSD (or OSF) make
569#y.tab.o: y.tab.c y.tab.h
Jari Aaltobb706242000-03-17 21:46:59 +0000570#y.tab.c y.tab.h: parse.y command.h ${BASHINCDIR}/stdc.h input.h
Jari Aaltoccc6cda1996-12-23 17:02:34 +0000571# -if test -f y.tab.h; then mv -f y.tab.h old-y.tab.h; fi
572# $(YACC) -d $(srcdir)/parse.y
573# -if cmp -s old-y.tab.h y.tab.h; then mv old-y.tab.h y.tab.h; fi
574
575$(READLINE_LIBRARY): config.h $(READLINE_SOURCE)
576 @echo making $@ in ${RL_LIBDIR}
Jari Aaltob72432f1999-02-19 17:11:39 +0000577 @( { test "${RL_LIBDIR}" = "${libdir}" && exit 0; } || \
578 cd ${RL_LIBDIR} && $(MAKE) $(MFLAGS) libreadline.a) || exit 1
Jari Aaltoccc6cda1996-12-23 17:02:34 +0000579
580$(HISTORY_LIBRARY): config.h $(HISTORY_SOURCE)
581 @echo making $@ in ${HIST_LIBDIR}
Jari Aaltob72432f1999-02-19 17:11:39 +0000582 @( { test "${HIST_LIBDIR}" = "${libdir}" && exit 0; } || \
583 cd ${HIST_LIBDIR} && $(MAKE) $(MFLAGS) libhistory.a) || exit 1
Jari Aaltoccc6cda1996-12-23 17:02:34 +0000584
585$(GLOB_LIBRARY): config.h $(GLOB_SOURCE)
586 @echo making $@ in ${GLOB_LIBDIR}
587 @(cd ${GLOB_LIBDIR} && \
Jari Aaltof73dda02001-11-13 17:56:06 +0000588 $(MAKE) $(MFLAGS) DEBUG=${DEBUG} libglob.a) || exit 1
Jari Aaltoccc6cda1996-12-23 17:02:34 +0000589
590$(TILDE_LIBRARY): config.h $(TILDE_SOURCE)
591 @echo making $@ in ${TILDE_LIBDIR}
592 @(cd ${TILDE_LIBDIR} && \
593 $(MAKE) $(MFLAGS) libtilde.a) || exit 1
594
595$(TERMCAP_LIBRARY): config.h ${TERMCAP_SOURCE}
Jari Aaltod166f041997-06-05 14:59:13 +0000596 @echo making $@ in ${TERM_LIBDIR}
597 @(cd ${TERM_LIBDIR} && \
Jari Aaltoccc6cda1996-12-23 17:02:34 +0000598 $(MAKE) $(MFLAGS) libtermcap.a) || exit 1
599
Jari Aaltocce855b1998-04-17 19:52:44 +0000600$(SHLIB_LIBRARY): config.h ${SHLIB_SOURCE}
601 @echo making $@ in ${SH_LIBDIR}
602 @(cd ${SH_LIBDIR} && \
Jari Aaltof73dda02001-11-13 17:56:06 +0000603 $(MAKE) $(MFLAGS) DEBUG=${DEBUG} ${SHLIB_LIBNAME}) || exit 1
Jari Aaltocce855b1998-04-17 19:52:44 +0000604
Jari Aaltob80f6442004-07-27 13:29:18 +0000605${INTL_LIBRARY}: config.h ${INTL_LIBDIR}/Makefile
606 @echo making $@ in ${INTL_LIBDIR}
607 @(cd ${INTL_LIBDIR} && \
608 $(MAKE) $(MFLAGS) all) || exit 1
609
610${LIBINTL_H}: ${INTL_LIBRARY}
611
Jari Aaltobb706242000-03-17 21:46:59 +0000612mksignames$(EXEEXT): $(SUPPORT_SRC)mksignames.c
Jari Aalto7117c2d2002-07-17 14:10:11 +0000613 $(CC_FOR_BUILD) $(CCFLAGS_FOR_BUILD) -o $@ $(SUPPORT_SRC)mksignames.c
Jari Aaltoccc6cda1996-12-23 17:02:34 +0000614
Jari Aaltof73dda02001-11-13 17:56:06 +0000615mksyntax$(EXEEXT): ${srcdir}/mksyntax.c config.h syntax.h ${BASHINCDIR}/chartypes.h
Jari Aalto7117c2d2002-07-17 14:10:11 +0000616 ${CC_FOR_BUILD} ${CCFLAGS_FOR_BUILD} -o $@ ${srcdir}/mksyntax.c
Jari Aalto28ef6c32001-04-06 19:14:31 +0000617
Jari Aaltocce855b1998-04-17 19:52:44 +0000618# make a list of signals for the local system -- this is done when we're
619# *not* cross-compiling
Jari Aaltobb706242000-03-17 21:46:59 +0000620lsignames.h: mksignames$(EXEEXT)
Jari Aaltoccc6cda1996-12-23 17:02:34 +0000621 $(RM) $@
Jari Aalto95732b42005-12-07 14:08:12 +0000622 ./mksignames$(EXEEXT) $@
Jari Aaltoccc6cda1996-12-23 17:02:34 +0000623
Jari Aaltocce855b1998-04-17 19:52:44 +0000624# copy the correct signames header file to signames.h
625signames.h: $(SIGNAMES_H)
626 -if cmp -s $(SIGNAMES_H) $@ ; then :; else $(RM) $@ ; $(CP) $(SIGNAMES_H) $@ ; fi
627
Jari Aalto28ef6c32001-04-06 19:14:31 +0000628syntax.c: mksyntax${EXEEXT} $(srcdir)/syntax.h
629 $(RM) $@
Jari Aalto95732b42005-12-07 14:08:12 +0000630 ./mksyntax$(EXEEXT) -o $@
Jari Aalto28ef6c32001-04-06 19:14:31 +0000631
Jari Aaltob80f6442004-07-27 13:29:18 +0000632$(BUILTINS_LIBRARY): $(BUILTIN_DEFS) $(BUILTIN_C_SRC) config.h ${BASHINCDIR}/memalloc.h version.h
Jari Aaltof73dda02001-11-13 17:56:06 +0000633 @(cd $(DEFDIR) && $(MAKE) $(MFLAGS) DEBUG=${DEBUG} libbuiltins.a ) || exit 1
Jari Aaltoccc6cda1996-12-23 17:02:34 +0000634
635# these require special rules to circumvent make builtin rules
Jari Aaltod166f041997-06-05 14:59:13 +0000636${DEFDIR}/common.o: $(BUILTIN_SRCDIR)/common.c
Jari Aaltof73dda02001-11-13 17:56:06 +0000637 @(cd $(DEFDIR) && $(MAKE) $(MFLAGS) DEBUG=${DEBUG} common.o) || exit 1
Jari Aaltoccc6cda1996-12-23 17:02:34 +0000638
Jari Aaltod166f041997-06-05 14:59:13 +0000639${DEFDIR}/bashgetopt.o: $(BUILTIN_SRCDIR)/bashgetopt.c
Jari Aaltof73dda02001-11-13 17:56:06 +0000640 @(cd $(DEFDIR) && $(MAKE) $(MFLAGS) DEBUG=${DEBUG} bashgetopt.o) || exit 1
Jari Aaltoccc6cda1996-12-23 17:02:34 +0000641
Jari Aaltod166f041997-06-05 14:59:13 +0000642${DEFDIR}/builtext.h: $(BUILTIN_DEFS)
Jari Aaltoccc6cda1996-12-23 17:02:34 +0000643 @(cd $(DEFDIR) && $(MAKE) $(MFLAGS) builtext.h ) || exit 1
644
645# For the justification of the following Makefile rules, see node
646# `Automatic Remaking' in GNU Autoconf documentation.
647
Jari Aaltod166f041997-06-05 14:59:13 +0000648Makefile makefile: config.status $(srcdir)/Makefile.in
649 CONFIG_FILES=Makefile CONFIG_HEADERS= $(SHELL) ./config.status
Jari Aaltoccc6cda1996-12-23 17:02:34 +0000650
Jari Aaltob80f6442004-07-27 13:29:18 +0000651pathnames.h: config.status $(srcdir)/Makefile.in
652 CONFIG_HEADERS= $(SHELL) ./config.status
653
Jari Aaltoccc6cda1996-12-23 17:02:34 +0000654Makefiles makefiles: config.status $(srcdir)/Makefile.in
655 @for mf in $(CREATED_MAKEFILES); do \
656 CONFIG_FILES=$$mf CONFIG_HEADERS= $(SHELL) ./config.status ; \
657 done
658
659config.h: stamp-h
660
Jari Aaltob72432f1999-02-19 17:11:39 +0000661stamp-h: config.status $(srcdir)/config.h.in $(srcdir)/config-top.h $(srcdir)/config-bot.h
Jari Aaltoccc6cda1996-12-23 17:02:34 +0000662 CONFIG_FILES= CONFIG_HEADERS=config.h $(SHELL) ./config.status
663
664config.status: $(srcdir)/configure
665 $(SHELL) ./config.status --recheck
666
667# comment out for distribution
Jari Aaltob72432f1999-02-19 17:11:39 +0000668$(srcdir)/configure: $(srcdir)/configure.in $(srcdir)/aclocal.m4 $(srcdir)/config.h.in
669 cd $(srcdir) && autoconf
670
671# for chet
672reconfig: force
Jari Aalto95732b42005-12-07 14:08:12 +0000673 sh $(srcdir)/configure -C
Jari Aaltoccc6cda1996-12-23 17:02:34 +0000674
Jari Aaltod166f041997-06-05 14:59:13 +0000675#newversion: mkversion
676# $(RM) .build
677# ./mkversion -dir $(srcdir) -dist
678# mv -f newversion.h version.h
679# $(MAKE) -f $(srcdir)/Makefile $(MFLAGS) srcdir=$(srcdir)
Jari Aaltoccc6cda1996-12-23 17:02:34 +0000680
681doc documentation: force
682 @(cd $(DOCDIR) ; $(MAKE) $(MFLAGS) )
683
684info dvi ps: force
685 @(cd $(DOCDIR) ; $(MAKE) $(MFLAGS) CFLAGS='$(CCFLAGS)' $@ )
686
687force:
688
689tags: $(SOURCES) $(BUILTIN_C_SRC) $(LIBRARY_SOURCE)
690 etags $(SOURCES) $(BUILTIN_C_SRC) $(LIBRARY_SOURCE)
691
692TAGS: $(SOURCES) $(BUILTIN_C_SRC) $(LIBRARY_SOURCE)
693 ctags -x $(SOURCES) $(BUILTIN_C_SRC) $(LIBRARY_SOURCE) > $@
694
695# Targets that actually do things not part of the build
696
697installdirs:
Jari Aaltob80f6442004-07-27 13:29:18 +0000698 @${SHELL} $(SUPPORT_SRC)mkinstalldirs $(DESTDIR)$(bindir)
699 @${SHELL} $(SUPPORT_SRC)mkinstalldirs $(DESTDIR)$(man1dir)
700 @${SHELL} $(SUPPORT_SRC)mkinstalldirs $(DESTDIR)$(infodir)
701 -( cd $(PO_DIR) ; $(MAKE) $(MFLAGS) DESTDIR=$(DESTDIR) $@ )
Jari Aaltoccc6cda1996-12-23 17:02:34 +0000702
703install: .made installdirs
Jari Aaltof73dda02001-11-13 17:56:06 +0000704 $(INSTALL_PROGRAM) $(INSTALLMODE) $(Program) $(DESTDIR)$(bindir)/$(Program)
Jari Aalto7117c2d2002-07-17 14:10:11 +0000705 $(INSTALL_SCRIPT) $(INSTALLMODE2) bashbug $(DESTDIR)$(bindir)/bashbug
Jari Aaltoccc6cda1996-12-23 17:02:34 +0000706 -( cd $(DOCDIR) ; $(MAKE) $(MFLAGS) \
707 man1dir=$(man1dir) man1ext=$(man1ext) \
708 man3dir=$(man3dir) man3ext=$(man3ext) \
Jari Aaltof73dda02001-11-13 17:56:06 +0000709 infodir=$(infodir) htmldir=$(htmldir) DESTDIR=$(DESTDIR) $@ )
Jari Aalto7117c2d2002-07-17 14:10:11 +0000710 -( cd $(DEFDIR) ; $(MAKE) $(MFLAGS) DESTDIR=$(DESTDIR) $@ )
Jari Aaltob80f6442004-07-27 13:29:18 +0000711 -( cd $(PO_DIR) ; $(MAKE) $(MFLAGS) DESTDIR=$(DESTDIR) $@ )
Jari Aaltoccc6cda1996-12-23 17:02:34 +0000712
713install-strip:
714 $(MAKE) $(MFLAGS) INSTALL_PROGRAM='$(INSTALL_PROGRAM) -s' \
Jari Aaltof73dda02001-11-13 17:56:06 +0000715 prefix=${prefix} exec_prefix=${exec_prefix} \
716 DESTDIR=$(DESTDIR) install
Jari Aaltoccc6cda1996-12-23 17:02:34 +0000717
718uninstall: .made
Jari Aaltof73dda02001-11-13 17:56:06 +0000719 $(RM) $(DESTDIR)$(bindir)/$(Program) $(DESTDIR)$(bindir)/bashbug
Jari Aaltoccc6cda1996-12-23 17:02:34 +0000720 -( cd $(DOCDIR) ; $(MAKE) $(MFLAGS) \
721 man1dir=$(man1dir) man1ext=$(man1ext) \
722 man3dir=$(man3dir) man3ext=$(man3ext) \
Jari Aaltof73dda02001-11-13 17:56:06 +0000723 infodir=$(infodir) htmldir=$(htmldir) DESTDIR=$(DESTDIR) $@ )
Jari Aaltob80f6442004-07-27 13:29:18 +0000724 -( cd $(PO_DIR) ; $(MAKE) $(MFLAGS) DESTDIR=$(DESTDIR) $@ )
Jari Aaltoccc6cda1996-12-23 17:02:34 +0000725
Jari Aalto7117c2d2002-07-17 14:10:11 +0000726.PHONY: basic-clean clean realclean maintainer-clean distclean mostlyclean maybe-clean
727
Jari Aaltob80f6442004-07-27 13:29:18 +0000728LIB_SUBDIRS = ${RL_LIBDIR} ${HIST_LIBDIR} ${TERM_LIBDIR} ${GLOB_LIBDIR} \
729 ${INTL_LIBDIR} ${TILDE_LIBDIR} ${ALLOC_LIBDIR} ${SH_LIBDIR}
730
Jari Aaltoccc6cda1996-12-23 17:02:34 +0000731basic-clean:
732 $(RM) $(OBJECTS) $(Program) bashbug
Jari Aalto95732b42005-12-07 14:08:12 +0000733 $(RM) .build .made version.h
Jari Aaltoccc6cda1996-12-23 17:02:34 +0000734
735clean: basic-clean
736 ( cd $(DOCDIR) && $(MAKE) $(MFLAGS) $@ )
737 ( cd builtins && $(MAKE) $(MFLAGS) $@ )
Jari Aalto7117c2d2002-07-17 14:10:11 +0000738 -( cd $(SDIR) && $(MAKE) $(MFLAGS) $@ )
Jari Aaltob80f6442004-07-27 13:29:18 +0000739 -for libdir in ${LIB_SUBDIRS}; do \
740 (cd $$libdir && test -f Makefile && $(MAKE) $(MFLAGS) $@) ;\
741 done
742 -( cd $(PO_DIR) ; $(MAKE) $(MFLAGS) DESTDIR=$(DESTDIR) $@ )
Jari Aaltoccc6cda1996-12-23 17:02:34 +0000743 $(RM) $(CREATED_SUPPORT)
744
745mostlyclean: basic-clean
746 ( cd $(DOCDIR) && $(MAKE) $(MFLAGS) $@ )
747 ( cd builtins && $(MAKE) $(MFLAGS) $@ )
Jari Aalto7117c2d2002-07-17 14:10:11 +0000748 -( cd $(SDIR) && $(MAKE) $(MFLAGS) $@ )
Jari Aaltob80f6442004-07-27 13:29:18 +0000749 -for libdir in ${LIB_SUBDIRS}; do \
750 (cd $$libdir && test -f Makefile && $(MAKE) $(MFLAGS) $@) ;\
751 done
752 -( cd $(PO_DIR) ; $(MAKE) $(MFLAGS) DESTDIR=$(DESTDIR) $@ )
Jari Aaltoccc6cda1996-12-23 17:02:34 +0000753
Jari Aalto7117c2d2002-07-17 14:10:11 +0000754distclean: basic-clean maybe-clean
Jari Aaltoccc6cda1996-12-23 17:02:34 +0000755 ( cd $(DOCDIR) && $(MAKE) $(MFLAGS) $@ )
756 ( cd builtins && $(MAKE) $(MFLAGS) $@ )
Jari Aalto7117c2d2002-07-17 14:10:11 +0000757 -( cd $(SDIR) && $(MAKE) $(MFLAGS) $@ )
Jari Aaltob80f6442004-07-27 13:29:18 +0000758 -for libdir in ${LIB_SUBDIRS}; do \
759 (cd $$libdir && test -f Makefile && $(MAKE) $(MFLAGS) $@) ;\
760 done
761 -( cd $(PO_DIR) ; $(MAKE) $(MFLAGS) DESTDIR=$(DESTDIR) $@ )
Jari Aaltoccc6cda1996-12-23 17:02:34 +0000762 $(RM) $(CREATED_CONFIGURE) tags TAGS
Jari Aalto95732b42005-12-07 14:08:12 +0000763 $(RM) $(CREATED_SUPPORT) Makefile $(CREATED_MAKEFILES) pathnames.h
Jari Aaltoccc6cda1996-12-23 17:02:34 +0000764
765maintainer-clean: basic-clean
766 @echo This command is intended for maintainers to use.
767 @echo It deletes files that may require special tools to rebuild.
Jari Aaltof73dda02001-11-13 17:56:06 +0000768 $(RM) y.tab.c y.tab.h parser-built tags TAGS
Jari Aaltoccc6cda1996-12-23 17:02:34 +0000769 ( cd $(DOCDIR) && $(MAKE) $(MFLAGS) $@ )
770 ( cd builtins && $(MAKE) $(MFLAGS) $@ )
Jari Aalto7117c2d2002-07-17 14:10:11 +0000771 ( cd $(SDIR) && $(MAKE) $(MFLAGS) $@ )
Jari Aaltob80f6442004-07-27 13:29:18 +0000772 -for libdir in ${LIB_SUBDIRS}; do \
773 (cd $$libdir && test -f Makefile && $(MAKE) $(MFLAGS) $@) ;\
774 done
775 -( cd $(PO_DIR) ; $(MAKE) $(MFLAGS) DESTDIR=$(DESTDIR) $@ )
Jari Aaltoccc6cda1996-12-23 17:02:34 +0000776 $(RM) $(CREATED_CONFIGURE) $(CREATED_MAKEFILES)
Jari Aalto95732b42005-12-07 14:08:12 +0000777 $(RM) $(CREATED_SUPPORT) Makefile pathnames.h
Jari Aaltoccc6cda1996-12-23 17:02:34 +0000778
Jari Aalto7117c2d2002-07-17 14:10:11 +0000779maybe-clean:
780 -if test "X$(topdir)" != "X$(BUILD_DIR)" ; then \
781 $(RM) parser-built y.tab.c y.tab.h ; \
782 fi
783
Jari Aaltobb706242000-03-17 21:46:59 +0000784recho$(EXEEXT): $(SUPPORT_SRC)recho.c
Jari Aalto7117c2d2002-07-17 14:10:11 +0000785 @$(CC_FOR_BUILD) $(CCFLAGS_FOR_BUILD) -o $@ $(SUPPORT_SRC)recho.c
Jari Aaltoccc6cda1996-12-23 17:02:34 +0000786
Jari Aaltobb706242000-03-17 21:46:59 +0000787zecho$(EXEEXT): $(SUPPORT_SRC)zecho.c
Jari Aalto7117c2d2002-07-17 14:10:11 +0000788 @$(CC_FOR_BUILD) $(CCFLAGS_FOR_BUILD) -o $@ $(SUPPORT_SRC)zecho.c
Jari Aaltoccc6cda1996-12-23 17:02:34 +0000789
Jari Aaltobb706242000-03-17 21:46:59 +0000790printenv$(EXEEXT): $(SUPPORT_SRC)printenv.c
Jari Aalto7117c2d2002-07-17 14:10:11 +0000791 @$(CC_FOR_BUILD) $(CCFLAGS_FOR_BUILD) -o $@ $(SUPPORT_SRC)printenv.c
Jari Aaltod166f041997-06-05 14:59:13 +0000792
Jari Aaltof73dda02001-11-13 17:56:06 +0000793test tests check: force $(Program) $(TESTS_SUPPORT)
Jari Aaltoccc6cda1996-12-23 17:02:34 +0000794 @-test -d tests || mkdir tests
Jari Aaltod166f041997-06-05 14:59:13 +0000795 @cp $(TESTS_SUPPORT) tests
Jari Aaltoccc6cda1996-12-23 17:02:34 +0000796 @( cd $(srcdir)/tests && \
Jari Aalto95732b42005-12-07 14:08:12 +0000797 PATH=$(BUILD_DIR)/tests:$$PATH THIS_SH=$(THIS_SH) $(SHELL) ${TESTSCRIPT} )
Jari Aaltoccc6cda1996-12-23 17:02:34 +0000798
799symlinks:
800 $(SHELL) $(SUPPORT_SRC)fixlinks -s $(srcdir)
801
802dist: force
803 @echo Bash distributions are created using $(srcdir)/support/mkdist.
804 @echo Here is a sample of the necessary commands:
Jari Aaltob80f6442004-07-27 13:29:18 +0000805 @echo $(Program) $(srcdir)/support/mkdist -m $(srcdir)/MANIFEST -s $(srcdir) -r ${PACKAGE} $(PACKAGE_VERSION)
806 @echo tar cf $(PACKAGE)-${PACKAGE_VERSION}.tar ${PACKAGE}-$(PACKAGE_VERSION)
807 @echo gzip $(PACKAGE)-$(PACKAGE_VERSION).tar
Jari Aaltod166f041997-06-05 14:59:13 +0000808
809depend: depends
810
Jari Aaltobb706242000-03-17 21:46:59 +0000811depends: force
Jari Aaltod166f041997-06-05 14:59:13 +0000812 $(Program) $(SUPPORT_SRC)mkdep -c ${CC} -- ${CCFLAGS} ${CSOURCES}
Jari Aaltoccc6cda1996-12-23 17:02:34 +0000813
Jari Aaltof73dda02001-11-13 17:56:06 +0000814#### PRIVATE TARGETS ####
815hashtest: hashlib.c
816 $(CC) -DTEST_HASHING $(CCFLAGS) -o $@ $(srcdir)/hashlib.c
817
Jari Aaltoccc6cda1996-12-23 17:02:34 +0000818############################ DEPENDENCIES ###############################
819
Jari Aaltob72432f1999-02-19 17:11:39 +0000820# Files that depend on the definitions in config-top.h, which are not meant
Jari Aaltoccc6cda1996-12-23 17:02:34 +0000821# to be changed
Jari Aaltob72432f1999-02-19 17:11:39 +0000822shell.o: config-top.h
823input.o: config-top.h
824y.tab.o: config-top.h
825jobs.o: config-top.h
826nojobs.o: config-top.h
827execute_cmd.o: config-top.h
828variables.o: config-top.h
829builtins/command.o: config-top.h
830builtins/common.o: config-top.h
831builtins/break.o: config-top.h
832builtins/echo.o: config-top.h
833builtins/evalstring.o: config-top.h
834builtins/exit.o: config-top.h
835builtins/kill.o: config-top.h
Jari Aaltoccc6cda1996-12-23 17:02:34 +0000836
Jari Aaltod166f041997-06-05 14:59:13 +0000837# shell basics
Jari Aalto28ef6c32001-04-06 19:14:31 +0000838copy_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 +0000839copy_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 +0000840copy_cmd.o: quit.h ${BASHINCDIR}/maxpath.h unwind_prot.h dispose_cmd.h
Jari Aaltod166f041997-06-05 14:59:13 +0000841copy_cmd.o: make_cmd.h subst.h sig.h pathnames.h externs.h
Jari Aaltobb706242000-03-17 21:46:59 +0000842dispose_cmd.o: bashansi.h ${BASHINCDIR}/ansi_stdlib.h
Jari Aalto28ef6c32001-04-06 19:14:31 +0000843dispose_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 +0000844dispose_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 +0000845dispose_cmd.o: quit.h ${BASHINCDIR}/maxpath.h unwind_prot.h dispose_cmd.h
Jari Aaltod166f041997-06-05 14:59:13 +0000846dispose_cmd.o: make_cmd.h subst.h sig.h pathnames.h externs.h
Jari Aalto7117c2d2002-07-17 14:10:11 +0000847dispose_cmd.o: ${BASHINCDIR}/ocache.h
Jari Aaltobb706242000-03-17 21:46:59 +0000848error.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 +0000849error.o: command.h general.h xmalloc.h externs.h input.h bashhist.h
Jari Aaltob80f6442004-07-27 13:29:18 +0000850error.o: shell.h syntax.h config.h bashjmp.h ${BASHINCDIR}/posixjmp.h command.h ${BASHINCDIR}/stdc.h error.h
851error.o: general.h xmalloc.h bashtypes.h variables.h arrayfunc.h conftypes.h array.h hashlib.h
852error.o: quit.h ${BASHINCDIR}/maxpath.h unwind_prot.h dispose_cmd.h
853error.o: make_cmd.h subst.h sig.h pathnames.h externs.h
854error.o: input.h execute_cmd.h
Jari Aaltobb706242000-03-17 21:46:59 +0000855eval.o: config.h bashansi.h ${BASHINCDIR}/ansi_stdlib.h trap.h flags.h ${DEFSRC}/common.h
Jari Aalto28ef6c32001-04-06 19:14:31 +0000856eval.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 +0000857eval.o: general.h xmalloc.h bashtypes.h variables.h arrayfunc.h conftypes.h array.h hashlib.h
Jari Aaltobb706242000-03-17 21:46:59 +0000858eval.o: quit.h ${BASHINCDIR}/maxpath.h unwind_prot.h dispose_cmd.h
Jari Aaltod166f041997-06-05 14:59:13 +0000859eval.o: make_cmd.h subst.h sig.h pathnames.h externs.h
Jari Aaltob80f6442004-07-27 13:29:18 +0000860eval.o: input.h execute_cmd.h
Jari Aaltobb706242000-03-17 21:46:59 +0000861execute_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 +0000862execute_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 +0000863execute_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 +0000864execute_cmd.o: quit.h ${BASHINCDIR}/maxpath.h unwind_prot.h dispose_cmd.h
Jari Aaltob80f6442004-07-27 13:29:18 +0000865execute_cmd.o: make_cmd.h subst.h sig.h pathnames.h externs.h
Jari Aaltobb706242000-03-17 21:46:59 +0000866execute_cmd.o: ${BASHINCDIR}/memalloc.h ${GRAM_H} flags.h builtins.h jobs.h quit.h siglist.h
Jari Aaltocce855b1998-04-17 19:52:44 +0000867execute_cmd.o: execute_cmd.h findcmd.h redir.h trap.h test.h pathexp.h
Jari Aaltof73dda02001-11-13 17:56:06 +0000868execute_cmd.o: $(DEFSRC)/common.h ${DEFDIR}/builtext.h ${GLOB_LIBSRC}/strmatch.h
869execute_cmd.o: ${BASHINCDIR}/posixtime.h ${BASHINCDIR}/chartypes.h
Jari Aaltob80f6442004-07-27 13:29:18 +0000870expr.o: config.h bashansi.h ${BASHINCDIR}/ansi_stdlib.h
Jari Aalto28ef6c32001-04-06 19:14:31 +0000871expr.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 +0000872expr.o: general.h xmalloc.h bashtypes.h variables.h arrayfunc.h conftypes.h array.h hashlib.h
Jari Aaltobb706242000-03-17 21:46:59 +0000873expr.o: quit.h ${BASHINCDIR}/maxpath.h unwind_prot.h dispose_cmd.h
Jari Aaltod166f041997-06-05 14:59:13 +0000874expr.o: make_cmd.h subst.h sig.h pathnames.h externs.h
Jari Aaltof73dda02001-11-13 17:56:06 +0000875expr.o: ${BASHINCDIR}/chartypes.h
Jari Aaltobb706242000-03-17 21:46:59 +0000876findcmd.o: config.h bashtypes.h ${BASHINCDIR}/filecntl.h ${BASHINCDIR}/posixstat.h bashansi.h
Jari Aalto28ef6c32001-04-06 19:14:31 +0000877findcmd.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 +0000878findcmd.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 +0000879findcmd.o: dispose_cmd.h make_cmd.h subst.h sig.h pathnames.h externs.h
880findcmd.o: flags.h hashlib.h pathexp.h hashcmd.h
Jari Aaltof73dda02001-11-13 17:56:06 +0000881findcmd.o: ${BASHINCDIR}/chartypes.h
Jari Aaltob80f6442004-07-27 13:29:18 +0000882flags.o: config.h flags.h
Jari Aalto28ef6c32001-04-06 19:14:31 +0000883flags.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 +0000884flags.o: general.h xmalloc.h bashtypes.h variables.h arrayfunc.h conftypes.h array.h hashlib.h
Jari Aaltobb706242000-03-17 21:46:59 +0000885flags.o: quit.h ${BASHINCDIR}/maxpath.h unwind_prot.h dispose_cmd.h
Jari Aaltof73dda02001-11-13 17:56:06 +0000886flags.o: make_cmd.h subst.h sig.h pathnames.h externs.h bashhist.h
Jari Aaltobb706242000-03-17 21:46:59 +0000887general.o: config.h bashtypes.h ${BASHINCDIR}/posixstat.h ${BASHINCDIR}/filecntl.h bashansi.h ${BASHINCDIR}/ansi_stdlib.h
Jari Aalto28ef6c32001-04-06 19:14:31 +0000888general.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 +0000889general.o: general.h xmalloc.h bashtypes.h variables.h arrayfunc.h conftypes.h array.h hashlib.h
Jari Aaltobb706242000-03-17 21:46:59 +0000890general.o: quit.h ${BASHINCDIR}/maxpath.h unwind_prot.h dispose_cmd.h
Jari Aaltob80f6442004-07-27 13:29:18 +0000891general.o: make_cmd.h subst.h sig.h pathnames.h externs.h
Jari Aaltobb706242000-03-17 21:46:59 +0000892general.o: ${BASHINCDIR}/maxpath.h ${BASHINCDIR}/posixtime.h
Jari Aaltof73dda02001-11-13 17:56:06 +0000893general.o: ${BASHINCDIR}/chartypes.h
Jari Aaltobb706242000-03-17 21:46:59 +0000894hashcmd.o: config.h ${BASHINCDIR}/posixstat.h bashtypes.h bashansi.h ${BASHINCDIR}/ansi_stdlib.h
Jari Aalto28ef6c32001-04-06 19:14:31 +0000895hashcmd.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 +0000896hashcmd.o: general.h xmalloc.h bashtypes.h variables.h arrayfunc.h conftypes.h array.h hashcmd.h
Jari Aalto7117c2d2002-07-17 14:10:11 +0000897hashcmd.o: execute_cmd.h findcmd.h ${BASHINCDIR}/stdc.h hashlib.h
Jari Aaltobb706242000-03-17 21:46:59 +0000898hashlib.o: config.h bashansi.h ${BASHINCDIR}/ansi_stdlib.h
Jari Aalto28ef6c32001-04-06 19:14:31 +0000899hashlib.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 +0000900hashlib.o: general.h xmalloc.h bashtypes.h variables.h arrayfunc.h conftypes.h array.h hashlib.h
Jari Aaltobb706242000-03-17 21:46:59 +0000901hashlib.o: quit.h ${BASHINCDIR}/maxpath.h unwind_prot.h dispose_cmd.h
Jari Aaltob80f6442004-07-27 13:29:18 +0000902hashlib.o: make_cmd.h subst.h sig.h pathnames.h externs.h
Jari Aaltobb706242000-03-17 21:46:59 +0000903input.o: config.h bashtypes.h ${BASHINCDIR}/filecntl.h ${BASHINCDIR}/posixstat.h bashansi.h ${BASHINCDIR}/ansi_stdlib.h
Jari Aaltof73dda02001-11-13 17:56:06 +0000904input.o: command.h ${BASHINCDIR}/stdc.h general.h xmalloc.h input.h error.h externs.h
Jari Aalto28ef6c32001-04-06 19:14:31 +0000905list.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 +0000906list.o: general.h xmalloc.h bashtypes.h variables.h arrayfunc.h conftypes.h array.h hashlib.h
Jari Aaltobb706242000-03-17 21:46:59 +0000907list.o: quit.h ${BASHINCDIR}/maxpath.h unwind_prot.h dispose_cmd.h
Jari Aaltob80f6442004-07-27 13:29:18 +0000908list.o: make_cmd.h subst.h sig.h pathnames.h externs.h
909locale.o: config.h bashtypes.h bashintl.h ${LIBINTL_H} bashansi.h ${BASHINCDIR}/ansi_stdlib.h
Jari Aalto28ef6c32001-04-06 19:14:31 +0000910locale.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 +0000911locale.o: general.h xmalloc.h bashtypes.h variables.h arrayfunc.h conftypes.h array.h hashlib.h
Jari Aaltobb706242000-03-17 21:46:59 +0000912locale.o: quit.h ${BASHINCDIR}/maxpath.h unwind_prot.h dispose_cmd.h
Jari Aaltob80f6442004-07-27 13:29:18 +0000913locale.o: make_cmd.h subst.h sig.h pathnames.h externs.h
Jari Aaltof73dda02001-11-13 17:56:06 +0000914locale.o: ${BASHINCDIR}/chartypes.h
Jari Aaltobb706242000-03-17 21:46:59 +0000915mailcheck.o: config.h bashtypes.h ${BASHINCDIR}/posixstat.h bashansi.h ${BASHINCDIR}/ansi_stdlib.h
Jari Aaltof73dda02001-11-13 17:56:06 +0000916mailcheck.o: ${BASHINCDIR}/posixtime.h
Jari Aalto28ef6c32001-04-06 19:14:31 +0000917mailcheck.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 +0000918mailcheck.o: general.h xmalloc.h bashtypes.h variables.h arrayfunc.h conftypes.h array.h hashlib.h
Jari Aaltobb706242000-03-17 21:46:59 +0000919mailcheck.o: quit.h ${BASHINCDIR}/maxpath.h unwind_prot.h dispose_cmd.h
Jari Aaltod166f041997-06-05 14:59:13 +0000920mailcheck.o: make_cmd.h subst.h sig.h pathnames.h externs.h
Jari Aaltob80f6442004-07-27 13:29:18 +0000921mailcheck.o: execute_cmd.h mailcheck.h
Jari Aaltobb706242000-03-17 21:46:59 +0000922make_cmd.o: config.h bashtypes.h ${BASHINCDIR}/filecntl.h bashansi.h
Jari Aaltof73dda02001-11-13 17:56:06 +0000923make_cmd.o: command.h ${BASHINCDIR}/stdc.h general.h xmalloc.h error.h flags.h make_cmd.h
924make_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 +0000925make_cmd.o: jobs.h quit.h siglist.h syntax.h dispose_cmd.h
926make_cmd.o: ${BASHINCDIR}/shmbutil.h ${BASHINCDIR}/ocache.h
Jari Aaltobb706242000-03-17 21:46:59 +0000927y.tab.o: config.h bashtypes.h bashansi.h ${BASHINCDIR}/ansi_stdlib.h ${BASHINCDIR}/memalloc.h
Jari Aalto28ef6c32001-04-06 19:14:31 +0000928y.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 +0000929y.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 +0000930y.tab.o: quit.h ${BASHINCDIR}/maxpath.h unwind_prot.h dispose_cmd.h
Jari Aaltof73dda02001-11-13 17:56:06 +0000931y.tab.o: make_cmd.h subst.h sig.h pathnames.h externs.h test.h
Jari Aaltod166f041997-06-05 14:59:13 +0000932y.tab.o: trap.h flags.h parser.h input.h mailcheck.h $(DEFSRC)/common.h
933y.tab.o: $(DEFDIR)/builtext.h bashline.h bashhist.h jobs.h siglist.h alias.h
Jari Aaltobb706242000-03-17 21:46:59 +0000934pathexp.o: config.h bashtypes.h bashansi.h ${BASHINCDIR}/ansi_stdlib.h
Jari Aalto28ef6c32001-04-06 19:14:31 +0000935pathexp.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 +0000936pathexp.o: general.h xmalloc.h bashtypes.h variables.h arrayfunc.h conftypes.h array.h hashlib.h
Jari Aaltobb706242000-03-17 21:46:59 +0000937pathexp.o: quit.h ${BASHINCDIR}/maxpath.h unwind_prot.h dispose_cmd.h
Jari Aaltod166f041997-06-05 14:59:13 +0000938pathexp.o: make_cmd.h subst.h sig.h pathnames.h externs.h
939pathexp.o: pathexp.h flags.h
Jari Aaltof73dda02001-11-13 17:56:06 +0000940pathexp.o: $(GLOB_LIBSRC)/glob.h $(GLOB_LIBSRC)/strmatch.h
Jari Aalto7117c2d2002-07-17 14:10:11 +0000941pathexp.o: ${BASHINCDIR}/shmbutil.h
Jari Aaltobb706242000-03-17 21:46:59 +0000942print_cmd.o: config.h bashansi.h ${BASHINCDIR}/ansi_stdlib.h
Jari Aalto28ef6c32001-04-06 19:14:31 +0000943print_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 +0000944print_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 +0000945print_cmd.o: quit.h ${BASHINCDIR}/maxpath.h unwind_prot.h dispose_cmd.h
Jari Aaltob80f6442004-07-27 13:29:18 +0000946print_cmd.o: make_cmd.h subst.h sig.h pathnames.h externs.h
Jari Aaltod166f041997-06-05 14:59:13 +0000947print_cmd.o: ${GRAM_H} $(DEFSRC)/common.h
Jari Aaltobb706242000-03-17 21:46:59 +0000948redir.o: config.h bashtypes.h ${BASHINCDIR}/posixstat.h bashansi.h ${BASHINCDIR}/ansi_stdlib.h ${BASHINCDIR}/filecntl.h
Jari Aalto28ef6c32001-04-06 19:14:31 +0000949redir.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 +0000950redir.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 +0000951redir.o: dispose_cmd.h make_cmd.h subst.h sig.h pathnames.h externs.h
Jari Aaltocce855b1998-04-17 19:52:44 +0000952redir.o: flags.h execute_cmd.h redir.h input.h
Jari Aaltobb706242000-03-17 21:46:59 +0000953shell.o: config.h bashtypes.h ${BASHINCDIR}/posixstat.h bashansi.h ${BASHINCDIR}/ansi_stdlib.h ${BASHINCDIR}/filecntl.h
Jari Aalto28ef6c32001-04-06 19:14:31 +0000954shell.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 +0000955shell.o: general.h xmalloc.h bashtypes.h variables.h arrayfunc.h conftypes.h array.h hashlib.h
Jari Aaltobb706242000-03-17 21:46:59 +0000956shell.o: quit.h ${BASHINCDIR}/maxpath.h unwind_prot.h dispose_cmd.h
Jari Aaltob80f6442004-07-27 13:29:18 +0000957shell.o: make_cmd.h subst.h sig.h pathnames.h externs.h
Jari Aaltod166f041997-06-05 14:59:13 +0000958shell.o: flags.h trap.h mailcheck.h builtins.h $(DEFSRC)/common.h
Jari Aaltocce855b1998-04-17 19:52:44 +0000959shell.o: jobs.h siglist.h input.h execute_cmd.h findcmd.h bashhist.h
Jari Aaltof73dda02001-11-13 17:56:06 +0000960shell.o: ${GLOB_LIBSRC}/strmatch.h ${BASHINCDIR}/posixtime.h
Jari Aaltod166f041997-06-05 14:59:13 +0000961sig.o: config.h bashtypes.h
Jari Aalto28ef6c32001-04-06 19:14:31 +0000962sig.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 +0000963sig.o: general.h xmalloc.h bashtypes.h variables.h arrayfunc.h conftypes.h array.h hashlib.h
Jari Aaltobb706242000-03-17 21:46:59 +0000964sig.o: quit.h ${BASHINCDIR}/maxpath.h unwind_prot.h dispose_cmd.h
Jari Aaltob80f6442004-07-27 13:29:18 +0000965sig.o: make_cmd.h subst.h sig.h pathnames.h externs.h
Jari Aaltod166f041997-06-05 14:59:13 +0000966sig.o: jobs.h siglist.h trap.h $(DEFSRC)/common.h bashline.h bashhist.h
967siglist.o: config.h bashtypes.h siglist.h trap.h
Jari Aaltof73dda02001-11-13 17:56:06 +0000968stringlib.o: bashtypes.h ${BASHINCDIR}/chartypes.h
Jari Aalto28ef6c32001-04-06 19:14:31 +0000969stringlib.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 +0000970stringlib.o: general.h xmalloc.h bashtypes.h variables.h arrayfunc.h conftypes.h array.h hashlib.h
Jari Aaltobb706242000-03-17 21:46:59 +0000971stringlib.o: quit.h ${BASHINCDIR}/maxpath.h unwind_prot.h dispose_cmd.h
Jari Aaltob80f6442004-07-27 13:29:18 +0000972stringlib.o: make_cmd.h subst.h sig.h pathnames.h externs.h
Jari Aaltof73dda02001-11-13 17:56:06 +0000973stringlib.o: ${GLOB_LIBSRC}/glob.h ${GLOB_LIBSRC}/strmatch.h
Jari Aaltobb706242000-03-17 21:46:59 +0000974subst.o: config.h bashtypes.h bashansi.h ${BASHINCDIR}/ansi_stdlib.h ${BASHINCDIR}/posixstat.h
Jari Aalto28ef6c32001-04-06 19:14:31 +0000975subst.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 +0000976subst.o: general.h xmalloc.h bashtypes.h variables.h arrayfunc.h conftypes.h array.h hashlib.h
Jari Aaltobb706242000-03-17 21:46:59 +0000977subst.o: quit.h ${BASHINCDIR}/maxpath.h unwind_prot.h dispose_cmd.h
Jari Aaltob80f6442004-07-27 13:29:18 +0000978subst.o: make_cmd.h subst.h sig.h pathnames.h externs.h
Jari Aaltobb706242000-03-17 21:46:59 +0000979subst.o: flags.h jobs.h siglist.h execute_cmd.h ${BASHINCDIR}/filecntl.h trap.h pathexp.h
Jari Aaltod166f041997-06-05 14:59:13 +0000980subst.o: mailcheck.h input.h $(DEFSRC)/getopt.h $(DEFSRC)/common.h
Jari Aaltof73dda02001-11-13 17:56:06 +0000981subst.o: bashline.h bashhist.h ${GLOB_LIBSRC}/strmatch.h
982subst.o: ${BASHINCDIR}/chartypes.h
Jari Aalto7117c2d2002-07-17 14:10:11 +0000983subst.o: ${BASHINCDIR}/shmbutil.h
Jari Aaltobb706242000-03-17 21:46:59 +0000984test.o: bashtypes.h ${BASHINCDIR}/posixstat.h ${BASHINCDIR}/filecntl.h
Jari Aalto28ef6c32001-04-06 19:14:31 +0000985test.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 +0000986test.o: general.h xmalloc.h bashtypes.h variables.h arrayfunc.h conftypes.h array.h hashlib.h
Jari Aaltobb706242000-03-17 21:46:59 +0000987test.o: quit.h ${BASHINCDIR}/maxpath.h unwind_prot.h dispose_cmd.h
Jari Aaltocce855b1998-04-17 19:52:44 +0000988test.o: make_cmd.h subst.h sig.h pathnames.h externs.h test.h
Jari Aaltob80f6442004-07-27 13:29:18 +0000989test.o: ${DEFSRC}/common.h
Jari Aaltobb706242000-03-17 21:46:59 +0000990trap.o: config.h bashtypes.h trap.h bashansi.h ${BASHINCDIR}/ansi_stdlib.h
Jari Aalto28ef6c32001-04-06 19:14:31 +0000991trap.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 +0000992trap.o: general.h xmalloc.h bashtypes.h variables.h arrayfunc.h conftypes.h array.h hashlib.h
Jari Aaltobb706242000-03-17 21:46:59 +0000993trap.o: quit.h ${BASHINCDIR}/maxpath.h unwind_prot.h dispose_cmd.h
Jari Aaltob80f6442004-07-27 13:29:18 +0000994trap.o: make_cmd.h subst.h sig.h pathnames.h externs.h
Jari Aaltod166f041997-06-05 14:59:13 +0000995trap.o: signames.h $(DEFSRC)/common.h
Jari Aaltob80f6442004-07-27 13:29:18 +0000996trap.o: ${DEFDIR}/builtext.h
Jari Aaltobb706242000-03-17 21:46:59 +0000997unwind_prot.o: config.h bashtypes.h bashansi.h ${BASHINCDIR}/ansi_stdlib.h command.h ${BASHINCDIR}/stdc.h
Jari Aaltof73dda02001-11-13 17:56:06 +0000998unwind_prot.o: general.h xmalloc.h unwind_prot.h quit.h sig.h
Jari Aaltobb706242000-03-17 21:46:59 +0000999variables.o: config.h bashtypes.h ${BASHINCDIR}/posixstat.h bashansi.h ${BASHINCDIR}/ansi_stdlib.h
Jari Aalto28ef6c32001-04-06 19:14:31 +00001000variables.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 +00001001variables.o: general.h xmalloc.h bashtypes.h variables.h arrayfunc.h conftypes.h array.h hashlib.h
Jari Aaltobb706242000-03-17 21:46:59 +00001002variables.o: quit.h ${BASHINCDIR}/maxpath.h unwind_prot.h dispose_cmd.h
Jari Aaltob80f6442004-07-27 13:29:18 +00001003variables.o: make_cmd.h subst.h sig.h pathnames.h externs.h
Jari Aaltocce855b1998-04-17 19:52:44 +00001004variables.o: flags.h execute_cmd.h mailcheck.h input.h $(DEFSRC)/common.h
Jari Aaltof73dda02001-11-13 17:56:06 +00001005variables.o: findcmd.h bashhist.h hashcmd.h pathexp.h
Jari Aaltob80f6442004-07-27 13:29:18 +00001006variables.o: pcomplete.h ${BASHINCDIR}/chartypes.h
Jari Aaltof73dda02001-11-13 17:56:06 +00001007variables.o: ${BASHINCDIR}/posixtime.h
Jari Aaltob80f6442004-07-27 13:29:18 +00001008version.o: conftypes.h patchlevel.h version.h
Jari Aaltobb706242000-03-17 21:46:59 +00001009xmalloc.o: config.h bashtypes.h ${BASHINCDIR}/ansi_stdlib.h error.h
Jari Aaltoccc6cda1996-12-23 17:02:34 +00001010
Jari Aaltod166f041997-06-05 14:59:13 +00001011# job control
Jari Aaltoccc6cda1996-12-23 17:02:34 +00001012
Jari Aaltobb706242000-03-17 21:46:59 +00001013jobs.o: config.h bashtypes.h trap.h ${BASHINCDIR}/filecntl.h input.h ${BASHINCDIR}/shtty.h
1014jobs.o: bashansi.h ${BASHINCDIR}/ansi_stdlib.h
Jari Aalto28ef6c32001-04-06 19:14:31 +00001015jobs.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 +00001016jobs.o: general.h xmalloc.h bashtypes.h variables.h arrayfunc.h conftypes.h array.h hashlib.h
Jari Aaltobb706242000-03-17 21:46:59 +00001017jobs.o: quit.h ${BASHINCDIR}/maxpath.h unwind_prot.h dispose_cmd.h
Jari Aaltob80f6442004-07-27 13:29:18 +00001018jobs.o: make_cmd.h subst.h sig.h pathnames.h externs.h
Jari Aaltod166f041997-06-05 14:59:13 +00001019jobs.o: jobs.h flags.h $(DEFSRC)/common.h $(DEFDIR)/builtext.h
Jari Aaltobb706242000-03-17 21:46:59 +00001020jobs.o: ${BASHINCDIR}/posixwait.h ${BASHINCDIR}/unionwait.h
Jari Aaltof73dda02001-11-13 17:56:06 +00001021jobs.o: ${BASHINCDIR}/posixtime.h
Jari Aaltobb706242000-03-17 21:46:59 +00001022nojobs.o: config.h bashtypes.h ${BASHINCDIR}/filecntl.h bashjmp.h ${BASHINCDIR}/posixjmp.h
Jari Aaltof73dda02001-11-13 17:56:06 +00001023nojobs.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 +00001024nojobs.o: sig.h error.h ${BASHINCDIR}/shtty.h input.h
Jari Aaltoccc6cda1996-12-23 17:02:34 +00001025
Jari Aaltod166f041997-06-05 14:59:13 +00001026# shell features that may be compiled in
Jari Aaltoccc6cda1996-12-23 17:02:34 +00001027
Jari Aaltobb706242000-03-17 21:46:59 +00001028array.o: config.h bashansi.h ${BASHINCDIR}/ansi_stdlib.h
Jari Aalto28ef6c32001-04-06 19:14:31 +00001029array.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 +00001030array.o: general.h xmalloc.h bashtypes.h variables.h arrayfunc.h conftypes.h array.h hashlib.h
Jari Aaltobb706242000-03-17 21:46:59 +00001031array.o: quit.h ${BASHINCDIR}/maxpath.h unwind_prot.h dispose_cmd.h
Jari Aaltob80f6442004-07-27 13:29:18 +00001032array.o: make_cmd.h subst.h sig.h pathnames.h externs.h
Jari Aaltod166f041997-06-05 14:59:13 +00001033array.o: $(DEFSRC)/common.h
Jari Aaltof73dda02001-11-13 17:56:06 +00001034arrayfunc.o: config.h bashansi.h ${BASHINCDIR}/ansi_stdlib.h
1035arrayfunc.o: shell.h syntax.h config.h bashjmp.h ${BASHINCDIR}/posixjmp.h command.h ${BASHINCDIR}/stdc.h error.h
1036arrayfunc.o: general.h xmalloc.h bashtypes.h variables.h arrayfunc.h conftypes.h array.h hashlib.h
1037arrayfunc.o: quit.h ${BASHINCDIR}/maxpath.h unwind_prot.h dispose_cmd.h
Jari Aaltob80f6442004-07-27 13:29:18 +00001038arrayfunc.o: make_cmd.h subst.h sig.h pathnames.h externs.h
Jari Aaltof73dda02001-11-13 17:56:06 +00001039arrayfunc.o: $(DEFSRC)/common.h
Jari Aalto7117c2d2002-07-17 14:10:11 +00001040arrayfunc.o: ${BASHINCDIR}/shmbutil.h
Jari Aaltobb706242000-03-17 21:46:59 +00001041braces.o: config.h bashansi.h ${BASHINCDIR}/ansi_stdlib.h
Jari Aalto28ef6c32001-04-06 19:14:31 +00001042braces.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 +00001043braces.o: general.h xmalloc.h bashtypes.h variables.h arrayfunc.h conftypes.h array.h hashlib.h
Jari Aaltobb706242000-03-17 21:46:59 +00001044braces.o: quit.h ${BASHINCDIR}/maxpath.h unwind_prot.h dispose_cmd.h
Jari Aaltob80f6442004-07-27 13:29:18 +00001045braces.o: make_cmd.h subst.h sig.h pathnames.h externs.h
Jari Aalto7117c2d2002-07-17 14:10:11 +00001046braces.o: ${BASHINCDIR}/shmbutil.h
Jari Aaltobb706242000-03-17 21:46:59 +00001047alias.o: config.h bashansi.h ${BASHINCDIR}/ansi_stdlib.h command.h ${BASHINCDIR}/stdc.h
Jari Aaltof73dda02001-11-13 17:56:06 +00001048alias.o: general.h xmalloc.h bashtypes.h externs.h alias.h
Jari Aaltob80f6442004-07-27 13:29:18 +00001049alias.o: pcomplete.h
Jari Aaltof73dda02001-11-13 17:56:06 +00001050alias.o: ${BASHINCDIR}/chartypes.h
Jari Aaltobb706242000-03-17 21:46:59 +00001051
1052pcomplib.o: config.h bashansi.h ${BASHINCDIR}/ansi_stdlib.h bashtypes.h
Jari Aalto28ef6c32001-04-06 19:14:31 +00001053pcomplib.o: ${BASHINCDIR}/stdc.h hashlib.h pcomplete.h shell.h syntax.h
Jari Aaltof73dda02001-11-13 17:56:06 +00001054pcomplib.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 +00001055pcomplib.o: unwind_prot.h dispose_cmd.h make_cmd.h subst.h sig.h pathnames.h
1056pcomplib.o: externs.h ${BASHINCDIR}/maxpath.h
1057
1058pcomplete.o: config.h bashansi.h ${BASHINCDIR}/ansi_stdlib.h bashtypes.h
Jari Aalto28ef6c32001-04-06 19:14:31 +00001059pcomplete.o: ${BASHINCDIR}/stdc.h hashlib.h pcomplete.h shell.h syntax.h
Jari Aaltof73dda02001-11-13 17:56:06 +00001060pcomplete.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 +00001061pcomplete.o: unwind_prot.h dispose_cmd.h make_cmd.h subst.h sig.h pathnames.h
Jari Aaltob80f6442004-07-27 13:29:18 +00001062pcomplete.o: externs.h ${BASHINCDIR}/maxpath.h execute_cmd.h
Jari Aaltoccc6cda1996-12-23 17:02:34 +00001063
Jari Aaltod166f041997-06-05 14:59:13 +00001064# library support files
Jari Aaltoccc6cda1996-12-23 17:02:34 +00001065
Jari Aaltobb706242000-03-17 21:46:59 +00001066bashhist.o: config.h bashtypes.h bashansi.h ${BASHINCDIR}/ansi_stdlib.h ${BASHINCDIR}/posixstat.h
1067bashhist.o: ${BASHINCDIR}/filecntl.h
Jari Aalto28ef6c32001-04-06 19:14:31 +00001068bashhist.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 +00001069bashhist.o: general.h xmalloc.h bashtypes.h variables.h arrayfunc.h conftypes.h array.h hashlib.h
Jari Aaltobb706242000-03-17 21:46:59 +00001070bashhist.o: quit.h ${BASHINCDIR}/maxpath.h unwind_prot.h dispose_cmd.h
Jari Aaltob80f6442004-07-27 13:29:18 +00001071bashhist.o: make_cmd.h subst.h sig.h pathnames.h externs.h
Jari Aaltod166f041997-06-05 14:59:13 +00001072bashhist.o: flags.h input.h parser.h pathexp.h $(DEFSRC)/common.h bashline.h
Jari Aaltof73dda02001-11-13 17:56:06 +00001073bashhist.o: $(GLOB_LIBSRC)/strmatch.h
Jari Aaltobb706242000-03-17 21:46:59 +00001074bashline.o: config.h bashtypes.h ${BASHINCDIR}/posixstat.h bashansi.h ${BASHINCDIR}/ansi_stdlib.h
Jari Aalto28ef6c32001-04-06 19:14:31 +00001075bashline.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 +00001076bashline.o: general.h xmalloc.h bashtypes.h variables.h arrayfunc.h conftypes.h array.h hashlib.h
Jari Aaltobb706242000-03-17 21:46:59 +00001077bashline.o: quit.h ${BASHINCDIR}/maxpath.h unwind_prot.h dispose_cmd.h
Jari Aaltob80f6442004-07-27 13:29:18 +00001078bashline.o: make_cmd.h subst.h sig.h pathnames.h externs.h
Jari Aaltocce855b1998-04-17 19:52:44 +00001079bashline.o: builtins.h bashhist.h bashline.h execute_cmd.h findcmd.h pathexp.h
Jari Aaltod166f041997-06-05 14:59:13 +00001080bashline.o: $(DEFSRC)/common.h $(GLOB_LIBSRC)/glob.h alias.h
Jari Aalto7117c2d2002-07-17 14:10:11 +00001081bashline.o: pcomplete.h ${BASHINCDIR}/chartypes.h input.h
Jari Aaltobb706242000-03-17 21:46:59 +00001082bracecomp.o: config.h bashansi.h ${BASHINCDIR}/ansi_stdlib.h
Jari Aalto28ef6c32001-04-06 19:14:31 +00001083bracecomp.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 +00001084bracecomp.o: general.h xmalloc.h bashtypes.h variables.h arrayfunc.h conftypes.h array.h hashlib.h
Jari Aaltobb706242000-03-17 21:46:59 +00001085bracecomp.o: quit.h ${BASHINCDIR}/maxpath.h unwind_prot.h dispose_cmd.h
Jari Aaltob80f6442004-07-27 13:29:18 +00001086bracecomp.o: make_cmd.h subst.h sig.h pathnames.h externs.h
Jari Aaltof73dda02001-11-13 17:56:06 +00001087bracecomp.o: shell.h syntax.h bashjmp.h ${BASHINCDIR}/posixjmp.h sig.h command.h hashlib.h builtins.h general.h xmalloc.h
1088bracecomp.o: quit.h alias.h config.h variables.h arrayfunc.h conftypes.h
Jari Aaltobb706242000-03-17 21:46:59 +00001089bracecomp.o: dispose_cmd.h make_cmd.h subst.h externs.h ${BASHINCDIR}/stdc.h
Jari Aaltoccc6cda1996-12-23 17:02:34 +00001090
Jari Aaltod166f041997-06-05 14:59:13 +00001091# library dependencies
Jari Aaltoccc6cda1996-12-23 17:02:34 +00001092
Jari Aaltod166f041997-06-05 14:59:13 +00001093bashline.o: $(RL_LIBSRC)/rlconf.h
Jari Aaltob72432f1999-02-19 17:11:39 +00001094bashline.o: $(RL_LIBSRC)/keymaps.h $(RL_LIBSRC)/rlstdc.h
Jari Aaltod166f041997-06-05 14:59:13 +00001095bashline.o: $(RL_LIBSRC)/chardefs.h $(RL_LIBSRC)/readline.h
1096bracecomp.o: $(RL_LIBSRC)/keymaps.h $(RL_LIBSRC)/chardefs.h
Jari Aaltob72432f1999-02-19 17:11:39 +00001097bracecomp.o: $(RL_LIBSRC)/readline.h $(RL_LIBSRC)/rlstdc.h
1098y.tab.o: $(RL_LIBSRC)/keymaps.h $(RL_LIBSRC)/chardefs.h
1099y.tab.o: $(RL_LIBSRC)/readline.h $(RL_LIBSRC)/rlstdc.h
1100subst.o: $(RL_LIBSRC)/keymaps.h $(RL_LIBSRC)/chardefs.h
1101subst.o: $(RL_LIBSRC)/readline.h $(RL_LIBSRC)/rlstdc.h
Jari Aaltoccc6cda1996-12-23 17:02:34 +00001102
Jari Aaltob72432f1999-02-19 17:11:39 +00001103shell.o: $(HIST_LIBSRC)/history.h $(HIST_LIBSRC)/rlstdc.h
1104subst.o: $(HIST_LIBSRC)/history.h $(HIST_LIBSRC)/rlstdc.h
1105bashline.o: $(HIST_LIBSRC)/history.h $(HIST_LIBSRC)/rlstdc.h
1106bashhist.o: $(HIST_LIBSRC)/history.h $(HIST_LIBSRC)/rlstdc.h
1107y.tab.o: $(HIST_LIBSRC)/history.h $(HIST_LIBSRC)/rlstdc.h
Jari Aaltoccc6cda1996-12-23 17:02:34 +00001108
Jari Aaltoccc6cda1996-12-23 17:02:34 +00001109execute_cmd.o: $(TILDE_LIBSRC)/tilde.h
1110general.o: $(TILDE_LIBSRC)/tilde.h
1111mailcheck.o: $(TILDE_LIBSRC)/tilde.h
1112shell.o: $(TILDE_LIBSRC)/tilde.h
1113subst.o: $(TILDE_LIBSRC)/tilde.h
1114variables.o: $(TILDE_LIBSRC)/tilde.h
1115
Jari Aaltob80f6442004-07-27 13:29:18 +00001116# libintl dependencies
1117arrayfunc.o: bashintl.h ${LIBINTL_H} $(BASHINCDIR)/gettext.h
1118bashhist.o: bashintl.h ${LIBINTL_H} $(BASHINCDIR)/gettext.h
1119bashline.o: bashintl.h ${LIBINTL_H} $(BASHINCDIR)/gettext.h
1120braces.o: bashintl.h ${LIBINTL_H} $(BASHINCDIR)/gettext.h
1121error.o: bashintl.h ${LIBINTL_H} $(BASHINCDIR)/gettext.h
1122eval.o: bashintl.h ${LIBINTL_H} $(BASHINCDIR)/gettext.h
1123execute_cmd.o: bashintl.h ${LIBINTL_H} $(BASHINCDIR)/gettext.h
1124expr.o: bashintl.h ${LIBINTL_H} $(BASHINCDIR)/gettext.h
1125general.o: bashintl.h ${LIBINTL_H} $(BASHINCDIR)/gettext.h
1126input.o: bashintl.h ${LIBINTL_H} $(BASHINCDIR)/gettext.h
1127jobs.o: bashintl.h ${LIBINTL_H} $(BASHINCDIR)/gettext.h
1128mailcheck.o: bashintl.h ${LIBINTL_H} $(BASHINCDIR)/gettext.h
1129make_cmd.o: bashintl.h ${LIBINTL_H} $(BASHINCDIR)/gettext.h
1130nojobs.o: bashintl.h ${LIBINTL_H} $(BASHINCDIR)/gettext.h
1131parse.y: bashintl.h ${LIBINTL_H} $(BASHINCDIR)/gettext.h
1132pcomplete.o: bashintl.h ${LIBINTL_H} $(BASHINCDIR)/gettext.h
1133pcomplib.o: bashintl.h ${LIBINTL_H} $(BASHINCDIR)/gettext.h
1134print_cmd.o: bashintl.h ${LIBINTL_H} $(BASHINCDIR)/gettext.h
1135redir.o: bashintl.h ${LIBINTL_H} $(BASHINCDIR)/gettext.h
1136shell.o: bashintl.h ${LIBINTL_H} $(BASHINCDIR)/gettext.h
1137sig.o: bashintl.h ${LIBINTL_H} $(BASHINCDIR)/gettext.h
1138siglist.o: bashintl.h ${LIBINTL_H} $(BASHINCDIR)/gettext.h
1139subst.o: bashintl.h ${LIBINTL_H} $(BASHINCDIR)/gettext.h
1140test.o: bashintl.h ${LIBINTL_H} $(BASHINCDIR)/gettext.h
1141trap.o: bashintl.h ${LIBINTL_H} $(BASHINCDIR)/gettext.h
1142variables.o: bashintl.h ${LIBINTL_H} $(BASHINCDIR)/gettext.h
1143version.o: bashintl.h ${LIBINTL_H} $(BASHINCDIR)/gettext.h
1144xmalloc.o: bashintl.h ${LIBINTL_H} $(BASHINCDIR)/gettext.h
1145
Jari Aaltod166f041997-06-05 14:59:13 +00001146# XXX - dependencies checked through here
1147
1148# builtin c sources
Jari Aaltobb706242000-03-17 21:46:59 +00001149builtins/bashgetopt.o: config.h bashansi.h ${BASHINCDIR}/ansi_stdlib.h
Jari Aaltof73dda02001-11-13 17:56:06 +00001150builtins/bashgetopt.o: shell.h syntax.h config.h bashjmp.h command.h general.h xmalloc.h error.h
1151builtins/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 +00001152builtins/bashgetopt.o: make_cmd.h subst.h sig.h pathnames.h externs.h
Jari Aaltod166f041997-06-05 14:59:13 +00001153builtins/bashgetopt.o: $(DEFSRC)/common.h
Jari Aaltof73dda02001-11-13 17:56:06 +00001154builtins/bashgetopt.o: ${BASHINCDIR}/chartypes.h
Jari Aaltobb706242000-03-17 21:46:59 +00001155builtins/common.o: bashtypes.h ${BASHINCDIR}/posixstat.h bashansi.h ${BASHINCDIR}/ansi_stdlib.h
Jari Aalto28ef6c32001-04-06 19:14:31 +00001156builtins/common.o: shell.h syntax.h config.h bashjmp.h ${BASHINCDIR}/posixjmp.h sig.h command.h
Jari Aaltof73dda02001-11-13 17:56:06 +00001157builtins/common.o: ${BASHINCDIR}/memalloc.h variables.h arrayfunc.h conftypes.h input.h siglist.h
Jari Aaltobb706242000-03-17 21:46:59 +00001158builtins/common.o: quit.h unwind_prot.h ${BASHINCDIR}/maxpath.h jobs.h builtins.h
Jari Aaltob80f6442004-07-27 13:29:18 +00001159builtins/common.o: dispose_cmd.h make_cmd.h subst.h externs.h bashhist.h
Jari Aaltof73dda02001-11-13 17:56:06 +00001160builtins/common.o: execute_cmd.h ${BASHINCDIR}/stdc.h general.h xmalloc.h error.h pathnames.h
Jari Aaltod166f041997-06-05 14:59:13 +00001161builtins/common.o: ${DEFDIR}/builtext.h
Jari Aaltof73dda02001-11-13 17:56:06 +00001162builtins/common.o: ${BASHINCDIR}/chartypes.h
Jari Aaltobb706242000-03-17 21:46:59 +00001163builtins/evalfile.o: bashtypes.h ${BASHINCDIR}/posixstat.h ${BASHINCDIR}/filecntl.h bashansi.h ${BASHINCDIR}/ansi_stdlib.h
Jari Aaltof73dda02001-11-13 17:56:06 +00001164builtins/evalfile.o: shell.h syntax.h config.h bashjmp.h command.h general.h xmalloc.h error.h
1165builtins/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 +00001166builtins/evalfile.o: make_cmd.h subst.h sig.h pathnames.h externs.h
Jari Aaltod166f041997-06-05 14:59:13 +00001167builtins/evalfile.o: jobs.h builtins.h flags.h input.h execute_cmd.h
1168builtins/evalfile.o: bashhist.h $(DEFSRC)/common.h
Jari Aaltobb706242000-03-17 21:46:59 +00001169builtins/evalstring.o: config.h bashansi.h ${BASHINCDIR}/ansi_stdlib.h
Jari Aalto28ef6c32001-04-06 19:14:31 +00001170builtins/evalstring.o: shell.h syntax.h bashjmp.h ${BASHINCDIR}/posixjmp.h sig.h command.h siglist.h
Jari Aaltof73dda02001-11-13 17:56:06 +00001171builtins/evalstring.o: ${BASHINCDIR}/memalloc.h variables.h arrayfunc.h conftypes.h input.h
Jari Aaltobb706242000-03-17 21:46:59 +00001172builtins/evalstring.o: quit.h unwind_prot.h ${BASHINCDIR}/maxpath.h jobs.h builtins.h
Jari Aaltod166f041997-06-05 14:59:13 +00001173builtins/evalstring.o: dispose_cmd.h make_cmd.h subst.h externs.h
1174builtins/evalstring.o: jobs.h builtins.h flags.h input.h execute_cmd.h
1175builtins/evalstring.o: bashhist.h $(DEFSRC)/common.h
Jari Aaltobb706242000-03-17 21:46:59 +00001176builtins/getopt.o: config.h ${BASHINCDIR}/memalloc.h
Jari Aaltof73dda02001-11-13 17:56:06 +00001177builtins/getopt.o: shell.h syntax.h bashjmp.h command.h general.h xmalloc.h error.h
1178builtins/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 +00001179builtins/getopt.o: make_cmd.h subst.h sig.h pathnames.h externs.h
Jari Aaltod166f041997-06-05 14:59:13 +00001180builtins/getopt.o: $(DEFSRC)/getopt.h
Jari Aaltobb706242000-03-17 21:46:59 +00001181builtins/mkbuiltins.o: config.h bashtypes.h ${BASHINCDIR}/posixstat.h ${BASHINCDIR}/filecntl.h
1182builtins/mkbuiltins.o: bashansi.h ${BASHINCDIR}/ansi_stdlib.h
Jari Aaltod166f041997-06-05 14:59:13 +00001183
1184# builtin def files
Jari Aaltof73dda02001-11-13 17:56:06 +00001185builtins/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 +00001186builtins/alias.o: quit.h $(DEFSRC)/common.h
Jari Aalto28ef6c32001-04-06 19:14:31 +00001187builtins/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 +00001188builtins/alias.o: dispose_cmd.h make_cmd.h subst.h externs.h variables.h arrayfunc.h conftypes.h
1189builtins/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 +00001190builtins/bind.o: dispose_cmd.h make_cmd.h subst.h externs.h ${BASHINCDIR}/stdc.h
Jari Aaltof73dda02001-11-13 17:56:06 +00001191builtins/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 +00001192builtins/bind.o: $(DEFSRC)/bashgetopt.h
Jari Aaltof73dda02001-11-13 17:56:06 +00001193builtins/break.o: command.h config.h ${BASHINCDIR}/memalloc.h error.h general.h xmalloc.h ${BASHINCDIR}/maxpath.h
1194builtins/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 +00001195builtins/break.o: dispose_cmd.h make_cmd.h subst.h externs.h ${BASHINCDIR}/stdc.h
Jari Aaltof73dda02001-11-13 17:56:06 +00001196builtins/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 +00001197builtins/builtin.o: quit.h $(DEFSRC)/common.h $(DEFSRC)/bashgetopt.h
Jari Aaltof73dda02001-11-13 17:56:06 +00001198builtins/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 +00001199builtins/builtin.o: dispose_cmd.h make_cmd.h subst.h externs.h ${BASHINCDIR}/stdc.h
Jari Aaltob80f6442004-07-27 13:29:18 +00001200builtins/caller.o: command.h config.h ${BASHINCDIR}/memalloc.h error.h general.h xmalloc.h ${BASHINCDIR}/maxpath.h
1201builtins/caller.o: shell.h syntax.h bashjmp.h ${BASHINCDIR}/posixjmp.h sig.h unwind_prot.h variables.h arrayfunc.h conftypes.h
1202builtins/caller.o: dispose_cmd.h make_cmd.h subst.h externs.h ${BASHINCDIR}/stdc.h
1203builtins/caller.o: $(DEFSRC)/common.h quit.h
1204builtins/caller.o: ${BASHINCDIR}/chartypes.h bashtypes.h
1205builtins/caller.o: ${DEFDIR}/builtext.h
Jari Aaltof73dda02001-11-13 17:56:06 +00001206builtins/cd.o: command.h config.h ${BASHINCDIR}/memalloc.h error.h general.h xmalloc.h ${BASHINCDIR}/maxpath.h
1207builtins/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 +00001208builtins/cd.o: dispose_cmd.h make_cmd.h subst.h externs.h ${BASHINCDIR}/stdc.h
Jari Aaltoccc6cda1996-12-23 17:02:34 +00001209builtins/cd.o: $(DEFSRC)/common.h quit.h
Jari Aaltof73dda02001-11-13 17:56:06 +00001210builtins/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 +00001211builtins/command.o: quit.h $(DEFSRC)/bashgetopt.h
Jari Aaltof73dda02001-11-13 17:56:06 +00001212builtins/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 +00001213builtins/command.o: dispose_cmd.h make_cmd.h subst.h externs.h ${BASHINCDIR}/stdc.h
Jari Aaltof73dda02001-11-13 17:56:06 +00001214builtins/declare.o: command.h config.h ${BASHINCDIR}/memalloc.h error.h general.h xmalloc.h ${BASHINCDIR}/maxpath.h
1215builtins/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 +00001216builtins/declare.o: dispose_cmd.h make_cmd.h subst.h externs.h ${BASHINCDIR}/stdc.h
Jari Aalto7117c2d2002-07-17 14:10:11 +00001217builtins/declare.o: $(DEFSRC)/bashgetopt.h
Jari Aaltof73dda02001-11-13 17:56:06 +00001218builtins/echo.o: command.h config.h ${BASHINCDIR}/memalloc.h error.h general.h xmalloc.h ${BASHINCDIR}/maxpath.h
1219builtins/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 +00001220builtins/echo.o: dispose_cmd.h make_cmd.h subst.h externs.h ${BASHINCDIR}/stdc.h
Jari Aaltof73dda02001-11-13 17:56:06 +00001221builtins/enable.o: command.h config.h ${BASHINCDIR}/memalloc.h error.h general.h xmalloc.h ${BASHINCDIR}/maxpath.h
1222builtins/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 +00001223builtins/enable.o: dispose_cmd.h make_cmd.h subst.h externs.h ${BASHINCDIR}/stdc.h
Jari Aaltob80f6442004-07-27 13:29:18 +00001224builtins/enable.o: pcomplete.h
Jari Aaltof73dda02001-11-13 17:56:06 +00001225builtins/eval.o: command.h config.h ${BASHINCDIR}/memalloc.h error.h general.h xmalloc.h ${BASHINCDIR}/maxpath.h
1226builtins/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 +00001227builtins/eval.o: dispose_cmd.h make_cmd.h subst.h externs.h ${BASHINCDIR}/stdc.h
Jari Aaltob80f6442004-07-27 13:29:18 +00001228builtins/exec.o: bashtypes.h
Jari Aaltof73dda02001-11-13 17:56:06 +00001229builtins/exec.o: command.h config.h ${BASHINCDIR}/memalloc.h error.h general.h xmalloc.h ${BASHINCDIR}/maxpath.h
1230builtins/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 +00001231builtins/exec.o: dispose_cmd.h make_cmd.h subst.h externs.h execute_cmd.h
Jari Aaltobb706242000-03-17 21:46:59 +00001232builtins/exec.o: findcmd.h flags.h quit.h $(DEFSRC)/common.h ${BASHINCDIR}/stdc.h
Jari Aaltob80f6442004-07-27 13:29:18 +00001233builtins/exit.o: bashtypes.h
Jari Aaltof73dda02001-11-13 17:56:06 +00001234builtins/exit.o: command.h config.h ${BASHINCDIR}/memalloc.h error.h general.h xmalloc.h ${BASHINCDIR}/maxpath.h
1235builtins/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 +00001236builtins/exit.o: dispose_cmd.h make_cmd.h subst.h externs.h ${BASHINCDIR}/stdc.h
1237builtins/fc.o: bashtypes.h ${BASHINCDIR}/posixstat.h
1238builtins/fc.o: bashansi.h ${BASHINCDIR}/ansi_stdlib.h builtins.h command.h ${BASHINCDIR}/stdc.h
Jari Aaltof73dda02001-11-13 17:56:06 +00001239builtins/fc.o: command.h config.h ${BASHINCDIR}/memalloc.h error.h general.h xmalloc.h ${BASHINCDIR}/maxpath.h
1240builtins/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 +00001241builtins/fc.o: dispose_cmd.h make_cmd.h subst.h externs.h ${BASHINCDIR}/stdc.h quit.h
Jari Aaltoccc6cda1996-12-23 17:02:34 +00001242builtins/fc.o: $(DEFSRC)/bashgetopt.h bashhist.h
Jari Aaltof73dda02001-11-13 17:56:06 +00001243builtins/fc.o: ${BASHINCDIR}/chartypes.h
Jari Aaltob80f6442004-07-27 13:29:18 +00001244builtins/fg_bg.o: bashtypes.h $(DEFSRC)/bashgetopt.h
Jari Aaltof73dda02001-11-13 17:56:06 +00001245builtins/fg_bg.o: command.h config.h ${BASHINCDIR}/memalloc.h error.h general.h xmalloc.h ${BASHINCDIR}/maxpath.h
1246builtins/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 +00001247builtins/fg_bg.o: dispose_cmd.h make_cmd.h subst.h externs.h ${BASHINCDIR}/stdc.h
Jari Aaltof73dda02001-11-13 17:56:06 +00001248builtins/getopts.o: command.h config.h ${BASHINCDIR}/memalloc.h error.h general.h xmalloc.h ${BASHINCDIR}/maxpath.h
1249builtins/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 +00001250builtins/getopts.o: dispose_cmd.h make_cmd.h subst.h externs.h ${BASHINCDIR}/stdc.h
Jari Aaltob80f6442004-07-27 13:29:18 +00001251builtins/hash.o: bashtypes.h
Jari Aaltobb706242000-03-17 21:46:59 +00001252builtins/hash.o: builtins.h command.h findcmd.h ${BASHINCDIR}/stdc.h $(DEFSRC)/common.h
Jari Aaltof73dda02001-11-13 17:56:06 +00001253builtins/hash.o: command.h config.h ${BASHINCDIR}/memalloc.h error.h general.h xmalloc.h ${BASHINCDIR}/maxpath.h
1254builtins/hash.o: shell.h syntax.h bashjmp.h ${BASHINCDIR}/posixjmp.h sig.h unwind_prot.h variables.h arrayfunc.h conftypes.h quit.h
1255builtins/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 +00001256builtins/help.o: dispose_cmd.h make_cmd.h subst.h externs.h ${BASHINCDIR}/stdc.h
Jari Aaltof73dda02001-11-13 17:56:06 +00001257builtins/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 +00001258builtins/help.o: $(GLOB_LIBSRC)/glob.h
1259builtins/history.o: bashtypes.h
Jari Aaltof73dda02001-11-13 17:56:06 +00001260builtins/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 +00001261builtins/history.o: quit.h dispose_cmd.h make_cmd.h subst.h externs.h ${BASHINCDIR}/stdc.h
Jari Aalto28ef6c32001-04-06 19:14:31 +00001262builtins/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 +00001263builtins/history.o: bashhist.h variables.h arrayfunc.h conftypes.h
1264builtins/inlib.o: command.h config.h ${BASHINCDIR}/memalloc.h error.h general.h xmalloc.h ${BASHINCDIR}/maxpath.h
1265builtins/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 +00001266builtins/inlib.o: dispose_cmd.h make_cmd.h subst.h externs.h ${BASHINCDIR}/stdc.h
Jari Aaltof73dda02001-11-13 17:56:06 +00001267builtins/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 +00001268builtins/jobs.o: quit.h $(DEFSRC)/bashgetopt.h
Jari Aaltof73dda02001-11-13 17:56:06 +00001269builtins/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 +00001270builtins/jobs.o: dispose_cmd.h make_cmd.h subst.h externs.h ${BASHINCDIR}/stdc.h
Jari Aaltof73dda02001-11-13 17:56:06 +00001271builtins/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 +00001272builtins/kill.o: quit.h dispose_cmd.h make_cmd.h subst.h externs.h ${BASHINCDIR}/stdc.h
Jari Aaltof73dda02001-11-13 17:56:06 +00001273builtins/kill.o: shell.h syntax.h bashjmp.h ${BASHINCDIR}/posixjmp.h sig.h trap.h unwind_prot.h variables.h arrayfunc.h conftypes.h
1274builtins/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 +00001275builtins/let.o: quit.h dispose_cmd.h make_cmd.h subst.h externs.h ${BASHINCDIR}/stdc.h
Jari Aaltof73dda02001-11-13 17:56:06 +00001276builtins/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 +00001277builtins/printf.o: config.h ${BASHINCDIR}/memalloc.h bashjmp.h command.h error.h
Jari Aaltof73dda02001-11-13 17:56:06 +00001278builtins/printf.o: general.h xmalloc.h quit.h dispose_cmd.h make_cmd.h subst.h
Jari Aalto28ef6c32001-04-06 19:14:31 +00001279builtins/printf.o: externs.h sig.h pathnames.h shell.h syntax.h unwind_prot.h
Jari Aaltof73dda02001-11-13 17:56:06 +00001280builtins/printf.o: variables.h arrayfunc.h conftypes.h ${BASHINCDIR}/stdc.h $(DEFSRC)/bashgetopt.h
1281builtins/printf.o: ${BASHINCDIR}/chartypes.h
1282builtins/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 +00001283builtins/pushd.o: quit.h dispose_cmd.h make_cmd.h subst.h externs.h ${BASHINCDIR}/stdc.h
Jari Aaltof73dda02001-11-13 17:56:06 +00001284builtins/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 +00001285builtins/pushd.o: $(DEFSRC)/common.h
Jari Aaltof73dda02001-11-13 17:56:06 +00001286builtins/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 +00001287builtins/read.o: quit.h dispose_cmd.h make_cmd.h subst.h externs.h ${BASHINCDIR}/stdc.h
Jari Aaltof73dda02001-11-13 17:56:06 +00001288builtins/read.o: shell.h syntax.h bashjmp.h ${BASHINCDIR}/posixjmp.h sig.h unwind_prot.h variables.h arrayfunc.h conftypes.h
1289builtins/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 +00001290builtins/return.o: quit.h dispose_cmd.h make_cmd.h subst.h externs.h ${BASHINCDIR}/stdc.h
Jari Aaltof73dda02001-11-13 17:56:06 +00001291builtins/return.o: shell.h syntax.h bashjmp.h ${BASHINCDIR}/posixjmp.h sig.h unwind_prot.h variables.h arrayfunc.h conftypes.h
1292builtins/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 +00001293builtins/set.o: quit.h dispose_cmd.h make_cmd.h subst.h externs.h ${BASHINCDIR}/stdc.h
Jari Aaltof73dda02001-11-13 17:56:06 +00001294builtins/set.o: shell.h syntax.h bashjmp.h ${BASHINCDIR}/posixjmp.h sig.h unwind_prot.h variables.h arrayfunc.h conftypes.h flags.h
1295builtins/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 +00001296builtins/setattr.o: quit.h $(DEFSRC)/common.h $(DEFSRC)/bashgetopt.h
Jari Aaltof73dda02001-11-13 17:56:06 +00001297builtins/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 +00001298builtins/setattr.o: dispose_cmd.h make_cmd.h subst.h externs.h ${BASHINCDIR}/stdc.h
Jari Aaltof73dda02001-11-13 17:56:06 +00001299builtins/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 +00001300builtins/shift.o: quit.h dispose_cmd.h make_cmd.h subst.h externs.h ${BASHINCDIR}/stdc.h
Jari Aaltof73dda02001-11-13 17:56:06 +00001301builtins/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 +00001302builtins/shift.o: dispose_cmd.h make_cmd.h subst.h externs.h ${BASHINCDIR}/stdc.h
Jari Aaltof73dda02001-11-13 17:56:06 +00001303builtins/shopt.o: command.h config.h ${BASHINCDIR}/memalloc.h error.h general.h xmalloc.h
Jari Aaltod166f041997-06-05 14:59:13 +00001304builtins/shopt.o: quit.h dispose_cmd.h make_cmd.h subst.h externs.h
Jari Aaltof73dda02001-11-13 17:56:06 +00001305builtins/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 +00001306builtins/shopt.o: $(DEFSRC)/common.h $(DEFSRC)/bashgetopt.h
Jari Aaltof73dda02001-11-13 17:56:06 +00001307builtins/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 +00001308builtins/source.o: quit.h dispose_cmd.h make_cmd.h subst.h externs.h ${BASHINCDIR}/stdc.h
Jari Aaltof73dda02001-11-13 17:56:06 +00001309builtins/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 +00001310builtins/source.o: findcmd.h $(DEFSRC)/bashgetopt.h flags.h trap.h
Jari Aaltof73dda02001-11-13 17:56:06 +00001311builtins/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 +00001312builtins/suspend.o: quit.h dispose_cmd.h make_cmd.h subst.h externs.h ${BASHINCDIR}/stdc.h
Jari Aaltof73dda02001-11-13 17:56:06 +00001313builtins/suspend.o: shell.h syntax.h bashjmp.h ${BASHINCDIR}/posixjmp.h sig.h unwind_prot.h variables.h arrayfunc.h conftypes.h
1314builtins/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 +00001315builtins/test.o: quit.h dispose_cmd.h make_cmd.h subst.h externs.h ${BASHINCDIR}/stdc.h
Jari Aaltof73dda02001-11-13 17:56:06 +00001316builtins/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 +00001317builtins/test.o: test.h
Jari Aaltof73dda02001-11-13 17:56:06 +00001318builtins/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 +00001319builtins/times.o: quit.h dispose_cmd.h make_cmd.h subst.h externs.h ${BASHINCDIR}/stdc.h
Jari Aaltof73dda02001-11-13 17:56:06 +00001320builtins/times.o: shell.h syntax.h bashjmp.h ${BASHINCDIR}/posixjmp.h sig.h unwind_prot.h variables.h arrayfunc.h conftypes.h
1321builtins/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 +00001322builtins/trap.o: quit.h $(DEFSRC)/common.h
Jari Aaltof73dda02001-11-13 17:56:06 +00001323builtins/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 +00001324builtins/trap.o: dispose_cmd.h make_cmd.h subst.h externs.h ${BASHINCDIR}/stdc.h
Jari Aaltof73dda02001-11-13 17:56:06 +00001325builtins/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 +00001326builtins/type.o: quit.h $(DEFSRC)/common.h findcmd.h
Jari Aaltof73dda02001-11-13 17:56:06 +00001327builtins/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 +00001328builtins/type.o: dispose_cmd.h make_cmd.h subst.h externs.h ${BASHINCDIR}/stdc.h
Jari Aaltof73dda02001-11-13 17:56:06 +00001329builtins/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 +00001330builtins/ulimit.o: quit.h dispose_cmd.h make_cmd.h subst.h externs.h ${BASHINCDIR}/stdc.h
Jari Aaltof73dda02001-11-13 17:56:06 +00001331builtins/ulimit.o: shell.h syntax.h bashjmp.h ${BASHINCDIR}/posixjmp.h sig.h unwind_prot.h variables.h arrayfunc.h conftypes.h
1332builtins/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 +00001333builtins/umask.o: quit.h dispose_cmd.h make_cmd.h subst.h externs.h ${BASHINCDIR}/stdc.h
Jari Aaltof73dda02001-11-13 17:56:06 +00001334builtins/umask.o: shell.h syntax.h bashjmp.h ${BASHINCDIR}/posixjmp.h sig.h unwind_prot.h variables.h arrayfunc.h conftypes.h
1335builtins/umask.o: ${BASHINCDIR}/chartypes.h
1336builtins/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 +00001337builtins/wait.o: quit.h dispose_cmd.h make_cmd.h subst.h externs.h ${BASHINCDIR}/stdc.h
Jari Aaltof73dda02001-11-13 17:56:06 +00001338builtins/wait.o: shell.h syntax.h bashjmp.h ${BASHINCDIR}/posixjmp.h sig.h unwind_prot.h variables.h arrayfunc.h conftypes.h
1339builtins/wait.o: ${BASHINCDIR}/chartypes.h
Jari Aaltobb706242000-03-17 21:46:59 +00001340
Jari Aalto28ef6c32001-04-06 19:14:31 +00001341builtins/complete.o: config.h shell.h syntax.h bashjmp.h ${BASHINCDIR}/posixjmp.h sig.h
Jari Aaltof73dda02001-11-13 17:56:06 +00001342builtins/complete.o: unwind_prot.h variables.h arrayfunc.h conftypes.h
Jari Aaltobb706242000-03-17 21:46:59 +00001343builtins/complete.o: bashtypes.h bashansi.h ${BASHINCDIR}/ansi_stdlib.h
Jari Aaltob80f6442004-07-27 13:29:18 +00001344builtins/complete.o: builtins.h
Jari Aaltobb706242000-03-17 21:46:59 +00001345builtins/complete.o: pcomplete.h
1346builtins/complete.o: ${DEFSRC}/common.h ${DEFSRC}/bashgetopt.h
Jari Aaltoccc6cda1996-12-23 17:02:34 +00001347
Jari Aaltob80f6442004-07-27 13:29:18 +00001348# libintl dependencies
1349builtins/bind.o: ${topdir}/bashintl.h ${LIBINTL_H} $(BASHINCDIR)/gettext.h
1350builtins/break.o: ${topdir}/bashintl.h ${LIBINTL_H} $(BASHINCDIR)/gettext.h
1351builtins/caller.o: ${topdir}/bashintl.h ${LIBINTL_H} $(BASHINCDIR)/gettext.h
1352builtins/cd.o: ${topdir}/bashintl.h ${LIBINTL_H} $(BASHINCDIR)/gettext.h
1353builtins/common.c: ${topdir}/bashintl.h ${LIBINTL_H} $(BASHINCDIR)/gettext.h
1354builtins/complete.o: ${topdir}/bashintl.h ${LIBINTL_H} $(BASHINCDIR)/gettext.h
1355builtins/declare.o: ${topdir}/bashintl.h ${LIBINTL_H} $(BASHINCDIR)/gettext.h
1356builtins/enable.o: ${topdir}/bashintl.h ${LIBINTL_H} $(BASHINCDIR)/gettext.h
1357builtins/evalfile.c: ${topdir}/bashintl.h ${LIBINTL_H} $(BASHINCDIR)/gettext.h
1358builtins/exec.o: ${topdir}/bashintl.h ${LIBINTL_H} $(BASHINCDIR)/gettext.h
1359builtins/exit.o: ${topdir}/bashintl.h ${LIBINTL_H} $(BASHINCDIR)/gettext.h
1360builtins/fc.o: ${topdir}/bashintl.h ${LIBINTL_H} $(BASHINCDIR)/gettext.h
1361builtins/fg_bg.o: ${topdir}/bashintl.h ${LIBINTL_H} $(BASHINCDIR)/gettext.h
1362builtins/getopt.c: ${topdir}/bashintl.h ${LIBINTL_H} $(BASHINCDIR)/gettext.h
1363builtins/hash.o: ${topdir}/bashintl.h ${LIBINTL_H} $(BASHINCDIR)/gettext.h
1364builtins/help.o: ${topdir}/bashintl.h ${LIBINTL_H} $(BASHINCDIR)/gettext.h
1365builtins/history.o: ${topdir}/bashintl.h ${LIBINTL_H} $(BASHINCDIR)/gettext.h
1366builtins/inlib.o: ${topdir}/bashintl.h ${LIBINTL_H} $(BASHINCDIR)/gettext.h
1367builtins/jobs.o: ${topdir}/bashintl.h ${LIBINTL_H} $(BASHINCDIR)/gettext.h
1368builtins/kill.o: ${topdir}/bashintl.h ${LIBINTL_H} $(BASHINCDIR)/gettext.h
1369builtins/let.o: ${topdir}/bashintl.h ${LIBINTL_H} $(BASHINCDIR)/gettext.h
1370builtins/mkbuiltins.c: ${topdir}/bashintl.h ${LIBINTL_H} $(BASHINCDIR)/gettext.h
1371builtins/printf.o: ${topdir}/bashintl.h ${LIBINTL_H} $(BASHINCDIR)/gettext.h
1372builtins/pushd.o: ${topdir}/bashintl.h ${LIBINTL_H} $(BASHINCDIR)/gettext.h
1373builtins/read.o: ${topdir}/bashintl.h ${LIBINTL_H} $(BASHINCDIR)/gettext.h
1374builtins/return.o: ${topdir}/bashintl.h ${LIBINTL_H} $(BASHINCDIR)/gettext.h
1375builtins/set.o: ${topdir}/bashintl.h ${LIBINTL_H} $(BASHINCDIR)/gettext.h
1376builtins/setattr.o: ${topdir}/bashintl.h ${LIBINTL_H} $(BASHINCDIR)/gettext.h
1377builtins/shift.o: ${topdir}/bashintl.h ${LIBINTL_H} $(BASHINCDIR)/gettext.h
1378builtins/shopt.o: ${topdir}/bashintl.h ${LIBINTL_H} $(BASHINCDIR)/gettext.h
1379builtins/source.o: ${topdir}/bashintl.h ${LIBINTL_H} $(BASHINCDIR)/gettext.h
1380builtins/suspend.o: ${topdir}/bashintl.h ${LIBINTL_H} $(BASHINCDIR)/gettext.h
1381builtins/type.o: ${topdir}/bashintl.h ${LIBINTL_H} $(BASHINCDIR)/gettext.h
1382builtins/ulimit.o: ${topdir}/bashintl.h ${LIBINTL_H} $(BASHINCDIR)/gettext.h
1383builtins/umask.o: ${topdir}/bashintl.h ${LIBINTL_H} $(BASHINCDIR)/gettext.h
1384
Jari Aaltod166f041997-06-05 14:59:13 +00001385# builtin library dependencies
Jari Aaltoccc6cda1996-12-23 17:02:34 +00001386builtins/bind.o: $(RL_LIBSRC)/chardefs.h $(RL_LIBSRC)/readline.h
Jari Aaltob72432f1999-02-19 17:11:39 +00001387builtins/bind.o: $(RL_LIBSRC)/keymaps.h $(RL_LIBSRC)/rlstdc.h
Jari Aaltoccc6cda1996-12-23 17:02:34 +00001388
Jari Aaltob72432f1999-02-19 17:11:39 +00001389builtins/bind.o: $(HIST_LIBSRC)/history.h $(RL_LIBSRC)/rlstdc.h
1390builtins/fc.o: $(HIST_LIBSRC)/history.h $(RL_LIBSRC)/rlstdc.h
1391builtins/history.o: $(HIST_LIBSRC)/history.h $(RL_LIBSRC)/rlstdc.h
Jari Aaltoccc6cda1996-12-23 17:02:34 +00001392
1393builtins/common.o: $(TILDE_LIBSRC)/tilde.h
1394builtins/cd.o: $(TILDE_LIBSRC)/tilde.h
1395
1396builtins/alias.o: $(DEFSRC)/alias.def
1397builtins/bind.o: $(DEFSRC)/bind.def
1398builtins/break.o: $(DEFSRC)/break.def
1399builtins/builtin.o: $(DEFSRC)/builtin.def
Jari Aaltob80f6442004-07-27 13:29:18 +00001400builtins/caller.o: $(DEFSRC)/caller.def
Jari Aaltoccc6cda1996-12-23 17:02:34 +00001401builtins/cd.o: $(DEFSRC)/cd.def
1402builtins/colon.o: $(DEFSRC)/colon.def
1403builtins/command.o: $(DEFSRC)/command.def
Jari Aaltobb706242000-03-17 21:46:59 +00001404builtins/complete.o: $(DEFSRC)/complete.def
Jari Aaltoccc6cda1996-12-23 17:02:34 +00001405builtins/declare.o: $(DEFSRC)/declare.def
1406builtins/echo.o: $(DEFSRC)/echo.def
1407builtins/enable.o: $(DEFSRC)/enable.def
1408builtins/eval.o: $(DEFSRC)/eval.def
1409builtins/exec.o: $(DEFSRC)/exec.def
1410builtins/exit.o: $(DEFSRC)/exit.def
1411builtins/fc.o: $(DEFSRC)/fc.def
1412builtins/fg_bg.o: $(DEFSRC)/fg_bg.def
1413builtins/getopts.o: $(DEFSRC)/getopts.def
1414builtins/hash.o: $(DEFSRC)/hash.def
1415builtins/help.o: $(DEFSRC)/help.def
1416builtins/history.o: $(DEFSRC)/history.def
1417builtins/inlib.o: $(DEFSRC)/inlib.def
1418builtins/jobs.o: $(DEFSRC)/jobs.def
1419builtins/kill.o: $(DEFSRC)/kill.def
1420builtins/let.o: $(DEFSRC)/let.def
1421builtins/pushd.o: $(DEFSRC)/pushd.def
1422builtins/read.o: $(DEFSRC)/read.def
1423builtins/reserved.o: $(DEFSRC)/reserved.def
1424builtins/return.o: $(DEFSRC)/return.def
1425builtins/set.o: $(DEFSRC)/set.def
1426builtins/setattr.o: $(DEFSRC)/setattr.def
1427builtins/shift.o: $(DEFSRC)/shift.def
1428builtins/shopt.o: $(DEFSRC)/shopt.def
1429builtins/source.o: $(DEFSRC)/source.def
1430builtins/suspend.o: $(DEFSRC)/suspend.def
1431builtins/test.o: $(DEFSRC)/test.def
1432builtins/times.o: $(DEFSRC)/times.def
1433builtins/trap.o: $(DEFSRC)/trap.def
1434builtins/type.o: $(DEFSRC)/type.def
1435builtins/ulimit.o: $(DEFSRC)/ulimit.def
1436builtins/umask.o: $(DEFSRC)/umask.def
1437builtins/wait.o: $(DEFSRC)/wait.def