source: vendor/bash/3.1/Makefile.in@ 3538

Last change on this file since 3538 was 3228, checked in by bird, 18 years ago

bash 3.1

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