Upload Tizen:Base source
[external/bash.git] / Makefile.in
1 # Makefile for bash-4.0, version 3.5
2 #
3 # Copyright (C) 1996-2009 Free Software Foundation, Inc.
4
5 #   This program is free software: you can redistribute it and/or modify
6 #   it under the terms of the GNU General Public License as published by
7 #   the Free Software Foundation, either version 3 of the License, or
8 #   (at your option) any later version.
9
10 #   This program is distributed in the hope that it will be useful,
11 #   but WITHOUT ANY WARRANTY; without even the implied warranty of
12 #   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
13 #   GNU General Public License for more details.
14
15 #   You should have received a copy of the GNU General Public License
16 #   along with this program.  If not, see <http://www.gnu.org/licenses/>.
17
18 # Make sure the first target in the makefile is the right one
19 all: .made
20
21 PACKAGE = @PACKAGE_NAME@
22 VERSION = @PACKAGE_VERSION@
23
24 PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
25 PACKAGE_NAME = @PACKAGE_NAME@
26 PACKAGE_STRING = @PACKAGE_STRING@
27 PACKAGE_VERSION = @PACKAGE_VERSION@
28
29 # Include some boilerplate Gnu makefile definitions.
30 prefix = @prefix@
31
32 exec_prefix = @exec_prefix@
33
34 datarootdir = @datarootdir@
35
36 bindir = @bindir@
37 libdir = @libdir@
38 infodir = @infodir@
39 includedir = @includedir@
40 datadir = @datadir@
41 localedir = @localedir@
42
43 mandir = @mandir@
44 manpfx = man
45
46 man1ext = .1
47 man1dir = $(mandir)/$(manpfx)1
48 man3ext = .3
49 man3dir = $(mandir)/$(manpfx)3
50
51 htmldir = @htmldir@
52
53 # Support an alternate destination root directory for package building
54 DESTDIR =
55
56 topdir = @top_srcdir@
57 BUILD_DIR = @BUILD_DIR@
58 top_builddir = @BUILD_DIR@
59 srcdir = @srcdir@
60 VPATH = .:@srcdir@
61
62 @SET_MAKE@
63 CC = @CC@
64 CC_FOR_BUILD = @CC_FOR_BUILD@
65 YACC = @YACC@
66 SHELL = @MAKE_SHELL@
67 CP = cp
68 RM = rm -f
69 AR = @AR@
70 ARFLAGS = @ARFLAGS@
71 RANLIB = @RANLIB@
72 SIZE = @SIZE@
73
74 INSTALL = @INSTALL@
75 INSTALL_PROGRAM = @INSTALL_PROGRAM@
76 INSTALL_SCRIPT = @INSTALL_SCRIPT@
77 INSTALL_DATA = @INSTALL_DATA@
78 INSTALLMODE= -m 0755
79 INSTALLMODE2 = -m 0555
80
81 TESTSCRIPT = @TESTSCRIPT@
82
83 DEBUGGER_START_FILE = @DEBUGGER_START_FILE@
84
85 #If you have purify, and want to use it, uncomment this definition or
86 # run the make as `make PURIFY=purify'
87 # or run configure with the --with-purify argument.
88 PURIFY = @PURIFY@
89
90 # Here is a rule for making .o files from .c files that does not
91 # force the type of the machine (like -M_MACHINE) into the flags.
92 .c.o:
93         $(RM) $@
94         $(CC) $(CCFLAGS) -c $<
95
96 EXEEXT = @EXEEXT@
97 OBJEXT = @OBJEXT@
98
99 # The name of this program and some version information.
100 VERSPROG = bashversion$(EXEEXT)
101 VERSOBJ = bashversion.$(OBJEXT)
102
103 Program = bash$(EXEEXT)
104 Version = @BASHVERS@
105 PatchLevel = `$(BUILD_DIR)/$(VERSPROG) -p`
106 RELSTATUS = @RELSTATUS@
107
108 Machine = @host_cpu@
109 OS = @host_os@
110 VENDOR = @host_vendor@
111 MACHTYPE = @host@
112
113 # comment out for release
114 DEBUG = @DEBUG@
115 MALLOC_DEBUG = @MALLOC_DEBUG@
116
117 THIS_SH = $(BUILD_DIR)/$(Program)
118
119 # PROFILE_FLAGS is either -pg, to generate profiling info for use
120 # with gprof, or nothing (the default).
121 PROFILE_FLAGS= @PROFILE_FLAGS@
122
123 CFLAGS = @CFLAGS@
124 CFLAGS_FOR_BUILD = @CFLAGS_FOR_BUILD@ @CROSS_COMPILE@
125 CPPFLAGS = @CPPFLAGS@
126 CPPFLAGS_FOR_BUILD = @CPPFLAGS_FOR_BUILD@
127 LOCAL_CFLAGS = @LOCAL_CFLAGS@ ${DEBUG} ${MALLOC_DEBUG}
128 DEFS = @DEFS@
129 LOCAL_DEFS = @LOCAL_DEFS@
130
131 LOCALE_DEFS = -DLOCALEDIR='"$(localedir)"' -DPACKAGE='"$(PACKAGE)"'
132
133 LOCAL_LIBS = @LOCAL_LIBS@
134 LIBS = $(BUILTINS_LIB) $(LIBRARIES) @LIBS@
135 LIBS_FOR_BUILD = 
136
137 STATIC_LD = @STATIC_LD@
138 LOCAL_LDFLAGS = @LOCAL_LDFLAGS@
139
140 SYSTEM_FLAGS = -DPROGRAM='"$(Program)"' -DCONF_HOSTTYPE='"$(Machine)"' -DCONF_OSTYPE='"$(OS)"' -DCONF_MACHTYPE='"$(MACHTYPE)"' -DCONF_VENDOR='"$(VENDOR)"' $(LOCALE_DEFS)
141
142 BASE_CCFLAGS = $(PROFILE_FLAGS) $(SYSTEM_FLAGS) $(LOCAL_DEFS) \
143           $(DEFS) $(LOCAL_CFLAGS) $(INCLUDES)
144
145 CCFLAGS = $(BASE_CCFLAGS) $(CPPFLAGS) $(CFLAGS)
146
147 CCFLAGS_FOR_BUILD = $(BASE_CCFLAGS) $(CPPFLAGS_FOR_BUILD) $(CFLAGS_FOR_BUILD)
148
149 LDFLAGS = @LDFLAGS@ $(STATIC_LD) $(LOCAL_LDFLAGS) $(PROFILE_FLAGS) $(CFLAGS)
150 LDFLAGS_FOR_BUILD = @LDFLAGS_FOR_BUILD@ $(LOCAL_LDFLAGS) $(CFLAGS_FOR_BUILD)
151
152 INCLUDES = -I. @RL_INCLUDE@ -I$(srcdir) -I$(BASHINCDIR) -I$(LIBSRC) $(INTL_INC)
153
154 # Maybe add: -Wextra
155 GCC_LINT_FLAGS = -O -Wall -Wshadow -Wpointer-arith -Wcast-qual -Wno-parentheses \
156                  -Wcast-align -Wstrict-prototypes -Wconversion -Wformat \
157                  -Wformat-nonliteral -Wmissing-braces -Wuninitialized \
158                  -Wmissing-declarations  -Winline \
159                  -Wmissing-prototypes -Wtraditional -Wredundant-decls -pedantic
160
161 GCC_LINT_CFLAGS = $(BASE_CCFLAGS) $(CPPFLAGS) $(GCC_LINT_FLAGS)
162
163 #
164 # Support libraries
165
166
167 dot = .
168
169 LIBSUBDIR = lib
170 LIBSRC = $(srcdir)/$(LIBSUBDIR)
171
172 LIBBUILD = ${BUILD_DIR}/${LIBSUBDIR}
173
174 SUBDIR_INCLUDES = -I. @RL_INCLUDE@ -I$(topdir) -I$(topdir)/$(LIBSUBDIR)
175
176 BUILD_INCLUDED_LIBINTL = @BUILD_INCLUDED_LIBINTL@
177 USE_INCLUDED_LIBINTL = @USE_INCLUDED_LIBINTL@
178
179 # the bash library
180 # the library is a mix of functions that the C library does not provide on
181 # some platforms and general shell utility functions
182 SH_LIBSRC = $(LIBSRC)/sh
183 SH_LIBDIR = $(dot)/${LIBSUBDIR}/sh
184 SH_ABSSRC = ${topdir}/${SH_LIBSRC}
185
186 SHLIB_SOURCE =  ${SH_LIBSRC}/clktck.c ${SH_LIBSRC}/getcwd.c \
187                 ${SH_LIBSRC}/getenv.c ${SH_LIBSRC}/oslib.c \
188                 ${SH_LIBSRC}/setlinebuf.c \
189                 ${SH_LIBSRC}/strcasecmp.c ${SH_LIBSRC}/strerror.c \
190                 ${SH_LIBSRC}/strtod.c ${SH_LIBSRC}/strtol.c \
191                 ${SH_LIBSRC}/strtoul.c ${SH_LIBSRC}/vprint.c \
192                 ${SH_LIBSRC}/itos.c ${SH_LIBSRC}/rename.c \
193                 ${SH_LIBSRC}/zread.c ${SH_LIBSRC}/zwrite.c \
194                 ${SH_LIBSRC}/shtty.c ${SH_LIBSRC}/inet_aton.c \
195                 ${SH_LIBSRC}/netopen.c ${SH_LIBSRC}/strpbrk.c \
196                 ${SH_LIBSRC}/timeval.c ${SH_LIBSRC}/clock.c \
197                 ${SH_LIBSRC}/makepath.c ${SH_LIBSRC}/pathcanon.c \
198                 ${SH_LIBSRC}/pathphys.c ${SH_LIBSRC}/stringlist.c \
199                 ${SH_LIBSRC}/stringvec.c ${SH_LIBSRC}/tmpfile.c \
200                 ${SH_LIBSRC}/spell.c ${SH_LIBSRC}/strtrans.c \
201                 ${SH_LIBSRC}/strcasestr.c ${SH_LIBSRC}/shquote.c \
202                 ${SH_LIBSRC}/snprintf.c ${SH_LIBSRC}/mailstat.c \
203                 ${SH_LIBSRC}/fmtulong.c ${SH_LIBSRC}/fmtullong.c \
204                 ${SH_LIBSRC}/strtoll.c ${SH_LIBSRC}/strtoull.c \
205                 ${SH_LIBSRC}/strtoimax.c ${SH_LIBSRC}/strtoumax.c \
206                 ${SH_LIBSRC}/fmtumax.c ${SH_LIBSRC}/netconn.c \
207                 ${SH_LIBSRC}/mktime.c ${SH_LIBSRC}/strftime.c \
208                 ${SH_LIBSRC}/memset.c ${SH_LIBSRC}/mbschr.c \
209                 ${SH_LIBSRC}/zcatfd.c ${SH_LIBSRC}/shmatch.c \
210                 ${SH_LIBSRC}/strnlen.c ${SH_LIBSRC}/winsize.c \
211                 ${SH_LIBSRC}/eaccess.c ${SH_LIBSRC}/wcsdup.c \
212                 ${SH_LIBSRC}/zmapfd.c ${SH_LIBSRC}/fpurge.c \
213                 ${SH_LIBSRC}/zgetline.c ${SH_LIBSRC}/mbscmp.c \
214                 ${SH_LIBSRC}/casemod.c ${SH_LIBSRC}/uconvert.c \
215                 ${SH_LIBSRC}/ufuncs.c ${SH_LIBSRC}/fdprintf.c \
216                 ${SH_LIBSRC}/input_avail.c ${SH_LIBSRC}/mbscasecmp.c \
217                 ${SH_LIBSRC}/fnxform.c
218
219 SHLIB_LIB = -lsh
220 SHLIB_LIBNAME = libsh.a
221 SHLIB_LIBRARY = ${SH_LIBDIR}/${SHLIB_LIBNAME}
222 SHLIB_LDFLAGS = -L${SH_LIBDIR}
223 SHLIB_DEP = ${SHLIB_LIBRARY}
224
225 # we assume for now that readline source is being shipped with bash
226 RL_LIBSRC = $(LIBSRC)/readline
227 RL_LIBDOC = $(RL_LIBSRC)/doc
228 RL_LIBDIR = @RL_LIBDIR@
229 RL_ABSSRC = ${topdir}/$(RL_LIBDIR)
230
231 RL_INCLUDEDIR = @RL_INCLUDEDIR@
232
233 READLINE_LIB = @READLINE_LIB@
234 READLINE_LIBRARY = $(RL_LIBDIR)/libreadline.a
235 READLINE_LDFLAGS = -L${RL_LIBDIR}
236 READLINE_DEP = @READLINE_DEP@
237
238 # The source, object and documentation of the GNU Readline library.
239 READLINE_SOURCE = $(RL_LIBSRC)/rldefs.h $(RL_LIBSRC)/rlconf.h \
240                   $(RL_LIBSRC)/readline.h $(RL_LIBSRC)/tcap.h \
241                   $(RL_LIBSRC)/chardefs.h $(RL_LIBSRC)/keymaps.h \
242                   $(RL_LIBSRC)/history.h $(RL_LIBSRC)/histlib.h \
243                   $(RL_LIBSRC)/posixstat.h $(RL_LIBSRC)/tilde.h \
244                   $(RL_LIBSRC)/rlstdc.h ${RL_LIBSRC}/xmalloc.h \
245                   $(RL_LIBSRC)/rlshell.h ${RL_LIBSRC}/rlprivate.h \
246                   $(RL_LIBSRC)/funmap.c $(RL_LIBSRC)/emacs_keymap.c \
247                   $(RL_LIBSRC)/search.c $(RL_LIBSRC)/vi_keymap.c \
248                   $(RL_LIBSRC)/keymaps.c $(RL_LIBSRC)/parens.c \
249                   $(RL_LIBSRC)/vi_mode.c $(RL_LIBSRC)/callback.c \
250                   $(RL_LIBSRC)/readline.c $(RL_LIBSRC)/tilde.c \
251                   $(RL_LIBSRC)/rltty.c $(RL_LIBSRC)/complete.c \
252                   $(RL_LIBSRC)/bind.c $(RL_LIBSRC)/isearch.c \
253                   $(RL_LIBSRC)/display.c $(RL_LIBSRC)/signals.c \
254                   $(RL_LIBSRC)/util.c $(RL_LIBSRC)/kill.c $(RL_LIBSRC)/text.c \
255                   $(RL_LIBSRC)/undo.c $(RL_LIBSRC)/macro.c \
256                   $(RL_LIBSRC)/terminal.c $(RL_LIBSRC)/nls.c \
257                   $(RL_LIBSRC)/input.c $(RL_LIBSRC)/xmalloc.c \
258                   $(RL_LIBSRC)/shell.c $(RL_LIBSRC)/savestring.c \
259                   $(RL_LIBSRC)/misc.c $(RL_LIBSRC)/mbutil.c $(RL_LIBSRC)/compat.c \
260                   $(RL_LIBSRC)/histexpand.c $(RL_LIBSRC)/history.c \
261                   $(RL_LIBSRC)/histsearch.c $(RL_LIBSRC)/histfile.c
262
263 READLINE_OBJ    = $(RL_LIBDIR)/readline.o $(RL_LIBDIR)/funmap.o \
264                   $(RL_LIBDIR)/parens.o $(RL_LIBDIR)/search.o \
265                   $(RL_LIBDIR)/keymaps.o $(RL_LIBDIR)/xmalloc.o \
266                   $(RL_LIBDIR)/rltty.o $(RL_LIBDIR)/complete.o \
267                   $(RL_LIBDIR)/bind.o $(RL_LIBDIR)/isearch.o \
268                   $(RL_LIBDIR)/display.o $(RL_LIBDIR)/signals.o \
269                   $(RL_LIBDIR)/tilde.o $(RL_LIBDIR)/util.o \
270                   $(RL_LIBDIR)/kill.o $(RL_LIBDIR)/undo.o $(RL_LIBDIR)/nls.o \
271                   $(RL_LIBDIR)/macro.o $(RL_LIBDIR)/input.o \
272                   $(RL_LIBDIR)/terminal.o $(RL_LIBDIR)/callback.o \
273                   $(RL_LIBDIR)/shell.o $(RL_LIBDIR)/savestring.o \
274                   $(RL_LIBDIR)/mbutil.o $(RL_LIBDIR)/compat.o \
275                   $(RL_LIBDIR)/history.o $(RL_LIBDIR)/histexpand.o \
276                   $(RL_LIBDIR)/histsearch.o $(RL_LIBDIR)/histfile.o
277
278 HIST_LIBSRC = $(LIBSRC)/readline
279 HIST_LIBDIR = @HIST_LIBDIR@
280 HIST_ABSSRC = ${topdir}/$(HIST_LIBDIR)
281
282 HISTORY_LIB = @HISTORY_LIB@
283 HISTORY_LIBRARY = $(HIST_LIBDIR)/libhistory.a
284 HISTORY_LDFLAGS = -L$(HIST_LIBDIR)
285 HISTORY_DEP = @HISTORY_DEP@
286
287 # The source, object and documentation of the history library.
288 HISTORY_SOURCE  = $(HIST_LIBSRC)/history.c $(HIST_LIBSRC)/histexpand.c \
289                   $(HIST_LIBSRC)/histsearch.c $(HIST_LIBSRC)/histfile.c \
290                   $(HIST_LIBSRC)/shell.c \
291                   $(HIST_LIBSRC)/history.h $(HIST_LIBSRC)/histlib.h
292 HISTORY_OBJ     = $(HIST_LIBDIR)/history.o $(HIST_LIBDIR)/histexpand.o \
293                   $(HIST_LIBDIR)/histsearch.o $(HIST_LIBDIR)/histfile.o \
294                   $(HIST_LIBDIR)/shell.o
295
296 # You only need termcap (or curses) if you are linking with GNU Readline.
297 TERM_LIBSRC = $(LIBSRC)/termcap
298 TERM_LIBDIR = $(dot)/$(LIBSUBDIR)/termcap
299 TERM_ABSSRC = ${topdir}/$(TERM_LIBDIR)
300
301 TERMCAP_LIB = @TERMCAP_LIB@
302 TERMCAP_LIBRARY = $(TERM_LIBDIR)/libtermcap.a
303 TERMCAP_LDFLAGS = -L$(TERM_LIBDIR)
304 TERMCAP_DEP = @TERMCAP_DEP@
305
306 TERMCAP_SOURCE  = $(TERM_LIBSRC)/termcap.c $(TERM_LIBSRC)/tparam.c
307 TERMCAP_OBJ     = $(TERM_LIBDIR)/termcap.o $(TERM_LIBDIR)/tparam.o
308
309 GLOB_LIBSRC = $(LIBSRC)/glob
310 GLOB_LIBDIR = $(dot)/$(LIBSUBDIR)/glob
311 GLOB_ABSSRC = ${topdir}/$(GLOB_LIBDIR)
312
313 GLOB_LIB     = -lglob
314 GLOB_LIBRARY = $(GLOB_LIBDIR)/libglob.a
315 GLOB_LDFLAGS = -L$(GLOB_LIBDIR)
316 GLOB_DEP = $(GLOB_LIBRARY)
317
318 GLOB_SOURCE = $(GLOB_LIBSRC)/glob.c $(GLOB_LIBSRC)/strmatch.c \
319               $(GLOB_LIBSRC)/smatch.c $(GLOB_LIBSRC)/xmbsrtowcs.c \
320               $(GLOB_LIBSRC)/glob_loop.c $(GLOB_LIBSRC)/sm_loop.c \
321               $(GLOB_LIBSRC)/glob.h $(GLOB_LIBSRC)/strmatch.h
322 GLOB_OBJ    = $(GLOB_LIBDIR)/glob.o $(GLOB_LIBDIR)/strmatch.o \
323               $(GLOB_LIBDIR)/smatch.o $(GLOB_LIBDIR)/xmbsrtowcs.o
324
325 # The source, object and documentation for the GNU Tilde library.
326 TILDE_LIBSRC = $(LIBSRC)/tilde
327 TILDE_LIBDIR = $(dot)/$(LIBSUBDIR)/tilde
328 TILDE_ABSSRC = ${topdir}/$(TILDE_LIBDIR)
329
330 TILDE_LIB = @TILDE_LIB@
331 TILDE_LIBRARY = $(TILDE_LIBDIR)/libtilde.a
332 TILDE_LDFLAGS = -L$(TILDE_LIBDIR)
333 TILDE_DEP = $(TILDE_LIBRARY)
334
335 TILDE_SOURCE    = $(TILDE_LIBSRC)/tilde.c $(TILDE_LIBSRC)/tilde.h
336 TILDE_OBJ       = $(TILDE_LIBDIR)/tilde.o
337
338 # libintl
339 INTL_LIBSRC = $(LIBSRC)/intl
340 INTL_LIBDIR = $(dot)/$(LIBSUBDIR)/intl
341 INTL_ABSSRC = ${topdir}/$(INTL_LIB)
342 INTL_BUILDDIR = ${LIBBUILD}/intl
343
344 INTL_LIB     = @LIBINTL@
345 INTL_LIBRARY = $(INTL_LIBDIR)/libintl.a
346 INTL_DEP = @INTL_DEP@
347 INTL_INC = @INTL_INC@
348
349 LIBINTL_H = @LIBINTL_H@
350
351 # libiconv
352 LIBICONV = @LIBICONV@
353
354 # tests
355 LIBINTL = @LIBINTL@
356 LTLIBINTL = @LTLIBINTL@
357 INTLLIBS = @INTLLIBS@
358 INTLOBJS = @INTLOBJS@
359
360 # Our malloc.
361 MALLOC_TARGET = @MALLOC_TARGET@
362
363 # set to alloca.o if we are using the C alloca in lib/malloc
364 ALLOCA = @ALLOCA@
365
366 ALLOC_LIBSRC = $(LIBSRC)/malloc
367 ALLOC_LIBDIR = $(dot)/$(LIBSUBDIR)/malloc
368 ALLOC_ABSSRC = ${topdir}/$(ALLOC_LIBDIR)
369
370 MALLOC_SRC = @MALLOC_SRC@
371 MALLOC_OTHERSRC = ${ALLOC_LIBSRC}/trace.c ${ALLOC_LIBSRC}/stats.c \
372                   ${ALLOC_LIBSRC}/table.c ${ALLOC_LIBSRC}/watch.c
373 MALLOC_SOURCE = ${ALLOC_LIBSRC}/${MALLOC_SRC} ${MALLOC_OTHERSRC}
374 MALLOC_CFLAGS = -DRCHECK -Dbotch=programming_error ${MALLOC_DEBUG}
375
376 MALLOC_LIB     = @MALLOC_LIB@
377 MALLOC_LIBRARY = @MALLOC_LIBRARY@
378 MALLOC_LDFLAGS = @MALLOC_LDFLAGS@
379 MALLOC_DEP = @MALLOC_DEP@
380
381 ALLOC_HEADERS = $(ALLOC_LIBSRC)/getpagesize.h $(ALLOC_LIBSRC)/shmalloc.h \
382                 $(ALLOC_LIBSRC)/imalloc.h $(ALLOC_LIBSRC)/mstats.h \
383                 $(ALLOC_LIBSRC)/table.h $(ALLOC_LIBSRC)/watch.h
384
385 $(MALLOC_LIBRARY):      ${MALLOC_SOURCE} ${ALLOC_HEADERS} config.h
386                 @(cd $(ALLOC_LIBDIR) && \
387                  $(MAKE) $(MFLAGS) \
388                  MALLOC_CFLAGS="$(MALLOC_CFLAGS)" ${MALLOC_TARGET} ) || exit 1
389
390 BASHINCDIR = ${srcdir}/include
391 BASHINCFILES =   $(BASHINCDIR)/posixstat.h $(BASHINCDIR)/ansi_stdlib.h \
392                  $(BASHINCDIR)/filecntl.h $(BASHINCDIR)/posixdir.h \
393                  $(BASHINCDIR)/memalloc.h $(BASHINCDIR)/stdc.h \
394                  $(BASHINCDIR)/posixjmp.h $(BASHINCDIR)/posixwait.h \
395                  $(BASHINCDIR)/posixtime.h $(BASHINCDIR)/systimes.h \
396                  $(BASHINCDIR)/unionwait.h $(BASHINCDIR)/maxpath.h \
397                  $(BASHINCDIR)/shtty.h $(BASHINCDIR)/typemax.h \
398                  $(BASHINCDIR)/ocache.h
399
400 LIBRARIES = $(GLOB_LIB) $(SHLIB_LIB) $(READLINE_LIB) $(HISTORY_LIB) $(TERMCAP_LIB) \
401             $(TILDE_LIB) $(MALLOC_LIB) $(INTL_LIB) $(LIBICONV) $(LOCAL_LIBS)
402
403 LIBDEP = $(GLOB_DEP) $(SHLIB_DEP) $(INTL_DEP) $(READLINE_DEP) $(HISTORY_DEP) $(TERMCAP_DEP) \
404          $(TILDE_DEP) $(MALLOC_DEP)
405
406 LIBRARY_LDFLAGS = $(READLINE_LDFLAGS) $(HISTORY_LDFLAGS) $(GLOB_LDFLAGS) \
407                   $(TILDE_LDFLAGS) $(MALLOC_LDFLAGS) $(SHLIB_LDFLAGS)
408
409 #
410 # The shell itself
411 #
412
413 # The main source code for the Bourne Again SHell.
414 CSOURCES = shell.c eval.c parse.y general.c make_cmd.c print_cmd.c y.tab.c \
415            dispose_cmd.c execute_cmd.c variables.c $(GLOBC) version.c \
416            expr.c copy_cmd.c flags.c subst.c hashcmd.c hashlib.c mailcheck.c \
417            test.c trap.c alias.c jobs.c nojobs.c $(ALLOC_FILES) braces.c \
418            input.c bashhist.c array.c arrayfunc.c assoc.c sig.c pathexp.c \
419            unwind_prot.c siglist.c bashline.c bracecomp.c error.c \
420            list.c stringlib.c locale.c findcmd.c redir.c \
421            pcomplete.c pcomplib.c syntax.c xmalloc.c
422
423 HSOURCES = shell.h flags.h trap.h hashcmd.h hashlib.h jobs.h builtins.h \
424            general.h variables.h config.h $(ALLOC_HEADERS) alias.h \
425            quit.h unwind_prot.h syntax.h ${GRAM_H} \
426            command.h input.h error.h bashansi.h dispose_cmd.h make_cmd.h \
427            subst.h externs.h siglist.h bashhist.h bashline.h bashtypes.h \
428            array.h arrayfunc.h sig.h mailcheck.h bashintl.h bashjmp.h \
429            execute_cmd.h parser.h pathexp.h pathnames.h pcomplete.h assoc.h \
430            $(BASHINCFILES)
431
432 SOURCES  = $(CSOURCES) $(HSOURCES) $(BUILTIN_DEFS)
433
434 # header files chosen based on running of configure
435 SIGNAMES_H = @SIGNAMES_H@
436
437 # object files chosen based on running of configure
438 JOBS_O = @JOBS_O@
439 SIGLIST_O = @SIGLIST_O@
440 SIGNAMES_O = @SIGNAMES_O@
441
442 # Matching object files.
443 OBJECTS  = shell.o eval.o y.tab.o general.o make_cmd.o print_cmd.o $(GLOBO) \
444            dispose_cmd.o execute_cmd.o variables.o copy_cmd.o error.o \
445            expr.o flags.o $(JOBS_O) subst.o hashcmd.o hashlib.o mailcheck.o \
446            trap.o input.o unwind_prot.o pathexp.o sig.o test.o version.o \
447            alias.o array.o arrayfunc.o assoc.o braces.o bracecomp.o bashhist.o \
448            bashline.o $(SIGLIST_O) list.o stringlib.o locale.o findcmd.o redir.o \
449            pcomplete.o pcomplib.o syntax.o xmalloc.o $(SIGNAMES_O)
450
451 # Where the source code of the shell builtins resides.
452 BUILTIN_SRCDIR=$(srcdir)/builtins
453 DEFSRC=$(BUILTIN_SRCDIR)
454 BUILTIN_ABSSRC=${topdir}/builtins
455 DEFDIR = $(dot)/builtins
456 DEBUGGER_DIR = $(dot)/debugger
457
458 BUILTIN_DEFS = $(DEFSRC)/alias.def $(DEFSRC)/bind.def $(DEFSRC)/break.def \
459                $(DEFSRC)/builtin.def $(DEFSRC)/cd.def $(DEFSRC)/colon.def \
460                $(DEFSRC)/command.def ${DEFSRC}/complete.def \
461                $(DEFSRC)/caller.def $(DEFSRC)/declare.def \
462                $(DEFSRC)/echo.def $(DEFSRC)/enable.def $(DEFSRC)/eval.def \
463                $(DEFSRC)/exec.def $(DEFSRC)/exit.def $(DEFSRC)/fc.def \
464                $(DEFSRC)/fg_bg.def $(DEFSRC)/hash.def $(DEFSRC)/help.def \
465                $(DEFSRC)/history.def $(DEFSRC)/jobs.def $(DEFSRC)/kill.def \
466                $(DEFSRC)/let.def $(DEFSRC)/read.def $(DEFSRC)/return.def \
467                $(DEFSRC)/set.def $(DEFSRC)/setattr.def $(DEFSRC)/shift.def \
468                $(DEFSRC)/source.def $(DEFSRC)/suspend.def $(DEFSRC)/test.def \
469                $(DEFSRC)/times.def $(DEFSRC)/trap.def $(DEFSRC)/type.def \
470                $(DEFSRC)/ulimit.def $(DEFSRC)/umask.def $(DEFSRC)/wait.def \
471                $(DEFSRC)/getopts.def $(DEFSRC)/reserved.def \
472                $(DEFSRC)/pushd.def $(DEFSRC)/shopt.def $(DEFSRC)/printf.def \
473                $(DEFSRC)/mapfile.def
474 BUILTIN_C_SRC  = $(DEFSRC)/mkbuiltins.c $(DEFSRC)/common.c \
475                  $(DEFSRC)/evalstring.c $(DEFSRC)/evalfile.c \
476                  $(DEFSRC)/bashgetopt.c $(GETOPT_SOURCE)
477 BUILTIN_C_OBJ  = $(DEFDIR)/common.o $(DEFDIR)/evalstring.o \
478                  $(DEFDIR)/evalfile.o $(DEFDIR)/bashgetopt.o
479 BUILTIN_OBJS = $(DEFDIR)/alias.o $(DEFDIR)/bind.o $(DEFDIR)/break.o \
480                $(DEFDIR)/builtin.o $(DEFDIR)/cd.o $(DEFDIR)/colon.o \
481                $(DEFDIR)/command.o $(DEFDIR)/caller.o $(DEFDIR)/declare.o \
482                $(DEFDIR)/echo.o $(DEFDIR)/enable.o $(DEFDIR)/eval.o \
483                $(DEFDIR)/exec.o $(DEFDIR)/exit.o $(DEFDIR)/fc.o \
484                $(DEFDIR)/fg_bg.o $(DEFDIR)/hash.o $(DEFDIR)/help.o \
485                $(DEFDIR)/history.o $(DEFDIR)/jobs.o $(DEFDIR)/kill.o \
486                $(DEFDIR)/let.o $(DEFDIR)/pushd.o $(DEFDIR)/read.o \
487                $(DEFDIR)/return.o $(DEFDIR)/shopt.o $(DEFDIR)/printf.o \
488                $(DEFDIR)/set.o $(DEFDIR)/setattr.o $(DEFDIR)/shift.o \
489                $(DEFDIR)/source.o $(DEFDIR)/suspend.o $(DEFDIR)/test.o \
490                $(DEFDIR)/times.o $(DEFDIR)/trap.o $(DEFDIR)/type.o \
491                $(DEFDIR)/ulimit.o $(DEFDIR)/umask.o $(DEFDIR)/wait.o \
492                $(DEFDIR)/getopts.o $(DEFDIR)/mapfile.o $(BUILTIN_C_OBJ)
493 GETOPT_SOURCE   = $(DEFSRC)/getopt.c $(DEFSRC)/getopt.h
494 PSIZE_SOURCE    = $(DEFSRC)/psize.sh $(DEFSRC)/psize.c
495
496 BUILTINS_LIBRARY = $(DEFDIR)/libbuiltins.a
497 BUILTINS_LIB = -lbuiltins
498 BUILTINS_LDFLAGS = -L$(DEFDIR)
499 BUILTINS_DEP = $(BUILTINS_LIBRARY)
500
501 # Documentation for the shell.
502 DOCSRC = $(srcdir)/doc
503 DOCDIR = $(dot)/doc
504
505 # Translations and other i18n support files
506 PO_SRC = $(srcdir)/po/
507 PO_DIR = $(dot)/po/
508
509 SIGNAMES_SUPPORT = $(SUPPORT_SRC)mksignames.c
510
511 SUPPORT_SRC = $(srcdir)/support/
512 SDIR = $(dot)/support/
513
514 TESTS_SUPPORT = recho$(EXEEXT) zecho$(EXEEXT) printenv$(EXEEXT) xcase$(EXEEXT)
515 CREATED_SUPPORT = signames.h recho$(EXEEXT) zecho$(EXEEXT) printenv$(EXEEXT) \
516                   tests/recho$(EXEEXT) tests/zecho$(EXEEXT) \
517                   tests/printenv$(EXEEXT) xcase$(EXEEXT) tests/xcase$(EXEEXT) \
518                   mksignames$(EXEEXT) lsignames.h \
519                   mksyntax${EXEEXT} syntax.c $(VERSPROG) $(VERSOBJ) \
520                   buildversion.o mksignames.o signames.o buildsignames.o
521 CREATED_CONFIGURE = config.h config.cache config.status config.log \
522                     stamp-h po/POTFILES
523 CREATED_MAKEFILES = Makefile builtins/Makefile doc/Makefile \
524                     lib/readline/Makefile lib/glob/Makefile \
525                     lib/sh/Makefile lib/tilde/Makefile lib/malloc/Makefile \
526                     lib/termcap/Makefile examples/loadables/Makefile \
527                     examples/loadables/perl/Makefile support/Makefile \
528                     lib/intl/Makefile po/Makefile po/Makefile.in
529
530 # Keep GNU Make from exporting the entire environment for small machines.
531 .NOEXPORT:
532
533 .made: $(Program) bashbug
534         @echo "$(Program) last made for a $(Machine) running $(OS)" >.made
535
536 $(Program):  .build $(OBJECTS) $(BUILTINS_DEP) $(LIBDEP)
537         $(RM) $@
538         $(PURIFY) $(CC) $(BUILTINS_LDFLAGS) $(LIBRARY_LDFLAGS) $(LDFLAGS) -o $(Program) $(OBJECTS) $(LIBS)
539         ls -l $(Program)
540         -$(SIZE) $(Program)
541
542 .build: $(SOURCES) config.h Makefile version.h $(VERSPROG)
543         @echo
544         @echo "   ***********************************************************"
545         @echo "   *                                                         *"
546         @echo "   * `$(BUILD_DIR)/$(VERSPROG) -l`"
547         @echo "   *                                                         *"
548         @echo "   ***********************************************************"
549         @echo
550
551 bashbug: $(SUPPORT_SRC)bashbug.sh config.h Makefile $(VERSPROG)
552         @sed -e "s%!MACHINE!%$(Machine)%" -e "s%!OS!%$(OS)%" \
553              -e "s%!CFLAGS!%$(CCFLAGS)%" -e "s%!CC!%$(CC)%" \
554              -e "s%!RELEASE!%$(Version)%" -e "s%!PATCHLEVEL!%$(PatchLevel)%" \
555              -e "s%!MACHTYPE!%$(MACHTYPE)%" -e "s%!RELSTATUS!%$(RELSTATUS)%" \
556              $(SUPPORT_SRC)bashbug.sh > $@
557         @chmod a+rx bashbug
558
559 strip:  $(Program) .made
560         strip $(Program)
561         ls -l $(Program)
562         -$(SIZE) $(Program)
563
564 lint:
565         ${MAKE} ${MFLAGS} CFLAGS='${GCC_LINT_FLAGS}' .made
566
567 version.h:  $(SOURCES) config.h Makefile 
568         $(SHELL) $(SUPPORT_SRC)mkversion.sh -b -S ${topdir} -s $(RELSTATUS) -d $(Version) -o newversion.h \
569                 && mv newversion.h version.h
570
571 bashversion$(EXEEXT):   patchlevel.h conftypes.h version.h buildversion.o $(SUPPORT_SRC)bashversion.c
572         $(CC_FOR_BUILD) $(CCFLAGS_FOR_BUILD) -o $@ $(SUPPORT_SRC)bashversion.c buildversion.o ${LIBS_FOR_BUILD}
573
574 buildversion.o: version.h conftypes.h patchlevel.h $(srcdir)/version.c
575         $(CC_FOR_BUILD) $(CCFLAGS_FOR_BUILD) -DBUILDTOOL -c -o $@ $(srcdir)/version.c
576
577 # old rules
578 GRAM_H = parser-built
579 y.tab.o: y.tab.c ${GRAM_H} command.h ${BASHINCDIR}/stdc.h input.h
580 ${GRAM_H}:      y.tab.h
581         @-if test -f y.tab.h ; then \
582                 cmp -s $@ y.tab.h 2>/dev/null || cp -p y.tab.h $@; \
583         fi
584 y.tab.c y.tab.h: parse.y
585 #       -if test -f y.tab.h; then mv -f y.tab.h old-y.tab.h; fi
586         $(YACC) -d $(srcdir)/parse.y
587         touch parser-built
588 #       -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
589
590 # experimental new rules - work with GNU make but not BSD (or OSF) make
591 #y.tab.o: y.tab.c y.tab.h
592 #y.tab.c y.tab.h: parse.y command.h ${BASHINCDIR}/stdc.h input.h
593 #       -if test -f y.tab.h; then mv -f y.tab.h old-y.tab.h; fi
594 #       $(YACC) -d $(srcdir)/parse.y
595 #       -if cmp -s old-y.tab.h y.tab.h; then mv old-y.tab.h y.tab.h; fi
596
597 $(READLINE_LIBRARY): config.h $(READLINE_SOURCE)
598         @echo making $@ in ${RL_LIBDIR}
599         @( { test "${RL_LIBDIR}" = "${libdir}" && exit 0; } || \
600                 cd ${RL_LIBDIR} && $(MAKE) $(MFLAGS) libreadline.a) || exit 1
601
602 $(HISTORY_LIBRARY): config.h $(HISTORY_SOURCE) $(READLINE_DEP)
603         @echo making $@ in ${HIST_LIBDIR}
604         @( { test "${HIST_LIBDIR}" = "${libdir}" && exit 0; } || \
605                 cd ${HIST_LIBDIR} && $(MAKE) $(MFLAGS) libhistory.a) || exit 1
606
607 $(GLOB_LIBRARY): config.h $(GLOB_SOURCE)
608         @echo making $@ in ${GLOB_LIBDIR}
609         @(cd ${GLOB_LIBDIR} && \
610                 $(MAKE) $(MFLAGS) DEBUG=${DEBUG} libglob.a) || exit 1
611
612 $(TILDE_LIBRARY): config.h $(TILDE_SOURCE)
613         @echo making $@ in ${TILDE_LIBDIR}
614         @(cd ${TILDE_LIBDIR} && \
615                 $(MAKE) $(MFLAGS) libtilde.a) || exit 1
616
617 $(TERMCAP_LIBRARY): config.h ${TERMCAP_SOURCE}
618         @echo making $@ in ${TERM_LIBDIR}       
619         @(cd ${TERM_LIBDIR} && \
620                 $(MAKE) $(MFLAGS) libtermcap.a) || exit 1
621
622 $(SHLIB_LIBRARY): config.h ${SHLIB_SOURCE}
623         @echo making $@ in ${SH_LIBDIR}
624         @(cd ${SH_LIBDIR} && \
625                 $(MAKE) $(MFLAGS) DEBUG=${DEBUG} ${SHLIB_LIBNAME}) || exit 1
626
627 ${INTL_LIBRARY}: config.h ${INTL_LIBDIR}/Makefile
628         @echo making $@ in ${INTL_LIBDIR}
629         @(cd ${INTL_LIBDIR} && \
630                 $(MAKE) $(MFLAGS) all) || exit 1
631
632 ${LIBINTL_H}:   ${INTL_DEP}
633
634 signames.o: $(SUPPORT_SRC)signames.c
635         $(RM) $@
636         $(CC) $(CCFLAGS) -c $(SUPPORT_SRC)signames.c
637
638 buildsignames.o:        $(SUPPORT_SRC)signames.c
639         $(RM) $@
640         $(CC_FOR_BUILD) $(CCFLAGS_FOR_BUILD) -DBUILDTOOL -o $@ -c $(SUPPORT_SRC)signames.c
641
642 mksignames.o:   $(SUPPORT_SRC)mksignames.c
643         $(RM) $@
644         $(CC_FOR_BUILD) $(CCFLAGS_FOR_BUILD) -DBUILDTOOL -c $(SUPPORT_SRC)mksignames.c
645
646 mksignames$(EXEEXT):    mksignames.o buildsignames.o
647         $(RM) $@
648         $(CC_FOR_BUILD) $(CCFLAGS_FOR_BUILD) -o $@ mksignames.o buildsignames.o ${LIBS_FOR_BUILD}
649
650 mksyntax$(EXEEXT):      ${srcdir}/mksyntax.c config.h syntax.h ${BASHINCDIR}/chartypes.h
651         $(RM) $@
652         ${CC_FOR_BUILD} ${CCFLAGS_FOR_BUILD} -o $@ ${srcdir}/mksyntax.c ${LIBS_FOR_BUILD}
653
654 # make a list of signals for the local system -- this is done when we're
655 # *not* cross-compiling
656 lsignames.h:   mksignames$(EXEEXT)
657         $(RM) $@
658         ./mksignames$(EXEEXT) $@
659
660 # copy the correct signames header file to signames.h
661 signames.h: $(SIGNAMES_H)
662         -if cmp -s $(SIGNAMES_H) $@ ; then :; else $(RM) $@ ; $(CP) $(SIGNAMES_H) $@ ; fi
663
664 syntax.c:       mksyntax${EXEEXT} $(srcdir)/syntax.h 
665         $(RM) $@
666         ./mksyntax$(EXEEXT) -o $@
667
668 $(BUILTINS_LIBRARY): $(BUILTIN_DEFS) $(BUILTIN_C_SRC) config.h ${BASHINCDIR}/memalloc.h version.h
669         @(cd $(DEFDIR) && $(MAKE) $(MFLAGS) DEBUG=${DEBUG} libbuiltins.a ) || exit 1
670
671 # these require special rules to circumvent make builtin rules
672 ${DEFDIR}/common.o:     $(BUILTIN_SRCDIR)/common.c
673         @(cd $(DEFDIR) && $(MAKE) $(MFLAGS) DEBUG=${DEBUG} common.o) || exit 1
674
675 ${DEFDIR}/bashgetopt.o: $(BUILTIN_SRCDIR)/bashgetopt.c
676         @(cd $(DEFDIR) && $(MAKE) $(MFLAGS) DEBUG=${DEBUG} bashgetopt.o) || exit 1
677
678 ${DEFDIR}/builtext.h: $(BUILTIN_DEFS)
679         @(cd $(DEFDIR) && $(MAKE) $(MFLAGS) builtext.h ) || exit 1
680
681 # For the justification of the following Makefile rules, see node
682 # `Automatic Remaking' in GNU Autoconf documentation.
683
684 Makefile makefile:      config.status $(srcdir)/Makefile.in
685         CONFIG_FILES=Makefile CONFIG_HEADERS= $(SHELL) ./config.status
686
687 Makefiles makefiles:    config.status $(srcdir)/Makefile.in
688         @for mf in $(CREATED_MAKEFILES); do \
689                 CONFIG_FILES=$$mf CONFIG_HEADERS= $(SHELL) ./config.status ; \
690         done
691
692 config.h:       stamp-h 
693
694 stamp-h:        config.status $(srcdir)/config.h.in $(srcdir)/config-top.h $(srcdir)/config-bot.h
695         CONFIG_FILES= CONFIG_HEADERS=config.h $(SHELL) ./config.status
696
697 config.status:  $(srcdir)/configure
698         $(SHELL) ./config.status --recheck
699
700 pathnames.h:            Makefile $(srcdir)/pathnames.h.in
701         @sed -e 's|@DEBUGGER_START_FILE\@|${DEBUGGER_START_FILE}|g' $(srcdir)/pathnames.h.in > pathnames.tmp
702         @if test -f $@; then \
703                 cmp -s pathnames.tmp $@ || mv pathnames.tmp $@; \
704         else \
705                 mv pathnames.tmp $@; \
706         fi
707         @${RM} pathnames.tmp
708
709 # comment out for distribution
710 $(srcdir)/configure:    $(srcdir)/configure.in $(srcdir)/aclocal.m4 $(srcdir)/config.h.in
711         cd $(srcdir) && autoconf
712
713 # for chet
714 reconfig: force
715         sh $(srcdir)/configure -C
716
717 #newversion:    mkversion
718 #       $(RM) .build
719 #       ./mkversion -dir $(srcdir) -dist
720 #       mv -f newversion.h version.h
721 #       $(MAKE) -f $(srcdir)/Makefile $(MFLAGS) srcdir=$(srcdir)
722
723 doc documentation:  force
724         @(cd $(DOCDIR) ; $(MAKE) $(MFLAGS) )
725
726 info dvi ps: force
727         @(cd $(DOCDIR) ; $(MAKE) $(MFLAGS) CFLAGS='$(CCFLAGS)' $@ )
728
729 force:
730
731 TAGS:   $(SOURCES) $(BUILTIN_C_SRC) $(LIBRARY_SOURCE)
732         etags $(SOURCES) $(BUILTIN_C_SRC) $(LIBRARY_SOURCE)
733
734 tags:   $(SOURCES) $(BUILTIN_C_SRC) $(LIBRARY_SOURCE)
735         ctags -x $(SOURCES) $(BUILTIN_C_SRC) $(LIBRARY_SOURCE) > $@
736
737 # Targets that actually do things not part of the build
738
739 installdirs:
740         @${SHELL} $(SUPPORT_SRC)mkinstalldirs $(DESTDIR)$(bindir)
741         @${SHELL} $(SUPPORT_SRC)mkinstalldirs $(DESTDIR)$(man1dir)
742         @${SHELL} $(SUPPORT_SRC)mkinstalldirs $(DESTDIR)$(infodir)
743         -( cd $(PO_DIR) ; $(MAKE) $(MFLAGS) DESTDIR=$(DESTDIR) $@ )
744
745 install:        .made installdirs
746         $(INSTALL_PROGRAM) $(INSTALLMODE) $(Program) $(DESTDIR)$(bindir)/$(Program)
747         $(INSTALL_SCRIPT) $(INSTALLMODE2) bashbug $(DESTDIR)$(bindir)/bashbug
748         -( cd $(DOCDIR) ; $(MAKE) $(MFLAGS) \
749                 man1dir=$(man1dir) man1ext=$(man1ext) \
750                 man3dir=$(man3dir) man3ext=$(man3ext) \
751                 infodir=$(infodir) htmldir=$(htmldir) DESTDIR=$(DESTDIR) $@ )
752         -( cd $(DEFDIR) ; $(MAKE) $(MFLAGS) DESTDIR=$(DESTDIR) $@ )
753         -( cd $(PO_DIR) ; $(MAKE) $(MFLAGS) DESTDIR=$(DESTDIR) $@ )
754
755 install-strip:
756         $(MAKE) $(MFLAGS) INSTALL_PROGRAM='$(INSTALL_PROGRAM) -s' \
757                 prefix=${prefix} exec_prefix=${exec_prefix} \
758                 DESTDIR=$(DESTDIR) install
759
760 uninstall:      .made
761         $(RM) $(DESTDIR)$(bindir)/$(Program) $(DESTDIR)$(bindir)/bashbug
762         -( cd $(DOCDIR) ; $(MAKE) $(MFLAGS) \
763                 man1dir=$(man1dir) man1ext=$(man1ext) \
764                 man3dir=$(man3dir) man3ext=$(man3ext) \
765                 infodir=$(infodir) htmldir=$(htmldir) DESTDIR=$(DESTDIR) $@ )
766         -( cd $(PO_DIR) ; $(MAKE) $(MFLAGS) DESTDIR=$(DESTDIR) $@ )
767
768 .PHONY: basic-clean clean realclean maintainer-clean distclean mostlyclean maybe-clean
769
770 LIB_SUBDIRS = ${RL_LIBDIR}  ${HIST_LIBDIR} ${TERM_LIBDIR} ${GLOB_LIBDIR} \
771                 ${INTL_LIBDIR} ${TILDE_LIBDIR} ${ALLOC_LIBDIR} ${SH_LIBDIR}
772
773 basic-clean:
774         $(RM) $(OBJECTS) $(Program) bashbug
775         $(RM) .build .made version.h 
776
777 clean:  basic-clean
778         ( cd $(DOCDIR) && $(MAKE) $(MFLAGS) $@ )
779         ( cd builtins && $(MAKE) $(MFLAGS) $@ )
780         -( cd $(SDIR) && $(MAKE) $(MFLAGS) $@ )
781         -for libdir in ${LIB_SUBDIRS}; do \
782                 (cd $$libdir && test -f Makefile && $(MAKE) $(MFLAGS) $@) ;\
783         done
784         -( cd $(PO_DIR) ; $(MAKE) $(MFLAGS) DESTDIR=$(DESTDIR) $@ )
785         $(RM) $(CREATED_SUPPORT)
786
787 mostlyclean: basic-clean
788         ( cd $(DOCDIR) && $(MAKE) $(MFLAGS) $@ )
789         ( cd builtins && $(MAKE) $(MFLAGS) $@ )
790         -( cd $(SDIR) && $(MAKE) $(MFLAGS) $@ )
791         -for libdir in ${LIB_SUBDIRS}; do \
792                 (cd $$libdir && test -f Makefile && $(MAKE) $(MFLAGS) $@) ;\
793         done
794         -( cd $(PO_DIR) ; $(MAKE) $(MFLAGS) DESTDIR=$(DESTDIR) $@ )
795
796 distclean:      basic-clean maybe-clean
797         ( cd $(DOCDIR) && $(MAKE) $(MFLAGS) $@ )
798         ( cd builtins && $(MAKE) $(MFLAGS) $@ )
799         -( cd $(SDIR) && $(MAKE) $(MFLAGS) $@ )
800         -for libdir in ${LIB_SUBDIRS}; do \
801                 (cd $$libdir && test -f Makefile && $(MAKE) $(MFLAGS) $@) ;\
802         done
803         -( cd $(PO_DIR) ; $(MAKE) $(MFLAGS) DESTDIR=$(DESTDIR) $@ )
804         $(RM) $(CREATED_CONFIGURE) tags TAGS 
805         $(RM) $(CREATED_SUPPORT) Makefile $(CREATED_MAKEFILES) pathnames.h
806
807 maintainer-clean:       basic-clean
808         @echo This command is intended for maintainers to use.
809         @echo It deletes files that may require special tools to rebuild.
810         $(RM) y.tab.c y.tab.h parser-built tags TAGS
811         ( cd $(DOCDIR) && $(MAKE) $(MFLAGS) $@ )
812         ( cd builtins && $(MAKE) $(MFLAGS) $@ )
813         ( cd $(SDIR) && $(MAKE) $(MFLAGS) $@ )
814         -for libdir in ${LIB_SUBDIRS}; do \
815                 (cd $$libdir && test -f Makefile && $(MAKE) $(MFLAGS) $@) ;\
816         done
817         -( cd $(PO_DIR) ; $(MAKE) $(MFLAGS) DESTDIR=$(DESTDIR) $@ )
818         $(RM) $(CREATED_CONFIGURE) $(CREATED_MAKEFILES)
819         $(RM) $(CREATED_SUPPORT) Makefile pathnames.h
820
821 maybe-clean:
822         -if test "X$(topdir)" != "X$(BUILD_DIR)" ; then \
823                 $(RM) parser-built y.tab.c y.tab.h ; \
824         fi
825
826 recho$(EXEEXT):         $(SUPPORT_SRC)recho.c
827         @$(CC_FOR_BUILD) $(CCFLAGS_FOR_BUILD) -o $@ $(SUPPORT_SRC)recho.c ${LIBS_FOR_BUILD}
828
829 zecho$(EXEEXT):         $(SUPPORT_SRC)zecho.c
830         @$(CC_FOR_BUILD) $(CCFLAGS_FOR_BUILD) -o $@ $(SUPPORT_SRC)zecho.c ${LIBS_FOR_BUILD}
831
832 printenv$(EXEEXT):      $(SUPPORT_SRC)printenv.c
833         @$(CC_FOR_BUILD) $(CCFLAGS_FOR_BUILD) -o $@ $(SUPPORT_SRC)printenv.c ${LIBS_FOR_BUILD}
834
835 xcase$(EXEEXT): $(SUPPORT_SRC)xcase.c
836         @$(CC_FOR_BUILD) $(CCFLAGS_FOR_BUILD) -o $@ $(SUPPORT_SRC)xcase.c ${LIBS_FOR_BUILD}
837
838 test tests check:       force $(Program) $(TESTS_SUPPORT)
839         @-test -d tests || mkdir tests
840         @cp $(TESTS_SUPPORT) tests
841         @( cd $(srcdir)/tests && \
842                 PATH=$(BUILD_DIR)/tests:$$PATH THIS_SH=$(THIS_SH) $(SHELL) ${TESTSCRIPT} )
843
844 symlinks:
845         $(SHELL) $(SUPPORT_SRC)fixlinks -s $(srcdir)
846
847 dist:   force
848         @echo Bash distributions are created using $(srcdir)/support/mkdist.
849         @echo Here is a sample of the necessary commands:
850         @echo $(Program) $(srcdir)/support/mkdist -m $(srcdir)/MANIFEST -s $(srcdir) -r ${PACKAGE} $(PACKAGE_VERSION)
851         @echo tar cf $(PACKAGE)-${PACKAGE_VERSION}.tar ${PACKAGE}-$(PACKAGE_VERSION)
852         @echo gzip $(PACKAGE)-$(PACKAGE_VERSION).tar
853
854 depend: depends
855
856 depends: force
857         $(Program) $(SUPPORT_SRC)mkdep -c ${CC} -- ${CCFLAGS} ${CSOURCES}
858
859 #### PRIVATE TARGETS ####
860 hashtest:       hashlib.c
861         $(CC) -DTEST_HASHING $(CCFLAGS) -o $@ $(srcdir)/hashlib.c
862
863 ############################ DEPENDENCIES ###############################
864
865 # Files that depend on the definitions in config-top.h, which are not meant
866 # to be changed
867 bashhist.o: config-top.h
868 shell.o: config-top.h
869 input.o: config-top.h
870 y.tab.o: config-top.h
871 jobs.o: config-top.h
872 nojobs.o: config-top.h
873 execute_cmd.o: config-top.h
874 variables.o: config-top.h
875 builtins/command.o: config-top.h
876 builtins/common.o: config-top.h
877 builtins/break.o: config-top.h
878 builtins/echo.o: config-top.h
879 builtins/evalstring.o: config-top.h
880 builtins/exit.o: config-top.h
881 builtins/kill.o: config-top.h
882
883 # shell basics
884 copy_cmd.o: shell.h syntax.h config.h bashjmp.h ${BASHINCDIR}/posixjmp.h command.h ${BASHINCDIR}/stdc.h error.h
885 copy_cmd.o: general.h xmalloc.h bashtypes.h variables.h arrayfunc.h conftypes.h array.h hashlib.h
886 copy_cmd.o: quit.h ${BASHINCDIR}/maxpath.h unwind_prot.h dispose_cmd.h
887 copy_cmd.o: make_cmd.h subst.h sig.h pathnames.h externs.h
888 dispose_cmd.o: bashansi.h ${BASHINCDIR}/ansi_stdlib.h
889 dispose_cmd.o: shell.h syntax.h config.h bashjmp.h ${BASHINCDIR}/posixjmp.h command.h ${BASHINCDIR}/stdc.h
890 dispose_cmd.o: error.h general.h xmalloc.h bashtypes.h variables.h arrayfunc.h conftypes.h array.h hashlib.h
891 dispose_cmd.o: quit.h ${BASHINCDIR}/maxpath.h unwind_prot.h dispose_cmd.h
892 dispose_cmd.o: make_cmd.h subst.h sig.h pathnames.h externs.h
893 dispose_cmd.o: ${BASHINCDIR}/ocache.h
894 error.o: config.h bashtypes.h bashansi.h ${BASHINCDIR}/ansi_stdlib.h flags.h ${BASHINCDIR}/stdc.h error.h
895 error.o: command.h general.h xmalloc.h externs.h input.h bashhist.h
896 error.o: shell.h syntax.h config.h bashjmp.h ${BASHINCDIR}/posixjmp.h command.h ${BASHINCDIR}/stdc.h error.h
897 error.o: general.h xmalloc.h bashtypes.h variables.h arrayfunc.h conftypes.h array.h hashlib.h
898 error.o: quit.h ${BASHINCDIR}/maxpath.h unwind_prot.h dispose_cmd.h
899 error.o: make_cmd.h subst.h sig.h pathnames.h externs.h
900 error.o: input.h execute_cmd.h 
901 eval.o: config.h bashansi.h ${BASHINCDIR}/ansi_stdlib.h trap.h flags.h ${DEFSRC}/common.h
902 eval.o: shell.h syntax.h config.h bashjmp.h ${BASHINCDIR}/posixjmp.h command.h ${BASHINCDIR}/stdc.h error.h
903 eval.o: general.h xmalloc.h bashtypes.h variables.h arrayfunc.h conftypes.h array.h hashlib.h
904 eval.o: quit.h ${BASHINCDIR}/maxpath.h unwind_prot.h dispose_cmd.h
905 eval.o: make_cmd.h subst.h sig.h pathnames.h externs.h
906 eval.o: input.h execute_cmd.h 
907 execute_cmd.o: config.h bashtypes.h ${BASHINCDIR}/filecntl.h ${BASHINCDIR}/posixstat.h bashansi.h ${BASHINCDIR}/ansi_stdlib.h
908 execute_cmd.o: shell.h syntax.h config.h bashjmp.h ${BASHINCDIR}/posixjmp.h command.h ${BASHINCDIR}/stdc.h error.h
909 execute_cmd.o: general.h xmalloc.h bashtypes.h variables.h arrayfunc.h conftypes.h array.h hashlib.h
910 execute_cmd.o: quit.h ${BASHINCDIR}/maxpath.h unwind_prot.h dispose_cmd.h
911 execute_cmd.o: make_cmd.h subst.h sig.h pathnames.h externs.h 
912 execute_cmd.o: ${BASHINCDIR}/memalloc.h ${GRAM_H} flags.h builtins.h jobs.h quit.h siglist.h
913 execute_cmd.o: execute_cmd.h findcmd.h redir.h trap.h test.h pathexp.h
914 execute_cmd.o: $(DEFSRC)/common.h ${DEFDIR}/builtext.h ${GLOB_LIBSRC}/strmatch.h
915 execute_cmd.o: ${BASHINCDIR}/posixtime.h ${BASHINCDIR}/chartypes.h
916 expr.o: config.h bashansi.h ${BASHINCDIR}/ansi_stdlib.h 
917 expr.o: shell.h syntax.h config.h bashjmp.h ${BASHINCDIR}/posixjmp.h command.h ${BASHINCDIR}/stdc.h error.h
918 expr.o: general.h xmalloc.h bashtypes.h variables.h arrayfunc.h conftypes.h array.h hashlib.h
919 expr.o: quit.h ${BASHINCDIR}/maxpath.h unwind_prot.h dispose_cmd.h
920 expr.o: make_cmd.h subst.h sig.h pathnames.h externs.h
921 expr.o: ${BASHINCDIR}/chartypes.h
922 findcmd.o: config.h bashtypes.h ${BASHINCDIR}/filecntl.h ${BASHINCDIR}/posixstat.h bashansi.h
923 findcmd.o: ${BASHINCDIR}/ansi_stdlib.h ${BASHINCDIR}/memalloc.h shell.h syntax.h bashjmp.h ${BASHINCDIR}/posixjmp.h command.h
924 findcmd.o: ${BASHINCDIR}/stdc.h error.h general.h xmalloc.h variables.h arrayfunc.h conftypes.h quit.h ${BASHINCDIR}/maxpath.h unwind_prot.h
925 findcmd.o: dispose_cmd.h make_cmd.h subst.h sig.h pathnames.h externs.h
926 findcmd.o: flags.h hashlib.h pathexp.h hashcmd.h 
927 findcmd.o: ${BASHINCDIR}/chartypes.h
928 flags.o: config.h flags.h 
929 flags.o: shell.h syntax.h config.h bashjmp.h ${BASHINCDIR}/posixjmp.h command.h ${BASHINCDIR}/stdc.h error.h
930 flags.o: general.h xmalloc.h bashtypes.h variables.h arrayfunc.h conftypes.h array.h hashlib.h
931 flags.o: quit.h ${BASHINCDIR}/maxpath.h unwind_prot.h dispose_cmd.h
932 flags.o: make_cmd.h subst.h sig.h pathnames.h externs.h bashhist.h
933 general.o: config.h bashtypes.h ${BASHINCDIR}/posixstat.h ${BASHINCDIR}/filecntl.h bashansi.h ${BASHINCDIR}/ansi_stdlib.h
934 general.o: shell.h syntax.h config.h bashjmp.h ${BASHINCDIR}/posixjmp.h command.h ${BASHINCDIR}/stdc.h error.h
935 general.o: general.h xmalloc.h bashtypes.h variables.h arrayfunc.h conftypes.h array.h hashlib.h
936 general.o: quit.h ${BASHINCDIR}/maxpath.h unwind_prot.h dispose_cmd.h
937 general.o: make_cmd.h subst.h sig.h pathnames.h externs.h 
938 general.o: ${BASHINCDIR}/maxpath.h ${BASHINCDIR}/posixtime.h
939 general.o: ${BASHINCDIR}/chartypes.h
940 hashcmd.o: config.h ${BASHINCDIR}/posixstat.h bashtypes.h bashansi.h ${BASHINCDIR}/ansi_stdlib.h
941 hashcmd.o: shell.h syntax.h config.h bashjmp.h ${BASHINCDIR}/posixjmp.h command.h ${BASHINCDIR}/stdc.h error.h
942 hashcmd.o: general.h xmalloc.h bashtypes.h variables.h arrayfunc.h conftypes.h array.h hashcmd.h
943 hashcmd.o: execute_cmd.h findcmd.h ${BASHINCDIR}/stdc.h pathnames.h hashlib.h
944 hashlib.o: config.h bashansi.h ${BASHINCDIR}/ansi_stdlib.h
945 hashlib.o: shell.h syntax.h config.h bashjmp.h ${BASHINCDIR}/posixjmp.h command.h ${BASHINCDIR}/stdc.h error.h
946 hashlib.o: general.h xmalloc.h bashtypes.h variables.h arrayfunc.h conftypes.h array.h hashlib.h
947 hashlib.o: quit.h ${BASHINCDIR}/maxpath.h unwind_prot.h dispose_cmd.h
948 hashlib.o: make_cmd.h subst.h sig.h pathnames.h externs.h 
949 input.o: config.h bashtypes.h ${BASHINCDIR}/filecntl.h ${BASHINCDIR}/posixstat.h bashansi.h ${BASHINCDIR}/ansi_stdlib.h
950 input.o: command.h ${BASHINCDIR}/stdc.h general.h xmalloc.h input.h error.h externs.h
951 input.o: quit.h
952 list.o: shell.h syntax.h config.h bashjmp.h ${BASHINCDIR}/posixjmp.h command.h ${BASHINCDIR}/stdc.h error.h
953 list.o: general.h xmalloc.h bashtypes.h variables.h arrayfunc.h conftypes.h array.h hashlib.h
954 list.o: quit.h ${BASHINCDIR}/maxpath.h unwind_prot.h dispose_cmd.h
955 list.o: make_cmd.h subst.h sig.h pathnames.h externs.h 
956 locale.o: config.h bashtypes.h bashintl.h ${LIBINTL_H} bashansi.h ${BASHINCDIR}/ansi_stdlib.h
957 locale.o: shell.h syntax.h config.h bashjmp.h ${BASHINCDIR}/posixjmp.h command.h ${BASHINCDIR}/stdc.h error.h
958 locale.o: general.h xmalloc.h bashtypes.h variables.h arrayfunc.h conftypes.h array.h hashlib.h
959 locale.o: quit.h ${BASHINCDIR}/maxpath.h unwind_prot.h dispose_cmd.h
960 locale.o: make_cmd.h subst.h sig.h pathnames.h externs.h 
961 locale.o: ${BASHINCDIR}/chartypes.h
962 mailcheck.o: config.h bashtypes.h ${BASHINCDIR}/posixstat.h bashansi.h ${BASHINCDIR}/ansi_stdlib.h
963 mailcheck.o: ${BASHINCDIR}/posixtime.h
964 mailcheck.o: shell.h syntax.h config.h bashjmp.h ${BASHINCDIR}/posixjmp.h command.h ${BASHINCDIR}/stdc.h error.h
965 mailcheck.o: general.h xmalloc.h bashtypes.h variables.h arrayfunc.h conftypes.h array.h hashlib.h
966 mailcheck.o: quit.h ${BASHINCDIR}/maxpath.h unwind_prot.h dispose_cmd.h
967 mailcheck.o: make_cmd.h subst.h sig.h pathnames.h externs.h
968 mailcheck.o: execute_cmd.h mailcheck.h 
969 make_cmd.o: config.h bashtypes.h ${BASHINCDIR}/filecntl.h bashansi.h
970 make_cmd.o: command.h ${BASHINCDIR}/stdc.h general.h xmalloc.h error.h flags.h make_cmd.h
971 make_cmd.o: variables.h arrayfunc.h conftypes.h array.h hashlib.h subst.h input.h externs.h
972 make_cmd.o: jobs.h quit.h siglist.h syntax.h dispose_cmd.h
973 make_cmd.o: ${BASHINCDIR}/shmbutil.h ${BASHINCDIR}/ocache.h
974 y.tab.o: config.h bashtypes.h bashansi.h ${BASHINCDIR}/ansi_stdlib.h ${BASHINCDIR}/memalloc.h
975 y.tab.o: shell.h syntax.h config.h bashjmp.h ${BASHINCDIR}/posixjmp.h command.h ${BASHINCDIR}/stdc.h error.h
976 y.tab.o: general.h xmalloc.h bashtypes.h variables.h arrayfunc.h conftypes.h array.h hashlib.h
977 y.tab.o: quit.h ${BASHINCDIR}/maxpath.h unwind_prot.h dispose_cmd.h
978 y.tab.o: make_cmd.h subst.h sig.h pathnames.h externs.h test.h
979 y.tab.o: trap.h flags.h parser.h input.h mailcheck.h $(DEFSRC)/common.h
980 y.tab.o: $(DEFDIR)/builtext.h bashline.h bashhist.h jobs.h siglist.h alias.h
981 pathexp.o: config.h bashtypes.h bashansi.h ${BASHINCDIR}/ansi_stdlib.h
982 pathexp.o: shell.h syntax.h config.h bashjmp.h ${BASHINCDIR}/posixjmp.h command.h ${BASHINCDIR}/stdc.h error.h
983 pathexp.o: general.h xmalloc.h bashtypes.h variables.h arrayfunc.h conftypes.h array.h hashlib.h
984 pathexp.o: quit.h ${BASHINCDIR}/maxpath.h unwind_prot.h dispose_cmd.h
985 pathexp.o: make_cmd.h subst.h sig.h pathnames.h externs.h
986 pathexp.o: pathexp.h flags.h 
987 pathexp.o: $(GLOB_LIBSRC)/glob.h $(GLOB_LIBSRC)/strmatch.h
988 pathexp.o: ${BASHINCDIR}/shmbutil.h
989 print_cmd.o: config.h bashansi.h ${BASHINCDIR}/ansi_stdlib.h
990 print_cmd.o: shell.h syntax.h config.h bashjmp.h ${BASHINCDIR}/posixjmp.h command.h ${BASHINCDIR}/stdc.h error.h
991 print_cmd.o: general.h xmalloc.h bashtypes.h variables.h arrayfunc.h conftypes.h array.h hashlib.h
992 print_cmd.o: quit.h ${BASHINCDIR}/maxpath.h unwind_prot.h dispose_cmd.h
993 print_cmd.o: make_cmd.h subst.h sig.h pathnames.h externs.h 
994 print_cmd.o: ${GRAM_H} $(DEFSRC)/common.h
995 redir.o: config.h bashtypes.h ${BASHINCDIR}/posixstat.h bashansi.h ${BASHINCDIR}/ansi_stdlib.h ${BASHINCDIR}/filecntl.h
996 redir.o: ${BASHINCDIR}/memalloc.h shell.h syntax.h bashjmp.h ${BASHINCDIR}/posixjmp.h command.h ${BASHINCDIR}/stdc.h error.h
997 redir.o: general.h xmalloc.h variables.h arrayfunc.h conftypes.h array.h hashlib.h quit.h ${BASHINCDIR}/maxpath.h unwind_prot.h
998 redir.o: dispose_cmd.h make_cmd.h subst.h sig.h pathnames.h externs.h 
999 redir.o: flags.h execute_cmd.h redir.h input.h
1000 shell.o: config.h bashtypes.h ${BASHINCDIR}/posixstat.h bashansi.h ${BASHINCDIR}/ansi_stdlib.h ${BASHINCDIR}/filecntl.h
1001 shell.o: shell.h syntax.h config.h bashjmp.h ${BASHINCDIR}/posixjmp.h command.h ${BASHINCDIR}/stdc.h error.h
1002 shell.o: general.h xmalloc.h bashtypes.h variables.h arrayfunc.h conftypes.h array.h hashlib.h
1003 shell.o: quit.h ${BASHINCDIR}/maxpath.h unwind_prot.h dispose_cmd.h
1004 shell.o: make_cmd.h subst.h sig.h pathnames.h externs.h 
1005 shell.o: flags.h trap.h mailcheck.h builtins.h $(DEFSRC)/common.h
1006 shell.o: jobs.h siglist.h input.h execute_cmd.h findcmd.h bashhist.h bashline.h
1007 shell.o: ${GLOB_LIBSRC}/strmatch.h ${BASHINCDIR}/posixtime.h
1008 sig.o: config.h bashtypes.h
1009 sig.o: shell.h syntax.h config.h bashjmp.h ${BASHINCDIR}/posixjmp.h command.h ${BASHINCDIR}/stdc.h error.h
1010 sig.o: general.h xmalloc.h bashtypes.h variables.h arrayfunc.h conftypes.h array.h hashlib.h
1011 sig.o: quit.h ${BASHINCDIR}/maxpath.h unwind_prot.h dispose_cmd.h
1012 sig.o: make_cmd.h subst.h sig.h pathnames.h externs.h 
1013 sig.o: jobs.h siglist.h trap.h $(DEFSRC)/common.h bashline.h bashhist.h
1014 siglist.o: config.h bashtypes.h siglist.h trap.h 
1015 stringlib.o: bashtypes.h ${BASHINCDIR}/chartypes.h
1016 stringlib.o: shell.h syntax.h config.h bashjmp.h ${BASHINCDIR}/posixjmp.h command.h ${BASHINCDIR}/stdc.h error.h
1017 stringlib.o: general.h xmalloc.h bashtypes.h variables.h arrayfunc.h conftypes.h array.h hashlib.h
1018 stringlib.o: quit.h ${BASHINCDIR}/maxpath.h unwind_prot.h dispose_cmd.h
1019 stringlib.o: make_cmd.h subst.h sig.h pathnames.h externs.h 
1020 stringlib.o: ${GLOB_LIBSRC}/glob.h ${GLOB_LIBSRC}/strmatch.h
1021 subst.o: config.h bashtypes.h bashansi.h ${BASHINCDIR}/ansi_stdlib.h ${BASHINCDIR}/posixstat.h
1022 subst.o: shell.h syntax.h config.h bashjmp.h ${BASHINCDIR}/posixjmp.h command.h ${BASHINCDIR}/stdc.h error.h
1023 subst.o: general.h xmalloc.h bashtypes.h variables.h arrayfunc.h conftypes.h array.h hashlib.h
1024 subst.o: quit.h ${BASHINCDIR}/maxpath.h unwind_prot.h dispose_cmd.h
1025 subst.o: make_cmd.h subst.h sig.h pathnames.h externs.h 
1026 subst.o: flags.h jobs.h siglist.h execute_cmd.h ${BASHINCDIR}/filecntl.h trap.h pathexp.h
1027 subst.o: mailcheck.h input.h $(DEFSRC)/getopt.h $(DEFSRC)/common.h
1028 subst.o: bashline.h bashhist.h ${GLOB_LIBSRC}/strmatch.h
1029 subst.o: ${BASHINCDIR}/chartypes.h
1030 subst.o: ${BASHINCDIR}/shmbutil.h
1031 subst.o: ${DEFDIR}/builtext.h
1032 test.o: bashtypes.h ${BASHINCDIR}/posixstat.h ${BASHINCDIR}/filecntl.h
1033 test.o: shell.h syntax.h config.h bashjmp.h ${BASHINCDIR}/posixjmp.h command.h ${BASHINCDIR}/stdc.h error.h
1034 test.o: general.h xmalloc.h bashtypes.h variables.h arrayfunc.h conftypes.h array.h hashlib.h
1035 test.o: quit.h ${BASHINCDIR}/maxpath.h unwind_prot.h dispose_cmd.h
1036 test.o: make_cmd.h subst.h sig.h pathnames.h externs.h test.h
1037 test.o: ${DEFSRC}/common.h 
1038 trap.o: config.h bashtypes.h trap.h bashansi.h ${BASHINCDIR}/ansi_stdlib.h
1039 trap.o: shell.h syntax.h config.h bashjmp.h ${BASHINCDIR}/posixjmp.h command.h ${BASHINCDIR}/stdc.h error.h
1040 trap.o: general.h xmalloc.h bashtypes.h variables.h arrayfunc.h conftypes.h array.h hashlib.h
1041 trap.o: quit.h ${BASHINCDIR}/maxpath.h unwind_prot.h dispose_cmd.h
1042 trap.o: make_cmd.h subst.h sig.h pathnames.h externs.h 
1043 trap.o: signames.h $(DEFSRC)/common.h
1044 trap.o: ${DEFDIR}/builtext.h jobs.h
1045 unwind_prot.o: config.h bashtypes.h bashansi.h ${BASHINCDIR}/ansi_stdlib.h command.h ${BASHINCDIR}/stdc.h
1046 unwind_prot.o: general.h xmalloc.h unwind_prot.h quit.h sig.h
1047 variables.o: config.h bashtypes.h ${BASHINCDIR}/posixstat.h bashansi.h ${BASHINCDIR}/ansi_stdlib.h
1048 variables.o: shell.h syntax.h config.h bashjmp.h ${BASHINCDIR}/posixjmp.h command.h ${BASHINCDIR}/stdc.h error.h
1049 variables.o: general.h xmalloc.h bashtypes.h variables.h arrayfunc.h conftypes.h array.h hashlib.h
1050 variables.o: quit.h ${BASHINCDIR}/maxpath.h unwind_prot.h dispose_cmd.h
1051 variables.o: make_cmd.h subst.h sig.h pathnames.h externs.h 
1052 variables.o: flags.h execute_cmd.h mailcheck.h input.h $(DEFSRC)/common.h
1053 variables.o: findcmd.h bashhist.h hashcmd.h pathexp.h
1054 variables.o: pcomplete.h  ${BASHINCDIR}/chartypes.h
1055 variables.o: ${BASHINCDIR}/posixtime.h assoc.h
1056 version.o:  conftypes.h patchlevel.h version.h
1057 xmalloc.o: config.h bashtypes.h ${BASHINCDIR}/ansi_stdlib.h error.h
1058
1059 # job control
1060
1061 jobs.o: config.h bashtypes.h trap.h ${BASHINCDIR}/filecntl.h input.h ${BASHINCDIR}/shtty.h
1062 jobs.o: bashansi.h ${BASHINCDIR}/ansi_stdlib.h
1063 jobs.o: shell.h syntax.h config.h bashjmp.h ${BASHINCDIR}/posixjmp.h command.h ${BASHINCDIR}/stdc.h error.h
1064 jobs.o: general.h xmalloc.h bashtypes.h variables.h arrayfunc.h conftypes.h array.h hashlib.h
1065 jobs.o: quit.h ${BASHINCDIR}/maxpath.h unwind_prot.h dispose_cmd.h
1066 jobs.o: execute_cmd.h make_cmd.h subst.h sig.h pathnames.h externs.h 
1067 jobs.o: jobs.h flags.h $(DEFSRC)/common.h $(DEFDIR)/builtext.h
1068 jobs.o: ${BASHINCDIR}/posixwait.h ${BASHINCDIR}/unionwait.h
1069 jobs.o: ${BASHINCDIR}/posixtime.h
1070 nojobs.o: config.h bashtypes.h ${BASHINCDIR}/filecntl.h bashjmp.h ${BASHINCDIR}/posixjmp.h
1071 nojobs.o: command.h ${BASHINCDIR}/stdc.h general.h xmalloc.h jobs.h quit.h siglist.h externs.h
1072 nojobs.o: sig.h error.h ${BASHINCDIR}/shtty.h input.h
1073 nojobs.o: $(DEFDIR)/builtext.h
1074
1075 # shell features that may be compiled in
1076
1077 array.o: config.h bashansi.h ${BASHINCDIR}/ansi_stdlib.h
1078 array.o: shell.h syntax.h config.h bashjmp.h ${BASHINCDIR}/posixjmp.h command.h ${BASHINCDIR}/stdc.h error.h
1079 array.o: general.h xmalloc.h bashtypes.h variables.h arrayfunc.h conftypes.h array.h hashlib.h
1080 array.o: quit.h ${BASHINCDIR}/maxpath.h unwind_prot.h dispose_cmd.h
1081 array.o: make_cmd.h subst.h sig.h pathnames.h externs.h 
1082 array.o: $(DEFSRC)/common.h
1083 arrayfunc.o: config.h bashansi.h ${BASHINCDIR}/ansi_stdlib.h
1084 arrayfunc.o: shell.h syntax.h config.h bashjmp.h ${BASHINCDIR}/posixjmp.h command.h ${BASHINCDIR}/stdc.h error.h
1085 arrayfunc.o: general.h xmalloc.h bashtypes.h variables.h arrayfunc.h conftypes.h array.h hashlib.h
1086 arrayfunc.o: quit.h ${BASHINCDIR}/maxpath.h unwind_prot.h dispose_cmd.h
1087 arrayfunc.o: make_cmd.h subst.h sig.h pathnames.h externs.h pathexp.h
1088 arrayfunc.o: $(DEFSRC)/common.h
1089 arrayfunc.o: ${BASHINCDIR}/shmbutil.h
1090 assoc.o: config.h bashansi.h ${BASHINCDIR}/ansi_stdlib.h
1091 assoc.o: shell.h syntax.h config.h bashjmp.h ${BASHINCDIR}/posixjmp.h
1092 assoc.o: command.h ${BASHINCDIR}/stdc.h error.h
1093 assoc.o: general.h xmalloc.h bashtypes.h variables.h arrayfunc.h conftypes.h
1094 assoc.o: assoc.h hashlib.h
1095 assoc.o: quit.h ${BASHINCDIR}/maxpath.h unwind_prot.h dispose_cmd.h
1096 assoc.o: make_cmd.h subst.h sig.h pathnames.h externs.h 
1097 assoc.o: $(DEFSRC)/common.h
1098 braces.o: config.h bashansi.h ${BASHINCDIR}/ansi_stdlib.h
1099 braces.o: shell.h syntax.h config.h bashjmp.h ${BASHINCDIR}/posixjmp.h command.h ${BASHINCDIR}/stdc.h error.h
1100 braces.o: general.h xmalloc.h bashtypes.h variables.h arrayfunc.h conftypes.h array.h hashlib.h
1101 braces.o: quit.h ${BASHINCDIR}/maxpath.h unwind_prot.h dispose_cmd.h
1102 braces.o: make_cmd.h subst.h sig.h pathnames.h externs.h 
1103 braces.o: ${BASHINCDIR}/shmbutil.h
1104 alias.o: config.h bashansi.h ${BASHINCDIR}/ansi_stdlib.h command.h ${BASHINCDIR}/stdc.h
1105 alias.o: general.h xmalloc.h bashtypes.h externs.h alias.h
1106 alias.o: pcomplete.h 
1107 alias.o: ${BASHINCDIR}/chartypes.h
1108
1109 pcomplib.o: config.h bashansi.h ${BASHINCDIR}/ansi_stdlib.h bashtypes.h
1110 pcomplib.o: ${BASHINCDIR}/stdc.h hashlib.h pcomplete.h shell.h syntax.h
1111 pcomplib.o: bashjmp.h command.h general.h xmalloc.h error.h variables.h arrayfunc.h conftypes.h quit.h
1112 pcomplib.o: unwind_prot.h dispose_cmd.h make_cmd.h subst.h sig.h pathnames.h
1113 pcomplib.o: externs.h ${BASHINCDIR}/maxpath.h
1114
1115 pcomplete.o: config.h bashansi.h ${BASHINCDIR}/ansi_stdlib.h bashtypes.h
1116 pcomplete.o: ${BASHINCDIR}/stdc.h hashlib.h pcomplete.h shell.h syntax.h
1117 pcomplete.o: bashjmp.h command.h general.h xmalloc.h error.h variables.h arrayfunc.h conftypes.h quit.h
1118 pcomplete.o: unwind_prot.h dispose_cmd.h make_cmd.h subst.h sig.h pathnames.h
1119 pcomplete.o: externs.h ${BASHINCDIR}/maxpath.h execute_cmd.h 
1120
1121 # library support files
1122
1123 bashhist.o: config.h bashtypes.h bashansi.h ${BASHINCDIR}/ansi_stdlib.h ${BASHINCDIR}/posixstat.h
1124 bashhist.o: ${BASHINCDIR}/filecntl.h
1125 bashhist.o: shell.h syntax.h config.h bashjmp.h ${BASHINCDIR}/posixjmp.h command.h ${BASHINCDIR}/stdc.h error.h
1126 bashhist.o: general.h xmalloc.h bashtypes.h variables.h arrayfunc.h conftypes.h array.h hashlib.h
1127 bashhist.o: quit.h ${BASHINCDIR}/maxpath.h unwind_prot.h dispose_cmd.h
1128 bashhist.o: make_cmd.h subst.h sig.h pathnames.h externs.h 
1129 bashhist.o: flags.h input.h parser.h pathexp.h $(DEFSRC)/common.h bashline.h
1130 bashhist.o: $(GLOB_LIBSRC)/strmatch.h
1131 bashline.o: config.h bashtypes.h ${BASHINCDIR}/posixstat.h bashansi.h ${BASHINCDIR}/ansi_stdlib.h
1132 bashline.o: shell.h syntax.h config.h bashjmp.h ${BASHINCDIR}/posixjmp.h command.h ${BASHINCDIR}/stdc.h error.h
1133 bashline.o: general.h xmalloc.h bashtypes.h variables.h arrayfunc.h conftypes.h array.h hashlib.h
1134 bashline.o: quit.h ${BASHINCDIR}/maxpath.h unwind_prot.h dispose_cmd.h
1135 bashline.o: make_cmd.h subst.h sig.h pathnames.h externs.h 
1136 bashline.o: builtins.h bashhist.h bashline.h execute_cmd.h findcmd.h pathexp.h
1137 bashline.o: $(DEFSRC)/common.h $(GLOB_LIBSRC)/glob.h alias.h
1138 bashline.o: pcomplete.h ${BASHINCDIR}/chartypes.h input.h
1139 bracecomp.o: config.h bashansi.h ${BASHINCDIR}/ansi_stdlib.h
1140 bracecomp.o: shell.h syntax.h config.h bashjmp.h ${BASHINCDIR}/posixjmp.h
1141 bracecomp.o: command.h ${BASHINCDIR}/stdc.h error.h
1142 bracecomp.o: general.h xmalloc.h bashtypes.h variables.h arrayfunc.h conftypes.h
1143 bracecomp.o: array.h hashlib.h alias.h builtins.h 
1144 bracecomp.o: quit.h ${BASHINCDIR}/maxpath.h unwind_prot.h dispose_cmd.h
1145 bracecomp.o: make_cmd.h subst.h sig.h pathnames.h externs.h 
1146
1147 # library dependencies
1148
1149 bashline.o: $(RL_LIBSRC)/rlconf.h
1150 bashline.o: $(RL_LIBSRC)/keymaps.h $(RL_LIBSRC)/rlstdc.h
1151 bashline.o: $(RL_LIBSRC)/chardefs.h $(RL_LIBSRC)/readline.h
1152 bracecomp.o: $(RL_LIBSRC)/keymaps.h $(RL_LIBSRC)/chardefs.h
1153 bracecomp.o: $(RL_LIBSRC)/readline.h $(RL_LIBSRC)/rlstdc.h
1154 y.tab.o: $(RL_LIBSRC)/keymaps.h $(RL_LIBSRC)/chardefs.h
1155 y.tab.o: $(RL_LIBSRC)/readline.h $(RL_LIBSRC)/rlstdc.h
1156 subst.o: $(RL_LIBSRC)/keymaps.h $(RL_LIBSRC)/chardefs.h
1157 subst.o: $(RL_LIBSRC)/readline.h $(RL_LIBSRC)/rlstdc.h
1158
1159 shell.o: $(HIST_LIBSRC)/history.h $(HIST_LIBSRC)/rlstdc.h
1160 subst.o: $(HIST_LIBSRC)/history.h $(HIST_LIBSRC)/rlstdc.h
1161 bashline.o: $(HIST_LIBSRC)/history.h $(HIST_LIBSRC)/rlstdc.h
1162 bashhist.o: $(HIST_LIBSRC)/history.h $(HIST_LIBSRC)/rlstdc.h
1163 y.tab.o: $(HIST_LIBSRC)/history.h $(HIST_LIBSRC)/rlstdc.h
1164
1165 execute_cmd.o: $(TILDE_LIBSRC)/tilde.h
1166 general.o: $(TILDE_LIBSRC)/tilde.h
1167 mailcheck.o: $(TILDE_LIBSRC)/tilde.h
1168 shell.o: $(TILDE_LIBSRC)/tilde.h
1169 subst.o: $(TILDE_LIBSRC)/tilde.h
1170 variables.o: $(TILDE_LIBSRC)/tilde.h
1171
1172 # libintl dependencies
1173 arrayfunc.o: bashintl.h ${LIBINTL_H} $(BASHINCDIR)/gettext.h
1174 bashhist.o: bashintl.h ${LIBINTL_H} $(BASHINCDIR)/gettext.h
1175 bashline.o: bashintl.h ${LIBINTL_H} $(BASHINCDIR)/gettext.h
1176 braces.o: bashintl.h ${LIBINTL_H} $(BASHINCDIR)/gettext.h
1177 error.o: bashintl.h ${LIBINTL_H} $(BASHINCDIR)/gettext.h
1178 eval.o: bashintl.h ${LIBINTL_H} $(BASHINCDIR)/gettext.h
1179 execute_cmd.o: bashintl.h ${LIBINTL_H} $(BASHINCDIR)/gettext.h
1180 expr.o: bashintl.h ${LIBINTL_H} $(BASHINCDIR)/gettext.h
1181 general.o: bashintl.h ${LIBINTL_H} $(BASHINCDIR)/gettext.h
1182 input.o: bashintl.h ${LIBINTL_H} $(BASHINCDIR)/gettext.h
1183 jobs.o: bashintl.h ${LIBINTL_H} $(BASHINCDIR)/gettext.h
1184 mailcheck.o: bashintl.h ${LIBINTL_H} $(BASHINCDIR)/gettext.h
1185 make_cmd.o: bashintl.h ${LIBINTL_H} $(BASHINCDIR)/gettext.h
1186 nojobs.o: bashintl.h ${LIBINTL_H} $(BASHINCDIR)/gettext.h
1187 parse.y: bashintl.h ${LIBINTL_H} $(BASHINCDIR)/gettext.h
1188 pcomplete.o: bashintl.h ${LIBINTL_H} $(BASHINCDIR)/gettext.h
1189 pcomplib.o: bashintl.h ${LIBINTL_H} $(BASHINCDIR)/gettext.h
1190 print_cmd.o: bashintl.h ${LIBINTL_H} $(BASHINCDIR)/gettext.h
1191 redir.o: bashintl.h ${LIBINTL_H} $(BASHINCDIR)/gettext.h
1192 shell.o: bashintl.h ${LIBINTL_H} $(BASHINCDIR)/gettext.h
1193 sig.o: bashintl.h ${LIBINTL_H} $(BASHINCDIR)/gettext.h
1194 siglist.o: bashintl.h ${LIBINTL_H} $(BASHINCDIR)/gettext.h
1195 subst.o: bashintl.h ${LIBINTL_H} $(BASHINCDIR)/gettext.h
1196 test.o: bashintl.h ${LIBINTL_H} $(BASHINCDIR)/gettext.h
1197 trap.o: bashintl.h ${LIBINTL_H} $(BASHINCDIR)/gettext.h
1198 variables.o: bashintl.h ${LIBINTL_H} $(BASHINCDIR)/gettext.h
1199 version.o: bashintl.h ${LIBINTL_H} $(BASHINCDIR)/gettext.h
1200 xmalloc.o: bashintl.h ${LIBINTL_H} $(BASHINCDIR)/gettext.h
1201
1202 signames.o: config.h bashansi.h ${BASHINCDIR}/ansi_stdlib.h
1203
1204 # XXX - dependencies checked through here
1205
1206 # builtin c sources
1207 builtins/bashgetopt.o: config.h bashansi.h ${BASHINCDIR}/ansi_stdlib.h
1208 builtins/bashgetopt.o: shell.h syntax.h config.h bashjmp.h command.h general.h xmalloc.h error.h
1209 builtins/bashgetopt.o: variables.h arrayfunc.h conftypes.h quit.h ${BASHINCDIR}/maxpath.h unwind_prot.h dispose_cmd.h
1210 builtins/bashgetopt.o: make_cmd.h subst.h sig.h pathnames.h externs.h 
1211 builtins/bashgetopt.o: $(DEFSRC)/common.h
1212 builtins/bashgetopt.o: ${BASHINCDIR}/chartypes.h
1213 builtins/common.o: bashtypes.h ${BASHINCDIR}/posixstat.h bashansi.h ${BASHINCDIR}/ansi_stdlib.h
1214 builtins/common.o: shell.h syntax.h config.h bashjmp.h ${BASHINCDIR}/posixjmp.h sig.h command.h
1215 builtins/common.o: ${BASHINCDIR}/memalloc.h variables.h arrayfunc.h conftypes.h input.h siglist.h
1216 builtins/common.o: quit.h unwind_prot.h ${BASHINCDIR}/maxpath.h jobs.h builtins.h
1217 builtins/common.o: dispose_cmd.h make_cmd.h subst.h externs.h bashhist.h 
1218 builtins/common.o: execute_cmd.h ${BASHINCDIR}/stdc.h general.h xmalloc.h error.h pathnames.h
1219 builtins/common.o: ${DEFDIR}/builtext.h
1220 builtins/common.o: ${BASHINCDIR}/chartypes.h
1221 builtins/evalfile.o: bashtypes.h ${BASHINCDIR}/posixstat.h ${BASHINCDIR}/filecntl.h bashansi.h ${BASHINCDIR}/ansi_stdlib.h
1222 builtins/evalfile.o: shell.h syntax.h config.h bashjmp.h command.h general.h xmalloc.h error.h
1223 builtins/evalfile.o: variables.h arrayfunc.h conftypes.h quit.h ${BASHINCDIR}/maxpath.h unwind_prot.h dispose_cmd.h
1224 builtins/evalfile.o: make_cmd.h subst.h sig.h pathnames.h externs.h 
1225 builtins/evalfile.o: jobs.h builtins.h flags.h input.h execute_cmd.h
1226 builtins/evalfile.o: bashhist.h $(DEFSRC)/common.h
1227 builtins/evalstring.o: config.h bashansi.h ${BASHINCDIR}/ansi_stdlib.h
1228 builtins/evalstring.o: shell.h syntax.h bashjmp.h ${BASHINCDIR}/posixjmp.h sig.h command.h siglist.h
1229 builtins/evalstring.o: ${BASHINCDIR}/memalloc.h variables.h arrayfunc.h conftypes.h input.h
1230 builtins/evalstring.o: quit.h unwind_prot.h ${BASHINCDIR}/maxpath.h jobs.h builtins.h
1231 builtins/evalstring.o: dispose_cmd.h make_cmd.h subst.h externs.h 
1232 builtins/evalstring.o: jobs.h builtins.h flags.h input.h execute_cmd.h
1233 builtins/evalstring.o: bashhist.h $(DEFSRC)/common.h pathnames.h
1234 builtins/getopt.o: config.h ${BASHINCDIR}/memalloc.h
1235 builtins/getopt.o: shell.h syntax.h bashjmp.h command.h general.h xmalloc.h error.h
1236 builtins/getopt.o: variables.h arrayfunc.h conftypes.h quit.h ${BASHINCDIR}/maxpath.h unwind_prot.h dispose_cmd.h
1237 builtins/getopt.o: make_cmd.h subst.h sig.h pathnames.h externs.h 
1238 builtins/getopt.o: $(DEFSRC)/getopt.h
1239 builtins/mkbuiltins.o: config.h bashtypes.h ${BASHINCDIR}/posixstat.h ${BASHINCDIR}/filecntl.h
1240 builtins/mkbuiltins.o: bashansi.h ${BASHINCDIR}/ansi_stdlib.h
1241
1242 # builtin def files
1243 builtins/alias.o: command.h config.h ${BASHINCDIR}/memalloc.h error.h general.h xmalloc.h ${BASHINCDIR}/maxpath.h
1244 builtins/alias.o: quit.h $(DEFSRC)/common.h pathnames.h
1245 builtins/alias.o: shell.h syntax.h bashjmp.h ${BASHINCDIR}/posixjmp.h sig.h command.h ${BASHINCDIR}/stdc.h unwind_prot.h
1246 builtins/alias.o: dispose_cmd.h make_cmd.h subst.h externs.h variables.h arrayfunc.h conftypes.h 
1247 builtins/bind.o: command.h config.h ${BASHINCDIR}/memalloc.h error.h general.h xmalloc.h ${BASHINCDIR}/maxpath.h
1248 builtins/bind.o: dispose_cmd.h make_cmd.h subst.h externs.h ${BASHINCDIR}/stdc.h
1249 builtins/bind.o: shell.h syntax.h bashjmp.h ${BASHINCDIR}/posixjmp.h sig.h unwind_prot.h variables.h arrayfunc.h conftypes.h quit.h
1250 builtins/bind.o: $(DEFSRC)/bashgetopt.h pathnames.h
1251 builtins/break.o: command.h config.h ${BASHINCDIR}/memalloc.h error.h general.h xmalloc.h ${BASHINCDIR}/maxpath.h
1252 builtins/break.o: shell.h syntax.h bashjmp.h ${BASHINCDIR}/posixjmp.h sig.h unwind_prot.h variables.h arrayfunc.h conftypes.h quit.h
1253 builtins/break.o: dispose_cmd.h make_cmd.h subst.h externs.h ${BASHINCDIR}/stdc.h
1254 builtins/break.o: pathnames.h
1255 builtins/builtin.o: command.h config.h ${BASHINCDIR}/memalloc.h error.h general.h xmalloc.h ${BASHINCDIR}/maxpath.h
1256 builtins/builtin.o: quit.h $(DEFSRC)/common.h $(DEFSRC)/bashgetopt.h
1257 builtins/builtin.o: shell.h syntax.h bashjmp.h ${BASHINCDIR}/posixjmp.h sig.h unwind_prot.h variables.h arrayfunc.h conftypes.h 
1258 builtins/builtin.o: dispose_cmd.h make_cmd.h subst.h externs.h ${BASHINCDIR}/stdc.h
1259 builtins/builtin.o: pathnames.h
1260 builtins/caller.o: command.h config.h ${BASHINCDIR}/memalloc.h error.h general.h xmalloc.h ${BASHINCDIR}/maxpath.h
1261 builtins/caller.o: shell.h syntax.h bashjmp.h ${BASHINCDIR}/posixjmp.h sig.h unwind_prot.h variables.h arrayfunc.h conftypes.h
1262 builtins/caller.o: dispose_cmd.h make_cmd.h subst.h externs.h ${BASHINCDIR}/stdc.h
1263 builtins/caller.o: $(DEFSRC)/common.h quit.h 
1264 builtins/caller.o: ${BASHINCDIR}/chartypes.h bashtypes.h
1265 builtins/caller.o: ${DEFDIR}/builtext.h pathnames.h
1266 builtins/cd.o: command.h config.h ${BASHINCDIR}/memalloc.h error.h general.h xmalloc.h ${BASHINCDIR}/maxpath.h
1267 builtins/cd.o: shell.h syntax.h bashjmp.h ${BASHINCDIR}/posixjmp.h sig.h unwind_prot.h variables.h arrayfunc.h conftypes.h
1268 builtins/cd.o: dispose_cmd.h make_cmd.h subst.h externs.h ${BASHINCDIR}/stdc.h
1269 builtins/cd.o: $(DEFSRC)/common.h quit.h pathnames.h
1270 builtins/command.o: command.h config.h ${BASHINCDIR}/memalloc.h error.h general.h xmalloc.h ${BASHINCDIR}/maxpath.h
1271 builtins/command.o: quit.h $(DEFSRC)/bashgetopt.h
1272 builtins/command.o: shell.h syntax.h bashjmp.h ${BASHINCDIR}/posixjmp.h sig.h unwind_prot.h variables.h arrayfunc.h conftypes.h 
1273 builtins/command.o: dispose_cmd.h make_cmd.h subst.h externs.h ${BASHINCDIR}/stdc.h pathnames.h
1274 builtins/declare.o: command.h config.h ${BASHINCDIR}/memalloc.h error.h general.h xmalloc.h ${BASHINCDIR}/maxpath.h
1275 builtins/declare.o: shell.h syntax.h bashjmp.h ${BASHINCDIR}/posixjmp.h sig.h unwind_prot.h variables.h arrayfunc.h conftypes.h quit.h
1276 builtins/declare.o: dispose_cmd.h make_cmd.h subst.h externs.h ${BASHINCDIR}/stdc.h
1277 builtins/declare.o: $(DEFSRC)/bashgetopt.h pathnames.h
1278 builtins/echo.o: command.h config.h ${BASHINCDIR}/memalloc.h error.h general.h xmalloc.h ${BASHINCDIR}/maxpath.h
1279 builtins/echo.o: shell.h syntax.h bashjmp.h ${BASHINCDIR}/posixjmp.h sig.h unwind_prot.h variables.h arrayfunc.h conftypes.h quit.h
1280 builtins/echo.o: dispose_cmd.h make_cmd.h subst.h externs.h ${BASHINCDIR}/stdc.h
1281 builtins/echo.o: pathnames.h
1282 builtins/enable.o: command.h config.h ${BASHINCDIR}/memalloc.h error.h general.h xmalloc.h ${BASHINCDIR}/maxpath.h
1283 builtins/enable.o: shell.h syntax.h bashjmp.h ${BASHINCDIR}/posixjmp.h sig.h unwind_prot.h variables.h arrayfunc.h conftypes.h quit.h
1284 builtins/enable.o: dispose_cmd.h make_cmd.h subst.h externs.h ${BASHINCDIR}/stdc.h
1285 builtins/enable.o: pcomplete.h pathnames.h
1286 builtins/eval.o: command.h config.h ${BASHINCDIR}/memalloc.h error.h general.h xmalloc.h ${BASHINCDIR}/maxpath.h
1287 builtins/eval.o: shell.h syntax.h bashjmp.h ${BASHINCDIR}/posixjmp.h sig.h unwind_prot.h variables.h arrayfunc.h conftypes.h quit.h 
1288 builtins/eval.o: dispose_cmd.h make_cmd.h subst.h externs.h ${BASHINCDIR}/stdc.h
1289 builtins/eval.o: pathnames.h
1290 builtins/exec.o: bashtypes.h pathnames.h
1291 builtins/exec.o: command.h config.h ${BASHINCDIR}/memalloc.h error.h general.h xmalloc.h ${BASHINCDIR}/maxpath.h
1292 builtins/exec.o: shell.h syntax.h bashjmp.h ${BASHINCDIR}/posixjmp.h sig.h unwind_prot.h variables.h arrayfunc.h conftypes.h
1293 builtins/exec.o: dispose_cmd.h make_cmd.h subst.h externs.h execute_cmd.h 
1294 builtins/exec.o: findcmd.h flags.h quit.h $(DEFSRC)/common.h ${BASHINCDIR}/stdc.h
1295 builtins/exec.o: pathnames.h
1296 builtins/exit.o: bashtypes.h 
1297 builtins/exit.o: command.h config.h ${BASHINCDIR}/memalloc.h error.h general.h xmalloc.h ${BASHINCDIR}/maxpath.h
1298 builtins/exit.o: shell.h syntax.h bashjmp.h ${BASHINCDIR}/posixjmp.h sig.h unwind_prot.h variables.h arrayfunc.h conftypes.h quit.h
1299 builtins/exit.o: dispose_cmd.h make_cmd.h subst.h externs.h ${BASHINCDIR}/stdc.h
1300 builtins/exit.o: pathnames.h
1301 builtins/fc.o: bashtypes.h ${BASHINCDIR}/posixstat.h
1302 builtins/fc.o: bashansi.h ${BASHINCDIR}/ansi_stdlib.h builtins.h command.h ${BASHINCDIR}/stdc.h 
1303 builtins/fc.o: command.h config.h ${BASHINCDIR}/memalloc.h error.h general.h xmalloc.h ${BASHINCDIR}/maxpath.h
1304 builtins/fc.o: flags.h unwind_prot.h variables.h arrayfunc.h conftypes.h shell.h syntax.h bashjmp.h ${BASHINCDIR}/posixjmp.h sig.h 
1305 builtins/fc.o: dispose_cmd.h make_cmd.h subst.h externs.h ${BASHINCDIR}/stdc.h quit.h 
1306 builtins/fc.o: $(DEFSRC)/bashgetopt.h bashhist.h pathnames.h
1307 builtins/fc.o: ${BASHINCDIR}/chartypes.h
1308 builtins/fg_bg.o: bashtypes.h $(DEFSRC)/bashgetopt.h 
1309 builtins/fg_bg.o: command.h config.h ${BASHINCDIR}/memalloc.h error.h general.h xmalloc.h ${BASHINCDIR}/maxpath.h
1310 builtins/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
1311 builtins/fg_bg.o: dispose_cmd.h make_cmd.h subst.h externs.h ${BASHINCDIR}/stdc.h
1312 builtins/fg_bg.o: pathnames.h
1313 builtins/getopts.o: command.h config.h ${BASHINCDIR}/memalloc.h error.h general.h xmalloc.h ${BASHINCDIR}/maxpath.h
1314 builtins/getopts.o: shell.h syntax.h bashjmp.h ${BASHINCDIR}/posixjmp.h sig.h unwind_prot.h variables.h arrayfunc.h conftypes.h quit.h 
1315 builtins/getopts.o: dispose_cmd.h make_cmd.h subst.h externs.h ${BASHINCDIR}/stdc.h
1316 builtins/getopts.o: pathnames.h
1317 builtins/hash.o: bashtypes.h 
1318 builtins/hash.o: builtins.h command.h findcmd.h ${BASHINCDIR}/stdc.h $(DEFSRC)/common.h
1319 builtins/hash.o: command.h config.h ${BASHINCDIR}/memalloc.h error.h general.h xmalloc.h ${BASHINCDIR}/maxpath.h
1320 builtins/hash.o: shell.h syntax.h bashjmp.h ${BASHINCDIR}/posixjmp.h sig.h unwind_prot.h variables.h arrayfunc.h conftypes.h quit.h 
1321 builtins/hash.o: pathnames.h
1322 builtins/help.o: command.h config.h ${BASHINCDIR}/memalloc.h error.h general.h xmalloc.h ${BASHINCDIR}/maxpath.h
1323 builtins/help.o: dispose_cmd.h make_cmd.h subst.h externs.h ${BASHINCDIR}/stdc.h
1324 builtins/help.o: shell.h syntax.h bashjmp.h ${BASHINCDIR}/posixjmp.h sig.h unwind_prot.h variables.h arrayfunc.h conftypes.h quit.h
1325 builtins/help.o: $(GLOB_LIBSRC)/glob.h pathnames.h
1326 builtins/history.o: bashtypes.h pathnames.h
1327 builtins/history.o: command.h config.h ${BASHINCDIR}/memalloc.h error.h general.h xmalloc.h ${BASHINCDIR}/maxpath.h
1328 builtins/history.o: quit.h dispose_cmd.h make_cmd.h subst.h externs.h ${BASHINCDIR}/stdc.h
1329 builtins/history.o: ${BASHINCDIR}/filecntl.h shell.h syntax.h bashjmp.h ${BASHINCDIR}/posixjmp.h sig.h unwind_prot.h
1330 builtins/history.o: bashhist.h variables.h arrayfunc.h conftypes.h 
1331 builtins/inlib.o: command.h config.h ${BASHINCDIR}/memalloc.h error.h general.h xmalloc.h ${BASHINCDIR}/maxpath.h
1332 builtins/inlib.o: shell.h syntax.h bashjmp.h ${BASHINCDIR}/posixjmp.h sig.h unwind_prot.h variables.h arrayfunc.h conftypes.h quit.h 
1333 builtins/inlib.o: dispose_cmd.h make_cmd.h subst.h externs.h ${BASHINCDIR}/stdc.h
1334 builtins/inlib.o: pathnames.h
1335 builtins/jobs.o: command.h config.h ${BASHINCDIR}/memalloc.h error.h general.h xmalloc.h ${BASHINCDIR}/maxpath.h
1336 builtins/jobs.o: quit.h $(DEFSRC)/bashgetopt.h
1337 builtins/jobs.o: shell.h syntax.h bashjmp.h ${BASHINCDIR}/posixjmp.h sig.h unwind_prot.h variables.h arrayfunc.h conftypes.h 
1338 builtins/jobs.o: dispose_cmd.h make_cmd.h subst.h externs.h ${BASHINCDIR}/stdc.h
1339 builtins/jobs.o: pathnames.h
1340 builtins/kill.o: command.h config.h ${BASHINCDIR}/memalloc.h error.h general.h xmalloc.h ${BASHINCDIR}/maxpath.h
1341 builtins/kill.o: quit.h dispose_cmd.h make_cmd.h subst.h externs.h ${BASHINCDIR}/stdc.h
1342 builtins/kill.o: shell.h syntax.h bashjmp.h ${BASHINCDIR}/posixjmp.h sig.h trap.h unwind_prot.h variables.h arrayfunc.h conftypes.h 
1343 builtins/kill.o: pathnames.h
1344 builtins/let.o: command.h config.h ${BASHINCDIR}/memalloc.h error.h general.h xmalloc.h ${BASHINCDIR}/maxpath.h
1345 builtins/let.o: quit.h dispose_cmd.h make_cmd.h subst.h externs.h ${BASHINCDIR}/stdc.h
1346 builtins/let.o: shell.h syntax.h bashjmp.h ${BASHINCDIR}/posixjmp.h sig.h unwind_prot.h variables.h arrayfunc.h conftypes.h 
1347 builtins/let.o: pathnames.h
1348 builtins/printf.o: config.h ${BASHINCDIR}/memalloc.h bashjmp.h command.h error.h
1349 builtins/printf.o: general.h xmalloc.h quit.h dispose_cmd.h make_cmd.h subst.h
1350 builtins/printf.o: externs.h sig.h pathnames.h shell.h syntax.h unwind_prot.h
1351 builtins/printf.o: variables.h arrayfunc.h conftypes.h ${BASHINCDIR}/stdc.h $(DEFSRC)/bashgetopt.h
1352 builtins/printf.o: ${BASHINCDIR}/chartypes.h 
1353 builtins/pushd.o: command.h config.h ${BASHINCDIR}/memalloc.h error.h general.h xmalloc.h ${BASHINCDIR}/maxpath.h
1354 builtins/pushd.o: quit.h dispose_cmd.h make_cmd.h subst.h externs.h ${BASHINCDIR}/stdc.h
1355 builtins/pushd.o: shell.h syntax.h bashjmp.h ${BASHINCDIR}/posixjmp.h sig.h unwind_prot.h variables.h arrayfunc.h conftypes.h
1356 builtins/pushd.o: $(DEFSRC)/common.h pathnames.h
1357 builtins/read.o: command.h config.h ${BASHINCDIR}/memalloc.h error.h general.h xmalloc.h ${BASHINCDIR}/maxpath.h
1358 builtins/read.o: quit.h dispose_cmd.h make_cmd.h subst.h externs.h ${BASHINCDIR}/stdc.h
1359 builtins/read.o: shell.h syntax.h bashjmp.h ${BASHINCDIR}/posixjmp.h sig.h unwind_prot.h variables.h arrayfunc.h conftypes.h 
1360 builtins/read.o: pathnames.h
1361 builtins/return.o: command.h config.h ${BASHINCDIR}/memalloc.h error.h general.h xmalloc.h ${BASHINCDIR}/maxpath.h
1362 builtins/return.o: quit.h dispose_cmd.h make_cmd.h subst.h externs.h ${BASHINCDIR}/stdc.h
1363 builtins/return.o: shell.h syntax.h bashjmp.h ${BASHINCDIR}/posixjmp.h sig.h unwind_prot.h variables.h arrayfunc.h conftypes.h 
1364 builtins/return.o: pathnames.h
1365 builtins/set.o: command.h config.h ${BASHINCDIR}/memalloc.h error.h general.h xmalloc.h ${BASHINCDIR}/maxpath.h
1366 builtins/set.o: quit.h dispose_cmd.h make_cmd.h subst.h externs.h ${BASHINCDIR}/stdc.h
1367 builtins/set.o: shell.h syntax.h bashjmp.h ${BASHINCDIR}/posixjmp.h sig.h unwind_prot.h variables.h arrayfunc.h conftypes.h flags.h
1368 builtins/set.o: pathnames.h
1369 builtins/setattr.o: command.h config.h ${BASHINCDIR}/memalloc.h error.h general.h xmalloc.h ${BASHINCDIR}/maxpath.h
1370 builtins/setattr.o: quit.h $(DEFSRC)/common.h $(DEFSRC)/bashgetopt.h
1371 builtins/setattr.o: shell.h syntax.h bashjmp.h ${BASHINCDIR}/posixjmp.h sig.h unwind_prot.h variables.h arrayfunc.h conftypes.h 
1372 builtins/setattr.o: dispose_cmd.h make_cmd.h subst.h externs.h ${BASHINCDIR}/stdc.h
1373 builtins/setattr.o: pathnames.h
1374 builtins/shift.o: command.h config.h ${BASHINCDIR}/memalloc.h error.h general.h xmalloc.h ${BASHINCDIR}/maxpath.h
1375 builtins/shift.o: quit.h dispose_cmd.h make_cmd.h subst.h externs.h ${BASHINCDIR}/stdc.h
1376 builtins/shift.o: shell.h syntax.h bashjmp.h ${BASHINCDIR}/posixjmp.h sig.h unwind_prot.h variables.h arrayfunc.h conftypes.h 
1377 builtins/shift.o: dispose_cmd.h make_cmd.h subst.h externs.h ${BASHINCDIR}/stdc.h
1378 builtins/shift.o: pathnames.h
1379 builtins/shopt.o: command.h config.h ${BASHINCDIR}/memalloc.h error.h general.h xmalloc.h
1380 builtins/shopt.o: quit.h dispose_cmd.h make_cmd.h subst.h externs.h
1381 builtins/shopt.o: shell.h syntax.h bashjmp.h ${BASHINCDIR}/posixjmp.h unwind_prot.h variables.h arrayfunc.h conftypes.h ${BASHINCDIR}/maxpath.h
1382 builtins/shopt.o: $(DEFSRC)/common.h $(DEFSRC)/bashgetopt.h pathnames.h
1383 builtins/shopt.o: bashhist.h
1384 builtins/source.o: command.h config.h ${BASHINCDIR}/memalloc.h error.h general.h xmalloc.h ${BASHINCDIR}/maxpath.h
1385 builtins/source.o: quit.h dispose_cmd.h make_cmd.h subst.h externs.h ${BASHINCDIR}/stdc.h
1386 builtins/source.o: shell.h syntax.h bashjmp.h ${BASHINCDIR}/posixjmp.h sig.h unwind_prot.h variables.h arrayfunc.h conftypes.h
1387 builtins/source.o: findcmd.h $(DEFSRC)/bashgetopt.h flags.h trap.h
1388 builtins/source.o: pathnames.h
1389 builtins/suspend.o: command.h config.h ${BASHINCDIR}/memalloc.h error.h general.h xmalloc.h ${BASHINCDIR}/maxpath.h
1390 builtins/suspend.o: quit.h dispose_cmd.h make_cmd.h subst.h externs.h ${BASHINCDIR}/stdc.h
1391 builtins/suspend.o: shell.h syntax.h bashjmp.h ${BASHINCDIR}/posixjmp.h sig.h unwind_prot.h variables.h arrayfunc.h conftypes.h 
1392 builtins/suspend.o: pathnames.h
1393 builtins/test.o: command.h config.h ${BASHINCDIR}/memalloc.h error.h general.h xmalloc.h ${BASHINCDIR}/maxpath.h
1394 builtins/test.o: quit.h dispose_cmd.h make_cmd.h subst.h externs.h ${BASHINCDIR}/stdc.h
1395 builtins/test.o: shell.h syntax.h bashjmp.h ${BASHINCDIR}/posixjmp.h sig.h unwind_prot.h variables.h arrayfunc.h conftypes.h 
1396 builtins/test.o: test.h pathnames.h
1397 builtins/times.o: command.h config.h ${BASHINCDIR}/memalloc.h error.h general.h xmalloc.h ${BASHINCDIR}/maxpath.h
1398 builtins/times.o: quit.h dispose_cmd.h make_cmd.h subst.h externs.h ${BASHINCDIR}/stdc.h
1399 builtins/times.o: shell.h syntax.h bashjmp.h ${BASHINCDIR}/posixjmp.h sig.h unwind_prot.h variables.h arrayfunc.h conftypes.h 
1400 builtins/times.o: pathnames.h
1401 builtins/trap.o: command.h config.h ${BASHINCDIR}/memalloc.h error.h general.h xmalloc.h ${BASHINCDIR}/maxpath.h
1402 builtins/trap.o: quit.h $(DEFSRC)/common.h
1403 builtins/trap.o: shell.h syntax.h bashjmp.h ${BASHINCDIR}/posixjmp.h sig.h unwind_prot.h variables.h arrayfunc.h conftypes.h 
1404 builtins/trap.o: dispose_cmd.h make_cmd.h subst.h externs.h ${BASHINCDIR}/stdc.h
1405 builtins/trap.o: pathnames.h
1406 builtins/type.o: command.h config.h ${BASHINCDIR}/memalloc.h error.h general.h xmalloc.h ${BASHINCDIR}/maxpath.h
1407 builtins/type.o: quit.h $(DEFSRC)/common.h findcmd.h
1408 builtins/type.o: shell.h syntax.h bashjmp.h ${BASHINCDIR}/posixjmp.h sig.h unwind_prot.h variables.h arrayfunc.h conftypes.h
1409 builtins/type.o: dispose_cmd.h make_cmd.h subst.h externs.h ${BASHINCDIR}/stdc.h
1410 builtins/type.o: pathnames.h
1411 builtins/ulimit.o: command.h config.h ${BASHINCDIR}/memalloc.h error.h general.h xmalloc.h ${BASHINCDIR}/maxpath.h
1412 builtins/ulimit.o: quit.h dispose_cmd.h make_cmd.h subst.h externs.h ${BASHINCDIR}/stdc.h
1413 builtins/ulimit.o: shell.h syntax.h bashjmp.h ${BASHINCDIR}/posixjmp.h sig.h unwind_prot.h variables.h arrayfunc.h conftypes.h 
1414 builtins/ulimit.o: pathnames.h
1415 builtins/umask.o: command.h config.h ${BASHINCDIR}/memalloc.h error.h general.h xmalloc.h ${BASHINCDIR}/maxpath.h
1416 builtins/umask.o: quit.h dispose_cmd.h make_cmd.h subst.h externs.h ${BASHINCDIR}/stdc.h
1417 builtins/umask.o: shell.h syntax.h bashjmp.h ${BASHINCDIR}/posixjmp.h sig.h unwind_prot.h variables.h arrayfunc.h conftypes.h 
1418 builtins/umask.o: ${BASHINCDIR}/chartypes.h pathnames.h
1419 builtins/wait.o: command.h config.h ${BASHINCDIR}/memalloc.h error.h general.h xmalloc.h ${BASHINCDIR}/maxpath.h
1420 builtins/wait.o: quit.h dispose_cmd.h make_cmd.h subst.h externs.h ${BASHINCDIR}/stdc.h
1421 builtins/wait.o: shell.h syntax.h bashjmp.h ${BASHINCDIR}/posixjmp.h sig.h unwind_prot.h variables.h arrayfunc.h conftypes.h
1422 builtins/wait.o: ${BASHINCDIR}/chartypes.h pathnames.h
1423
1424 builtins/complete.o: config.h shell.h syntax.h bashjmp.h ${BASHINCDIR}/posixjmp.h sig.h
1425 builtins/complete.o: unwind_prot.h variables.h arrayfunc.h conftypes.h
1426 builtins/complete.o: bashtypes.h bashansi.h ${BASHINCDIR}/ansi_stdlib.h
1427 builtins/complete.o: builtins.h pathnames.h
1428 builtins/complete.o: pcomplete.h
1429 builtins/complete.o: ${DEFSRC}/common.h ${DEFSRC}/bashgetopt.h
1430 builtins/mapfile.o: command.h config.h ${BASHINCDIR}/memalloc.h error.h general.h xmalloc.h ${BASHINCDIR}/maxpath.h
1431 builtins/mapfile.o: quit.h dispose_cmd.h make_cmd.h subst.h externs.h ${BASHINCDIR}/stdc.h
1432 builtins/mapfile.o: shell.h syntax.h bashjmp.h ${BASHINCDIR}/posixjmp.h sig.h unwind_prot.h variables.h arrayfunc.h conftypes.h 
1433 builtins/mapfile.o: pathnames.h
1434
1435 # libintl dependencies
1436 builtins/bind.o: ${topdir}/bashintl.h ${LIBINTL_H} $(BASHINCDIR)/gettext.h
1437 builtins/break.o: ${topdir}/bashintl.h ${LIBINTL_H} $(BASHINCDIR)/gettext.h
1438 builtins/caller.o: ${topdir}/bashintl.h ${LIBINTL_H} $(BASHINCDIR)/gettext.h
1439 builtins/cd.o: ${topdir}/bashintl.h ${LIBINTL_H} $(BASHINCDIR)/gettext.h
1440 builtins/common.c: ${topdir}/bashintl.h ${LIBINTL_H} $(BASHINCDIR)/gettext.h
1441 builtins/complete.o: ${topdir}/bashintl.h ${LIBINTL_H} $(BASHINCDIR)/gettext.h
1442 builtins/declare.o: ${topdir}/bashintl.h ${LIBINTL_H} $(BASHINCDIR)/gettext.h
1443 builtins/enable.o: ${topdir}/bashintl.h ${LIBINTL_H} $(BASHINCDIR)/gettext.h
1444 builtins/evalfile.c: ${topdir}/bashintl.h ${LIBINTL_H} $(BASHINCDIR)/gettext.h
1445 builtins/exec.o: ${topdir}/bashintl.h ${LIBINTL_H} $(BASHINCDIR)/gettext.h
1446 builtins/exit.o: ${topdir}/bashintl.h ${LIBINTL_H} $(BASHINCDIR)/gettext.h
1447 builtins/fc.o: ${topdir}/bashintl.h ${LIBINTL_H} $(BASHINCDIR)/gettext.h
1448 builtins/fg_bg.o: ${topdir}/bashintl.h ${LIBINTL_H} $(BASHINCDIR)/gettext.h
1449 builtins/getopt.c: ${topdir}/bashintl.h ${LIBINTL_H} $(BASHINCDIR)/gettext.h
1450 builtins/hash.o: ${topdir}/bashintl.h ${LIBINTL_H} $(BASHINCDIR)/gettext.h
1451 builtins/help.o: ${topdir}/bashintl.h ${LIBINTL_H} $(BASHINCDIR)/gettext.h
1452 builtins/history.o: ${topdir}/bashintl.h ${LIBINTL_H} $(BASHINCDIR)/gettext.h
1453 builtins/inlib.o: ${topdir}/bashintl.h ${LIBINTL_H} $(BASHINCDIR)/gettext.h
1454 builtins/jobs.o: ${topdir}/bashintl.h ${LIBINTL_H} $(BASHINCDIR)/gettext.h
1455 builtins/kill.o: ${topdir}/bashintl.h ${LIBINTL_H} $(BASHINCDIR)/gettext.h
1456 builtins/let.o: ${topdir}/bashintl.h ${LIBINTL_H} $(BASHINCDIR)/gettext.h
1457 builtins/mapfile.o: ${topdir}/bashintl.h ${LIBINTL_H} $(BASHINCDIR)/gettext.h
1458 builtins/mkbuiltins.o: ${topdir}/bashintl.h ${LIBINTL_H} $(BASHINCDIR)/gettext.h
1459 builtins/printf.o: ${topdir}/bashintl.h ${LIBINTL_H} $(BASHINCDIR)/gettext.h
1460 builtins/pushd.o: ${topdir}/bashintl.h ${LIBINTL_H} $(BASHINCDIR)/gettext.h
1461 builtins/read.o: ${topdir}/bashintl.h ${LIBINTL_H} $(BASHINCDIR)/gettext.h
1462 builtins/return.o: ${topdir}/bashintl.h ${LIBINTL_H} $(BASHINCDIR)/gettext.h
1463 builtins/set.o: ${topdir}/bashintl.h ${LIBINTL_H} $(BASHINCDIR)/gettext.h
1464 builtins/setattr.o: ${topdir}/bashintl.h ${LIBINTL_H} $(BASHINCDIR)/gettext.h
1465 builtins/shift.o: ${topdir}/bashintl.h ${LIBINTL_H} $(BASHINCDIR)/gettext.h
1466 builtins/shopt.o: ${topdir}/bashintl.h ${LIBINTL_H} $(BASHINCDIR)/gettext.h
1467 builtins/source.o: ${topdir}/bashintl.h ${LIBINTL_H} $(BASHINCDIR)/gettext.h
1468 builtins/suspend.o: ${topdir}/bashintl.h ${LIBINTL_H} $(BASHINCDIR)/gettext.h
1469 builtins/type.o: ${topdir}/bashintl.h ${LIBINTL_H} $(BASHINCDIR)/gettext.h
1470 builtins/ulimit.o: ${topdir}/bashintl.h ${LIBINTL_H} $(BASHINCDIR)/gettext.h
1471 builtins/umask.o: ${topdir}/bashintl.h ${LIBINTL_H} $(BASHINCDIR)/gettext.h
1472
1473 # builtin library dependencies
1474 builtins/bind.o: $(RL_LIBSRC)/chardefs.h $(RL_LIBSRC)/readline.h
1475 builtins/bind.o: $(RL_LIBSRC)/keymaps.h $(RL_LIBSRC)/rlstdc.h
1476
1477 builtins/bind.o: $(HIST_LIBSRC)/history.h $(RL_LIBSRC)/rlstdc.h
1478 builtins/fc.o: $(HIST_LIBSRC)/history.h $(RL_LIBSRC)/rlstdc.h
1479 builtins/history.o: $(HIST_LIBSRC)/history.h $(RL_LIBSRC)/rlstdc.h
1480
1481 builtins/common.o: $(TILDE_LIBSRC)/tilde.h
1482 builtins/cd.o: $(TILDE_LIBSRC)/tilde.h 
1483
1484 builtins/alias.o: $(DEFSRC)/alias.def
1485 builtins/bind.o: $(DEFSRC)/bind.def
1486 builtins/break.o: $(DEFSRC)/break.def
1487 builtins/builtin.o: $(DEFSRC)/builtin.def
1488 builtins/caller.o: $(DEFSRC)/caller.def
1489 builtins/cd.o: $(DEFSRC)/cd.def
1490 builtins/colon.o: $(DEFSRC)/colon.def
1491 builtins/command.o: $(DEFSRC)/command.def
1492 builtins/complete.o: $(DEFSRC)/complete.def
1493 builtins/declare.o: $(DEFSRC)/declare.def
1494 builtins/echo.o: $(DEFSRC)/echo.def
1495 builtins/enable.o: $(DEFSRC)/enable.def
1496 builtins/eval.o: $(DEFSRC)/eval.def
1497 builtins/exec.o: $(DEFSRC)/exec.def
1498 builtins/exit.o: $(DEFSRC)/exit.def
1499 builtins/fc.o: $(DEFSRC)/fc.def
1500 builtins/fg_bg.o: $(DEFSRC)/fg_bg.def
1501 builtins/getopts.o: $(DEFSRC)/getopts.def
1502 builtins/hash.o: $(DEFSRC)/hash.def
1503 builtins/help.o: $(DEFSRC)/help.def
1504 builtins/history.o: $(DEFSRC)/history.def
1505 builtins/inlib.o: $(DEFSRC)/inlib.def
1506 builtins/jobs.o: $(DEFSRC)/jobs.def
1507 builtins/kill.o: $(DEFSRC)/kill.def
1508 builtins/let.o: $(DEFSRC)/let.def
1509 builtins/mapfile.o: $(DEFSRC)/mapfile.def
1510 builtins/pushd.o: $(DEFSRC)/pushd.def
1511 builtins/read.o: $(DEFSRC)/read.def
1512 builtins/reserved.o: $(DEFSRC)/reserved.def
1513 builtins/return.o: $(DEFSRC)/return.def
1514 builtins/set.o: $(DEFSRC)/set.def
1515 builtins/setattr.o: $(DEFSRC)/setattr.def
1516 builtins/shift.o: $(DEFSRC)/shift.def
1517 builtins/shopt.o: $(DEFSRC)/shopt.def
1518 builtins/source.o: $(DEFSRC)/source.def
1519 builtins/suspend.o: $(DEFSRC)/suspend.def
1520 builtins/test.o: $(DEFSRC)/test.def
1521 builtins/times.o: $(DEFSRC)/times.def
1522 builtins/trap.o: $(DEFSRC)/trap.def
1523 builtins/type.o: $(DEFSRC)/type.def
1524 builtins/ulimit.o: $(DEFSRC)/ulimit.def
1525 builtins/umask.o: $(DEFSRC)/umask.def
1526 builtins/wait.o: $(DEFSRC)/wait.def