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