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