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