source: trunk/essentials/app-shells/bash/Makefile.in@ 3277

Last change on this file since 3277 was 3273, checked in by bird, 18 years ago

PATH_SEPARATOR stuff.

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