blob: cf772286a98839701e69a2ab536b405858bb91ca [file] [log] [blame]
Chet Rameyac50fba2014-02-26 09:36:43 -05001# Makefile for bash-4.3, version 4.11
Jari Aaltod166f041997-06-05 14:59:13 +00002#
Chet Rameyac50fba2014-02-26 09:36:43 -05003# Copyright (C) 1996-2012 Free Software Foundation, Inc.
Jari Aaltobb706242000-03-17 21:46:59 +00004
Jari Aalto31859422009-01-12 13:36:28 +00005# 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 3 of the License, or
8# (at your option) any later version.
Jari Aaltobb706242000-03-17 21:46:59 +00009
Jari Aalto31859422009-01-12 13:36:28 +000010# 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.
Jari Aaltobb706242000-03-17 21:46:59 +000014
Jari Aalto31859422009-01-12 13:36:28 +000015# You should have received a copy of the GNU General Public License
16# along with this program. If not, see <http://www.gnu.org/licenses/>.
Jari Aaltobb706242000-03-17 21:46:59 +000017
Jari Aaltoccc6cda1996-12-23 17:02:34 +000018# Make sure the first target in the makefile is the right one
19all: .made
20
Jari Aaltob80f6442004-07-27 13:29:18 +000021PACKAGE = @PACKAGE_NAME@
22VERSION = @PACKAGE_VERSION@
23
24PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
25PACKAGE_NAME = @PACKAGE_NAME@
26PACKAGE_STRING = @PACKAGE_STRING@
27PACKAGE_VERSION = @PACKAGE_VERSION@
28
Chet Rameyac50fba2014-02-26 09:36:43 -050029PACKAGE_TARNAME = @PACKAGE_TARNAME@
30
Jari Aaltoccc6cda1996-12-23 17:02:34 +000031# Include some boilerplate Gnu makefile definitions.
32prefix = @prefix@
33
34exec_prefix = @exec_prefix@
Jari Aalto31859422009-01-12 13:36:28 +000035
36datarootdir = @datarootdir@
37
Jari Aaltoccc6cda1996-12-23 17:02:34 +000038bindir = @bindir@
39libdir = @libdir@
40infodir = @infodir@
41includedir = @includedir@
Jari Aalto7117c2d2002-07-17 14:10:11 +000042datadir = @datadir@
Jari Aalto31859422009-01-12 13:36:28 +000043localedir = @localedir@
Jari Aaltoccc6cda1996-12-23 17:02:34 +000044
Chet Rameyac50fba2014-02-26 09:36:43 -050045docdir = @docdir@
46
Jari Aaltoccc6cda1996-12-23 17:02:34 +000047mandir = @mandir@
48manpfx = man
49
Jari Aaltof73dda02001-11-13 17:56:06 +000050man1ext = .1
51man1dir = $(mandir)/$(manpfx)1
52man3ext = .3
53man3dir = $(mandir)/$(manpfx)3
Jari Aaltoccc6cda1996-12-23 17:02:34 +000054
Jari Aaltobb706242000-03-17 21:46:59 +000055htmldir = @htmldir@
56
Jari Aaltof73dda02001-11-13 17:56:06 +000057# Support an alternate destination root directory for package building
58DESTDIR =
59
Jari Aaltoccc6cda1996-12-23 17:02:34 +000060topdir = @top_srcdir@
61BUILD_DIR = @BUILD_DIR@
Jari Aaltob80f6442004-07-27 13:29:18 +000062top_builddir = @BUILD_DIR@
Jari Aaltoccc6cda1996-12-23 17:02:34 +000063srcdir = @srcdir@
64VPATH = .:@srcdir@
65
66@SET_MAKE@
67CC = @CC@
Jari Aaltocce855b1998-04-17 19:52:44 +000068CC_FOR_BUILD = @CC_FOR_BUILD@
Jari Aaltoccc6cda1996-12-23 17:02:34 +000069YACC = @YACC@
Jari Aaltob72432f1999-02-19 17:11:39 +000070SHELL = @MAKE_SHELL@
Jari Aaltoccc6cda1996-12-23 17:02:34 +000071CP = cp
72RM = rm -f
73AR = @AR@
Jari Aaltob72432f1999-02-19 17:11:39 +000074ARFLAGS = @ARFLAGS@
Jari Aaltoccc6cda1996-12-23 17:02:34 +000075RANLIB = @RANLIB@
Jari Aalto95732b42005-12-07 14:08:12 +000076SIZE = @SIZE@
Jari Aaltoccc6cda1996-12-23 17:02:34 +000077
78INSTALL = @INSTALL@
79INSTALL_PROGRAM = @INSTALL_PROGRAM@
Jari Aalto7117c2d2002-07-17 14:10:11 +000080INSTALL_SCRIPT = @INSTALL_SCRIPT@
Jari Aaltoccc6cda1996-12-23 17:02:34 +000081INSTALL_DATA = @INSTALL_DATA@
Jari Aaltob72432f1999-02-19 17:11:39 +000082INSTALLMODE= -m 0755
Jari Aaltobb706242000-03-17 21:46:59 +000083INSTALLMODE2 = -m 0555
Jari Aaltoccc6cda1996-12-23 17:02:34 +000084
Jari Aaltod166f041997-06-05 14:59:13 +000085TESTSCRIPT = @TESTSCRIPT@
86
Jari Aalto31859422009-01-12 13:36:28 +000087DEBUGGER_START_FILE = @DEBUGGER_START_FILE@
88
Jari Aaltoccc6cda1996-12-23 17:02:34 +000089#If you have purify, and want to use it, uncomment this definition or
90# run the make as `make PURIFY=purify'
91# or run configure with the --with-purify argument.
92PURIFY = @PURIFY@
93
94# Here is a rule for making .o files from .c files that does not
95# force the type of the machine (like -M_MACHINE) into the flags.
96.c.o:
97 $(RM) $@
98 $(CC) $(CCFLAGS) -c $<
99
Jari Aaltobb706242000-03-17 21:46:59 +0000100EXEEXT = @EXEEXT@
Jari Aaltof73dda02001-11-13 17:56:06 +0000101OBJEXT = @OBJEXT@
102
103# The name of this program and some version information.
104VERSPROG = bashversion$(EXEEXT)
105VERSOBJ = bashversion.$(OBJEXT)
106
Jari Aaltobb706242000-03-17 21:46:59 +0000107Program = bash$(EXEEXT)
Jari Aaltod166f041997-06-05 14:59:13 +0000108Version = @BASHVERS@
Jari Aaltof73dda02001-11-13 17:56:06 +0000109PatchLevel = `$(BUILD_DIR)/$(VERSPROG) -p`
Jari Aalto7117c2d2002-07-17 14:10:11 +0000110RELSTATUS = @RELSTATUS@
Jari Aaltod166f041997-06-05 14:59:13 +0000111
Jari Aaltoccc6cda1996-12-23 17:02:34 +0000112Machine = @host_cpu@
113OS = @host_os@
Jari Aaltob72432f1999-02-19 17:11:39 +0000114VENDOR = @host_vendor@
Jari Aaltoccc6cda1996-12-23 17:02:34 +0000115MACHTYPE = @host@
116
Jari Aalto28ef6c32001-04-06 19:14:31 +0000117# comment out for release
Jari Aalto7117c2d2002-07-17 14:10:11 +0000118DEBUG = @DEBUG@
119MALLOC_DEBUG = @MALLOC_DEBUG@
Jari Aalto28ef6c32001-04-06 19:14:31 +0000120
Jari Aaltoccc6cda1996-12-23 17:02:34 +0000121THIS_SH = $(BUILD_DIR)/$(Program)
122
123# PROFILE_FLAGS is either -pg, to generate profiling info for use
124# with gprof, or nothing (the default).
Jari Aaltocce855b1998-04-17 19:52:44 +0000125PROFILE_FLAGS= @PROFILE_FLAGS@
Jari Aaltoccc6cda1996-12-23 17:02:34 +0000126
Jari Aaltoccc6cda1996-12-23 17:02:34 +0000127CFLAGS = @CFLAGS@
Jari Aalto95732b42005-12-07 14:08:12 +0000128CFLAGS_FOR_BUILD = @CFLAGS_FOR_BUILD@ @CROSS_COMPILE@
Jari Aaltocce855b1998-04-17 19:52:44 +0000129CPPFLAGS = @CPPFLAGS@
Jari Aalto7117c2d2002-07-17 14:10:11 +0000130CPPFLAGS_FOR_BUILD = @CPPFLAGS_FOR_BUILD@
Jari Aalto95732b42005-12-07 14:08:12 +0000131LOCAL_CFLAGS = @LOCAL_CFLAGS@ ${DEBUG} ${MALLOC_DEBUG}
Jari Aaltoccc6cda1996-12-23 17:02:34 +0000132DEFS = @DEFS@
Jari Aaltod166f041997-06-05 14:59:13 +0000133LOCAL_DEFS = @LOCAL_DEFS@
Jari Aalto7117c2d2002-07-17 14:10:11 +0000134
Jari Aaltob80f6442004-07-27 13:29:18 +0000135LOCALE_DEFS = -DLOCALEDIR='"$(localedir)"' -DPACKAGE='"$(PACKAGE)"'
136
Jari Aaltoccc6cda1996-12-23 17:02:34 +0000137LOCAL_LIBS = @LOCAL_LIBS@
Jari Aaltob72432f1999-02-19 17:11:39 +0000138LIBS = $(BUILTINS_LIB) $(LIBRARIES) @LIBS@
Jari Aalto06285672006-10-10 14:15:34 +0000139LIBS_FOR_BUILD =
140
Jari Aaltob72432f1999-02-19 17:11:39 +0000141STATIC_LD = @STATIC_LD@
Jari Aaltoccc6cda1996-12-23 17:02:34 +0000142LOCAL_LDFLAGS = @LOCAL_LDFLAGS@
143
Jari Aaltob80f6442004-07-27 13:29:18 +0000144SYSTEM_FLAGS = -DPROGRAM='"$(Program)"' -DCONF_HOSTTYPE='"$(Machine)"' -DCONF_OSTYPE='"$(OS)"' -DCONF_MACHTYPE='"$(MACHTYPE)"' -DCONF_VENDOR='"$(VENDOR)"' $(LOCALE_DEFS)
Jari Aaltoccc6cda1996-12-23 17:02:34 +0000145
Jari Aalto7117c2d2002-07-17 14:10:11 +0000146BASE_CCFLAGS = $(PROFILE_FLAGS) $(SYSTEM_FLAGS) $(LOCAL_DEFS) \
147 $(DEFS) $(LOCAL_CFLAGS) $(INCLUDES)
Jari Aaltoccc6cda1996-12-23 17:02:34 +0000148
Jari Aalto7117c2d2002-07-17 14:10:11 +0000149CCFLAGS = $(BASE_CCFLAGS) $(CPPFLAGS) $(CFLAGS)
150
151CCFLAGS_FOR_BUILD = $(BASE_CCFLAGS) $(CPPFLAGS_FOR_BUILD) $(CFLAGS_FOR_BUILD)
152
153LDFLAGS = @LDFLAGS@ $(STATIC_LD) $(LOCAL_LDFLAGS) $(PROFILE_FLAGS) $(CFLAGS)
Chet Ramey00018032011-11-21 20:51:19 -0500154LDFLAGS_FOR_BUILD = @LDFLAGS_FOR_BUILD@ $(LOCAL_LDFLAGS) $(CFLAGS_FOR_BUILD)
Jari Aaltoccc6cda1996-12-23 17:02:34 +0000155
Jari Aaltob80f6442004-07-27 13:29:18 +0000156INCLUDES = -I. @RL_INCLUDE@ -I$(srcdir) -I$(BASHINCDIR) -I$(LIBSRC) $(INTL_INC)
Jari Aaltof73dda02001-11-13 17:56:06 +0000157
Jari Aalto06285672006-10-10 14:15:34 +0000158# Maybe add: -Wextra
159GCC_LINT_FLAGS = -O -Wall -Wshadow -Wpointer-arith -Wcast-qual -Wno-parentheses \
160 -Wcast-align -Wstrict-prototypes -Wconversion -Wformat \
161 -Wformat-nonliteral -Wmissing-braces -Wuninitialized \
162 -Wmissing-declarations -Winline \
Jari Aaltof73dda02001-11-13 17:56:06 +0000163 -Wmissing-prototypes -Wtraditional -Wredundant-decls -pedantic
164
Jari Aalto7117c2d2002-07-17 14:10:11 +0000165GCC_LINT_CFLAGS = $(BASE_CCFLAGS) $(CPPFLAGS) $(GCC_LINT_FLAGS)
Jari Aaltoccc6cda1996-12-23 17:02:34 +0000166
167#
168# Support libraries
169#
170
171dot = .
172
173LIBSUBDIR = lib
174LIBSRC = $(srcdir)/$(LIBSUBDIR)
175
Jari Aaltob80f6442004-07-27 13:29:18 +0000176LIBBUILD = ${BUILD_DIR}/${LIBSUBDIR}
177
Jari Aaltof73dda02001-11-13 17:56:06 +0000178SUBDIR_INCLUDES = -I. @RL_INCLUDE@ -I$(topdir) -I$(topdir)/$(LIBSUBDIR)
Jari Aaltoccc6cda1996-12-23 17:02:34 +0000179
Jari Aaltob80f6442004-07-27 13:29:18 +0000180BUILD_INCLUDED_LIBINTL = @BUILD_INCLUDED_LIBINTL@
181USE_INCLUDED_LIBINTL = @USE_INCLUDED_LIBINTL@
182
Jari Aaltocce855b1998-04-17 19:52:44 +0000183# the bash library
184# the library is a mix of functions that the C library does not provide on
185# some platforms and general shell utility functions
186SH_LIBSRC = $(LIBSRC)/sh
187SH_LIBDIR = $(dot)/${LIBSUBDIR}/sh
188SH_ABSSRC = ${topdir}/${SH_LIBSRC}
189
Jari Aalto7117c2d2002-07-17 14:10:11 +0000190SHLIB_SOURCE = ${SH_LIBSRC}/clktck.c ${SH_LIBSRC}/getcwd.c \
191 ${SH_LIBSRC}/getenv.c ${SH_LIBSRC}/oslib.c \
Chet Ramey495aee42011-11-22 19:11:26 -0500192 ${SH_LIBSRC}/setlinebuf.c ${SH_LIBSRC}/strchrnul.c \
Chet Rameyac50fba2014-02-26 09:36:43 -0500193 ${SH_LIBSRC}/strcasecmp.c ${SH_LIBSRC}/strdup.c \
194 ${SH_LIBSRC}/strerror.c \
Jari Aalto7117c2d2002-07-17 14:10:11 +0000195 ${SH_LIBSRC}/strtod.c ${SH_LIBSRC}/strtol.c \
196 ${SH_LIBSRC}/strtoul.c ${SH_LIBSRC}/vprint.c \
197 ${SH_LIBSRC}/itos.c ${SH_LIBSRC}/rename.c \
198 ${SH_LIBSRC}/zread.c ${SH_LIBSRC}/zwrite.c \
199 ${SH_LIBSRC}/shtty.c ${SH_LIBSRC}/inet_aton.c \
200 ${SH_LIBSRC}/netopen.c ${SH_LIBSRC}/strpbrk.c \
201 ${SH_LIBSRC}/timeval.c ${SH_LIBSRC}/clock.c \
202 ${SH_LIBSRC}/makepath.c ${SH_LIBSRC}/pathcanon.c \
203 ${SH_LIBSRC}/pathphys.c ${SH_LIBSRC}/stringlist.c \
204 ${SH_LIBSRC}/stringvec.c ${SH_LIBSRC}/tmpfile.c \
205 ${SH_LIBSRC}/spell.c ${SH_LIBSRC}/strtrans.c \
Chet Ramey00018032011-11-21 20:51:19 -0500206 ${SH_LIBSRC}/strcasestr.c ${SH_LIBSRC}/shquote.c \
Jari Aalto7117c2d2002-07-17 14:10:11 +0000207 ${SH_LIBSRC}/snprintf.c ${SH_LIBSRC}/mailstat.c \
208 ${SH_LIBSRC}/fmtulong.c ${SH_LIBSRC}/fmtullong.c \
209 ${SH_LIBSRC}/strtoll.c ${SH_LIBSRC}/strtoull.c \
210 ${SH_LIBSRC}/strtoimax.c ${SH_LIBSRC}/strtoumax.c \
211 ${SH_LIBSRC}/fmtumax.c ${SH_LIBSRC}/netconn.c \
212 ${SH_LIBSRC}/mktime.c ${SH_LIBSRC}/strftime.c \
Chet Ramey00018032011-11-21 20:51:19 -0500213 ${SH_LIBSRC}/memset.c ${SH_LIBSRC}/mbschr.c \
Jari Aalto95732b42005-12-07 14:08:12 +0000214 ${SH_LIBSRC}/zcatfd.c ${SH_LIBSRC}/shmatch.c \
Jari Aalto06285672006-10-10 14:15:34 +0000215 ${SH_LIBSRC}/strnlen.c ${SH_LIBSRC}/winsize.c \
Jari Aalto31859422009-01-12 13:36:28 +0000216 ${SH_LIBSRC}/eaccess.c ${SH_LIBSRC}/wcsdup.c \
217 ${SH_LIBSRC}/zmapfd.c ${SH_LIBSRC}/fpurge.c \
218 ${SH_LIBSRC}/zgetline.c ${SH_LIBSRC}/mbscmp.c \
219 ${SH_LIBSRC}/casemod.c ${SH_LIBSRC}/uconvert.c \
Chet Ramey495aee42011-11-22 19:11:26 -0500220 ${SH_LIBSRC}/ufuncs.c ${SH_LIBSRC}/dprintf.c \
Chet Ramey00018032011-11-21 20:51:19 -0500221 ${SH_LIBSRC}/input_avail.c ${SH_LIBSRC}/mbscasecmp.c \
Chet Ramey495aee42011-11-22 19:11:26 -0500222 ${SH_LIBSRC}/fnxform.c ${SH_LIBSRC}/unicode.c \
Chet Rameyac50fba2014-02-26 09:36:43 -0500223 ${SH_LIBSRC}/wcswidth.c ${SH_LIBSRC}/wcsnwidth.c \
224 ${SH_LIBSRC}/shmbchar.c
Jari Aaltocce855b1998-04-17 19:52:44 +0000225
226SHLIB_LIB = -lsh
227SHLIB_LIBNAME = libsh.a
228SHLIB_LIBRARY = ${SH_LIBDIR}/${SHLIB_LIBNAME}
229SHLIB_LDFLAGS = -L${SH_LIBDIR}
230SHLIB_DEP = ${SHLIB_LIBRARY}
231
Jari Aaltoccc6cda1996-12-23 17:02:34 +0000232# we assume for now that readline source is being shipped with bash
233RL_LIBSRC = $(LIBSRC)/readline
234RL_LIBDOC = $(RL_LIBSRC)/doc
Jari Aaltob72432f1999-02-19 17:11:39 +0000235RL_LIBDIR = @RL_LIBDIR@
Jari Aaltoccc6cda1996-12-23 17:02:34 +0000236RL_ABSSRC = ${topdir}/$(RL_LIBDIR)
237
Jari Aaltof73dda02001-11-13 17:56:06 +0000238RL_INCLUDEDIR = @RL_INCLUDEDIR@
239
Jari Aaltoccc6cda1996-12-23 17:02:34 +0000240READLINE_LIB = @READLINE_LIB@
241READLINE_LIBRARY = $(RL_LIBDIR)/libreadline.a
242READLINE_LDFLAGS = -L${RL_LIBDIR}
243READLINE_DEP = @READLINE_DEP@
244
245# The source, object and documentation of the GNU Readline library.
246READLINE_SOURCE = $(RL_LIBSRC)/rldefs.h $(RL_LIBSRC)/rlconf.h \
247 $(RL_LIBSRC)/readline.h $(RL_LIBSRC)/tcap.h \
248 $(RL_LIBSRC)/chardefs.h $(RL_LIBSRC)/keymaps.h \
249 $(RL_LIBSRC)/history.h $(RL_LIBSRC)/histlib.h \
250 $(RL_LIBSRC)/posixstat.h $(RL_LIBSRC)/tilde.h \
Jari Aaltobb706242000-03-17 21:46:59 +0000251 $(RL_LIBSRC)/rlstdc.h ${RL_LIBSRC}/xmalloc.h \
252 $(RL_LIBSRC)/rlshell.h ${RL_LIBSRC}/rlprivate.h \
Chet Rameyac50fba2014-02-26 09:36:43 -0500253 $(RL_LIBSRC)/colors.h $(RL_LIBSRC)/parse-colors.h \
Jari Aaltoccc6cda1996-12-23 17:02:34 +0000254 $(RL_LIBSRC)/funmap.c $(RL_LIBSRC)/emacs_keymap.c \
255 $(RL_LIBSRC)/search.c $(RL_LIBSRC)/vi_keymap.c \
256 $(RL_LIBSRC)/keymaps.c $(RL_LIBSRC)/parens.c \
257 $(RL_LIBSRC)/vi_mode.c $(RL_LIBSRC)/callback.c \
258 $(RL_LIBSRC)/readline.c $(RL_LIBSRC)/tilde.c \
259 $(RL_LIBSRC)/rltty.c $(RL_LIBSRC)/complete.c \
260 $(RL_LIBSRC)/bind.c $(RL_LIBSRC)/isearch.c \
261 $(RL_LIBSRC)/display.c $(RL_LIBSRC)/signals.c \
Jari Aalto7117c2d2002-07-17 14:10:11 +0000262 $(RL_LIBSRC)/util.c $(RL_LIBSRC)/kill.c $(RL_LIBSRC)/text.c \
Jari Aaltoccc6cda1996-12-23 17:02:34 +0000263 $(RL_LIBSRC)/undo.c $(RL_LIBSRC)/macro.c \
264 $(RL_LIBSRC)/terminal.c $(RL_LIBSRC)/nls.c \
265 $(RL_LIBSRC)/input.c $(RL_LIBSRC)/xmalloc.c \
Jari Aaltob72432f1999-02-19 17:11:39 +0000266 $(RL_LIBSRC)/shell.c $(RL_LIBSRC)/savestring.c \
Chet Rameyac50fba2014-02-26 09:36:43 -0500267 $(RL_LIBSRC)/colors.c $(RL_LIBSRC)/parse-colors.c \
Jari Aaltob80f6442004-07-27 13:29:18 +0000268 $(RL_LIBSRC)/misc.c $(RL_LIBSRC)/mbutil.c $(RL_LIBSRC)/compat.c \
Jari Aaltoccc6cda1996-12-23 17:02:34 +0000269 $(RL_LIBSRC)/histexpand.c $(RL_LIBSRC)/history.c \
270 $(RL_LIBSRC)/histsearch.c $(RL_LIBSRC)/histfile.c
271
272READLINE_OBJ = $(RL_LIBDIR)/readline.o $(RL_LIBDIR)/funmap.o \
273 $(RL_LIBDIR)/parens.o $(RL_LIBDIR)/search.o \
274 $(RL_LIBDIR)/keymaps.o $(RL_LIBDIR)/xmalloc.o \
275 $(RL_LIBDIR)/rltty.o $(RL_LIBDIR)/complete.o \
276 $(RL_LIBDIR)/bind.o $(RL_LIBDIR)/isearch.o \
277 $(RL_LIBDIR)/display.o $(RL_LIBDIR)/signals.o \
278 $(RL_LIBDIR)/tilde.o $(RL_LIBDIR)/util.o \
279 $(RL_LIBDIR)/kill.o $(RL_LIBDIR)/undo.o $(RL_LIBDIR)/nls.o \
280 $(RL_LIBDIR)/macro.o $(RL_LIBDIR)/input.o \
281 $(RL_LIBDIR)/terminal.o $(RL_LIBDIR)/callback.o \
Jari Aaltob72432f1999-02-19 17:11:39 +0000282 $(RL_LIBDIR)/shell.o $(RL_LIBDIR)/savestring.o \
Jari Aaltob80f6442004-07-27 13:29:18 +0000283 $(RL_LIBDIR)/mbutil.o $(RL_LIBDIR)/compat.o \
Jari Aaltoccc6cda1996-12-23 17:02:34 +0000284 $(RL_LIBDIR)/history.o $(RL_LIBDIR)/histexpand.o \
Chet Rameyac50fba2014-02-26 09:36:43 -0500285 $(RL_LIBDIR)/histsearch.o $(RL_LIBDIR)/histfile.o \
286 $(RL_LIBDIR)/colors.o $(RL_LIBDIR)/parse-colors.o
Jari Aaltoccc6cda1996-12-23 17:02:34 +0000287
288HIST_LIBSRC = $(LIBSRC)/readline
Jari Aaltob72432f1999-02-19 17:11:39 +0000289HIST_LIBDIR = @HIST_LIBDIR@
Jari Aaltoccc6cda1996-12-23 17:02:34 +0000290HIST_ABSSRC = ${topdir}/$(HIST_LIBDIR)
291
292HISTORY_LIB = @HISTORY_LIB@
293HISTORY_LIBRARY = $(HIST_LIBDIR)/libhistory.a
294HISTORY_LDFLAGS = -L$(HIST_LIBDIR)
295HISTORY_DEP = @HISTORY_DEP@
296
297# The source, object and documentation of the history library.
298HISTORY_SOURCE = $(HIST_LIBSRC)/history.c $(HIST_LIBSRC)/histexpand.c \
299 $(HIST_LIBSRC)/histsearch.c $(HIST_LIBSRC)/histfile.c \
Jari Aaltod166f041997-06-05 14:59:13 +0000300 $(HIST_LIBSRC)/shell.c \
Jari Aaltoccc6cda1996-12-23 17:02:34 +0000301 $(HIST_LIBSRC)/history.h $(HIST_LIBSRC)/histlib.h
302HISTORY_OBJ = $(HIST_LIBDIR)/history.o $(HIST_LIBDIR)/histexpand.o \
Jari Aaltod166f041997-06-05 14:59:13 +0000303 $(HIST_LIBDIR)/histsearch.o $(HIST_LIBDIR)/histfile.o \
304 $(HIST_LIBDIR)/shell.o
Jari Aaltoccc6cda1996-12-23 17:02:34 +0000305
306# You only need termcap (or curses) if you are linking with GNU Readline.
307TERM_LIBSRC = $(LIBSRC)/termcap
308TERM_LIBDIR = $(dot)/$(LIBSUBDIR)/termcap
309TERM_ABSSRC = ${topdir}/$(TERM_LIBDIR)
310
311TERMCAP_LIB = @TERMCAP_LIB@
312TERMCAP_LIBRARY = $(TERM_LIBDIR)/libtermcap.a
313TERMCAP_LDFLAGS = -L$(TERM_LIBDIR)
314TERMCAP_DEP = @TERMCAP_DEP@
315
316TERMCAP_SOURCE = $(TERM_LIBSRC)/termcap.c $(TERM_LIBSRC)/tparam.c
317TERMCAP_OBJ = $(TERM_LIBDIR)/termcap.o $(TERM_LIBDIR)/tparam.o
318
319GLOB_LIBSRC = $(LIBSRC)/glob
320GLOB_LIBDIR = $(dot)/$(LIBSUBDIR)/glob
321GLOB_ABSSRC = ${topdir}/$(GLOB_LIBDIR)
322
323GLOB_LIB = -lglob
324GLOB_LIBRARY = $(GLOB_LIBDIR)/libglob.a
325GLOB_LDFLAGS = -L$(GLOB_LIBDIR)
326GLOB_DEP = $(GLOB_LIBRARY)
327
Jari Aaltof73dda02001-11-13 17:56:06 +0000328GLOB_SOURCE = $(GLOB_LIBSRC)/glob.c $(GLOB_LIBSRC)/strmatch.c \
Jari Aalto7117c2d2002-07-17 14:10:11 +0000329 $(GLOB_LIBSRC)/smatch.c $(GLOB_LIBSRC)/xmbsrtowcs.c \
330 $(GLOB_LIBSRC)/glob_loop.c $(GLOB_LIBSRC)/sm_loop.c \
Chet Ramey495aee42011-11-22 19:11:26 -0500331 $(GLOB_LIBSRC)/gmisc.c \
Jari Aaltof73dda02001-11-13 17:56:06 +0000332 $(GLOB_LIBSRC)/glob.h $(GLOB_LIBSRC)/strmatch.h
Jari Aalto7117c2d2002-07-17 14:10:11 +0000333GLOB_OBJ = $(GLOB_LIBDIR)/glob.o $(GLOB_LIBDIR)/strmatch.o \
Chet Ramey495aee42011-11-22 19:11:26 -0500334 $(GLOB_LIBDIR)/smatch.o $(GLOB_LIBDIR)/xmbsrtowcs.o \
335 $(GLOB_LIBDIR)/gmisc.o
Jari Aaltoccc6cda1996-12-23 17:02:34 +0000336
337# The source, object and documentation for the GNU Tilde library.
338TILDE_LIBSRC = $(LIBSRC)/tilde
339TILDE_LIBDIR = $(dot)/$(LIBSUBDIR)/tilde
340TILDE_ABSSRC = ${topdir}/$(TILDE_LIBDIR)
341
Jari Aalto95732b42005-12-07 14:08:12 +0000342TILDE_LIB = @TILDE_LIB@
Jari Aaltoccc6cda1996-12-23 17:02:34 +0000343TILDE_LIBRARY = $(TILDE_LIBDIR)/libtilde.a
344TILDE_LDFLAGS = -L$(TILDE_LIBDIR)
345TILDE_DEP = $(TILDE_LIBRARY)
346
347TILDE_SOURCE = $(TILDE_LIBSRC)/tilde.c $(TILDE_LIBSRC)/tilde.h
348TILDE_OBJ = $(TILDE_LIBDIR)/tilde.o
349
Jari Aaltob80f6442004-07-27 13:29:18 +0000350# libintl
351INTL_LIBSRC = $(LIBSRC)/intl
352INTL_LIBDIR = $(dot)/$(LIBSUBDIR)/intl
353INTL_ABSSRC = ${topdir}/$(INTL_LIB)
354INTL_BUILDDIR = ${LIBBUILD}/intl
355
356INTL_LIB = @LIBINTL@
357INTL_LIBRARY = $(INTL_LIBDIR)/libintl.a
358INTL_DEP = @INTL_DEP@
359INTL_INC = @INTL_INC@
360
361LIBINTL_H = @LIBINTL_H@
362
Chet Ramey00018032011-11-21 20:51:19 -0500363# libiconv
364LIBICONV = @LIBICONV@
365
Jari Aaltob80f6442004-07-27 13:29:18 +0000366# tests
367LIBINTL = @LIBINTL@
368LTLIBINTL = @LTLIBINTL@
369INTLLIBS = @INTLLIBS@
370INTLOBJS = @INTLOBJS@
371
Jari Aaltoccc6cda1996-12-23 17:02:34 +0000372# Our malloc.
Jari Aaltod166f041997-06-05 14:59:13 +0000373MALLOC_TARGET = @MALLOC_TARGET@
374
375# set to alloca.o if we are using the C alloca in lib/malloc
376ALLOCA = @ALLOCA@
377
Jari Aaltoccc6cda1996-12-23 17:02:34 +0000378ALLOC_LIBSRC = $(LIBSRC)/malloc
379ALLOC_LIBDIR = $(dot)/$(LIBSUBDIR)/malloc
380ALLOC_ABSSRC = ${topdir}/$(ALLOC_LIBDIR)
381
Jari Aaltoccc6cda1996-12-23 17:02:34 +0000382MALLOC_SRC = @MALLOC_SRC@
Jari Aaltof73dda02001-11-13 17:56:06 +0000383MALLOC_OTHERSRC = ${ALLOC_LIBSRC}/trace.c ${ALLOC_LIBSRC}/stats.c \
Jari Aalto7117c2d2002-07-17 14:10:11 +0000384 ${ALLOC_LIBSRC}/table.c ${ALLOC_LIBSRC}/watch.c
Jari Aaltof73dda02001-11-13 17:56:06 +0000385MALLOC_SOURCE = ${ALLOC_LIBSRC}/${MALLOC_SRC} ${MALLOC_OTHERSRC}
386MALLOC_CFLAGS = -DRCHECK -Dbotch=programming_error ${MALLOC_DEBUG}
Jari Aaltoccc6cda1996-12-23 17:02:34 +0000387
Jari Aaltof73dda02001-11-13 17:56:06 +0000388MALLOC_LIB = @MALLOC_LIB@
389MALLOC_LIBRARY = @MALLOC_LIBRARY@
390MALLOC_LDFLAGS = @MALLOC_LDFLAGS@
391MALLOC_DEP = @MALLOC_DEP@
Jari Aaltoccc6cda1996-12-23 17:02:34 +0000392
Jari Aaltof73dda02001-11-13 17:56:06 +0000393ALLOC_HEADERS = $(ALLOC_LIBSRC)/getpagesize.h $(ALLOC_LIBSRC)/shmalloc.h \
Jari Aalto7117c2d2002-07-17 14:10:11 +0000394 $(ALLOC_LIBSRC)/imalloc.h $(ALLOC_LIBSRC)/mstats.h \
395 $(ALLOC_LIBSRC)/table.h $(ALLOC_LIBSRC)/watch.h
Jari Aaltoccc6cda1996-12-23 17:02:34 +0000396
Jari Aaltof73dda02001-11-13 17:56:06 +0000397$(MALLOC_LIBRARY): ${MALLOC_SOURCE} ${ALLOC_HEADERS} config.h
Jari Aaltoccc6cda1996-12-23 17:02:34 +0000398 @(cd $(ALLOC_LIBDIR) && \
399 $(MAKE) $(MFLAGS) \
Jari Aaltod166f041997-06-05 14:59:13 +0000400 MALLOC_CFLAGS="$(MALLOC_CFLAGS)" ${MALLOC_TARGET} ) || exit 1
Jari Aaltoccc6cda1996-12-23 17:02:34 +0000401
Jari Aaltobb706242000-03-17 21:46:59 +0000402BASHINCDIR = ${srcdir}/include
403BASHINCFILES = $(BASHINCDIR)/posixstat.h $(BASHINCDIR)/ansi_stdlib.h \
404 $(BASHINCDIR)/filecntl.h $(BASHINCDIR)/posixdir.h \
405 $(BASHINCDIR)/memalloc.h $(BASHINCDIR)/stdc.h \
406 $(BASHINCDIR)/posixjmp.h $(BASHINCDIR)/posixwait.h \
407 $(BASHINCDIR)/posixtime.h $(BASHINCDIR)/systimes.h \
408 $(BASHINCDIR)/unionwait.h $(BASHINCDIR)/maxpath.h \
Jari Aalto7117c2d2002-07-17 14:10:11 +0000409 $(BASHINCDIR)/shtty.h $(BASHINCDIR)/typemax.h \
410 $(BASHINCDIR)/ocache.h
Jari Aaltoccc6cda1996-12-23 17:02:34 +0000411
Chet Ramey00018032011-11-21 20:51:19 -0500412LIBRARIES = $(GLOB_LIB) $(SHLIB_LIB) $(READLINE_LIB) $(HISTORY_LIB) $(TERMCAP_LIB) \
413 $(TILDE_LIB) $(MALLOC_LIB) $(INTL_LIB) $(LIBICONV) $(LOCAL_LIBS)
Jari Aaltoccc6cda1996-12-23 17:02:34 +0000414
Chet Ramey00018032011-11-21 20:51:19 -0500415LIBDEP = $(GLOB_DEP) $(SHLIB_DEP) $(INTL_DEP) $(READLINE_DEP) $(HISTORY_DEP) $(TERMCAP_DEP) \
Jari Aalto28ef6c32001-04-06 19:14:31 +0000416 $(TILDE_DEP) $(MALLOC_DEP)
Jari Aaltoccc6cda1996-12-23 17:02:34 +0000417
Jari Aaltob72432f1999-02-19 17:11:39 +0000418LIBRARY_LDFLAGS = $(READLINE_LDFLAGS) $(HISTORY_LDFLAGS) $(GLOB_LDFLAGS) \
419 $(TILDE_LDFLAGS) $(MALLOC_LDFLAGS) $(SHLIB_LDFLAGS)
Jari Aaltoccc6cda1996-12-23 17:02:34 +0000420
421#
422# The shell itself
423#
424
425# The main source code for the Bourne Again SHell.
426CSOURCES = shell.c eval.c parse.y general.c make_cmd.c print_cmd.c y.tab.c \
427 dispose_cmd.c execute_cmd.c variables.c $(GLOBC) version.c \
Jari Aaltod166f041997-06-05 14:59:13 +0000428 expr.c copy_cmd.c flags.c subst.c hashcmd.c hashlib.c mailcheck.c \
429 test.c trap.c alias.c jobs.c nojobs.c $(ALLOC_FILES) braces.c \
Jari Aalto31859422009-01-12 13:36:28 +0000430 input.c bashhist.c array.c arrayfunc.c assoc.c sig.c pathexp.c \
Jari Aaltocce855b1998-04-17 19:52:44 +0000431 unwind_prot.c siglist.c bashline.c bracecomp.c error.c \
Jari Aaltobb706242000-03-17 21:46:59 +0000432 list.c stringlib.c locale.c findcmd.c redir.c \
Jari Aalto28ef6c32001-04-06 19:14:31 +0000433 pcomplete.c pcomplib.c syntax.c xmalloc.c
Jari Aaltoccc6cda1996-12-23 17:02:34 +0000434
Jari Aaltod166f041997-06-05 14:59:13 +0000435HSOURCES = shell.h flags.h trap.h hashcmd.h hashlib.h jobs.h builtins.h \
Jari Aaltobb706242000-03-17 21:46:59 +0000436 general.h variables.h config.h $(ALLOC_HEADERS) alias.h \
Jari Aaltof73dda02001-11-13 17:56:06 +0000437 quit.h unwind_prot.h syntax.h ${GRAM_H} \
Jari Aaltoccc6cda1996-12-23 17:02:34 +0000438 command.h input.h error.h bashansi.h dispose_cmd.h make_cmd.h \
439 subst.h externs.h siglist.h bashhist.h bashline.h bashtypes.h \
Jari Aaltof73dda02001-11-13 17:56:06 +0000440 array.h arrayfunc.h sig.h mailcheck.h bashintl.h bashjmp.h \
Jari Aalto31859422009-01-12 13:36:28 +0000441 execute_cmd.h parser.h pathexp.h pathnames.h pcomplete.h assoc.h \
Jari Aaltobb706242000-03-17 21:46:59 +0000442 $(BASHINCFILES)
Jari Aaltoccc6cda1996-12-23 17:02:34 +0000443
444SOURCES = $(CSOURCES) $(HSOURCES) $(BUILTIN_DEFS)
445
Jari Aaltocce855b1998-04-17 19:52:44 +0000446# header files chosen based on running of configure
447SIGNAMES_H = @SIGNAMES_H@
448
Jari Aaltoccc6cda1996-12-23 17:02:34 +0000449# object files chosen based on running of configure
450JOBS_O = @JOBS_O@
Jari Aaltof73dda02001-11-13 17:56:06 +0000451SIGLIST_O = @SIGLIST_O@
Jari Aalto06285672006-10-10 14:15:34 +0000452SIGNAMES_O = @SIGNAMES_O@
Jari Aaltoccc6cda1996-12-23 17:02:34 +0000453
454# Matching object files.
455OBJECTS = shell.o eval.o y.tab.o general.o make_cmd.o print_cmd.o $(GLOBO) \
456 dispose_cmd.o execute_cmd.o variables.o copy_cmd.o error.o \
Jari Aaltod166f041997-06-05 14:59:13 +0000457 expr.o flags.o $(JOBS_O) subst.o hashcmd.o hashlib.o mailcheck.o \
458 trap.o input.o unwind_prot.o pathexp.o sig.o test.o version.o \
Jari Aalto31859422009-01-12 13:36:28 +0000459 alias.o array.o arrayfunc.o assoc.o braces.o bracecomp.o bashhist.o \
Jari Aaltof73dda02001-11-13 17:56:06 +0000460 bashline.o $(SIGLIST_O) list.o stringlib.o locale.o findcmd.o redir.o \
Jari Aalto06285672006-10-10 14:15:34 +0000461 pcomplete.o pcomplib.o syntax.o xmalloc.o $(SIGNAMES_O)
Jari Aaltoccc6cda1996-12-23 17:02:34 +0000462
463# Where the source code of the shell builtins resides.
464BUILTIN_SRCDIR=$(srcdir)/builtins
465DEFSRC=$(BUILTIN_SRCDIR)
466BUILTIN_ABSSRC=${topdir}/builtins
467DEFDIR = $(dot)/builtins
Jari Aaltob80f6442004-07-27 13:29:18 +0000468DEBUGGER_DIR = $(dot)/debugger
Jari Aaltoccc6cda1996-12-23 17:02:34 +0000469
470BUILTIN_DEFS = $(DEFSRC)/alias.def $(DEFSRC)/bind.def $(DEFSRC)/break.def \
471 $(DEFSRC)/builtin.def $(DEFSRC)/cd.def $(DEFSRC)/colon.def \
Jari Aaltobb706242000-03-17 21:46:59 +0000472 $(DEFSRC)/command.def ${DEFSRC}/complete.def \
Jari Aaltob80f6442004-07-27 13:29:18 +0000473 $(DEFSRC)/caller.def $(DEFSRC)/declare.def \
Jari Aaltoccc6cda1996-12-23 17:02:34 +0000474 $(DEFSRC)/echo.def $(DEFSRC)/enable.def $(DEFSRC)/eval.def \
475 $(DEFSRC)/exec.def $(DEFSRC)/exit.def $(DEFSRC)/fc.def \
476 $(DEFSRC)/fg_bg.def $(DEFSRC)/hash.def $(DEFSRC)/help.def \
477 $(DEFSRC)/history.def $(DEFSRC)/jobs.def $(DEFSRC)/kill.def \
478 $(DEFSRC)/let.def $(DEFSRC)/read.def $(DEFSRC)/return.def \
479 $(DEFSRC)/set.def $(DEFSRC)/setattr.def $(DEFSRC)/shift.def \
480 $(DEFSRC)/source.def $(DEFSRC)/suspend.def $(DEFSRC)/test.def \
481 $(DEFSRC)/times.def $(DEFSRC)/trap.def $(DEFSRC)/type.def \
482 $(DEFSRC)/ulimit.def $(DEFSRC)/umask.def $(DEFSRC)/wait.def \
483 $(DEFSRC)/getopts.def $(DEFSRC)/reserved.def \
Jari Aalto31859422009-01-12 13:36:28 +0000484 $(DEFSRC)/pushd.def $(DEFSRC)/shopt.def $(DEFSRC)/printf.def \
485 $(DEFSRC)/mapfile.def
Jari Aaltoccc6cda1996-12-23 17:02:34 +0000486BUILTIN_C_SRC = $(DEFSRC)/mkbuiltins.c $(DEFSRC)/common.c \
487 $(DEFSRC)/evalstring.c $(DEFSRC)/evalfile.c \
Jari Aaltod166f041997-06-05 14:59:13 +0000488 $(DEFSRC)/bashgetopt.c $(GETOPT_SOURCE)
Jari Aaltoccc6cda1996-12-23 17:02:34 +0000489BUILTIN_C_OBJ = $(DEFDIR)/common.o $(DEFDIR)/evalstring.o \
490 $(DEFDIR)/evalfile.o $(DEFDIR)/bashgetopt.o
491BUILTIN_OBJS = $(DEFDIR)/alias.o $(DEFDIR)/bind.o $(DEFDIR)/break.o \
492 $(DEFDIR)/builtin.o $(DEFDIR)/cd.o $(DEFDIR)/colon.o \
Jari Aaltob80f6442004-07-27 13:29:18 +0000493 $(DEFDIR)/command.o $(DEFDIR)/caller.o $(DEFDIR)/declare.o \
Jari Aaltoccc6cda1996-12-23 17:02:34 +0000494 $(DEFDIR)/echo.o $(DEFDIR)/enable.o $(DEFDIR)/eval.o \
495 $(DEFDIR)/exec.o $(DEFDIR)/exit.o $(DEFDIR)/fc.o \
496 $(DEFDIR)/fg_bg.o $(DEFDIR)/hash.o $(DEFDIR)/help.o \
497 $(DEFDIR)/history.o $(DEFDIR)/jobs.o $(DEFDIR)/kill.o \
498 $(DEFDIR)/let.o $(DEFDIR)/pushd.o $(DEFDIR)/read.o \
Jari Aaltocce855b1998-04-17 19:52:44 +0000499 $(DEFDIR)/return.o $(DEFDIR)/shopt.o $(DEFDIR)/printf.o \
Jari Aaltoccc6cda1996-12-23 17:02:34 +0000500 $(DEFDIR)/set.o $(DEFDIR)/setattr.o $(DEFDIR)/shift.o \
501 $(DEFDIR)/source.o $(DEFDIR)/suspend.o $(DEFDIR)/test.o \
502 $(DEFDIR)/times.o $(DEFDIR)/trap.o $(DEFDIR)/type.o \
503 $(DEFDIR)/ulimit.o $(DEFDIR)/umask.o $(DEFDIR)/wait.o \
Jari Aalto31859422009-01-12 13:36:28 +0000504 $(DEFDIR)/getopts.o $(DEFDIR)/mapfile.o $(BUILTIN_C_OBJ)
Jari Aaltoccc6cda1996-12-23 17:02:34 +0000505GETOPT_SOURCE = $(DEFSRC)/getopt.c $(DEFSRC)/getopt.h
506PSIZE_SOURCE = $(DEFSRC)/psize.sh $(DEFSRC)/psize.c
507
Jari Aaltod166f041997-06-05 14:59:13 +0000508BUILTINS_LIBRARY = $(DEFDIR)/libbuiltins.a
Jari Aaltoccc6cda1996-12-23 17:02:34 +0000509BUILTINS_LIB = -lbuiltins
510BUILTINS_LDFLAGS = -L$(DEFDIR)
511BUILTINS_DEP = $(BUILTINS_LIBRARY)
512
513# Documentation for the shell.
514DOCSRC = $(srcdir)/doc
Jari Aaltod166f041997-06-05 14:59:13 +0000515DOCDIR = $(dot)/doc
Jari Aaltoccc6cda1996-12-23 17:02:34 +0000516
Jari Aaltob80f6442004-07-27 13:29:18 +0000517# Translations and other i18n support files
518PO_SRC = $(srcdir)/po/
519PO_DIR = $(dot)/po/
520
Jari Aaltoccc6cda1996-12-23 17:02:34 +0000521SIGNAMES_SUPPORT = $(SUPPORT_SRC)mksignames.c
522
523SUPPORT_SRC = $(srcdir)/support/
Jari Aaltod166f041997-06-05 14:59:13 +0000524SDIR = $(dot)/support/
Jari Aaltoccc6cda1996-12-23 17:02:34 +0000525
Jari Aalto31859422009-01-12 13:36:28 +0000526TESTS_SUPPORT = recho$(EXEEXT) zecho$(EXEEXT) printenv$(EXEEXT) xcase$(EXEEXT)
Jari Aaltobb706242000-03-17 21:46:59 +0000527CREATED_SUPPORT = signames.h recho$(EXEEXT) zecho$(EXEEXT) printenv$(EXEEXT) \
528 tests/recho$(EXEEXT) tests/zecho$(EXEEXT) \
Jari Aalto31859422009-01-12 13:36:28 +0000529 tests/printenv$(EXEEXT) xcase$(EXEEXT) tests/xcase$(EXEEXT) \
530 mksignames$(EXEEXT) lsignames.h \
Jari Aalto7117c2d2002-07-17 14:10:11 +0000531 mksyntax${EXEEXT} syntax.c $(VERSPROG) $(VERSOBJ) \
Jari Aalto06285672006-10-10 14:15:34 +0000532 buildversion.o mksignames.o signames.o buildsignames.o
Jari Aaltoccc6cda1996-12-23 17:02:34 +0000533CREATED_CONFIGURE = config.h config.cache config.status config.log \
Chet Ramey495aee42011-11-22 19:11:26 -0500534 stamp-h po/POTFILES config.status.lineno
Jari Aaltoccc6cda1996-12-23 17:02:34 +0000535CREATED_MAKEFILES = Makefile builtins/Makefile doc/Makefile \
536 lib/readline/Makefile lib/glob/Makefile \
Jari Aaltocce855b1998-04-17 19:52:44 +0000537 lib/sh/Makefile lib/tilde/Makefile lib/malloc/Makefile \
538 lib/termcap/Makefile examples/loadables/Makefile \
Jari Aaltob80f6442004-07-27 13:29:18 +0000539 examples/loadables/perl/Makefile support/Makefile \
540 lib/intl/Makefile po/Makefile po/Makefile.in
Jari Aaltoccc6cda1996-12-23 17:02:34 +0000541
Chet Rameyac50fba2014-02-26 09:36:43 -0500542OTHER_DOCS = $(srcdir)/CHANGES $(srcdir)/COMPAT $(srcdir)/NEWS $(srcdir)/POSIX \
543 $(srcdir)/RBASH $(srcdir)/README
544OTHER_INSTALLED_DOCS = CHANGES COMPAT NEWS POSIX RBASH README
545
Jari Aaltoccc6cda1996-12-23 17:02:34 +0000546# Keep GNU Make from exporting the entire environment for small machines.
547.NOEXPORT:
548
549.made: $(Program) bashbug
Jari Aaltod166f041997-06-05 14:59:13 +0000550 @echo "$(Program) last made for a $(Machine) running $(OS)" >.made
Jari Aaltoccc6cda1996-12-23 17:02:34 +0000551
Jari Aaltod166f041997-06-05 14:59:13 +0000552$(Program): .build $(OBJECTS) $(BUILTINS_DEP) $(LIBDEP)
Jari Aaltoccc6cda1996-12-23 17:02:34 +0000553 $(RM) $@
Jari Aaltocce855b1998-04-17 19:52:44 +0000554 $(PURIFY) $(CC) $(BUILTINS_LDFLAGS) $(LIBRARY_LDFLAGS) $(LDFLAGS) -o $(Program) $(OBJECTS) $(LIBS)
Jari Aaltoccc6cda1996-12-23 17:02:34 +0000555 ls -l $(Program)
Jari Aalto95732b42005-12-07 14:08:12 +0000556 -$(SIZE) $(Program)
Jari Aaltoccc6cda1996-12-23 17:02:34 +0000557
Jari Aaltof73dda02001-11-13 17:56:06 +0000558.build: $(SOURCES) config.h Makefile version.h $(VERSPROG)
Jari Aaltoccc6cda1996-12-23 17:02:34 +0000559 @echo
560 @echo " ***********************************************************"
561 @echo " * *"
Jari Aaltof73dda02001-11-13 17:56:06 +0000562 @echo " * `$(BUILD_DIR)/$(VERSPROG) -l`"
Jari Aaltoccc6cda1996-12-23 17:02:34 +0000563 @echo " * *"
564 @echo " ***********************************************************"
565 @echo
566
Jari Aaltof73dda02001-11-13 17:56:06 +0000567bashbug: $(SUPPORT_SRC)bashbug.sh config.h Makefile $(VERSPROG)
Jari Aaltod166f041997-06-05 14:59:13 +0000568 @sed -e "s%!MACHINE!%$(Machine)%" -e "s%!OS!%$(OS)%" \
569 -e "s%!CFLAGS!%$(CCFLAGS)%" -e "s%!CC!%$(CC)%" \
570 -e "s%!RELEASE!%$(Version)%" -e "s%!PATCHLEVEL!%$(PatchLevel)%" \
571 -e "s%!MACHTYPE!%$(MACHTYPE)%" -e "s%!RELSTATUS!%$(RELSTATUS)%" \
Jari Aaltoccc6cda1996-12-23 17:02:34 +0000572 $(SUPPORT_SRC)bashbug.sh > $@
573 @chmod a+rx bashbug
574
575strip: $(Program) .made
576 strip $(Program)
577 ls -l $(Program)
Jari Aalto95732b42005-12-07 14:08:12 +0000578 -$(SIZE) $(Program)
Jari Aaltoccc6cda1996-12-23 17:02:34 +0000579
Jari Aaltof73dda02001-11-13 17:56:06 +0000580lint:
581 ${MAKE} ${MFLAGS} CFLAGS='${GCC_LINT_FLAGS}' .made
582
Chet Ramey495aee42011-11-22 19:11:26 -0500583version.h: $(SOURCES) config.h Makefile patchlevel.h
Jari Aaltof73dda02001-11-13 17:56:06 +0000584 $(SHELL) $(SUPPORT_SRC)mkversion.sh -b -S ${topdir} -s $(RELSTATUS) -d $(Version) -o newversion.h \
Jari Aaltob72432f1999-02-19 17:11:39 +0000585 && mv newversion.h version.h
Jari Aaltoccc6cda1996-12-23 17:02:34 +0000586
Jari Aalto7117c2d2002-07-17 14:10:11 +0000587bashversion$(EXEEXT): patchlevel.h conftypes.h version.h buildversion.o $(SUPPORT_SRC)bashversion.c
Chet Rameyac50fba2014-02-26 09:36:43 -0500588 $(CC_FOR_BUILD) $(CCFLAGS_FOR_BUILD) ${LDFLAGS_FOR_BUILD} -o $@ $(SUPPORT_SRC)bashversion.c buildversion.o ${LIBS_FOR_BUILD}
Jari Aalto7117c2d2002-07-17 14:10:11 +0000589
590buildversion.o: version.h conftypes.h patchlevel.h $(srcdir)/version.c
Jari Aaltob80f6442004-07-27 13:29:18 +0000591 $(CC_FOR_BUILD) $(CCFLAGS_FOR_BUILD) -DBUILDTOOL -c -o $@ $(srcdir)/version.c
Jari Aaltof73dda02001-11-13 17:56:06 +0000592
Jari Aaltoccc6cda1996-12-23 17:02:34 +0000593# old rules
Jari Aaltod166f041997-06-05 14:59:13 +0000594GRAM_H = parser-built
Chet Rameyac50fba2014-02-26 09:36:43 -0500595y.tab.o: y.tab.h y.tab.c ${GRAM_H} command.h ${BASHINCDIR}/stdc.h input.h
Jari Aaltod166f041997-06-05 14:59:13 +0000596${GRAM_H}: y.tab.h
597 @-if test -f y.tab.h ; then \
598 cmp -s $@ y.tab.h 2>/dev/null || cp -p y.tab.h $@; \
599 fi
Chet Rameyac50fba2014-02-26 09:36:43 -0500600
601y.tab.c: parse.y
Jari Aaltod166f041997-06-05 14:59:13 +0000602# -if test -f y.tab.h; then mv -f y.tab.h old-y.tab.h; fi
Jari Aaltoccc6cda1996-12-23 17:02:34 +0000603 $(YACC) -d $(srcdir)/parse.y
Jari Aaltof73dda02001-11-13 17:56:06 +0000604 touch parser-built
Jari Aaltod166f041997-06-05 14:59:13 +0000605# -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 +0000606
Chet Rameyac50fba2014-02-26 09:36:43 -0500607y.tab.h: y.tab.c
608 @true
609
610
611# Subdirs will often times want version.h, so they'll change back up to
612# the top level and try to create it. This causes parallel build issues
613# so just force top level sanity before we descend.
614$(LIBDEP): .build
615#$(LIBDEP): version.h
Jari Aaltoccc6cda1996-12-23 17:02:34 +0000616
617$(READLINE_LIBRARY): config.h $(READLINE_SOURCE)
618 @echo making $@ in ${RL_LIBDIR}
Jari Aaltob72432f1999-02-19 17:11:39 +0000619 @( { test "${RL_LIBDIR}" = "${libdir}" && exit 0; } || \
620 cd ${RL_LIBDIR} && $(MAKE) $(MFLAGS) libreadline.a) || exit 1
Jari Aaltoccc6cda1996-12-23 17:02:34 +0000621
Chet Ramey00018032011-11-21 20:51:19 -0500622$(HISTORY_LIBRARY): config.h $(HISTORY_SOURCE) $(READLINE_DEP)
Jari Aaltoccc6cda1996-12-23 17:02:34 +0000623 @echo making $@ in ${HIST_LIBDIR}
Jari Aaltob72432f1999-02-19 17:11:39 +0000624 @( { test "${HIST_LIBDIR}" = "${libdir}" && exit 0; } || \
625 cd ${HIST_LIBDIR} && $(MAKE) $(MFLAGS) libhistory.a) || exit 1
Jari Aaltoccc6cda1996-12-23 17:02:34 +0000626
627$(GLOB_LIBRARY): config.h $(GLOB_SOURCE)
628 @echo making $@ in ${GLOB_LIBDIR}
629 @(cd ${GLOB_LIBDIR} && \
Jari Aaltof73dda02001-11-13 17:56:06 +0000630 $(MAKE) $(MFLAGS) DEBUG=${DEBUG} libglob.a) || exit 1
Jari Aaltoccc6cda1996-12-23 17:02:34 +0000631
632$(TILDE_LIBRARY): config.h $(TILDE_SOURCE)
633 @echo making $@ in ${TILDE_LIBDIR}
634 @(cd ${TILDE_LIBDIR} && \
635 $(MAKE) $(MFLAGS) libtilde.a) || exit 1
636
637$(TERMCAP_LIBRARY): config.h ${TERMCAP_SOURCE}
Jari Aaltod166f041997-06-05 14:59:13 +0000638 @echo making $@ in ${TERM_LIBDIR}
639 @(cd ${TERM_LIBDIR} && \
Jari Aaltoccc6cda1996-12-23 17:02:34 +0000640 $(MAKE) $(MFLAGS) libtermcap.a) || exit 1
641
Jari Aaltocce855b1998-04-17 19:52:44 +0000642$(SHLIB_LIBRARY): config.h ${SHLIB_SOURCE}
643 @echo making $@ in ${SH_LIBDIR}
644 @(cd ${SH_LIBDIR} && \
Jari Aaltof73dda02001-11-13 17:56:06 +0000645 $(MAKE) $(MFLAGS) DEBUG=${DEBUG} ${SHLIB_LIBNAME}) || exit 1
Jari Aaltocce855b1998-04-17 19:52:44 +0000646
Jari Aaltob80f6442004-07-27 13:29:18 +0000647${INTL_LIBRARY}: config.h ${INTL_LIBDIR}/Makefile
648 @echo making $@ in ${INTL_LIBDIR}
649 @(cd ${INTL_LIBDIR} && \
650 $(MAKE) $(MFLAGS) all) || exit 1
651
Jari Aalto31859422009-01-12 13:36:28 +0000652${LIBINTL_H}: ${INTL_DEP}
Jari Aaltob80f6442004-07-27 13:29:18 +0000653
Jari Aalto06285672006-10-10 14:15:34 +0000654signames.o: $(SUPPORT_SRC)signames.c
655 $(RM) $@
656 $(CC) $(CCFLAGS) -c $(SUPPORT_SRC)signames.c
657
658buildsignames.o: $(SUPPORT_SRC)signames.c
659 $(RM) $@
660 $(CC_FOR_BUILD) $(CCFLAGS_FOR_BUILD) -DBUILDTOOL -o $@ -c $(SUPPORT_SRC)signames.c
661
662mksignames.o: $(SUPPORT_SRC)mksignames.c
663 $(RM) $@
664 $(CC_FOR_BUILD) $(CCFLAGS_FOR_BUILD) -DBUILDTOOL -c $(SUPPORT_SRC)mksignames.c
665
666mksignames$(EXEEXT): mksignames.o buildsignames.o
667 $(RM) $@
Chet Rameyac50fba2014-02-26 09:36:43 -0500668 $(CC_FOR_BUILD) $(CCFLAGS_FOR_BUILD) ${LDFLAGS_FOR_BUILD} -o $@ mksignames.o buildsignames.o ${LIBS_FOR_BUILD}
Jari Aaltoccc6cda1996-12-23 17:02:34 +0000669
Jari Aaltof73dda02001-11-13 17:56:06 +0000670mksyntax$(EXEEXT): ${srcdir}/mksyntax.c config.h syntax.h ${BASHINCDIR}/chartypes.h
Jari Aalto06285672006-10-10 14:15:34 +0000671 $(RM) $@
Chet Rameyac50fba2014-02-26 09:36:43 -0500672 ${CC_FOR_BUILD} ${CCFLAGS_FOR_BUILD} ${LDFLAGS_FOR_BUILD} -o $@ ${srcdir}/mksyntax.c ${LIBS_FOR_BUILD}
Jari Aalto28ef6c32001-04-06 19:14:31 +0000673
Jari Aaltocce855b1998-04-17 19:52:44 +0000674# make a list of signals for the local system -- this is done when we're
675# *not* cross-compiling
Jari Aaltobb706242000-03-17 21:46:59 +0000676lsignames.h: mksignames$(EXEEXT)
Jari Aaltoccc6cda1996-12-23 17:02:34 +0000677 $(RM) $@
Jari Aalto95732b42005-12-07 14:08:12 +0000678 ./mksignames$(EXEEXT) $@
Jari Aaltoccc6cda1996-12-23 17:02:34 +0000679
Jari Aaltocce855b1998-04-17 19:52:44 +0000680# copy the correct signames header file to signames.h
681signames.h: $(SIGNAMES_H)
682 -if cmp -s $(SIGNAMES_H) $@ ; then :; else $(RM) $@ ; $(CP) $(SIGNAMES_H) $@ ; fi
683
Jari Aalto28ef6c32001-04-06 19:14:31 +0000684syntax.c: mksyntax${EXEEXT} $(srcdir)/syntax.h
685 $(RM) $@
Jari Aalto95732b42005-12-07 14:08:12 +0000686 ./mksyntax$(EXEEXT) -o $@
Jari Aalto28ef6c32001-04-06 19:14:31 +0000687
Chet Rameyac50fba2014-02-26 09:36:43 -0500688$(BUILTINS_LIBRARY): $(BUILTIN_DEFS) $(BUILTIN_C_SRC) config.h ${BASHINCDIR}/memalloc.h $(DEFDIR)/builtext.h version.h
689 @(cd $(DEFDIR) && $(MAKE) $(MFLAGS) DEBUG=${DEBUG} targets ) || exit 1
Jari Aaltoccc6cda1996-12-23 17:02:34 +0000690
691# these require special rules to circumvent make builtin rules
Jari Aaltod166f041997-06-05 14:59:13 +0000692${DEFDIR}/common.o: $(BUILTIN_SRCDIR)/common.c
Jari Aaltof73dda02001-11-13 17:56:06 +0000693 @(cd $(DEFDIR) && $(MAKE) $(MFLAGS) DEBUG=${DEBUG} common.o) || exit 1
Jari Aaltoccc6cda1996-12-23 17:02:34 +0000694
Jari Aaltod166f041997-06-05 14:59:13 +0000695${DEFDIR}/bashgetopt.o: $(BUILTIN_SRCDIR)/bashgetopt.c
Jari Aaltof73dda02001-11-13 17:56:06 +0000696 @(cd $(DEFDIR) && $(MAKE) $(MFLAGS) DEBUG=${DEBUG} bashgetopt.o) || exit 1
Jari Aaltoccc6cda1996-12-23 17:02:34 +0000697
Jari Aaltod166f041997-06-05 14:59:13 +0000698${DEFDIR}/builtext.h: $(BUILTIN_DEFS)
Jari Aaltoccc6cda1996-12-23 17:02:34 +0000699 @(cd $(DEFDIR) && $(MAKE) $(MFLAGS) builtext.h ) || exit 1
700
701# For the justification of the following Makefile rules, see node
702# `Automatic Remaking' in GNU Autoconf documentation.
703
Jari Aaltod166f041997-06-05 14:59:13 +0000704Makefile makefile: config.status $(srcdir)/Makefile.in
705 CONFIG_FILES=Makefile CONFIG_HEADERS= $(SHELL) ./config.status
Jari Aaltoccc6cda1996-12-23 17:02:34 +0000706
707Makefiles makefiles: config.status $(srcdir)/Makefile.in
708 @for mf in $(CREATED_MAKEFILES); do \
709 CONFIG_FILES=$$mf CONFIG_HEADERS= $(SHELL) ./config.status ; \
710 done
711
712config.h: stamp-h
713
Jari Aaltob72432f1999-02-19 17:11:39 +0000714stamp-h: config.status $(srcdir)/config.h.in $(srcdir)/config-top.h $(srcdir)/config-bot.h
Jari Aaltoccc6cda1996-12-23 17:02:34 +0000715 CONFIG_FILES= CONFIG_HEADERS=config.h $(SHELL) ./config.status
716
717config.status: $(srcdir)/configure
718 $(SHELL) ./config.status --recheck
719
Jari Aalto31859422009-01-12 13:36:28 +0000720pathnames.h: Makefile $(srcdir)/pathnames.h.in
721 @sed -e 's|@DEBUGGER_START_FILE\@|${DEBUGGER_START_FILE}|g' $(srcdir)/pathnames.h.in > pathnames.tmp
722 @if test -f $@; then \
723 cmp -s pathnames.tmp $@ || mv pathnames.tmp $@; \
724 else \
725 mv pathnames.tmp $@; \
726 fi
727 @${RM} pathnames.tmp
728
Jari Aaltoccc6cda1996-12-23 17:02:34 +0000729# comment out for distribution
Chet Rameyac50fba2014-02-26 09:36:43 -0500730$(srcdir)/configure: $(srcdir)/configure.ac $(srcdir)/aclocal.m4 $(srcdir)/config.h.in
Jari Aaltob72432f1999-02-19 17:11:39 +0000731 cd $(srcdir) && autoconf
732
733# for chet
734reconfig: force
Jari Aalto95732b42005-12-07 14:08:12 +0000735 sh $(srcdir)/configure -C
Jari Aaltoccc6cda1996-12-23 17:02:34 +0000736
Jari Aaltod166f041997-06-05 14:59:13 +0000737#newversion: mkversion
738# $(RM) .build
739# ./mkversion -dir $(srcdir) -dist
740# mv -f newversion.h version.h
741# $(MAKE) -f $(srcdir)/Makefile $(MFLAGS) srcdir=$(srcdir)
Jari Aaltoccc6cda1996-12-23 17:02:34 +0000742
743doc documentation: force
744 @(cd $(DOCDIR) ; $(MAKE) $(MFLAGS) )
745
746info dvi ps: force
747 @(cd $(DOCDIR) ; $(MAKE) $(MFLAGS) CFLAGS='$(CCFLAGS)' $@ )
748
749force:
750
Chet Rameyac50fba2014-02-26 09:36:43 -0500751# unused
Jari Aalto06285672006-10-10 14:15:34 +0000752TAGS: $(SOURCES) $(BUILTIN_C_SRC) $(LIBRARY_SOURCE)
Jari Aaltoccc6cda1996-12-23 17:02:34 +0000753 etags $(SOURCES) $(BUILTIN_C_SRC) $(LIBRARY_SOURCE)
754
Jari Aalto06285672006-10-10 14:15:34 +0000755tags: $(SOURCES) $(BUILTIN_C_SRC) $(LIBRARY_SOURCE)
Jari Aaltoccc6cda1996-12-23 17:02:34 +0000756 ctags -x $(SOURCES) $(BUILTIN_C_SRC) $(LIBRARY_SOURCE) > $@
757
758# Targets that actually do things not part of the build
759
760installdirs:
Jari Aaltob80f6442004-07-27 13:29:18 +0000761 @${SHELL} $(SUPPORT_SRC)mkinstalldirs $(DESTDIR)$(bindir)
762 @${SHELL} $(SUPPORT_SRC)mkinstalldirs $(DESTDIR)$(man1dir)
763 @${SHELL} $(SUPPORT_SRC)mkinstalldirs $(DESTDIR)$(infodir)
Chet Rameyac50fba2014-02-26 09:36:43 -0500764 @${SHELL} $(SUPPORT_SRC)mkinstalldirs $(DESTDIR)$(docdir)
Jari Aaltob80f6442004-07-27 13:29:18 +0000765 -( cd $(PO_DIR) ; $(MAKE) $(MFLAGS) DESTDIR=$(DESTDIR) $@ )
Jari Aaltoccc6cda1996-12-23 17:02:34 +0000766
767install: .made installdirs
Jari Aaltof73dda02001-11-13 17:56:06 +0000768 $(INSTALL_PROGRAM) $(INSTALLMODE) $(Program) $(DESTDIR)$(bindir)/$(Program)
Jari Aalto7117c2d2002-07-17 14:10:11 +0000769 $(INSTALL_SCRIPT) $(INSTALLMODE2) bashbug $(DESTDIR)$(bindir)/bashbug
Chet Rameyac50fba2014-02-26 09:36:43 -0500770 $(INSTALL_DATA) $(OTHER_DOCS) $(DESTDIR)$(docdir)
Jari Aaltoccc6cda1996-12-23 17:02:34 +0000771 -( cd $(DOCDIR) ; $(MAKE) $(MFLAGS) \
772 man1dir=$(man1dir) man1ext=$(man1ext) \
773 man3dir=$(man3dir) man3ext=$(man3ext) \
Jari Aaltof73dda02001-11-13 17:56:06 +0000774 infodir=$(infodir) htmldir=$(htmldir) DESTDIR=$(DESTDIR) $@ )
Jari Aalto7117c2d2002-07-17 14:10:11 +0000775 -( cd $(DEFDIR) ; $(MAKE) $(MFLAGS) DESTDIR=$(DESTDIR) $@ )
Jari Aaltob80f6442004-07-27 13:29:18 +0000776 -( cd $(PO_DIR) ; $(MAKE) $(MFLAGS) DESTDIR=$(DESTDIR) $@ )
Jari Aaltoccc6cda1996-12-23 17:02:34 +0000777
778install-strip:
779 $(MAKE) $(MFLAGS) INSTALL_PROGRAM='$(INSTALL_PROGRAM) -s' \
Jari Aaltof73dda02001-11-13 17:56:06 +0000780 prefix=${prefix} exec_prefix=${exec_prefix} \
781 DESTDIR=$(DESTDIR) install
Jari Aaltoccc6cda1996-12-23 17:02:34 +0000782
783uninstall: .made
Jari Aaltof73dda02001-11-13 17:56:06 +0000784 $(RM) $(DESTDIR)$(bindir)/$(Program) $(DESTDIR)$(bindir)/bashbug
Chet Rameyac50fba2014-02-26 09:36:43 -0500785 -( cd $(DESTDIR)$(docdir) && ${RM} ${OTHER_INSTALLED_DOCS} )
Jari Aaltoccc6cda1996-12-23 17:02:34 +0000786 -( cd $(DOCDIR) ; $(MAKE) $(MFLAGS) \
787 man1dir=$(man1dir) man1ext=$(man1ext) \
788 man3dir=$(man3dir) man3ext=$(man3ext) \
Jari Aaltof73dda02001-11-13 17:56:06 +0000789 infodir=$(infodir) htmldir=$(htmldir) DESTDIR=$(DESTDIR) $@ )
Jari Aaltob80f6442004-07-27 13:29:18 +0000790 -( cd $(PO_DIR) ; $(MAKE) $(MFLAGS) DESTDIR=$(DESTDIR) $@ )
Jari Aaltoccc6cda1996-12-23 17:02:34 +0000791
Jari Aalto7117c2d2002-07-17 14:10:11 +0000792.PHONY: basic-clean clean realclean maintainer-clean distclean mostlyclean maybe-clean
793
Jari Aaltob80f6442004-07-27 13:29:18 +0000794LIB_SUBDIRS = ${RL_LIBDIR} ${HIST_LIBDIR} ${TERM_LIBDIR} ${GLOB_LIBDIR} \
795 ${INTL_LIBDIR} ${TILDE_LIBDIR} ${ALLOC_LIBDIR} ${SH_LIBDIR}
796
Jari Aaltoccc6cda1996-12-23 17:02:34 +0000797basic-clean:
798 $(RM) $(OBJECTS) $(Program) bashbug
Jari Aalto95732b42005-12-07 14:08:12 +0000799 $(RM) .build .made version.h
Jari Aaltoccc6cda1996-12-23 17:02:34 +0000800
801clean: basic-clean
802 ( cd $(DOCDIR) && $(MAKE) $(MFLAGS) $@ )
803 ( cd builtins && $(MAKE) $(MFLAGS) $@ )
Jari Aalto7117c2d2002-07-17 14:10:11 +0000804 -( cd $(SDIR) && $(MAKE) $(MFLAGS) $@ )
Jari Aaltob80f6442004-07-27 13:29:18 +0000805 -for libdir in ${LIB_SUBDIRS}; do \
806 (cd $$libdir && test -f Makefile && $(MAKE) $(MFLAGS) $@) ;\
807 done
808 -( cd $(PO_DIR) ; $(MAKE) $(MFLAGS) DESTDIR=$(DESTDIR) $@ )
Jari Aaltoccc6cda1996-12-23 17:02:34 +0000809 $(RM) $(CREATED_SUPPORT)
810
811mostlyclean: basic-clean
812 ( cd $(DOCDIR) && $(MAKE) $(MFLAGS) $@ )
813 ( cd builtins && $(MAKE) $(MFLAGS) $@ )
Jari Aalto7117c2d2002-07-17 14:10:11 +0000814 -( cd $(SDIR) && $(MAKE) $(MFLAGS) $@ )
Jari Aaltob80f6442004-07-27 13:29:18 +0000815 -for libdir in ${LIB_SUBDIRS}; do \
816 (cd $$libdir && test -f Makefile && $(MAKE) $(MFLAGS) $@) ;\
817 done
818 -( cd $(PO_DIR) ; $(MAKE) $(MFLAGS) DESTDIR=$(DESTDIR) $@ )
Jari Aaltoccc6cda1996-12-23 17:02:34 +0000819
Jari Aalto7117c2d2002-07-17 14:10:11 +0000820distclean: basic-clean maybe-clean
Jari Aaltoccc6cda1996-12-23 17:02:34 +0000821 ( cd $(DOCDIR) && $(MAKE) $(MFLAGS) $@ )
822 ( cd builtins && $(MAKE) $(MFLAGS) $@ )
Jari Aalto7117c2d2002-07-17 14:10:11 +0000823 -( cd $(SDIR) && $(MAKE) $(MFLAGS) $@ )
Jari Aaltob80f6442004-07-27 13:29:18 +0000824 -for libdir in ${LIB_SUBDIRS}; do \
825 (cd $$libdir && test -f Makefile && $(MAKE) $(MFLAGS) $@) ;\
826 done
827 -( cd $(PO_DIR) ; $(MAKE) $(MFLAGS) DESTDIR=$(DESTDIR) $@ )
Jari Aaltoccc6cda1996-12-23 17:02:34 +0000828 $(RM) $(CREATED_CONFIGURE) tags TAGS
Jari Aalto95732b42005-12-07 14:08:12 +0000829 $(RM) $(CREATED_SUPPORT) Makefile $(CREATED_MAKEFILES) pathnames.h
Jari Aaltoccc6cda1996-12-23 17:02:34 +0000830
831maintainer-clean: basic-clean
832 @echo This command is intended for maintainers to use.
833 @echo It deletes files that may require special tools to rebuild.
Jari Aaltof73dda02001-11-13 17:56:06 +0000834 $(RM) y.tab.c y.tab.h parser-built tags TAGS
Jari Aaltoccc6cda1996-12-23 17:02:34 +0000835 ( cd $(DOCDIR) && $(MAKE) $(MFLAGS) $@ )
836 ( cd builtins && $(MAKE) $(MFLAGS) $@ )
Jari Aalto7117c2d2002-07-17 14:10:11 +0000837 ( cd $(SDIR) && $(MAKE) $(MFLAGS) $@ )
Jari Aaltob80f6442004-07-27 13:29:18 +0000838 -for libdir in ${LIB_SUBDIRS}; do \
839 (cd $$libdir && test -f Makefile && $(MAKE) $(MFLAGS) $@) ;\
840 done
841 -( cd $(PO_DIR) ; $(MAKE) $(MFLAGS) DESTDIR=$(DESTDIR) $@ )
Jari Aaltoccc6cda1996-12-23 17:02:34 +0000842 $(RM) $(CREATED_CONFIGURE) $(CREATED_MAKEFILES)
Jari Aalto95732b42005-12-07 14:08:12 +0000843 $(RM) $(CREATED_SUPPORT) Makefile pathnames.h
Jari Aaltoccc6cda1996-12-23 17:02:34 +0000844
Jari Aalto7117c2d2002-07-17 14:10:11 +0000845maybe-clean:
846 -if test "X$(topdir)" != "X$(BUILD_DIR)" ; then \
847 $(RM) parser-built y.tab.c y.tab.h ; \
848 fi
849
Jari Aaltobb706242000-03-17 21:46:59 +0000850recho$(EXEEXT): $(SUPPORT_SRC)recho.c
Chet Rameyac50fba2014-02-26 09:36:43 -0500851 @$(CC_FOR_BUILD) $(CCFLAGS_FOR_BUILD) ${LDFLAGS_FOR_BUILD} -o $@ $(SUPPORT_SRC)recho.c ${LIBS_FOR_BUILD}
Jari Aaltoccc6cda1996-12-23 17:02:34 +0000852
Jari Aaltobb706242000-03-17 21:46:59 +0000853zecho$(EXEEXT): $(SUPPORT_SRC)zecho.c
Chet Rameyac50fba2014-02-26 09:36:43 -0500854 @$(CC_FOR_BUILD) $(CCFLAGS_FOR_BUILD) ${LDFLAGS_FOR_BUILD} -o $@ $(SUPPORT_SRC)zecho.c ${LIBS_FOR_BUILD}
Jari Aaltoccc6cda1996-12-23 17:02:34 +0000855
Jari Aaltobb706242000-03-17 21:46:59 +0000856printenv$(EXEEXT): $(SUPPORT_SRC)printenv.c
Chet Rameyac50fba2014-02-26 09:36:43 -0500857 @$(CC_FOR_BUILD) $(CCFLAGS_FOR_BUILD) ${LDFLAGS_FOR_BUILD} -o $@ $(SUPPORT_SRC)printenv.c ${LIBS_FOR_BUILD}
Jari Aaltod166f041997-06-05 14:59:13 +0000858
Jari Aalto31859422009-01-12 13:36:28 +0000859xcase$(EXEEXT): $(SUPPORT_SRC)xcase.c
Chet Rameyac50fba2014-02-26 09:36:43 -0500860 @$(CC_FOR_BUILD) $(CCFLAGS_FOR_BUILD) ${LDFLAGS_FOR_BUILD} -o $@ $(SUPPORT_SRC)xcase.c ${LIBS_FOR_BUILD}
Jari Aalto31859422009-01-12 13:36:28 +0000861
Jari Aaltof73dda02001-11-13 17:56:06 +0000862test tests check: force $(Program) $(TESTS_SUPPORT)
Jari Aaltoccc6cda1996-12-23 17:02:34 +0000863 @-test -d tests || mkdir tests
Jari Aaltod166f041997-06-05 14:59:13 +0000864 @cp $(TESTS_SUPPORT) tests
Jari Aaltoccc6cda1996-12-23 17:02:34 +0000865 @( cd $(srcdir)/tests && \
Jari Aalto95732b42005-12-07 14:08:12 +0000866 PATH=$(BUILD_DIR)/tests:$$PATH THIS_SH=$(THIS_SH) $(SHELL) ${TESTSCRIPT} )
Jari Aaltoccc6cda1996-12-23 17:02:34 +0000867
868symlinks:
869 $(SHELL) $(SUPPORT_SRC)fixlinks -s $(srcdir)
870
871dist: force
872 @echo Bash distributions are created using $(srcdir)/support/mkdist.
873 @echo Here is a sample of the necessary commands:
Jari Aaltob80f6442004-07-27 13:29:18 +0000874 @echo $(Program) $(srcdir)/support/mkdist -m $(srcdir)/MANIFEST -s $(srcdir) -r ${PACKAGE} $(PACKAGE_VERSION)
875 @echo tar cf $(PACKAGE)-${PACKAGE_VERSION}.tar ${PACKAGE}-$(PACKAGE_VERSION)
876 @echo gzip $(PACKAGE)-$(PACKAGE_VERSION).tar
Jari Aaltod166f041997-06-05 14:59:13 +0000877
878depend: depends
879
Jari Aaltobb706242000-03-17 21:46:59 +0000880depends: force
Jari Aaltod166f041997-06-05 14:59:13 +0000881 $(Program) $(SUPPORT_SRC)mkdep -c ${CC} -- ${CCFLAGS} ${CSOURCES}
Jari Aaltoccc6cda1996-12-23 17:02:34 +0000882
Jari Aaltof73dda02001-11-13 17:56:06 +0000883#### PRIVATE TARGETS ####
884hashtest: hashlib.c
885 $(CC) -DTEST_HASHING $(CCFLAGS) -o $@ $(srcdir)/hashlib.c
886
Jari Aaltoccc6cda1996-12-23 17:02:34 +0000887############################ DEPENDENCIES ###############################
888
Jari Aaltob72432f1999-02-19 17:11:39 +0000889# Files that depend on the definitions in config-top.h, which are not meant
Jari Aaltoccc6cda1996-12-23 17:02:34 +0000890# to be changed
Chet Ramey00018032011-11-21 20:51:19 -0500891bashhist.o: config-top.h
Jari Aaltob72432f1999-02-19 17:11:39 +0000892shell.o: config-top.h
893input.o: config-top.h
894y.tab.o: config-top.h
895jobs.o: config-top.h
896nojobs.o: config-top.h
897execute_cmd.o: config-top.h
898variables.o: config-top.h
899builtins/command.o: config-top.h
900builtins/common.o: config-top.h
901builtins/break.o: config-top.h
902builtins/echo.o: config-top.h
903builtins/evalstring.o: config-top.h
904builtins/exit.o: config-top.h
905builtins/kill.o: config-top.h
Jari Aaltoccc6cda1996-12-23 17:02:34 +0000906
Jari Aaltod166f041997-06-05 14:59:13 +0000907# shell basics
Jari Aalto28ef6c32001-04-06 19:14:31 +0000908copy_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 +0000909copy_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 +0000910copy_cmd.o: quit.h ${BASHINCDIR}/maxpath.h unwind_prot.h dispose_cmd.h
Jari Aaltod166f041997-06-05 14:59:13 +0000911copy_cmd.o: make_cmd.h subst.h sig.h pathnames.h externs.h
Jari Aaltobb706242000-03-17 21:46:59 +0000912dispose_cmd.o: bashansi.h ${BASHINCDIR}/ansi_stdlib.h
Jari Aalto28ef6c32001-04-06 19:14:31 +0000913dispose_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 +0000914dispose_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 +0000915dispose_cmd.o: quit.h ${BASHINCDIR}/maxpath.h unwind_prot.h dispose_cmd.h
Jari Aaltod166f041997-06-05 14:59:13 +0000916dispose_cmd.o: make_cmd.h subst.h sig.h pathnames.h externs.h
Jari Aalto7117c2d2002-07-17 14:10:11 +0000917dispose_cmd.o: ${BASHINCDIR}/ocache.h
Jari Aaltobb706242000-03-17 21:46:59 +0000918error.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 +0000919error.o: command.h general.h xmalloc.h externs.h input.h bashhist.h
Jari Aaltob80f6442004-07-27 13:29:18 +0000920error.o: shell.h syntax.h config.h bashjmp.h ${BASHINCDIR}/posixjmp.h command.h ${BASHINCDIR}/stdc.h error.h
921error.o: general.h xmalloc.h bashtypes.h variables.h arrayfunc.h conftypes.h array.h hashlib.h
922error.o: quit.h ${BASHINCDIR}/maxpath.h unwind_prot.h dispose_cmd.h
923error.o: make_cmd.h subst.h sig.h pathnames.h externs.h
924error.o: input.h execute_cmd.h
Jari Aaltobb706242000-03-17 21:46:59 +0000925eval.o: config.h bashansi.h ${BASHINCDIR}/ansi_stdlib.h trap.h flags.h ${DEFSRC}/common.h
Jari Aalto28ef6c32001-04-06 19:14:31 +0000926eval.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 +0000927eval.o: general.h xmalloc.h bashtypes.h variables.h arrayfunc.h conftypes.h array.h hashlib.h
Jari Aaltobb706242000-03-17 21:46:59 +0000928eval.o: quit.h ${BASHINCDIR}/maxpath.h unwind_prot.h dispose_cmd.h
Jari Aaltod166f041997-06-05 14:59:13 +0000929eval.o: make_cmd.h subst.h sig.h pathnames.h externs.h
Jari Aaltob80f6442004-07-27 13:29:18 +0000930eval.o: input.h execute_cmd.h
Jari Aaltobb706242000-03-17 21:46:59 +0000931execute_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 +0000932execute_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 +0000933execute_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 +0000934execute_cmd.o: quit.h ${BASHINCDIR}/maxpath.h unwind_prot.h dispose_cmd.h
Jari Aaltob80f6442004-07-27 13:29:18 +0000935execute_cmd.o: make_cmd.h subst.h sig.h pathnames.h externs.h
Jari Aaltobb706242000-03-17 21:46:59 +0000936execute_cmd.o: ${BASHINCDIR}/memalloc.h ${GRAM_H} flags.h builtins.h jobs.h quit.h siglist.h
Jari Aaltocce855b1998-04-17 19:52:44 +0000937execute_cmd.o: execute_cmd.h findcmd.h redir.h trap.h test.h pathexp.h
Jari Aaltof73dda02001-11-13 17:56:06 +0000938execute_cmd.o: $(DEFSRC)/common.h ${DEFDIR}/builtext.h ${GLOB_LIBSRC}/strmatch.h
939execute_cmd.o: ${BASHINCDIR}/posixtime.h ${BASHINCDIR}/chartypes.h
Jari Aaltob80f6442004-07-27 13:29:18 +0000940expr.o: config.h bashansi.h ${BASHINCDIR}/ansi_stdlib.h
Jari Aalto28ef6c32001-04-06 19:14:31 +0000941expr.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 +0000942expr.o: general.h xmalloc.h bashtypes.h variables.h arrayfunc.h conftypes.h array.h hashlib.h
Jari Aaltobb706242000-03-17 21:46:59 +0000943expr.o: quit.h ${BASHINCDIR}/maxpath.h unwind_prot.h dispose_cmd.h
Jari Aaltod166f041997-06-05 14:59:13 +0000944expr.o: make_cmd.h subst.h sig.h pathnames.h externs.h
Jari Aaltof73dda02001-11-13 17:56:06 +0000945expr.o: ${BASHINCDIR}/chartypes.h
Jari Aaltobb706242000-03-17 21:46:59 +0000946findcmd.o: config.h bashtypes.h ${BASHINCDIR}/filecntl.h ${BASHINCDIR}/posixstat.h bashansi.h
Jari Aalto28ef6c32001-04-06 19:14:31 +0000947findcmd.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 +0000948findcmd.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 +0000949findcmd.o: dispose_cmd.h make_cmd.h subst.h sig.h pathnames.h externs.h
950findcmd.o: flags.h hashlib.h pathexp.h hashcmd.h
Jari Aaltof73dda02001-11-13 17:56:06 +0000951findcmd.o: ${BASHINCDIR}/chartypes.h
Jari Aaltob80f6442004-07-27 13:29:18 +0000952flags.o: config.h flags.h
Jari Aalto28ef6c32001-04-06 19:14:31 +0000953flags.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 +0000954flags.o: general.h xmalloc.h bashtypes.h variables.h arrayfunc.h conftypes.h array.h hashlib.h
Jari Aaltobb706242000-03-17 21:46:59 +0000955flags.o: quit.h ${BASHINCDIR}/maxpath.h unwind_prot.h dispose_cmd.h
Jari Aaltof73dda02001-11-13 17:56:06 +0000956flags.o: make_cmd.h subst.h sig.h pathnames.h externs.h bashhist.h
Jari Aaltobb706242000-03-17 21:46:59 +0000957general.o: config.h bashtypes.h ${BASHINCDIR}/posixstat.h ${BASHINCDIR}/filecntl.h bashansi.h ${BASHINCDIR}/ansi_stdlib.h
Jari Aalto28ef6c32001-04-06 19:14:31 +0000958general.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 +0000959general.o: general.h xmalloc.h bashtypes.h variables.h arrayfunc.h conftypes.h array.h hashlib.h
Jari Aaltobb706242000-03-17 21:46:59 +0000960general.o: quit.h ${BASHINCDIR}/maxpath.h unwind_prot.h dispose_cmd.h
Jari Aaltob80f6442004-07-27 13:29:18 +0000961general.o: make_cmd.h subst.h sig.h pathnames.h externs.h
Jari Aaltobb706242000-03-17 21:46:59 +0000962general.o: ${BASHINCDIR}/maxpath.h ${BASHINCDIR}/posixtime.h
Jari Aaltof73dda02001-11-13 17:56:06 +0000963general.o: ${BASHINCDIR}/chartypes.h
Jari Aaltobb706242000-03-17 21:46:59 +0000964hashcmd.o: config.h ${BASHINCDIR}/posixstat.h bashtypes.h bashansi.h ${BASHINCDIR}/ansi_stdlib.h
Jari Aalto28ef6c32001-04-06 19:14:31 +0000965hashcmd.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 +0000966hashcmd.o: general.h xmalloc.h bashtypes.h variables.h arrayfunc.h conftypes.h array.h hashcmd.h
Chet Ramey00018032011-11-21 20:51:19 -0500967hashcmd.o: execute_cmd.h findcmd.h ${BASHINCDIR}/stdc.h pathnames.h hashlib.h
Jari Aaltobb706242000-03-17 21:46:59 +0000968hashlib.o: config.h bashansi.h ${BASHINCDIR}/ansi_stdlib.h
Jari Aalto28ef6c32001-04-06 19:14:31 +0000969hashlib.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 +0000970hashlib.o: general.h xmalloc.h bashtypes.h variables.h arrayfunc.h conftypes.h array.h hashlib.h
Jari Aaltobb706242000-03-17 21:46:59 +0000971hashlib.o: quit.h ${BASHINCDIR}/maxpath.h unwind_prot.h dispose_cmd.h
Jari Aaltob80f6442004-07-27 13:29:18 +0000972hashlib.o: make_cmd.h subst.h sig.h pathnames.h externs.h
Jari Aaltobb706242000-03-17 21:46:59 +0000973input.o: config.h bashtypes.h ${BASHINCDIR}/filecntl.h ${BASHINCDIR}/posixstat.h bashansi.h ${BASHINCDIR}/ansi_stdlib.h
Jari Aaltof73dda02001-11-13 17:56:06 +0000974input.o: command.h ${BASHINCDIR}/stdc.h general.h xmalloc.h input.h error.h externs.h
Chet Ramey00018032011-11-21 20:51:19 -0500975input.o: quit.h
Jari Aalto28ef6c32001-04-06 19:14:31 +0000976list.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 +0000977list.o: general.h xmalloc.h bashtypes.h variables.h arrayfunc.h conftypes.h array.h hashlib.h
Jari Aaltobb706242000-03-17 21:46:59 +0000978list.o: quit.h ${BASHINCDIR}/maxpath.h unwind_prot.h dispose_cmd.h
Jari Aaltob80f6442004-07-27 13:29:18 +0000979list.o: make_cmd.h subst.h sig.h pathnames.h externs.h
980locale.o: config.h bashtypes.h bashintl.h ${LIBINTL_H} bashansi.h ${BASHINCDIR}/ansi_stdlib.h
Jari Aalto28ef6c32001-04-06 19:14:31 +0000981locale.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 +0000982locale.o: general.h xmalloc.h bashtypes.h variables.h arrayfunc.h conftypes.h array.h hashlib.h
Jari Aaltobb706242000-03-17 21:46:59 +0000983locale.o: quit.h ${BASHINCDIR}/maxpath.h unwind_prot.h dispose_cmd.h
Jari Aaltob80f6442004-07-27 13:29:18 +0000984locale.o: make_cmd.h subst.h sig.h pathnames.h externs.h
Jari Aaltof73dda02001-11-13 17:56:06 +0000985locale.o: ${BASHINCDIR}/chartypes.h
Jari Aaltobb706242000-03-17 21:46:59 +0000986mailcheck.o: config.h bashtypes.h ${BASHINCDIR}/posixstat.h bashansi.h ${BASHINCDIR}/ansi_stdlib.h
Jari Aaltof73dda02001-11-13 17:56:06 +0000987mailcheck.o: ${BASHINCDIR}/posixtime.h
Jari Aalto28ef6c32001-04-06 19:14:31 +0000988mailcheck.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 +0000989mailcheck.o: general.h xmalloc.h bashtypes.h variables.h arrayfunc.h conftypes.h array.h hashlib.h
Jari Aaltobb706242000-03-17 21:46:59 +0000990mailcheck.o: quit.h ${BASHINCDIR}/maxpath.h unwind_prot.h dispose_cmd.h
Jari Aaltod166f041997-06-05 14:59:13 +0000991mailcheck.o: make_cmd.h subst.h sig.h pathnames.h externs.h
Jari Aaltob80f6442004-07-27 13:29:18 +0000992mailcheck.o: execute_cmd.h mailcheck.h
Jari Aaltobb706242000-03-17 21:46:59 +0000993make_cmd.o: config.h bashtypes.h ${BASHINCDIR}/filecntl.h bashansi.h
Jari Aaltof73dda02001-11-13 17:56:06 +0000994make_cmd.o: command.h ${BASHINCDIR}/stdc.h general.h xmalloc.h error.h flags.h make_cmd.h
995make_cmd.o: variables.h arrayfunc.h conftypes.h array.h hashlib.h subst.h input.h externs.h
Chet Ramey495aee42011-11-22 19:11:26 -0500996make_cmd.o: jobs.h quit.h siglist.h syntax.h dispose_cmd.h parser.h
997make_cmd.o: ${BASHINCDIR}/shmbutil.h ${BASHINCDIR}/shmbchar.h ${BASHINCDIR}/ocache.h
Jari Aaltobb706242000-03-17 21:46:59 +0000998y.tab.o: config.h bashtypes.h bashansi.h ${BASHINCDIR}/ansi_stdlib.h ${BASHINCDIR}/memalloc.h
Jari Aalto28ef6c32001-04-06 19:14:31 +0000999y.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 +00001000y.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 +00001001y.tab.o: quit.h ${BASHINCDIR}/maxpath.h unwind_prot.h dispose_cmd.h
Jari Aaltof73dda02001-11-13 17:56:06 +00001002y.tab.o: make_cmd.h subst.h sig.h pathnames.h externs.h test.h
Jari Aaltod166f041997-06-05 14:59:13 +00001003y.tab.o: trap.h flags.h parser.h input.h mailcheck.h $(DEFSRC)/common.h
1004y.tab.o: $(DEFDIR)/builtext.h bashline.h bashhist.h jobs.h siglist.h alias.h
Jari Aaltobb706242000-03-17 21:46:59 +00001005pathexp.o: config.h bashtypes.h bashansi.h ${BASHINCDIR}/ansi_stdlib.h
Jari Aalto28ef6c32001-04-06 19:14:31 +00001006pathexp.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 +00001007pathexp.o: general.h xmalloc.h bashtypes.h variables.h arrayfunc.h conftypes.h array.h hashlib.h
Jari Aaltobb706242000-03-17 21:46:59 +00001008pathexp.o: quit.h ${BASHINCDIR}/maxpath.h unwind_prot.h dispose_cmd.h
Jari Aaltod166f041997-06-05 14:59:13 +00001009pathexp.o: make_cmd.h subst.h sig.h pathnames.h externs.h
1010pathexp.o: pathexp.h flags.h
Jari Aaltof73dda02001-11-13 17:56:06 +00001011pathexp.o: $(GLOB_LIBSRC)/glob.h $(GLOB_LIBSRC)/strmatch.h
Chet Ramey495aee42011-11-22 19:11:26 -05001012pathexp.o: ${BASHINCDIR}/shmbutil.h ${BASHINCDIR}/shmbchar.h
Jari Aaltobb706242000-03-17 21:46:59 +00001013print_cmd.o: config.h bashansi.h ${BASHINCDIR}/ansi_stdlib.h
Jari Aalto28ef6c32001-04-06 19:14:31 +00001014print_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 +00001015print_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 +00001016print_cmd.o: quit.h ${BASHINCDIR}/maxpath.h unwind_prot.h dispose_cmd.h
Jari Aaltob80f6442004-07-27 13:29:18 +00001017print_cmd.o: make_cmd.h subst.h sig.h pathnames.h externs.h
Jari Aaltod166f041997-06-05 14:59:13 +00001018print_cmd.o: ${GRAM_H} $(DEFSRC)/common.h
Jari Aaltobb706242000-03-17 21:46:59 +00001019redir.o: config.h bashtypes.h ${BASHINCDIR}/posixstat.h bashansi.h ${BASHINCDIR}/ansi_stdlib.h ${BASHINCDIR}/filecntl.h
Jari Aalto28ef6c32001-04-06 19:14:31 +00001020redir.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 +00001021redir.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 +00001022redir.o: dispose_cmd.h make_cmd.h subst.h sig.h pathnames.h externs.h
Jari Aaltocce855b1998-04-17 19:52:44 +00001023redir.o: flags.h execute_cmd.h redir.h input.h
Jari Aaltobb706242000-03-17 21:46:59 +00001024shell.o: config.h bashtypes.h ${BASHINCDIR}/posixstat.h bashansi.h ${BASHINCDIR}/ansi_stdlib.h ${BASHINCDIR}/filecntl.h
Jari Aalto28ef6c32001-04-06 19:14:31 +00001025shell.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 +00001026shell.o: general.h xmalloc.h bashtypes.h variables.h arrayfunc.h conftypes.h array.h hashlib.h
Jari Aaltobb706242000-03-17 21:46:59 +00001027shell.o: quit.h ${BASHINCDIR}/maxpath.h unwind_prot.h dispose_cmd.h
Jari Aaltob80f6442004-07-27 13:29:18 +00001028shell.o: make_cmd.h subst.h sig.h pathnames.h externs.h
Jari Aaltod166f041997-06-05 14:59:13 +00001029shell.o: flags.h trap.h mailcheck.h builtins.h $(DEFSRC)/common.h
Jari Aalto31859422009-01-12 13:36:28 +00001030shell.o: jobs.h siglist.h input.h execute_cmd.h findcmd.h bashhist.h bashline.h
Jari Aaltof73dda02001-11-13 17:56:06 +00001031shell.o: ${GLOB_LIBSRC}/strmatch.h ${BASHINCDIR}/posixtime.h
Jari Aaltod166f041997-06-05 14:59:13 +00001032sig.o: config.h bashtypes.h
Jari Aalto28ef6c32001-04-06 19:14:31 +00001033sig.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 +00001034sig.o: general.h xmalloc.h bashtypes.h variables.h arrayfunc.h conftypes.h array.h hashlib.h
Jari Aaltobb706242000-03-17 21:46:59 +00001035sig.o: quit.h ${BASHINCDIR}/maxpath.h unwind_prot.h dispose_cmd.h
Jari Aaltob80f6442004-07-27 13:29:18 +00001036sig.o: make_cmd.h subst.h sig.h pathnames.h externs.h
Jari Aaltod166f041997-06-05 14:59:13 +00001037sig.o: jobs.h siglist.h trap.h $(DEFSRC)/common.h bashline.h bashhist.h
Chet Rameyac50fba2014-02-26 09:36:43 -05001038sig.o: ${DEFDIR}/builtext.h
Chet Ramey00018032011-11-21 20:51:19 -05001039siglist.o: config.h bashtypes.h siglist.h trap.h
Jari Aaltof73dda02001-11-13 17:56:06 +00001040stringlib.o: bashtypes.h ${BASHINCDIR}/chartypes.h
Jari Aalto28ef6c32001-04-06 19:14:31 +00001041stringlib.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 +00001042stringlib.o: general.h xmalloc.h bashtypes.h variables.h arrayfunc.h conftypes.h array.h hashlib.h
Jari Aaltobb706242000-03-17 21:46:59 +00001043stringlib.o: quit.h ${BASHINCDIR}/maxpath.h unwind_prot.h dispose_cmd.h
Jari Aaltob80f6442004-07-27 13:29:18 +00001044stringlib.o: make_cmd.h subst.h sig.h pathnames.h externs.h
Jari Aaltof73dda02001-11-13 17:56:06 +00001045stringlib.o: ${GLOB_LIBSRC}/glob.h ${GLOB_LIBSRC}/strmatch.h
Jari Aaltobb706242000-03-17 21:46:59 +00001046subst.o: config.h bashtypes.h bashansi.h ${BASHINCDIR}/ansi_stdlib.h ${BASHINCDIR}/posixstat.h
Jari Aalto28ef6c32001-04-06 19:14:31 +00001047subst.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 +00001048subst.o: general.h xmalloc.h bashtypes.h variables.h arrayfunc.h conftypes.h array.h hashlib.h
Jari Aaltobb706242000-03-17 21:46:59 +00001049subst.o: quit.h ${BASHINCDIR}/maxpath.h unwind_prot.h dispose_cmd.h
Chet Ramey495aee42011-11-22 19:11:26 -05001050subst.o: make_cmd.h subst.h sig.h pathnames.h externs.h parser.h
Jari Aaltobb706242000-03-17 21:46:59 +00001051subst.o: flags.h jobs.h siglist.h execute_cmd.h ${BASHINCDIR}/filecntl.h trap.h pathexp.h
Jari Aaltod166f041997-06-05 14:59:13 +00001052subst.o: mailcheck.h input.h $(DEFSRC)/getopt.h $(DEFSRC)/common.h
Jari Aaltof73dda02001-11-13 17:56:06 +00001053subst.o: bashline.h bashhist.h ${GLOB_LIBSRC}/strmatch.h
1054subst.o: ${BASHINCDIR}/chartypes.h
Chet Ramey495aee42011-11-22 19:11:26 -05001055subst.o: ${BASHINCDIR}/shmbutil.h ${BASHINCDIR}/shmbchar.h
Chet Ramey00018032011-11-21 20:51:19 -05001056subst.o: ${DEFDIR}/builtext.h
Jari Aaltobb706242000-03-17 21:46:59 +00001057test.o: bashtypes.h ${BASHINCDIR}/posixstat.h ${BASHINCDIR}/filecntl.h
Jari Aalto28ef6c32001-04-06 19:14:31 +00001058test.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 +00001059test.o: general.h xmalloc.h bashtypes.h variables.h arrayfunc.h conftypes.h array.h hashlib.h
Jari Aaltobb706242000-03-17 21:46:59 +00001060test.o: quit.h ${BASHINCDIR}/maxpath.h unwind_prot.h dispose_cmd.h
Jari Aaltocce855b1998-04-17 19:52:44 +00001061test.o: make_cmd.h subst.h sig.h pathnames.h externs.h test.h
Jari Aaltob80f6442004-07-27 13:29:18 +00001062test.o: ${DEFSRC}/common.h
Jari Aaltobb706242000-03-17 21:46:59 +00001063trap.o: config.h bashtypes.h trap.h bashansi.h ${BASHINCDIR}/ansi_stdlib.h
Jari Aalto28ef6c32001-04-06 19:14:31 +00001064trap.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 +00001065trap.o: general.h xmalloc.h bashtypes.h variables.h arrayfunc.h conftypes.h array.h hashlib.h
Jari Aaltobb706242000-03-17 21:46:59 +00001066trap.o: quit.h ${BASHINCDIR}/maxpath.h unwind_prot.h dispose_cmd.h
Jari Aaltob80f6442004-07-27 13:29:18 +00001067trap.o: make_cmd.h subst.h sig.h pathnames.h externs.h
Jari Aaltod166f041997-06-05 14:59:13 +00001068trap.o: signames.h $(DEFSRC)/common.h
Chet Ramey00018032011-11-21 20:51:19 -05001069trap.o: ${DEFDIR}/builtext.h jobs.h
Jari Aaltobb706242000-03-17 21:46:59 +00001070unwind_prot.o: config.h bashtypes.h bashansi.h ${BASHINCDIR}/ansi_stdlib.h command.h ${BASHINCDIR}/stdc.h
Jari Aaltof73dda02001-11-13 17:56:06 +00001071unwind_prot.o: general.h xmalloc.h unwind_prot.h quit.h sig.h
Jari Aaltobb706242000-03-17 21:46:59 +00001072variables.o: config.h bashtypes.h ${BASHINCDIR}/posixstat.h bashansi.h ${BASHINCDIR}/ansi_stdlib.h
Jari Aalto28ef6c32001-04-06 19:14:31 +00001073variables.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 +00001074variables.o: general.h xmalloc.h bashtypes.h variables.h arrayfunc.h conftypes.h array.h hashlib.h
Jari Aaltobb706242000-03-17 21:46:59 +00001075variables.o: quit.h ${BASHINCDIR}/maxpath.h unwind_prot.h dispose_cmd.h
Jari Aaltob80f6442004-07-27 13:29:18 +00001076variables.o: make_cmd.h subst.h sig.h pathnames.h externs.h
Jari Aaltocce855b1998-04-17 19:52:44 +00001077variables.o: flags.h execute_cmd.h mailcheck.h input.h $(DEFSRC)/common.h
Jari Aaltof73dda02001-11-13 17:56:06 +00001078variables.o: findcmd.h bashhist.h hashcmd.h pathexp.h
Jari Aaltob80f6442004-07-27 13:29:18 +00001079variables.o: pcomplete.h ${BASHINCDIR}/chartypes.h
Chet Ramey00018032011-11-21 20:51:19 -05001080variables.o: ${BASHINCDIR}/posixtime.h assoc.h
Chet Rameyac50fba2014-02-26 09:36:43 -05001081variables.o: version.h $(DEFDIR)/builtext.h
Jari Aaltob80f6442004-07-27 13:29:18 +00001082version.o: conftypes.h patchlevel.h version.h
Jari Aaltobb706242000-03-17 21:46:59 +00001083xmalloc.o: config.h bashtypes.h ${BASHINCDIR}/ansi_stdlib.h error.h
Jari Aaltoccc6cda1996-12-23 17:02:34 +00001084
Jari Aaltod166f041997-06-05 14:59:13 +00001085# job control
Jari Aaltoccc6cda1996-12-23 17:02:34 +00001086
Jari Aaltobb706242000-03-17 21:46:59 +00001087jobs.o: config.h bashtypes.h trap.h ${BASHINCDIR}/filecntl.h input.h ${BASHINCDIR}/shtty.h
1088jobs.o: bashansi.h ${BASHINCDIR}/ansi_stdlib.h
Jari Aalto28ef6c32001-04-06 19:14:31 +00001089jobs.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 +00001090jobs.o: general.h xmalloc.h bashtypes.h variables.h arrayfunc.h conftypes.h array.h hashlib.h
Jari Aaltobb706242000-03-17 21:46:59 +00001091jobs.o: quit.h ${BASHINCDIR}/maxpath.h unwind_prot.h dispose_cmd.h
Chet Ramey00018032011-11-21 20:51:19 -05001092jobs.o: execute_cmd.h make_cmd.h subst.h sig.h pathnames.h externs.h
Jari Aaltod166f041997-06-05 14:59:13 +00001093jobs.o: jobs.h flags.h $(DEFSRC)/common.h $(DEFDIR)/builtext.h
Jari Aaltobb706242000-03-17 21:46:59 +00001094jobs.o: ${BASHINCDIR}/posixwait.h ${BASHINCDIR}/unionwait.h
Jari Aaltof73dda02001-11-13 17:56:06 +00001095jobs.o: ${BASHINCDIR}/posixtime.h
Jari Aaltobb706242000-03-17 21:46:59 +00001096nojobs.o: config.h bashtypes.h ${BASHINCDIR}/filecntl.h bashjmp.h ${BASHINCDIR}/posixjmp.h
Jari Aaltof73dda02001-11-13 17:56:06 +00001097nojobs.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 +00001098nojobs.o: sig.h error.h ${BASHINCDIR}/shtty.h input.h
Jari Aalto31859422009-01-12 13:36:28 +00001099nojobs.o: $(DEFDIR)/builtext.h
Jari Aaltoccc6cda1996-12-23 17:02:34 +00001100
Jari Aaltod166f041997-06-05 14:59:13 +00001101# shell features that may be compiled in
Jari Aaltoccc6cda1996-12-23 17:02:34 +00001102
Jari Aaltobb706242000-03-17 21:46:59 +00001103array.o: config.h bashansi.h ${BASHINCDIR}/ansi_stdlib.h
Jari Aalto28ef6c32001-04-06 19:14:31 +00001104array.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 +00001105array.o: general.h xmalloc.h bashtypes.h variables.h arrayfunc.h conftypes.h array.h hashlib.h
Jari Aaltobb706242000-03-17 21:46:59 +00001106array.o: quit.h ${BASHINCDIR}/maxpath.h unwind_prot.h dispose_cmd.h
Jari Aaltob80f6442004-07-27 13:29:18 +00001107array.o: make_cmd.h subst.h sig.h pathnames.h externs.h
Jari Aaltod166f041997-06-05 14:59:13 +00001108array.o: $(DEFSRC)/common.h
Jari Aaltof73dda02001-11-13 17:56:06 +00001109arrayfunc.o: config.h bashansi.h ${BASHINCDIR}/ansi_stdlib.h
1110arrayfunc.o: shell.h syntax.h config.h bashjmp.h ${BASHINCDIR}/posixjmp.h command.h ${BASHINCDIR}/stdc.h error.h
1111arrayfunc.o: general.h xmalloc.h bashtypes.h variables.h arrayfunc.h conftypes.h array.h hashlib.h
1112arrayfunc.o: quit.h ${BASHINCDIR}/maxpath.h unwind_prot.h dispose_cmd.h
Chet Ramey00018032011-11-21 20:51:19 -05001113arrayfunc.o: make_cmd.h subst.h sig.h pathnames.h externs.h pathexp.h
Jari Aaltof73dda02001-11-13 17:56:06 +00001114arrayfunc.o: $(DEFSRC)/common.h
Chet Ramey495aee42011-11-22 19:11:26 -05001115arrayfunc.o: ${BASHINCDIR}/shmbutil.h ${BASHINCDIR}/shmbchar.h
Jari Aalto31859422009-01-12 13:36:28 +00001116assoc.o: config.h bashansi.h ${BASHINCDIR}/ansi_stdlib.h
1117assoc.o: shell.h syntax.h config.h bashjmp.h ${BASHINCDIR}/posixjmp.h
1118assoc.o: command.h ${BASHINCDIR}/stdc.h error.h
1119assoc.o: general.h xmalloc.h bashtypes.h variables.h arrayfunc.h conftypes.h
1120assoc.o: assoc.h hashlib.h
1121assoc.o: quit.h ${BASHINCDIR}/maxpath.h unwind_prot.h dispose_cmd.h
1122assoc.o: make_cmd.h subst.h sig.h pathnames.h externs.h
1123assoc.o: $(DEFSRC)/common.h
Jari Aaltobb706242000-03-17 21:46:59 +00001124braces.o: config.h bashansi.h ${BASHINCDIR}/ansi_stdlib.h
Jari Aalto28ef6c32001-04-06 19:14:31 +00001125braces.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 +00001126braces.o: general.h xmalloc.h bashtypes.h variables.h arrayfunc.h conftypes.h array.h hashlib.h
Jari Aaltobb706242000-03-17 21:46:59 +00001127braces.o: quit.h ${BASHINCDIR}/maxpath.h unwind_prot.h dispose_cmd.h
Jari Aaltob80f6442004-07-27 13:29:18 +00001128braces.o: make_cmd.h subst.h sig.h pathnames.h externs.h
Chet Ramey495aee42011-11-22 19:11:26 -05001129braces.o: ${BASHINCDIR}/shmbutil.h ${BASHINCDIR}/shmbchar.h
Jari Aaltobb706242000-03-17 21:46:59 +00001130alias.o: config.h bashansi.h ${BASHINCDIR}/ansi_stdlib.h command.h ${BASHINCDIR}/stdc.h
Jari Aaltof73dda02001-11-13 17:56:06 +00001131alias.o: general.h xmalloc.h bashtypes.h externs.h alias.h
Jari Aaltob80f6442004-07-27 13:29:18 +00001132alias.o: pcomplete.h
Jari Aaltof73dda02001-11-13 17:56:06 +00001133alias.o: ${BASHINCDIR}/chartypes.h
Jari Aaltobb706242000-03-17 21:46:59 +00001134
1135pcomplib.o: config.h bashansi.h ${BASHINCDIR}/ansi_stdlib.h bashtypes.h
Jari Aalto28ef6c32001-04-06 19:14:31 +00001136pcomplib.o: ${BASHINCDIR}/stdc.h hashlib.h pcomplete.h shell.h syntax.h
Jari Aaltof73dda02001-11-13 17:56:06 +00001137pcomplib.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 +00001138pcomplib.o: unwind_prot.h dispose_cmd.h make_cmd.h subst.h sig.h pathnames.h
1139pcomplib.o: externs.h ${BASHINCDIR}/maxpath.h
1140
1141pcomplete.o: config.h bashansi.h ${BASHINCDIR}/ansi_stdlib.h bashtypes.h
Jari Aalto28ef6c32001-04-06 19:14:31 +00001142pcomplete.o: ${BASHINCDIR}/stdc.h hashlib.h pcomplete.h shell.h syntax.h
Jari Aaltof73dda02001-11-13 17:56:06 +00001143pcomplete.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 +00001144pcomplete.o: unwind_prot.h dispose_cmd.h make_cmd.h subst.h sig.h pathnames.h
Jari Aaltob80f6442004-07-27 13:29:18 +00001145pcomplete.o: externs.h ${BASHINCDIR}/maxpath.h execute_cmd.h
Chet Rameyac50fba2014-02-26 09:36:43 -05001146pcomplete.o: ${DEFDIR}/builtext.h
Jari Aaltoccc6cda1996-12-23 17:02:34 +00001147
Jari Aaltod166f041997-06-05 14:59:13 +00001148# library support files
Jari Aaltoccc6cda1996-12-23 17:02:34 +00001149
Jari Aaltobb706242000-03-17 21:46:59 +00001150bashhist.o: config.h bashtypes.h bashansi.h ${BASHINCDIR}/ansi_stdlib.h ${BASHINCDIR}/posixstat.h
1151bashhist.o: ${BASHINCDIR}/filecntl.h
Jari Aalto28ef6c32001-04-06 19:14:31 +00001152bashhist.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 +00001153bashhist.o: general.h xmalloc.h bashtypes.h variables.h arrayfunc.h conftypes.h array.h hashlib.h
Jari Aaltobb706242000-03-17 21:46:59 +00001154bashhist.o: quit.h ${BASHINCDIR}/maxpath.h unwind_prot.h dispose_cmd.h
Jari Aaltob80f6442004-07-27 13:29:18 +00001155bashhist.o: make_cmd.h subst.h sig.h pathnames.h externs.h
Jari Aaltod166f041997-06-05 14:59:13 +00001156bashhist.o: flags.h input.h parser.h pathexp.h $(DEFSRC)/common.h bashline.h
Jari Aaltof73dda02001-11-13 17:56:06 +00001157bashhist.o: $(GLOB_LIBSRC)/strmatch.h
Jari Aaltobb706242000-03-17 21:46:59 +00001158bashline.o: config.h bashtypes.h ${BASHINCDIR}/posixstat.h bashansi.h ${BASHINCDIR}/ansi_stdlib.h
Jari Aalto28ef6c32001-04-06 19:14:31 +00001159bashline.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 +00001160bashline.o: general.h xmalloc.h bashtypes.h variables.h arrayfunc.h conftypes.h array.h hashlib.h
Jari Aaltobb706242000-03-17 21:46:59 +00001161bashline.o: quit.h ${BASHINCDIR}/maxpath.h unwind_prot.h dispose_cmd.h
Jari Aaltob80f6442004-07-27 13:29:18 +00001162bashline.o: make_cmd.h subst.h sig.h pathnames.h externs.h
Jari Aaltocce855b1998-04-17 19:52:44 +00001163bashline.o: builtins.h bashhist.h bashline.h execute_cmd.h findcmd.h pathexp.h
Jari Aaltod166f041997-06-05 14:59:13 +00001164bashline.o: $(DEFSRC)/common.h $(GLOB_LIBSRC)/glob.h alias.h
Jari Aalto7117c2d2002-07-17 14:10:11 +00001165bashline.o: pcomplete.h ${BASHINCDIR}/chartypes.h input.h
Chet Rameyac50fba2014-02-26 09:36:43 -05001166bashline.o: ${BASHINCDIR}/shmbutil.h ${BASHINCDIR}/shmbchar.h
Jari Aaltobb706242000-03-17 21:46:59 +00001167bracecomp.o: config.h bashansi.h ${BASHINCDIR}/ansi_stdlib.h
Chet Ramey00018032011-11-21 20:51:19 -05001168bracecomp.o: shell.h syntax.h config.h bashjmp.h ${BASHINCDIR}/posixjmp.h
1169bracecomp.o: command.h ${BASHINCDIR}/stdc.h error.h
1170bracecomp.o: general.h xmalloc.h bashtypes.h variables.h arrayfunc.h conftypes.h
1171bracecomp.o: array.h hashlib.h alias.h builtins.h
Jari Aaltobb706242000-03-17 21:46:59 +00001172bracecomp.o: quit.h ${BASHINCDIR}/maxpath.h unwind_prot.h dispose_cmd.h
Jari Aaltob80f6442004-07-27 13:29:18 +00001173bracecomp.o: make_cmd.h subst.h sig.h pathnames.h externs.h
Jari Aaltoccc6cda1996-12-23 17:02:34 +00001174
Jari Aaltod166f041997-06-05 14:59:13 +00001175# library dependencies
Jari Aaltoccc6cda1996-12-23 17:02:34 +00001176
Jari Aaltod166f041997-06-05 14:59:13 +00001177bashline.o: $(RL_LIBSRC)/rlconf.h
Jari Aaltob72432f1999-02-19 17:11:39 +00001178bashline.o: $(RL_LIBSRC)/keymaps.h $(RL_LIBSRC)/rlstdc.h
Jari Aaltod166f041997-06-05 14:59:13 +00001179bashline.o: $(RL_LIBSRC)/chardefs.h $(RL_LIBSRC)/readline.h
1180bracecomp.o: $(RL_LIBSRC)/keymaps.h $(RL_LIBSRC)/chardefs.h
Jari Aaltob72432f1999-02-19 17:11:39 +00001181bracecomp.o: $(RL_LIBSRC)/readline.h $(RL_LIBSRC)/rlstdc.h
1182y.tab.o: $(RL_LIBSRC)/keymaps.h $(RL_LIBSRC)/chardefs.h
1183y.tab.o: $(RL_LIBSRC)/readline.h $(RL_LIBSRC)/rlstdc.h
1184subst.o: $(RL_LIBSRC)/keymaps.h $(RL_LIBSRC)/chardefs.h
1185subst.o: $(RL_LIBSRC)/readline.h $(RL_LIBSRC)/rlstdc.h
Jari Aaltoccc6cda1996-12-23 17:02:34 +00001186
Jari Aaltob72432f1999-02-19 17:11:39 +00001187shell.o: $(HIST_LIBSRC)/history.h $(HIST_LIBSRC)/rlstdc.h
1188subst.o: $(HIST_LIBSRC)/history.h $(HIST_LIBSRC)/rlstdc.h
1189bashline.o: $(HIST_LIBSRC)/history.h $(HIST_LIBSRC)/rlstdc.h
1190bashhist.o: $(HIST_LIBSRC)/history.h $(HIST_LIBSRC)/rlstdc.h
1191y.tab.o: $(HIST_LIBSRC)/history.h $(HIST_LIBSRC)/rlstdc.h
Jari Aaltoccc6cda1996-12-23 17:02:34 +00001192
Jari Aaltoccc6cda1996-12-23 17:02:34 +00001193execute_cmd.o: $(TILDE_LIBSRC)/tilde.h
1194general.o: $(TILDE_LIBSRC)/tilde.h
1195mailcheck.o: $(TILDE_LIBSRC)/tilde.h
1196shell.o: $(TILDE_LIBSRC)/tilde.h
1197subst.o: $(TILDE_LIBSRC)/tilde.h
1198variables.o: $(TILDE_LIBSRC)/tilde.h
1199
Jari Aaltob80f6442004-07-27 13:29:18 +00001200# libintl dependencies
1201arrayfunc.o: bashintl.h ${LIBINTL_H} $(BASHINCDIR)/gettext.h
1202bashhist.o: bashintl.h ${LIBINTL_H} $(BASHINCDIR)/gettext.h
1203bashline.o: bashintl.h ${LIBINTL_H} $(BASHINCDIR)/gettext.h
1204braces.o: bashintl.h ${LIBINTL_H} $(BASHINCDIR)/gettext.h
1205error.o: bashintl.h ${LIBINTL_H} $(BASHINCDIR)/gettext.h
1206eval.o: bashintl.h ${LIBINTL_H} $(BASHINCDIR)/gettext.h
1207execute_cmd.o: bashintl.h ${LIBINTL_H} $(BASHINCDIR)/gettext.h
1208expr.o: bashintl.h ${LIBINTL_H} $(BASHINCDIR)/gettext.h
1209general.o: bashintl.h ${LIBINTL_H} $(BASHINCDIR)/gettext.h
1210input.o: bashintl.h ${LIBINTL_H} $(BASHINCDIR)/gettext.h
1211jobs.o: bashintl.h ${LIBINTL_H} $(BASHINCDIR)/gettext.h
1212mailcheck.o: bashintl.h ${LIBINTL_H} $(BASHINCDIR)/gettext.h
1213make_cmd.o: bashintl.h ${LIBINTL_H} $(BASHINCDIR)/gettext.h
1214nojobs.o: bashintl.h ${LIBINTL_H} $(BASHINCDIR)/gettext.h
Chet Ramey495aee42011-11-22 19:11:26 -05001215y.tab.o: bashintl.h ${LIBINTL_H} $(BASHINCDIR)/gettext.h
Jari Aaltob80f6442004-07-27 13:29:18 +00001216pcomplete.o: bashintl.h ${LIBINTL_H} $(BASHINCDIR)/gettext.h
1217pcomplib.o: bashintl.h ${LIBINTL_H} $(BASHINCDIR)/gettext.h
1218print_cmd.o: bashintl.h ${LIBINTL_H} $(BASHINCDIR)/gettext.h
1219redir.o: bashintl.h ${LIBINTL_H} $(BASHINCDIR)/gettext.h
1220shell.o: bashintl.h ${LIBINTL_H} $(BASHINCDIR)/gettext.h
1221sig.o: bashintl.h ${LIBINTL_H} $(BASHINCDIR)/gettext.h
1222siglist.o: bashintl.h ${LIBINTL_H} $(BASHINCDIR)/gettext.h
1223subst.o: bashintl.h ${LIBINTL_H} $(BASHINCDIR)/gettext.h
1224test.o: bashintl.h ${LIBINTL_H} $(BASHINCDIR)/gettext.h
1225trap.o: bashintl.h ${LIBINTL_H} $(BASHINCDIR)/gettext.h
1226variables.o: bashintl.h ${LIBINTL_H} $(BASHINCDIR)/gettext.h
1227version.o: bashintl.h ${LIBINTL_H} $(BASHINCDIR)/gettext.h
1228xmalloc.o: bashintl.h ${LIBINTL_H} $(BASHINCDIR)/gettext.h
1229
Jari Aalto06285672006-10-10 14:15:34 +00001230signames.o: config.h bashansi.h ${BASHINCDIR}/ansi_stdlib.h
1231
Jari Aaltod166f041997-06-05 14:59:13 +00001232# XXX - dependencies checked through here
1233
1234# builtin c sources
Jari Aaltobb706242000-03-17 21:46:59 +00001235builtins/bashgetopt.o: config.h bashansi.h ${BASHINCDIR}/ansi_stdlib.h
Jari Aaltof73dda02001-11-13 17:56:06 +00001236builtins/bashgetopt.o: shell.h syntax.h config.h bashjmp.h command.h general.h xmalloc.h error.h
1237builtins/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 +00001238builtins/bashgetopt.o: make_cmd.h subst.h sig.h pathnames.h externs.h
Jari Aaltod166f041997-06-05 14:59:13 +00001239builtins/bashgetopt.o: $(DEFSRC)/common.h
Jari Aaltof73dda02001-11-13 17:56:06 +00001240builtins/bashgetopt.o: ${BASHINCDIR}/chartypes.h
Jari Aaltobb706242000-03-17 21:46:59 +00001241builtins/common.o: bashtypes.h ${BASHINCDIR}/posixstat.h bashansi.h ${BASHINCDIR}/ansi_stdlib.h
Jari Aalto28ef6c32001-04-06 19:14:31 +00001242builtins/common.o: shell.h syntax.h config.h bashjmp.h ${BASHINCDIR}/posixjmp.h sig.h command.h
Jari Aaltof73dda02001-11-13 17:56:06 +00001243builtins/common.o: ${BASHINCDIR}/memalloc.h variables.h arrayfunc.h conftypes.h input.h siglist.h
Jari Aaltobb706242000-03-17 21:46:59 +00001244builtins/common.o: quit.h unwind_prot.h ${BASHINCDIR}/maxpath.h jobs.h builtins.h
Jari Aaltob80f6442004-07-27 13:29:18 +00001245builtins/common.o: dispose_cmd.h make_cmd.h subst.h externs.h bashhist.h
Jari Aaltof73dda02001-11-13 17:56:06 +00001246builtins/common.o: execute_cmd.h ${BASHINCDIR}/stdc.h general.h xmalloc.h error.h pathnames.h
Jari Aaltod166f041997-06-05 14:59:13 +00001247builtins/common.o: ${DEFDIR}/builtext.h
Jari Aaltof73dda02001-11-13 17:56:06 +00001248builtins/common.o: ${BASHINCDIR}/chartypes.h
Jari Aaltobb706242000-03-17 21:46:59 +00001249builtins/evalfile.o: bashtypes.h ${BASHINCDIR}/posixstat.h ${BASHINCDIR}/filecntl.h bashansi.h ${BASHINCDIR}/ansi_stdlib.h
Jari Aaltof73dda02001-11-13 17:56:06 +00001250builtins/evalfile.o: shell.h syntax.h config.h bashjmp.h command.h general.h xmalloc.h error.h
1251builtins/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 +00001252builtins/evalfile.o: make_cmd.h subst.h sig.h pathnames.h externs.h
Jari Aaltod166f041997-06-05 14:59:13 +00001253builtins/evalfile.o: jobs.h builtins.h flags.h input.h execute_cmd.h
1254builtins/evalfile.o: bashhist.h $(DEFSRC)/common.h
Jari Aaltobb706242000-03-17 21:46:59 +00001255builtins/evalstring.o: config.h bashansi.h ${BASHINCDIR}/ansi_stdlib.h
Jari Aalto28ef6c32001-04-06 19:14:31 +00001256builtins/evalstring.o: shell.h syntax.h bashjmp.h ${BASHINCDIR}/posixjmp.h sig.h command.h siglist.h
Jari Aaltof73dda02001-11-13 17:56:06 +00001257builtins/evalstring.o: ${BASHINCDIR}/memalloc.h variables.h arrayfunc.h conftypes.h input.h
Jari Aaltobb706242000-03-17 21:46:59 +00001258builtins/evalstring.o: quit.h unwind_prot.h ${BASHINCDIR}/maxpath.h jobs.h builtins.h
Jari Aaltod166f041997-06-05 14:59:13 +00001259builtins/evalstring.o: dispose_cmd.h make_cmd.h subst.h externs.h
1260builtins/evalstring.o: jobs.h builtins.h flags.h input.h execute_cmd.h
Chet Ramey00018032011-11-21 20:51:19 -05001261builtins/evalstring.o: bashhist.h $(DEFSRC)/common.h pathnames.h
Jari Aaltobb706242000-03-17 21:46:59 +00001262builtins/getopt.o: config.h ${BASHINCDIR}/memalloc.h
Jari Aaltof73dda02001-11-13 17:56:06 +00001263builtins/getopt.o: shell.h syntax.h bashjmp.h command.h general.h xmalloc.h error.h
1264builtins/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 +00001265builtins/getopt.o: make_cmd.h subst.h sig.h pathnames.h externs.h
Jari Aaltod166f041997-06-05 14:59:13 +00001266builtins/getopt.o: $(DEFSRC)/getopt.h
Jari Aaltobb706242000-03-17 21:46:59 +00001267builtins/mkbuiltins.o: config.h bashtypes.h ${BASHINCDIR}/posixstat.h ${BASHINCDIR}/filecntl.h
1268builtins/mkbuiltins.o: bashansi.h ${BASHINCDIR}/ansi_stdlib.h
Jari Aaltod166f041997-06-05 14:59:13 +00001269
1270# builtin def files
Jari Aaltof73dda02001-11-13 17:56:06 +00001271builtins/alias.o: command.h config.h ${BASHINCDIR}/memalloc.h error.h general.h xmalloc.h ${BASHINCDIR}/maxpath.h
Chet Ramey00018032011-11-21 20:51:19 -05001272builtins/alias.o: quit.h $(DEFSRC)/common.h pathnames.h
Jari Aalto28ef6c32001-04-06 19:14:31 +00001273builtins/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 +00001274builtins/alias.o: dispose_cmd.h make_cmd.h subst.h externs.h variables.h arrayfunc.h conftypes.h
1275builtins/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 +00001276builtins/bind.o: dispose_cmd.h make_cmd.h subst.h externs.h ${BASHINCDIR}/stdc.h
Jari Aaltof73dda02001-11-13 17:56:06 +00001277builtins/bind.o: shell.h syntax.h bashjmp.h ${BASHINCDIR}/posixjmp.h sig.h unwind_prot.h variables.h arrayfunc.h conftypes.h quit.h
Chet Ramey00018032011-11-21 20:51:19 -05001278builtins/bind.o: $(DEFSRC)/bashgetopt.h pathnames.h
Jari Aaltof73dda02001-11-13 17:56:06 +00001279builtins/break.o: command.h config.h ${BASHINCDIR}/memalloc.h error.h general.h xmalloc.h ${BASHINCDIR}/maxpath.h
1280builtins/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 +00001281builtins/break.o: dispose_cmd.h make_cmd.h subst.h externs.h ${BASHINCDIR}/stdc.h
Chet Ramey00018032011-11-21 20:51:19 -05001282builtins/break.o: pathnames.h
Jari Aaltof73dda02001-11-13 17:56:06 +00001283builtins/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 +00001284builtins/builtin.o: quit.h $(DEFSRC)/common.h $(DEFSRC)/bashgetopt.h
Jari Aaltof73dda02001-11-13 17:56:06 +00001285builtins/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 +00001286builtins/builtin.o: dispose_cmd.h make_cmd.h subst.h externs.h ${BASHINCDIR}/stdc.h
Chet Ramey00018032011-11-21 20:51:19 -05001287builtins/builtin.o: pathnames.h
Jari Aaltob80f6442004-07-27 13:29:18 +00001288builtins/caller.o: command.h config.h ${BASHINCDIR}/memalloc.h error.h general.h xmalloc.h ${BASHINCDIR}/maxpath.h
1289builtins/caller.o: shell.h syntax.h bashjmp.h ${BASHINCDIR}/posixjmp.h sig.h unwind_prot.h variables.h arrayfunc.h conftypes.h
1290builtins/caller.o: dispose_cmd.h make_cmd.h subst.h externs.h ${BASHINCDIR}/stdc.h
1291builtins/caller.o: $(DEFSRC)/common.h quit.h
1292builtins/caller.o: ${BASHINCDIR}/chartypes.h bashtypes.h
Chet Ramey00018032011-11-21 20:51:19 -05001293builtins/caller.o: ${DEFDIR}/builtext.h pathnames.h
Jari Aaltof73dda02001-11-13 17:56:06 +00001294builtins/cd.o: command.h config.h ${BASHINCDIR}/memalloc.h error.h general.h xmalloc.h ${BASHINCDIR}/maxpath.h
1295builtins/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 +00001296builtins/cd.o: dispose_cmd.h make_cmd.h subst.h externs.h ${BASHINCDIR}/stdc.h
Chet Ramey00018032011-11-21 20:51:19 -05001297builtins/cd.o: $(DEFSRC)/common.h quit.h pathnames.h
Jari Aaltof73dda02001-11-13 17:56:06 +00001298builtins/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 +00001299builtins/command.o: quit.h $(DEFSRC)/bashgetopt.h
Jari Aaltof73dda02001-11-13 17:56:06 +00001300builtins/command.o: shell.h syntax.h bashjmp.h ${BASHINCDIR}/posixjmp.h sig.h unwind_prot.h variables.h arrayfunc.h conftypes.h
Chet Ramey00018032011-11-21 20:51:19 -05001301builtins/command.o: dispose_cmd.h make_cmd.h subst.h externs.h ${BASHINCDIR}/stdc.h pathnames.h
Jari Aaltof73dda02001-11-13 17:56:06 +00001302builtins/declare.o: command.h config.h ${BASHINCDIR}/memalloc.h error.h general.h xmalloc.h ${BASHINCDIR}/maxpath.h
1303builtins/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 +00001304builtins/declare.o: dispose_cmd.h make_cmd.h subst.h externs.h ${BASHINCDIR}/stdc.h
Chet Ramey00018032011-11-21 20:51:19 -05001305builtins/declare.o: $(DEFSRC)/bashgetopt.h pathnames.h
Jari Aaltof73dda02001-11-13 17:56:06 +00001306builtins/echo.o: command.h config.h ${BASHINCDIR}/memalloc.h error.h general.h xmalloc.h ${BASHINCDIR}/maxpath.h
1307builtins/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 +00001308builtins/echo.o: dispose_cmd.h make_cmd.h subst.h externs.h ${BASHINCDIR}/stdc.h
Chet Ramey00018032011-11-21 20:51:19 -05001309builtins/echo.o: pathnames.h
Jari Aaltof73dda02001-11-13 17:56:06 +00001310builtins/enable.o: command.h config.h ${BASHINCDIR}/memalloc.h error.h general.h xmalloc.h ${BASHINCDIR}/maxpath.h
1311builtins/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 +00001312builtins/enable.o: dispose_cmd.h make_cmd.h subst.h externs.h ${BASHINCDIR}/stdc.h
Chet Ramey00018032011-11-21 20:51:19 -05001313builtins/enable.o: pcomplete.h pathnames.h
Jari Aaltof73dda02001-11-13 17:56:06 +00001314builtins/eval.o: command.h config.h ${BASHINCDIR}/memalloc.h error.h general.h xmalloc.h ${BASHINCDIR}/maxpath.h
1315builtins/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 +00001316builtins/eval.o: dispose_cmd.h make_cmd.h subst.h externs.h ${BASHINCDIR}/stdc.h
Chet Ramey00018032011-11-21 20:51:19 -05001317builtins/eval.o: pathnames.h
1318builtins/exec.o: bashtypes.h pathnames.h
Jari Aaltof73dda02001-11-13 17:56:06 +00001319builtins/exec.o: command.h config.h ${BASHINCDIR}/memalloc.h error.h general.h xmalloc.h ${BASHINCDIR}/maxpath.h
1320builtins/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 +00001321builtins/exec.o: dispose_cmd.h make_cmd.h subst.h externs.h execute_cmd.h
Jari Aaltobb706242000-03-17 21:46:59 +00001322builtins/exec.o: findcmd.h flags.h quit.h $(DEFSRC)/common.h ${BASHINCDIR}/stdc.h
Chet Ramey00018032011-11-21 20:51:19 -05001323builtins/exec.o: pathnames.h
Jari Aaltob80f6442004-07-27 13:29:18 +00001324builtins/exit.o: bashtypes.h
Jari Aaltof73dda02001-11-13 17:56:06 +00001325builtins/exit.o: command.h config.h ${BASHINCDIR}/memalloc.h error.h general.h xmalloc.h ${BASHINCDIR}/maxpath.h
1326builtins/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 +00001327builtins/exit.o: dispose_cmd.h make_cmd.h subst.h externs.h ${BASHINCDIR}/stdc.h
Chet Ramey00018032011-11-21 20:51:19 -05001328builtins/exit.o: pathnames.h
Jari Aaltobb706242000-03-17 21:46:59 +00001329builtins/fc.o: bashtypes.h ${BASHINCDIR}/posixstat.h
1330builtins/fc.o: bashansi.h ${BASHINCDIR}/ansi_stdlib.h builtins.h command.h ${BASHINCDIR}/stdc.h
Jari Aaltof73dda02001-11-13 17:56:06 +00001331builtins/fc.o: command.h config.h ${BASHINCDIR}/memalloc.h error.h general.h xmalloc.h ${BASHINCDIR}/maxpath.h
1332builtins/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 +00001333builtins/fc.o: dispose_cmd.h make_cmd.h subst.h externs.h ${BASHINCDIR}/stdc.h quit.h
Chet Ramey00018032011-11-21 20:51:19 -05001334builtins/fc.o: $(DEFSRC)/bashgetopt.h bashhist.h pathnames.h
Jari Aaltof73dda02001-11-13 17:56:06 +00001335builtins/fc.o: ${BASHINCDIR}/chartypes.h
Jari Aaltob80f6442004-07-27 13:29:18 +00001336builtins/fg_bg.o: bashtypes.h $(DEFSRC)/bashgetopt.h
Jari Aaltof73dda02001-11-13 17:56:06 +00001337builtins/fg_bg.o: command.h config.h ${BASHINCDIR}/memalloc.h error.h general.h xmalloc.h ${BASHINCDIR}/maxpath.h
1338builtins/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 +00001339builtins/fg_bg.o: dispose_cmd.h make_cmd.h subst.h externs.h ${BASHINCDIR}/stdc.h
Chet Ramey00018032011-11-21 20:51:19 -05001340builtins/fg_bg.o: pathnames.h
Jari Aaltof73dda02001-11-13 17:56:06 +00001341builtins/getopts.o: command.h config.h ${BASHINCDIR}/memalloc.h error.h general.h xmalloc.h ${BASHINCDIR}/maxpath.h
1342builtins/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 +00001343builtins/getopts.o: dispose_cmd.h make_cmd.h subst.h externs.h ${BASHINCDIR}/stdc.h
Chet Ramey00018032011-11-21 20:51:19 -05001344builtins/getopts.o: pathnames.h
Jari Aaltob80f6442004-07-27 13:29:18 +00001345builtins/hash.o: bashtypes.h
Jari Aaltobb706242000-03-17 21:46:59 +00001346builtins/hash.o: builtins.h command.h findcmd.h ${BASHINCDIR}/stdc.h $(DEFSRC)/common.h
Jari Aaltof73dda02001-11-13 17:56:06 +00001347builtins/hash.o: command.h config.h ${BASHINCDIR}/memalloc.h error.h general.h xmalloc.h ${BASHINCDIR}/maxpath.h
1348builtins/hash.o: shell.h syntax.h bashjmp.h ${BASHINCDIR}/posixjmp.h sig.h unwind_prot.h variables.h arrayfunc.h conftypes.h quit.h
Chet Ramey00018032011-11-21 20:51:19 -05001349builtins/hash.o: pathnames.h
Jari Aaltof73dda02001-11-13 17:56:06 +00001350builtins/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 +00001351builtins/help.o: dispose_cmd.h make_cmd.h subst.h externs.h ${BASHINCDIR}/stdc.h
Jari Aaltof73dda02001-11-13 17:56:06 +00001352builtins/help.o: shell.h syntax.h bashjmp.h ${BASHINCDIR}/posixjmp.h sig.h unwind_prot.h variables.h arrayfunc.h conftypes.h quit.h
Chet Ramey00018032011-11-21 20:51:19 -05001353builtins/help.o: $(GLOB_LIBSRC)/glob.h pathnames.h
1354builtins/history.o: bashtypes.h pathnames.h
Jari Aaltof73dda02001-11-13 17:56:06 +00001355builtins/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 +00001356builtins/history.o: quit.h dispose_cmd.h make_cmd.h subst.h externs.h ${BASHINCDIR}/stdc.h
Jari Aalto28ef6c32001-04-06 19:14:31 +00001357builtins/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 +00001358builtins/history.o: bashhist.h variables.h arrayfunc.h conftypes.h
1359builtins/inlib.o: command.h config.h ${BASHINCDIR}/memalloc.h error.h general.h xmalloc.h ${BASHINCDIR}/maxpath.h
1360builtins/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 +00001361builtins/inlib.o: dispose_cmd.h make_cmd.h subst.h externs.h ${BASHINCDIR}/stdc.h
Chet Ramey00018032011-11-21 20:51:19 -05001362builtins/inlib.o: pathnames.h
Jari Aaltof73dda02001-11-13 17:56:06 +00001363builtins/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 +00001364builtins/jobs.o: quit.h $(DEFSRC)/bashgetopt.h
Jari Aaltof73dda02001-11-13 17:56:06 +00001365builtins/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 +00001366builtins/jobs.o: dispose_cmd.h make_cmd.h subst.h externs.h ${BASHINCDIR}/stdc.h
Chet Ramey00018032011-11-21 20:51:19 -05001367builtins/jobs.o: pathnames.h
Jari Aaltof73dda02001-11-13 17:56:06 +00001368builtins/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 +00001369builtins/kill.o: quit.h dispose_cmd.h make_cmd.h subst.h externs.h ${BASHINCDIR}/stdc.h
Jari Aaltof73dda02001-11-13 17:56:06 +00001370builtins/kill.o: shell.h syntax.h bashjmp.h ${BASHINCDIR}/posixjmp.h sig.h trap.h unwind_prot.h variables.h arrayfunc.h conftypes.h
Chet Ramey00018032011-11-21 20:51:19 -05001371builtins/kill.o: pathnames.h
Jari Aaltof73dda02001-11-13 17:56:06 +00001372builtins/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 +00001373builtins/let.o: quit.h dispose_cmd.h make_cmd.h subst.h externs.h ${BASHINCDIR}/stdc.h
Jari Aaltof73dda02001-11-13 17:56:06 +00001374builtins/let.o: shell.h syntax.h bashjmp.h ${BASHINCDIR}/posixjmp.h sig.h unwind_prot.h variables.h arrayfunc.h conftypes.h
Chet Ramey00018032011-11-21 20:51:19 -05001375builtins/let.o: pathnames.h
Jari Aaltobb706242000-03-17 21:46:59 +00001376builtins/printf.o: config.h ${BASHINCDIR}/memalloc.h bashjmp.h command.h error.h
Jari Aaltof73dda02001-11-13 17:56:06 +00001377builtins/printf.o: general.h xmalloc.h quit.h dispose_cmd.h make_cmd.h subst.h
Jari Aalto28ef6c32001-04-06 19:14:31 +00001378builtins/printf.o: externs.h sig.h pathnames.h shell.h syntax.h unwind_prot.h
Jari Aaltof73dda02001-11-13 17:56:06 +00001379builtins/printf.o: variables.h arrayfunc.h conftypes.h ${BASHINCDIR}/stdc.h $(DEFSRC)/bashgetopt.h
Chet Ramey00018032011-11-21 20:51:19 -05001380builtins/printf.o: ${BASHINCDIR}/chartypes.h
Jari Aaltof73dda02001-11-13 17:56:06 +00001381builtins/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 +00001382builtins/pushd.o: quit.h dispose_cmd.h make_cmd.h subst.h externs.h ${BASHINCDIR}/stdc.h
Jari Aaltof73dda02001-11-13 17:56:06 +00001383builtins/pushd.o: shell.h syntax.h bashjmp.h ${BASHINCDIR}/posixjmp.h sig.h unwind_prot.h variables.h arrayfunc.h conftypes.h
Chet Ramey00018032011-11-21 20:51:19 -05001384builtins/pushd.o: $(DEFSRC)/common.h pathnames.h
Jari Aaltof73dda02001-11-13 17:56:06 +00001385builtins/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 +00001386builtins/read.o: quit.h dispose_cmd.h make_cmd.h subst.h externs.h ${BASHINCDIR}/stdc.h
Jari Aaltof73dda02001-11-13 17:56:06 +00001387builtins/read.o: shell.h syntax.h bashjmp.h ${BASHINCDIR}/posixjmp.h sig.h unwind_prot.h variables.h arrayfunc.h conftypes.h
Chet Ramey00018032011-11-21 20:51:19 -05001388builtins/read.o: pathnames.h
Jari Aaltof73dda02001-11-13 17:56:06 +00001389builtins/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 +00001390builtins/return.o: quit.h dispose_cmd.h make_cmd.h subst.h externs.h ${BASHINCDIR}/stdc.h
Jari Aaltof73dda02001-11-13 17:56:06 +00001391builtins/return.o: shell.h syntax.h bashjmp.h ${BASHINCDIR}/posixjmp.h sig.h unwind_prot.h variables.h arrayfunc.h conftypes.h
Chet Ramey00018032011-11-21 20:51:19 -05001392builtins/return.o: pathnames.h
Jari Aaltof73dda02001-11-13 17:56:06 +00001393builtins/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 +00001394builtins/set.o: quit.h dispose_cmd.h make_cmd.h subst.h externs.h ${BASHINCDIR}/stdc.h
Jari Aaltof73dda02001-11-13 17:56:06 +00001395builtins/set.o: shell.h syntax.h bashjmp.h ${BASHINCDIR}/posixjmp.h sig.h unwind_prot.h variables.h arrayfunc.h conftypes.h flags.h
Chet Ramey00018032011-11-21 20:51:19 -05001396builtins/set.o: pathnames.h
Jari Aaltof73dda02001-11-13 17:56:06 +00001397builtins/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 +00001398builtins/setattr.o: quit.h $(DEFSRC)/common.h $(DEFSRC)/bashgetopt.h
Jari Aaltof73dda02001-11-13 17:56:06 +00001399builtins/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 +00001400builtins/setattr.o: dispose_cmd.h make_cmd.h subst.h externs.h ${BASHINCDIR}/stdc.h
Chet Ramey00018032011-11-21 20:51:19 -05001401builtins/setattr.o: pathnames.h
Jari Aaltof73dda02001-11-13 17:56:06 +00001402builtins/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 +00001403builtins/shift.o: quit.h dispose_cmd.h make_cmd.h subst.h externs.h ${BASHINCDIR}/stdc.h
Jari Aaltof73dda02001-11-13 17:56:06 +00001404builtins/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 +00001405builtins/shift.o: dispose_cmd.h make_cmd.h subst.h externs.h ${BASHINCDIR}/stdc.h
Chet Ramey00018032011-11-21 20:51:19 -05001406builtins/shift.o: pathnames.h
Jari Aaltof73dda02001-11-13 17:56:06 +00001407builtins/shopt.o: command.h config.h ${BASHINCDIR}/memalloc.h error.h general.h xmalloc.h
Jari Aaltod166f041997-06-05 14:59:13 +00001408builtins/shopt.o: quit.h dispose_cmd.h make_cmd.h subst.h externs.h
Jari Aaltof73dda02001-11-13 17:56:06 +00001409builtins/shopt.o: shell.h syntax.h bashjmp.h ${BASHINCDIR}/posixjmp.h unwind_prot.h variables.h arrayfunc.h conftypes.h ${BASHINCDIR}/maxpath.h
Chet Ramey00018032011-11-21 20:51:19 -05001410builtins/shopt.o: $(DEFSRC)/common.h $(DEFSRC)/bashgetopt.h pathnames.h
Chet Rameyac50fba2014-02-26 09:36:43 -05001411builtins/shopt.o: bashhist.h bashline.h
Jari Aaltof73dda02001-11-13 17:56:06 +00001412builtins/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 +00001413builtins/source.o: quit.h dispose_cmd.h make_cmd.h subst.h externs.h ${BASHINCDIR}/stdc.h
Jari Aaltof73dda02001-11-13 17:56:06 +00001414builtins/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 +00001415builtins/source.o: findcmd.h $(DEFSRC)/bashgetopt.h flags.h trap.h
Chet Ramey00018032011-11-21 20:51:19 -05001416builtins/source.o: pathnames.h
Jari Aaltof73dda02001-11-13 17:56:06 +00001417builtins/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 +00001418builtins/suspend.o: quit.h dispose_cmd.h make_cmd.h subst.h externs.h ${BASHINCDIR}/stdc.h
Jari Aaltof73dda02001-11-13 17:56:06 +00001419builtins/suspend.o: shell.h syntax.h bashjmp.h ${BASHINCDIR}/posixjmp.h sig.h unwind_prot.h variables.h arrayfunc.h conftypes.h
Chet Ramey00018032011-11-21 20:51:19 -05001420builtins/suspend.o: pathnames.h
Jari Aaltof73dda02001-11-13 17:56:06 +00001421builtins/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 +00001422builtins/test.o: quit.h dispose_cmd.h make_cmd.h subst.h externs.h ${BASHINCDIR}/stdc.h
Jari Aaltof73dda02001-11-13 17:56:06 +00001423builtins/test.o: shell.h syntax.h bashjmp.h ${BASHINCDIR}/posixjmp.h sig.h unwind_prot.h variables.h arrayfunc.h conftypes.h
Chet Ramey00018032011-11-21 20:51:19 -05001424builtins/test.o: test.h pathnames.h
Jari Aaltof73dda02001-11-13 17:56:06 +00001425builtins/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 +00001426builtins/times.o: quit.h dispose_cmd.h make_cmd.h subst.h externs.h ${BASHINCDIR}/stdc.h
Jari Aaltof73dda02001-11-13 17:56:06 +00001427builtins/times.o: shell.h syntax.h bashjmp.h ${BASHINCDIR}/posixjmp.h sig.h unwind_prot.h variables.h arrayfunc.h conftypes.h
Chet Ramey00018032011-11-21 20:51:19 -05001428builtins/times.o: pathnames.h
Jari Aaltof73dda02001-11-13 17:56:06 +00001429builtins/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 +00001430builtins/trap.o: quit.h $(DEFSRC)/common.h
Jari Aaltof73dda02001-11-13 17:56:06 +00001431builtins/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 +00001432builtins/trap.o: dispose_cmd.h make_cmd.h subst.h externs.h ${BASHINCDIR}/stdc.h
Chet Ramey00018032011-11-21 20:51:19 -05001433builtins/trap.o: pathnames.h
Jari Aaltof73dda02001-11-13 17:56:06 +00001434builtins/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 +00001435builtins/type.o: quit.h $(DEFSRC)/common.h findcmd.h
Jari Aaltof73dda02001-11-13 17:56:06 +00001436builtins/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 +00001437builtins/type.o: dispose_cmd.h make_cmd.h subst.h externs.h ${BASHINCDIR}/stdc.h
Chet Ramey00018032011-11-21 20:51:19 -05001438builtins/type.o: pathnames.h
Jari Aaltof73dda02001-11-13 17:56:06 +00001439builtins/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 +00001440builtins/ulimit.o: quit.h dispose_cmd.h make_cmd.h subst.h externs.h ${BASHINCDIR}/stdc.h
Jari Aaltof73dda02001-11-13 17:56:06 +00001441builtins/ulimit.o: shell.h syntax.h bashjmp.h ${BASHINCDIR}/posixjmp.h sig.h unwind_prot.h variables.h arrayfunc.h conftypes.h
Chet Ramey00018032011-11-21 20:51:19 -05001442builtins/ulimit.o: pathnames.h
Jari Aaltof73dda02001-11-13 17:56:06 +00001443builtins/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 +00001444builtins/umask.o: quit.h dispose_cmd.h make_cmd.h subst.h externs.h ${BASHINCDIR}/stdc.h
Jari Aaltof73dda02001-11-13 17:56:06 +00001445builtins/umask.o: shell.h syntax.h bashjmp.h ${BASHINCDIR}/posixjmp.h sig.h unwind_prot.h variables.h arrayfunc.h conftypes.h
Chet Ramey00018032011-11-21 20:51:19 -05001446builtins/umask.o: ${BASHINCDIR}/chartypes.h pathnames.h
Jari Aaltof73dda02001-11-13 17:56:06 +00001447builtins/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 +00001448builtins/wait.o: quit.h dispose_cmd.h make_cmd.h subst.h externs.h ${BASHINCDIR}/stdc.h
Jari Aaltof73dda02001-11-13 17:56:06 +00001449builtins/wait.o: shell.h syntax.h bashjmp.h ${BASHINCDIR}/posixjmp.h sig.h unwind_prot.h variables.h arrayfunc.h conftypes.h
Chet Ramey00018032011-11-21 20:51:19 -05001450builtins/wait.o: ${BASHINCDIR}/chartypes.h pathnames.h
Jari Aaltobb706242000-03-17 21:46:59 +00001451
Jari Aalto28ef6c32001-04-06 19:14:31 +00001452builtins/complete.o: config.h shell.h syntax.h bashjmp.h ${BASHINCDIR}/posixjmp.h sig.h
Jari Aaltof73dda02001-11-13 17:56:06 +00001453builtins/complete.o: unwind_prot.h variables.h arrayfunc.h conftypes.h
Jari Aaltobb706242000-03-17 21:46:59 +00001454builtins/complete.o: bashtypes.h bashansi.h ${BASHINCDIR}/ansi_stdlib.h
Chet Ramey00018032011-11-21 20:51:19 -05001455builtins/complete.o: builtins.h pathnames.h
Jari Aaltobb706242000-03-17 21:46:59 +00001456builtins/complete.o: pcomplete.h
1457builtins/complete.o: ${DEFSRC}/common.h ${DEFSRC}/bashgetopt.h
Jari Aalto31859422009-01-12 13:36:28 +00001458builtins/mapfile.o: command.h config.h ${BASHINCDIR}/memalloc.h error.h general.h xmalloc.h ${BASHINCDIR}/maxpath.h
1459builtins/mapfile.o: quit.h dispose_cmd.h make_cmd.h subst.h externs.h ${BASHINCDIR}/stdc.h
1460builtins/mapfile.o: shell.h syntax.h bashjmp.h ${BASHINCDIR}/posixjmp.h sig.h unwind_prot.h variables.h arrayfunc.h conftypes.h
Chet Ramey00018032011-11-21 20:51:19 -05001461builtins/mapfile.o: pathnames.h
Jari Aaltoccc6cda1996-12-23 17:02:34 +00001462
Jari Aaltob80f6442004-07-27 13:29:18 +00001463# libintl dependencies
1464builtins/bind.o: ${topdir}/bashintl.h ${LIBINTL_H} $(BASHINCDIR)/gettext.h
1465builtins/break.o: ${topdir}/bashintl.h ${LIBINTL_H} $(BASHINCDIR)/gettext.h
1466builtins/caller.o: ${topdir}/bashintl.h ${LIBINTL_H} $(BASHINCDIR)/gettext.h
1467builtins/cd.o: ${topdir}/bashintl.h ${LIBINTL_H} $(BASHINCDIR)/gettext.h
1468builtins/common.c: ${topdir}/bashintl.h ${LIBINTL_H} $(BASHINCDIR)/gettext.h
1469builtins/complete.o: ${topdir}/bashintl.h ${LIBINTL_H} $(BASHINCDIR)/gettext.h
1470builtins/declare.o: ${topdir}/bashintl.h ${LIBINTL_H} $(BASHINCDIR)/gettext.h
1471builtins/enable.o: ${topdir}/bashintl.h ${LIBINTL_H} $(BASHINCDIR)/gettext.h
1472builtins/evalfile.c: ${topdir}/bashintl.h ${LIBINTL_H} $(BASHINCDIR)/gettext.h
1473builtins/exec.o: ${topdir}/bashintl.h ${LIBINTL_H} $(BASHINCDIR)/gettext.h
1474builtins/exit.o: ${topdir}/bashintl.h ${LIBINTL_H} $(BASHINCDIR)/gettext.h
1475builtins/fc.o: ${topdir}/bashintl.h ${LIBINTL_H} $(BASHINCDIR)/gettext.h
1476builtins/fg_bg.o: ${topdir}/bashintl.h ${LIBINTL_H} $(BASHINCDIR)/gettext.h
1477builtins/getopt.c: ${topdir}/bashintl.h ${LIBINTL_H} $(BASHINCDIR)/gettext.h
1478builtins/hash.o: ${topdir}/bashintl.h ${LIBINTL_H} $(BASHINCDIR)/gettext.h
1479builtins/help.o: ${topdir}/bashintl.h ${LIBINTL_H} $(BASHINCDIR)/gettext.h
1480builtins/history.o: ${topdir}/bashintl.h ${LIBINTL_H} $(BASHINCDIR)/gettext.h
1481builtins/inlib.o: ${topdir}/bashintl.h ${LIBINTL_H} $(BASHINCDIR)/gettext.h
1482builtins/jobs.o: ${topdir}/bashintl.h ${LIBINTL_H} $(BASHINCDIR)/gettext.h
1483builtins/kill.o: ${topdir}/bashintl.h ${LIBINTL_H} $(BASHINCDIR)/gettext.h
1484builtins/let.o: ${topdir}/bashintl.h ${LIBINTL_H} $(BASHINCDIR)/gettext.h
Jari Aalto31859422009-01-12 13:36:28 +00001485builtins/mapfile.o: ${topdir}/bashintl.h ${LIBINTL_H} $(BASHINCDIR)/gettext.h
1486builtins/mkbuiltins.o: ${topdir}/bashintl.h ${LIBINTL_H} $(BASHINCDIR)/gettext.h
Jari Aaltob80f6442004-07-27 13:29:18 +00001487builtins/printf.o: ${topdir}/bashintl.h ${LIBINTL_H} $(BASHINCDIR)/gettext.h
1488builtins/pushd.o: ${topdir}/bashintl.h ${LIBINTL_H} $(BASHINCDIR)/gettext.h
1489builtins/read.o: ${topdir}/bashintl.h ${LIBINTL_H} $(BASHINCDIR)/gettext.h
1490builtins/return.o: ${topdir}/bashintl.h ${LIBINTL_H} $(BASHINCDIR)/gettext.h
1491builtins/set.o: ${topdir}/bashintl.h ${LIBINTL_H} $(BASHINCDIR)/gettext.h
1492builtins/setattr.o: ${topdir}/bashintl.h ${LIBINTL_H} $(BASHINCDIR)/gettext.h
1493builtins/shift.o: ${topdir}/bashintl.h ${LIBINTL_H} $(BASHINCDIR)/gettext.h
1494builtins/shopt.o: ${topdir}/bashintl.h ${LIBINTL_H} $(BASHINCDIR)/gettext.h
1495builtins/source.o: ${topdir}/bashintl.h ${LIBINTL_H} $(BASHINCDIR)/gettext.h
1496builtins/suspend.o: ${topdir}/bashintl.h ${LIBINTL_H} $(BASHINCDIR)/gettext.h
1497builtins/type.o: ${topdir}/bashintl.h ${LIBINTL_H} $(BASHINCDIR)/gettext.h
1498builtins/ulimit.o: ${topdir}/bashintl.h ${LIBINTL_H} $(BASHINCDIR)/gettext.h
1499builtins/umask.o: ${topdir}/bashintl.h ${LIBINTL_H} $(BASHINCDIR)/gettext.h
1500
Jari Aaltod166f041997-06-05 14:59:13 +00001501# builtin library dependencies
Jari Aaltoccc6cda1996-12-23 17:02:34 +00001502builtins/bind.o: $(RL_LIBSRC)/chardefs.h $(RL_LIBSRC)/readline.h
Jari Aaltob72432f1999-02-19 17:11:39 +00001503builtins/bind.o: $(RL_LIBSRC)/keymaps.h $(RL_LIBSRC)/rlstdc.h
Jari Aaltoccc6cda1996-12-23 17:02:34 +00001504
Jari Aaltob72432f1999-02-19 17:11:39 +00001505builtins/bind.o: $(HIST_LIBSRC)/history.h $(RL_LIBSRC)/rlstdc.h
1506builtins/fc.o: $(HIST_LIBSRC)/history.h $(RL_LIBSRC)/rlstdc.h
1507builtins/history.o: $(HIST_LIBSRC)/history.h $(RL_LIBSRC)/rlstdc.h
Jari Aaltoccc6cda1996-12-23 17:02:34 +00001508
1509builtins/common.o: $(TILDE_LIBSRC)/tilde.h
1510builtins/cd.o: $(TILDE_LIBSRC)/tilde.h
1511
1512builtins/alias.o: $(DEFSRC)/alias.def
1513builtins/bind.o: $(DEFSRC)/bind.def
1514builtins/break.o: $(DEFSRC)/break.def
1515builtins/builtin.o: $(DEFSRC)/builtin.def
Jari Aaltob80f6442004-07-27 13:29:18 +00001516builtins/caller.o: $(DEFSRC)/caller.def
Jari Aaltoccc6cda1996-12-23 17:02:34 +00001517builtins/cd.o: $(DEFSRC)/cd.def
1518builtins/colon.o: $(DEFSRC)/colon.def
1519builtins/command.o: $(DEFSRC)/command.def
Jari Aaltobb706242000-03-17 21:46:59 +00001520builtins/complete.o: $(DEFSRC)/complete.def
Jari Aaltoccc6cda1996-12-23 17:02:34 +00001521builtins/declare.o: $(DEFSRC)/declare.def
1522builtins/echo.o: $(DEFSRC)/echo.def
1523builtins/enable.o: $(DEFSRC)/enable.def
1524builtins/eval.o: $(DEFSRC)/eval.def
1525builtins/exec.o: $(DEFSRC)/exec.def
1526builtins/exit.o: $(DEFSRC)/exit.def
1527builtins/fc.o: $(DEFSRC)/fc.def
1528builtins/fg_bg.o: $(DEFSRC)/fg_bg.def
1529builtins/getopts.o: $(DEFSRC)/getopts.def
1530builtins/hash.o: $(DEFSRC)/hash.def
1531builtins/help.o: $(DEFSRC)/help.def
1532builtins/history.o: $(DEFSRC)/history.def
1533builtins/inlib.o: $(DEFSRC)/inlib.def
1534builtins/jobs.o: $(DEFSRC)/jobs.def
1535builtins/kill.o: $(DEFSRC)/kill.def
1536builtins/let.o: $(DEFSRC)/let.def
Jari Aalto31859422009-01-12 13:36:28 +00001537builtins/mapfile.o: $(DEFSRC)/mapfile.def
Jari Aaltoccc6cda1996-12-23 17:02:34 +00001538builtins/pushd.o: $(DEFSRC)/pushd.def
1539builtins/read.o: $(DEFSRC)/read.def
1540builtins/reserved.o: $(DEFSRC)/reserved.def
1541builtins/return.o: $(DEFSRC)/return.def
1542builtins/set.o: $(DEFSRC)/set.def
1543builtins/setattr.o: $(DEFSRC)/setattr.def
1544builtins/shift.o: $(DEFSRC)/shift.def
1545builtins/shopt.o: $(DEFSRC)/shopt.def
1546builtins/source.o: $(DEFSRC)/source.def
1547builtins/suspend.o: $(DEFSRC)/suspend.def
1548builtins/test.o: $(DEFSRC)/test.def
1549builtins/times.o: $(DEFSRC)/times.def
1550builtins/trap.o: $(DEFSRC)/trap.def
1551builtins/type.o: $(DEFSRC)/type.def
1552builtins/ulimit.o: $(DEFSRC)/ulimit.def
1553builtins/umask.o: $(DEFSRC)/umask.def
1554builtins/wait.o: $(DEFSRC)/wait.def