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