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