]>
Commit | Line | Data |
---|---|---|
74091dd4 | 1 | # Makefile for bash-5.2, version 5.1 |
d166f048 | 2 | # |
74091dd4 | 3 | # Copyright (C) 1996-2021 Free Software Foundation, Inc. |
bb70624e | 4 | |
3185942a JA |
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 3 of the License, or | |
8 | # (at your option) any later version. | |
bb70624e | 9 | |
3185942a JA |
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. | |
bb70624e | 14 | |
3185942a JA |
15 | # You should have received a copy of the GNU General Public License |
16 | # along with this program. If not, see <http://www.gnu.org/licenses/>. | |
bb70624e | 17 | |
ccc6cda3 JA |
18 | # Make sure the first target in the makefile is the right one |
19 | all: .made | |
20 | ||
b80f6443 JA |
21 | PACKAGE = @PACKAGE_NAME@ |
22 | VERSION = @PACKAGE_VERSION@ | |
23 | ||
24 | PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ | |
25 | PACKAGE_NAME = @PACKAGE_NAME@ | |
26 | PACKAGE_STRING = @PACKAGE_STRING@ | |
27 | PACKAGE_VERSION = @PACKAGE_VERSION@ | |
28 | ||
ac50fbac CR |
29 | PACKAGE_TARNAME = @PACKAGE_TARNAME@ |
30 | ||
ccc6cda3 JA |
31 | # Include some boilerplate Gnu makefile definitions. |
32 | prefix = @prefix@ | |
33 | ||
34 | exec_prefix = @exec_prefix@ | |
3185942a JA |
35 | |
36 | datarootdir = @datarootdir@ | |
37 | ||
ccc6cda3 JA |
38 | bindir = @bindir@ |
39 | libdir = @libdir@ | |
40 | infodir = @infodir@ | |
41 | includedir = @includedir@ | |
7117c2d2 | 42 | datadir = @datadir@ |
3185942a | 43 | localedir = @localedir@ |
d233b485 | 44 | pkgconfigdir = ${libdir}/pkgconfig |
ccc6cda3 | 45 | |
a0c0a00f CR |
46 | loadablesdir = @loadablesdir@ |
47 | headersdir = @headersdir@ | |
48 | ||
ac50fbac CR |
49 | docdir = @docdir@ |
50 | ||
ccc6cda3 JA |
51 | mandir = @mandir@ |
52 | manpfx = man | |
53 | ||
f73dda09 JA |
54 | man1ext = .1 |
55 | man1dir = $(mandir)/$(manpfx)1 | |
56 | man3ext = .3 | |
57 | man3dir = $(mandir)/$(manpfx)3 | |
ccc6cda3 | 58 | |
bb70624e JA |
59 | htmldir = @htmldir@ |
60 | ||
f73dda09 JA |
61 | # Support an alternate destination root directory for package building |
62 | DESTDIR = | |
63 | ||
ccc6cda3 JA |
64 | topdir = @top_srcdir@ |
65 | BUILD_DIR = @BUILD_DIR@ | |
b80f6443 | 66 | top_builddir = @BUILD_DIR@ |
ccc6cda3 | 67 | srcdir = @srcdir@ |
a0c0a00f | 68 | VPATH = @srcdir@ |
ccc6cda3 JA |
69 | |
70 | @SET_MAKE@ | |
71 | CC = @CC@ | |
cce855bc | 72 | CC_FOR_BUILD = @CC_FOR_BUILD@ |
ccc6cda3 | 73 | YACC = @YACC@ |
b72432fd | 74 | SHELL = @MAKE_SHELL@ |
ccc6cda3 JA |
75 | CP = cp |
76 | RM = rm -f | |
77 | AR = @AR@ | |
b72432fd | 78 | ARFLAGS = @ARFLAGS@ |
ccc6cda3 | 79 | RANLIB = @RANLIB@ |
95732b49 | 80 | SIZE = @SIZE@ |
d233b485 | 81 | STRIP = strip |
ccc6cda3 JA |
82 | |
83 | INSTALL = @INSTALL@ | |
84 | INSTALL_PROGRAM = @INSTALL_PROGRAM@ | |
7117c2d2 | 85 | INSTALL_SCRIPT = @INSTALL_SCRIPT@ |
ccc6cda3 | 86 | INSTALL_DATA = @INSTALL_DATA@ |
b72432fd | 87 | INSTALLMODE= -m 0755 |
bb70624e | 88 | INSTALLMODE2 = -m 0555 |
ccc6cda3 | 89 | |
74091dd4 CR |
90 | CTAGS = ctags |
91 | CTAGSFLAGS = -x | |
92 | ETAGS = etags | |
93 | ETAGSFLAGS = | |
94 | ||
d166f048 JA |
95 | TESTSCRIPT = @TESTSCRIPT@ |
96 | ||
3185942a JA |
97 | DEBUGGER_START_FILE = @DEBUGGER_START_FILE@ |
98 | ||
a0c0a00f CR |
99 | #If you have purify, and want to use it, run the make as `make PURIFY=purify' |
100 | #PURIFY = @PURIFY@ | |
ccc6cda3 JA |
101 | |
102 | # Here is a rule for making .o files from .c files that does not | |
103 | # force the type of the machine (like -M_MACHINE) into the flags. | |
104 | .c.o: | |
105 | $(RM) $@ | |
106 | $(CC) $(CCFLAGS) -c $< | |
107 | ||
bb70624e | 108 | EXEEXT = @EXEEXT@ |
f73dda09 JA |
109 | OBJEXT = @OBJEXT@ |
110 | ||
111 | # The name of this program and some version information. | |
112 | VERSPROG = bashversion$(EXEEXT) | |
113 | VERSOBJ = bashversion.$(OBJEXT) | |
114 | ||
bb70624e | 115 | Program = bash$(EXEEXT) |
d166f048 | 116 | Version = @BASHVERS@ |
f73dda09 | 117 | PatchLevel = `$(BUILD_DIR)/$(VERSPROG) -p` |
7117c2d2 | 118 | RELSTATUS = @RELSTATUS@ |
d166f048 | 119 | |
ccc6cda3 JA |
120 | Machine = @host_cpu@ |
121 | OS = @host_os@ | |
b72432fd | 122 | VENDOR = @host_vendor@ |
ccc6cda3 JA |
123 | MACHTYPE = @host@ |
124 | ||
28ef6c31 | 125 | # comment out for release |
7117c2d2 JA |
126 | DEBUG = @DEBUG@ |
127 | MALLOC_DEBUG = @MALLOC_DEBUG@ | |
28ef6c31 | 128 | |
ccc6cda3 JA |
129 | THIS_SH = $(BUILD_DIR)/$(Program) |
130 | ||
131 | # PROFILE_FLAGS is either -pg, to generate profiling info for use | |
132 | # with gprof, or nothing (the default). | |
cce855bc | 133 | PROFILE_FLAGS= @PROFILE_FLAGS@ |
ccc6cda3 | 134 | |
ccc6cda3 | 135 | CFLAGS = @CFLAGS@ |
95732b49 | 136 | CFLAGS_FOR_BUILD = @CFLAGS_FOR_BUILD@ @CROSS_COMPILE@ |
cce855bc | 137 | CPPFLAGS = @CPPFLAGS@ |
7117c2d2 | 138 | CPPFLAGS_FOR_BUILD = @CPPFLAGS_FOR_BUILD@ |
95732b49 | 139 | LOCAL_CFLAGS = @LOCAL_CFLAGS@ ${DEBUG} ${MALLOC_DEBUG} |
74091dd4 | 140 | STYLE_CFLAGS = @STYLE_CFLAGS@ |
ccc6cda3 | 141 | DEFS = @DEFS@ |
d166f048 | 142 | LOCAL_DEFS = @LOCAL_DEFS@ |
7117c2d2 | 143 | |
b80f6443 JA |
144 | LOCALE_DEFS = -DLOCALEDIR='"$(localedir)"' -DPACKAGE='"$(PACKAGE)"' |
145 | ||
ccc6cda3 | 146 | LOCAL_LIBS = @LOCAL_LIBS@ |
b72432fd | 147 | LIBS = $(BUILTINS_LIB) $(LIBRARIES) @LIBS@ |
0628567a JA |
148 | LIBS_FOR_BUILD = |
149 | ||
b72432fd | 150 | STATIC_LD = @STATIC_LD@ |
ccc6cda3 JA |
151 | LOCAL_LDFLAGS = @LOCAL_LDFLAGS@ |
152 | ||
b80f6443 | 153 | SYSTEM_FLAGS = -DPROGRAM='"$(Program)"' -DCONF_HOSTTYPE='"$(Machine)"' -DCONF_OSTYPE='"$(OS)"' -DCONF_MACHTYPE='"$(MACHTYPE)"' -DCONF_VENDOR='"$(VENDOR)"' $(LOCALE_DEFS) |
ccc6cda3 | 154 | |
d233b485 | 155 | BASE_CCFLAGS = $(SYSTEM_FLAGS) $(LOCAL_DEFS) \ |
74091dd4 | 156 | $(DEFS) $(LOCAL_CFLAGS) $(INCLUDES) $(STYLE_CFLAGS) |
7117c2d2 | 157 | |
d233b485 | 158 | CCFLAGS = $(ADDON_CFLAGS) $(BASE_CCFLAGS) ${PROFILE_FLAGS} $(CPPFLAGS) $(CFLAGS) |
f73dda09 | 159 | |
7117c2d2 JA |
160 | CCFLAGS_FOR_BUILD = $(BASE_CCFLAGS) $(CPPFLAGS_FOR_BUILD) $(CFLAGS_FOR_BUILD) |
161 | ||
d233b485 CR |
162 | BASE_LDFLAGS = @LDFLAGS@ $(LOCAL_LDFLAGS) $(CFLAGS) |
163 | LDFLAGS = ${ADDON_LDFLAGS} ${BASE_LDFLAGS} ${PROFILE_FLAGS} ${STATIC_LD} | |
0001803f | 164 | LDFLAGS_FOR_BUILD = @LDFLAGS_FOR_BUILD@ $(LOCAL_LDFLAGS) $(CFLAGS_FOR_BUILD) |
ccc6cda3 | 165 | |
d233b485 CR |
166 | ASAN_XCFLAGS = -fsanitize=address -fno-omit-frame-pointer |
167 | ASAN_XLDFLAGS = -fsanitize=address | |
168 | ||
169 | GCOV_XCFLAGS = -fprofile-arcs -ftest-coverage | |
170 | GCOV_XLDFLAGS = -fprofile-arcs -ftest-coverage | |
171 | ||
b80f6443 | 172 | INCLUDES = -I. @RL_INCLUDE@ -I$(srcdir) -I$(BASHINCDIR) -I$(LIBSRC) $(INTL_INC) |
ccc6cda3 | 173 | |
0628567a JA |
174 | # Maybe add: -Wextra |
175 | GCC_LINT_FLAGS = -O -Wall -Wshadow -Wpointer-arith -Wcast-qual -Wno-parentheses \ | |
176 | -Wcast-align -Wstrict-prototypes -Wconversion -Wformat \ | |
177 | -Wformat-nonliteral -Wmissing-braces -Wuninitialized \ | |
178 | -Wmissing-declarations -Winline \ | |
74091dd4 CR |
179 | -Wmissing-prototypes -Wtraditional -Wredundant-decls \ |
180 | -Wformat-security -pedantic | |
f73dda09 | 181 | |
7117c2d2 | 182 | GCC_LINT_CFLAGS = $(BASE_CCFLAGS) $(CPPFLAGS) $(GCC_LINT_FLAGS) |
ccc6cda3 JA |
183 | |
184 | # | |
185 | # Support libraries | |
186 | # | |
187 | ||
188 | dot = . | |
189 | ||
190 | LIBSUBDIR = lib | |
191 | LIBSRC = $(srcdir)/$(LIBSUBDIR) | |
192 | ||
b80f6443 JA |
193 | LIBBUILD = ${BUILD_DIR}/${LIBSUBDIR} |
194 | ||
f73dda09 | 195 | SUBDIR_INCLUDES = -I. @RL_INCLUDE@ -I$(topdir) -I$(topdir)/$(LIBSUBDIR) |
ccc6cda3 | 196 | |
b80f6443 JA |
197 | BUILD_INCLUDED_LIBINTL = @BUILD_INCLUDED_LIBINTL@ |
198 | USE_INCLUDED_LIBINTL = @USE_INCLUDED_LIBINTL@ | |
199 | ||
cce855bc JA |
200 | # the bash library |
201 | # the library is a mix of functions that the C library does not provide on | |
202 | # some platforms and general shell utility functions | |
203 | SH_LIBSRC = $(LIBSRC)/sh | |
204 | SH_LIBDIR = $(dot)/${LIBSUBDIR}/sh | |
205 | SH_ABSSRC = ${topdir}/${SH_LIBSRC} | |
206 | ||
7117c2d2 JA |
207 | SHLIB_SOURCE = ${SH_LIBSRC}/clktck.c ${SH_LIBSRC}/getcwd.c \ |
208 | ${SH_LIBSRC}/getenv.c ${SH_LIBSRC}/oslib.c \ | |
495aee44 | 209 | ${SH_LIBSRC}/setlinebuf.c ${SH_LIBSRC}/strchrnul.c \ |
ac50fbac CR |
210 | ${SH_LIBSRC}/strcasecmp.c ${SH_LIBSRC}/strdup.c \ |
211 | ${SH_LIBSRC}/strerror.c \ | |
7117c2d2 JA |
212 | ${SH_LIBSRC}/strtod.c ${SH_LIBSRC}/strtol.c \ |
213 | ${SH_LIBSRC}/strtoul.c ${SH_LIBSRC}/vprint.c \ | |
214 | ${SH_LIBSRC}/itos.c ${SH_LIBSRC}/rename.c \ | |
215 | ${SH_LIBSRC}/zread.c ${SH_LIBSRC}/zwrite.c \ | |
216 | ${SH_LIBSRC}/shtty.c ${SH_LIBSRC}/inet_aton.c \ | |
217 | ${SH_LIBSRC}/netopen.c ${SH_LIBSRC}/strpbrk.c \ | |
218 | ${SH_LIBSRC}/timeval.c ${SH_LIBSRC}/clock.c \ | |
219 | ${SH_LIBSRC}/makepath.c ${SH_LIBSRC}/pathcanon.c \ | |
220 | ${SH_LIBSRC}/pathphys.c ${SH_LIBSRC}/stringlist.c \ | |
221 | ${SH_LIBSRC}/stringvec.c ${SH_LIBSRC}/tmpfile.c \ | |
222 | ${SH_LIBSRC}/spell.c ${SH_LIBSRC}/strtrans.c \ | |
0001803f | 223 | ${SH_LIBSRC}/strcasestr.c ${SH_LIBSRC}/shquote.c \ |
7117c2d2 JA |
224 | ${SH_LIBSRC}/snprintf.c ${SH_LIBSRC}/mailstat.c \ |
225 | ${SH_LIBSRC}/fmtulong.c ${SH_LIBSRC}/fmtullong.c \ | |
226 | ${SH_LIBSRC}/strtoll.c ${SH_LIBSRC}/strtoull.c \ | |
227 | ${SH_LIBSRC}/strtoimax.c ${SH_LIBSRC}/strtoumax.c \ | |
228 | ${SH_LIBSRC}/fmtumax.c ${SH_LIBSRC}/netconn.c \ | |
229 | ${SH_LIBSRC}/mktime.c ${SH_LIBSRC}/strftime.c \ | |
0001803f | 230 | ${SH_LIBSRC}/memset.c ${SH_LIBSRC}/mbschr.c \ |
95732b49 | 231 | ${SH_LIBSRC}/zcatfd.c ${SH_LIBSRC}/shmatch.c \ |
0628567a | 232 | ${SH_LIBSRC}/strnlen.c ${SH_LIBSRC}/winsize.c \ |
3185942a JA |
233 | ${SH_LIBSRC}/eaccess.c ${SH_LIBSRC}/wcsdup.c \ |
234 | ${SH_LIBSRC}/zmapfd.c ${SH_LIBSRC}/fpurge.c \ | |
235 | ${SH_LIBSRC}/zgetline.c ${SH_LIBSRC}/mbscmp.c \ | |
236 | ${SH_LIBSRC}/casemod.c ${SH_LIBSRC}/uconvert.c \ | |
495aee44 | 237 | ${SH_LIBSRC}/ufuncs.c ${SH_LIBSRC}/dprintf.c \ |
0001803f | 238 | ${SH_LIBSRC}/input_avail.c ${SH_LIBSRC}/mbscasecmp.c \ |
495aee44 | 239 | ${SH_LIBSRC}/fnxform.c ${SH_LIBSRC}/unicode.c \ |
ac50fbac | 240 | ${SH_LIBSRC}/wcswidth.c ${SH_LIBSRC}/wcsnwidth.c \ |
8868edaf | 241 | ${SH_LIBSRC}/shmbchar.c ${SH_LIBSRC}/utf8.c \ |
74091dd4 CR |
242 | ${SH_LIBSRC}/random.c ${SH_LIBSRC}/gettimeofday.c \ |
243 | ${SH_LIBSRC}/timers.c ${SH_LIBSRC}/strvis.c | |
cce855bc JA |
244 | |
245 | SHLIB_LIB = -lsh | |
246 | SHLIB_LIBNAME = libsh.a | |
247 | SHLIB_LIBRARY = ${SH_LIBDIR}/${SHLIB_LIBNAME} | |
248 | SHLIB_LDFLAGS = -L${SH_LIBDIR} | |
249 | SHLIB_DEP = ${SHLIB_LIBRARY} | |
250 | ||
ccc6cda3 JA |
251 | # we assume for now that readline source is being shipped with bash |
252 | RL_LIBSRC = $(LIBSRC)/readline | |
253 | RL_LIBDOC = $(RL_LIBSRC)/doc | |
b72432fd | 254 | RL_LIBDIR = @RL_LIBDIR@ |
ccc6cda3 JA |
255 | RL_ABSSRC = ${topdir}/$(RL_LIBDIR) |
256 | ||
f73dda09 JA |
257 | RL_INCLUDEDIR = @RL_INCLUDEDIR@ |
258 | ||
ccc6cda3 JA |
259 | READLINE_LIB = @READLINE_LIB@ |
260 | READLINE_LIBRARY = $(RL_LIBDIR)/libreadline.a | |
261 | READLINE_LDFLAGS = -L${RL_LIBDIR} | |
262 | READLINE_DEP = @READLINE_DEP@ | |
263 | ||
264 | # The source, object and documentation of the GNU Readline library. | |
265 | READLINE_SOURCE = $(RL_LIBSRC)/rldefs.h $(RL_LIBSRC)/rlconf.h \ | |
266 | $(RL_LIBSRC)/readline.h $(RL_LIBSRC)/tcap.h \ | |
267 | $(RL_LIBSRC)/chardefs.h $(RL_LIBSRC)/keymaps.h \ | |
268 | $(RL_LIBSRC)/history.h $(RL_LIBSRC)/histlib.h \ | |
269 | $(RL_LIBSRC)/posixstat.h $(RL_LIBSRC)/tilde.h \ | |
bb70624e JA |
270 | $(RL_LIBSRC)/rlstdc.h ${RL_LIBSRC}/xmalloc.h \ |
271 | $(RL_LIBSRC)/rlshell.h ${RL_LIBSRC}/rlprivate.h \ | |
ac50fbac | 272 | $(RL_LIBSRC)/colors.h $(RL_LIBSRC)/parse-colors.h \ |
ccc6cda3 JA |
273 | $(RL_LIBSRC)/funmap.c $(RL_LIBSRC)/emacs_keymap.c \ |
274 | $(RL_LIBSRC)/search.c $(RL_LIBSRC)/vi_keymap.c \ | |
275 | $(RL_LIBSRC)/keymaps.c $(RL_LIBSRC)/parens.c \ | |
276 | $(RL_LIBSRC)/vi_mode.c $(RL_LIBSRC)/callback.c \ | |
277 | $(RL_LIBSRC)/readline.c $(RL_LIBSRC)/tilde.c \ | |
278 | $(RL_LIBSRC)/rltty.c $(RL_LIBSRC)/complete.c \ | |
279 | $(RL_LIBSRC)/bind.c $(RL_LIBSRC)/isearch.c \ | |
280 | $(RL_LIBSRC)/display.c $(RL_LIBSRC)/signals.c \ | |
7117c2d2 | 281 | $(RL_LIBSRC)/util.c $(RL_LIBSRC)/kill.c $(RL_LIBSRC)/text.c \ |
ccc6cda3 JA |
282 | $(RL_LIBSRC)/undo.c $(RL_LIBSRC)/macro.c \ |
283 | $(RL_LIBSRC)/terminal.c $(RL_LIBSRC)/nls.c \ | |
284 | $(RL_LIBSRC)/input.c $(RL_LIBSRC)/xmalloc.c \ | |
b72432fd | 285 | $(RL_LIBSRC)/shell.c $(RL_LIBSRC)/savestring.c \ |
ac50fbac | 286 | $(RL_LIBSRC)/colors.c $(RL_LIBSRC)/parse-colors.c \ |
b80f6443 | 287 | $(RL_LIBSRC)/misc.c $(RL_LIBSRC)/mbutil.c $(RL_LIBSRC)/compat.c \ |
ccc6cda3 JA |
288 | $(RL_LIBSRC)/histexpand.c $(RL_LIBSRC)/history.c \ |
289 | $(RL_LIBSRC)/histsearch.c $(RL_LIBSRC)/histfile.c | |
290 | ||
291 | READLINE_OBJ = $(RL_LIBDIR)/readline.o $(RL_LIBDIR)/funmap.o \ | |
292 | $(RL_LIBDIR)/parens.o $(RL_LIBDIR)/search.o \ | |
293 | $(RL_LIBDIR)/keymaps.o $(RL_LIBDIR)/xmalloc.o \ | |
294 | $(RL_LIBDIR)/rltty.o $(RL_LIBDIR)/complete.o \ | |
295 | $(RL_LIBDIR)/bind.o $(RL_LIBDIR)/isearch.o \ | |
296 | $(RL_LIBDIR)/display.o $(RL_LIBDIR)/signals.o \ | |
297 | $(RL_LIBDIR)/tilde.o $(RL_LIBDIR)/util.o \ | |
298 | $(RL_LIBDIR)/kill.o $(RL_LIBDIR)/undo.o $(RL_LIBDIR)/nls.o \ | |
299 | $(RL_LIBDIR)/macro.o $(RL_LIBDIR)/input.o \ | |
300 | $(RL_LIBDIR)/terminal.o $(RL_LIBDIR)/callback.o \ | |
b72432fd | 301 | $(RL_LIBDIR)/shell.o $(RL_LIBDIR)/savestring.o \ |
b80f6443 | 302 | $(RL_LIBDIR)/mbutil.o $(RL_LIBDIR)/compat.o \ |
ccc6cda3 | 303 | $(RL_LIBDIR)/history.o $(RL_LIBDIR)/histexpand.o \ |
ac50fbac CR |
304 | $(RL_LIBDIR)/histsearch.o $(RL_LIBDIR)/histfile.o \ |
305 | $(RL_LIBDIR)/colors.o $(RL_LIBDIR)/parse-colors.o | |
ccc6cda3 JA |
306 | |
307 | HIST_LIBSRC = $(LIBSRC)/readline | |
b72432fd | 308 | HIST_LIBDIR = @HIST_LIBDIR@ |
ccc6cda3 JA |
309 | HIST_ABSSRC = ${topdir}/$(HIST_LIBDIR) |
310 | ||
311 | HISTORY_LIB = @HISTORY_LIB@ | |
312 | HISTORY_LIBRARY = $(HIST_LIBDIR)/libhistory.a | |
313 | HISTORY_LDFLAGS = -L$(HIST_LIBDIR) | |
314 | HISTORY_DEP = @HISTORY_DEP@ | |
315 | ||
316 | # The source, object and documentation of the history library. | |
317 | HISTORY_SOURCE = $(HIST_LIBSRC)/history.c $(HIST_LIBSRC)/histexpand.c \ | |
318 | $(HIST_LIBSRC)/histsearch.c $(HIST_LIBSRC)/histfile.c \ | |
d166f048 | 319 | $(HIST_LIBSRC)/shell.c \ |
ccc6cda3 JA |
320 | $(HIST_LIBSRC)/history.h $(HIST_LIBSRC)/histlib.h |
321 | HISTORY_OBJ = $(HIST_LIBDIR)/history.o $(HIST_LIBDIR)/histexpand.o \ | |
d166f048 JA |
322 | $(HIST_LIBDIR)/histsearch.o $(HIST_LIBDIR)/histfile.o \ |
323 | $(HIST_LIBDIR)/shell.o | |
ccc6cda3 JA |
324 | |
325 | # You only need termcap (or curses) if you are linking with GNU Readline. | |
326 | TERM_LIBSRC = $(LIBSRC)/termcap | |
327 | TERM_LIBDIR = $(dot)/$(LIBSUBDIR)/termcap | |
328 | TERM_ABSSRC = ${topdir}/$(TERM_LIBDIR) | |
329 | ||
330 | TERMCAP_LIB = @TERMCAP_LIB@ | |
331 | TERMCAP_LIBRARY = $(TERM_LIBDIR)/libtermcap.a | |
332 | TERMCAP_LDFLAGS = -L$(TERM_LIBDIR) | |
333 | TERMCAP_DEP = @TERMCAP_DEP@ | |
334 | ||
335 | TERMCAP_SOURCE = $(TERM_LIBSRC)/termcap.c $(TERM_LIBSRC)/tparam.c | |
336 | TERMCAP_OBJ = $(TERM_LIBDIR)/termcap.o $(TERM_LIBDIR)/tparam.o | |
337 | ||
338 | GLOB_LIBSRC = $(LIBSRC)/glob | |
339 | GLOB_LIBDIR = $(dot)/$(LIBSUBDIR)/glob | |
340 | GLOB_ABSSRC = ${topdir}/$(GLOB_LIBDIR) | |
341 | ||
342 | GLOB_LIB = -lglob | |
343 | GLOB_LIBRARY = $(GLOB_LIBDIR)/libglob.a | |
344 | GLOB_LDFLAGS = -L$(GLOB_LIBDIR) | |
345 | GLOB_DEP = $(GLOB_LIBRARY) | |
346 | ||
f73dda09 | 347 | GLOB_SOURCE = $(GLOB_LIBSRC)/glob.c $(GLOB_LIBSRC)/strmatch.c \ |
7117c2d2 JA |
348 | $(GLOB_LIBSRC)/smatch.c $(GLOB_LIBSRC)/xmbsrtowcs.c \ |
349 | $(GLOB_LIBSRC)/glob_loop.c $(GLOB_LIBSRC)/sm_loop.c \ | |
495aee44 | 350 | $(GLOB_LIBSRC)/gmisc.c \ |
f73dda09 | 351 | $(GLOB_LIBSRC)/glob.h $(GLOB_LIBSRC)/strmatch.h |
7117c2d2 | 352 | GLOB_OBJ = $(GLOB_LIBDIR)/glob.o $(GLOB_LIBDIR)/strmatch.o \ |
495aee44 CR |
353 | $(GLOB_LIBDIR)/smatch.o $(GLOB_LIBDIR)/xmbsrtowcs.o \ |
354 | $(GLOB_LIBDIR)/gmisc.o | |
ccc6cda3 JA |
355 | |
356 | # The source, object and documentation for the GNU Tilde library. | |
357 | TILDE_LIBSRC = $(LIBSRC)/tilde | |
358 | TILDE_LIBDIR = $(dot)/$(LIBSUBDIR)/tilde | |
359 | TILDE_ABSSRC = ${topdir}/$(TILDE_LIBDIR) | |
360 | ||
95732b49 | 361 | TILDE_LIB = @TILDE_LIB@ |
ccc6cda3 JA |
362 | TILDE_LIBRARY = $(TILDE_LIBDIR)/libtilde.a |
363 | TILDE_LDFLAGS = -L$(TILDE_LIBDIR) | |
364 | TILDE_DEP = $(TILDE_LIBRARY) | |
365 | ||
366 | TILDE_SOURCE = $(TILDE_LIBSRC)/tilde.c $(TILDE_LIBSRC)/tilde.h | |
367 | TILDE_OBJ = $(TILDE_LIBDIR)/tilde.o | |
368 | ||
b80f6443 JA |
369 | # libintl |
370 | INTL_LIBSRC = $(LIBSRC)/intl | |
371 | INTL_LIBDIR = $(dot)/$(LIBSUBDIR)/intl | |
372 | INTL_ABSSRC = ${topdir}/$(INTL_LIB) | |
373 | INTL_BUILDDIR = ${LIBBUILD}/intl | |
374 | ||
375 | INTL_LIB = @LIBINTL@ | |
376 | INTL_LIBRARY = $(INTL_LIBDIR)/libintl.a | |
377 | INTL_DEP = @INTL_DEP@ | |
378 | INTL_INC = @INTL_INC@ | |
379 | ||
380 | LIBINTL_H = @LIBINTL_H@ | |
381 | ||
0001803f CR |
382 | # libiconv |
383 | LIBICONV = @LIBICONV@ | |
384 | ||
b80f6443 JA |
385 | # tests |
386 | LIBINTL = @LIBINTL@ | |
387 | LTLIBINTL = @LTLIBINTL@ | |
388 | INTLLIBS = @INTLLIBS@ | |
389 | INTLOBJS = @INTLOBJS@ | |
390 | ||
ccc6cda3 | 391 | # Our malloc. |
d166f048 JA |
392 | MALLOC_TARGET = @MALLOC_TARGET@ |
393 | ||
394 | # set to alloca.o if we are using the C alloca in lib/malloc | |
395 | ALLOCA = @ALLOCA@ | |
396 | ||
ccc6cda3 JA |
397 | ALLOC_LIBSRC = $(LIBSRC)/malloc |
398 | ALLOC_LIBDIR = $(dot)/$(LIBSUBDIR)/malloc | |
399 | ALLOC_ABSSRC = ${topdir}/$(ALLOC_LIBDIR) | |
400 | ||
ccc6cda3 | 401 | MALLOC_SRC = @MALLOC_SRC@ |
f73dda09 | 402 | MALLOC_OTHERSRC = ${ALLOC_LIBSRC}/trace.c ${ALLOC_LIBSRC}/stats.c \ |
7117c2d2 | 403 | ${ALLOC_LIBSRC}/table.c ${ALLOC_LIBSRC}/watch.c |
f73dda09 JA |
404 | MALLOC_SOURCE = ${ALLOC_LIBSRC}/${MALLOC_SRC} ${MALLOC_OTHERSRC} |
405 | MALLOC_CFLAGS = -DRCHECK -Dbotch=programming_error ${MALLOC_DEBUG} | |
ccc6cda3 | 406 | |
f73dda09 JA |
407 | MALLOC_LIB = @MALLOC_LIB@ |
408 | MALLOC_LIBRARY = @MALLOC_LIBRARY@ | |
409 | MALLOC_LDFLAGS = @MALLOC_LDFLAGS@ | |
410 | MALLOC_DEP = @MALLOC_DEP@ | |
ccc6cda3 | 411 | |
f73dda09 | 412 | ALLOC_HEADERS = $(ALLOC_LIBSRC)/getpagesize.h $(ALLOC_LIBSRC)/shmalloc.h \ |
7117c2d2 JA |
413 | $(ALLOC_LIBSRC)/imalloc.h $(ALLOC_LIBSRC)/mstats.h \ |
414 | $(ALLOC_LIBSRC)/table.h $(ALLOC_LIBSRC)/watch.h | |
ccc6cda3 | 415 | |
f73dda09 | 416 | $(MALLOC_LIBRARY): ${MALLOC_SOURCE} ${ALLOC_HEADERS} config.h |
ccc6cda3 JA |
417 | @(cd $(ALLOC_LIBDIR) && \ |
418 | $(MAKE) $(MFLAGS) \ | |
d166f048 | 419 | MALLOC_CFLAGS="$(MALLOC_CFLAGS)" ${MALLOC_TARGET} ) || exit 1 |
ccc6cda3 | 420 | |
bb70624e JA |
421 | BASHINCDIR = ${srcdir}/include |
422 | BASHINCFILES = $(BASHINCDIR)/posixstat.h $(BASHINCDIR)/ansi_stdlib.h \ | |
423 | $(BASHINCDIR)/filecntl.h $(BASHINCDIR)/posixdir.h \ | |
424 | $(BASHINCDIR)/memalloc.h $(BASHINCDIR)/stdc.h \ | |
425 | $(BASHINCDIR)/posixjmp.h $(BASHINCDIR)/posixwait.h \ | |
426 | $(BASHINCDIR)/posixtime.h $(BASHINCDIR)/systimes.h \ | |
427 | $(BASHINCDIR)/unionwait.h $(BASHINCDIR)/maxpath.h \ | |
7117c2d2 JA |
428 | $(BASHINCDIR)/shtty.h $(BASHINCDIR)/typemax.h \ |
429 | $(BASHINCDIR)/ocache.h | |
ccc6cda3 | 430 | |
74091dd4 CR |
431 | LIBRARIES = $(GLOB_LIB) $(SHLIB_LIB) $(READLINE_LIB) $(HISTORY_LIB) \ |
432 | $(TERMCAP_LIB) $(TILDE_LIB) $(MALLOC_LIB) $(INTL_LIB) $(LIBICONV) \ | |
433 | $(LOCAL_LIBS) | |
ccc6cda3 | 434 | |
74091dd4 CR |
435 | LIBDEP = $(GLOB_DEP) $(SHLIB_DEP) $(INTL_DEP) $(READLINE_DEP) $(HISTORY_DEP) \ |
436 | $(TERMCAP_DEP) $(TILDE_DEP) $(MALLOC_DEP) | |
ccc6cda3 | 437 | |
b72432fd JA |
438 | LIBRARY_LDFLAGS = $(READLINE_LDFLAGS) $(HISTORY_LDFLAGS) $(GLOB_LDFLAGS) \ |
439 | $(TILDE_LDFLAGS) $(MALLOC_LDFLAGS) $(SHLIB_LDFLAGS) | |
ccc6cda3 JA |
440 | |
441 | # | |
442 | # The shell itself | |
443 | # | |
444 | ||
445 | # The main source code for the Bourne Again SHell. | |
446 | CSOURCES = shell.c eval.c parse.y general.c make_cmd.c print_cmd.c y.tab.c \ | |
447 | dispose_cmd.c execute_cmd.c variables.c $(GLOBC) version.c \ | |
d166f048 JA |
448 | expr.c copy_cmd.c flags.c subst.c hashcmd.c hashlib.c mailcheck.c \ |
449 | test.c trap.c alias.c jobs.c nojobs.c $(ALLOC_FILES) braces.c \ | |
3185942a | 450 | input.c bashhist.c array.c arrayfunc.c assoc.c sig.c pathexp.c \ |
cce855bc | 451 | unwind_prot.c siglist.c bashline.c bracecomp.c error.c \ |
bb70624e | 452 | list.c stringlib.c locale.c findcmd.c redir.c \ |
28ef6c31 | 453 | pcomplete.c pcomplib.c syntax.c xmalloc.c |
ccc6cda3 | 454 | |
d166f048 | 455 | HSOURCES = shell.h flags.h trap.h hashcmd.h hashlib.h jobs.h builtins.h \ |
bb70624e | 456 | general.h variables.h config.h $(ALLOC_HEADERS) alias.h \ |
f73dda09 | 457 | quit.h unwind_prot.h syntax.h ${GRAM_H} \ |
ccc6cda3 JA |
458 | command.h input.h error.h bashansi.h dispose_cmd.h make_cmd.h \ |
459 | subst.h externs.h siglist.h bashhist.h bashline.h bashtypes.h \ | |
f73dda09 | 460 | array.h arrayfunc.h sig.h mailcheck.h bashintl.h bashjmp.h \ |
3185942a | 461 | execute_cmd.h parser.h pathexp.h pathnames.h pcomplete.h assoc.h \ |
bb70624e | 462 | $(BASHINCFILES) |
ccc6cda3 JA |
463 | |
464 | SOURCES = $(CSOURCES) $(HSOURCES) $(BUILTIN_DEFS) | |
465 | ||
a0c0a00f CR |
466 | # headers in top-level source directory that get installed by install-headers |
467 | INSTALLED_HEADERS = shell.h bashjmp.h command.h syntax.h general.h error.h \ | |
468 | variables.h array.h assoc.h arrayfunc.h quit.h dispose_cmd.h \ | |
469 | make_cmd.h subst.h sig.h externs.h builtins.h \ | |
470 | bashtypes.h xmalloc.h config-top.h config-bot.h \ | |
471 | bashintl.h bashansi.h bashjmp.h alias.h hashlib.h \ | |
74091dd4 CR |
472 | conftypes.h unwind_prot.h jobs.h siglist.h \ |
473 | execute_cmd.h | |
a0c0a00f CR |
474 | INSTALLED_BUILTINS_HEADERS = bashgetopt.h common.h getopt.h |
475 | INSTALLED_INCFILES = posixstat.h ansi_stdlib.h filecntl.h posixdir.h \ | |
476 | memalloc.h stdc.h posixjmp.h posixwait.h posixtime.h systimes.h \ | |
477 | unionwait.h maxpath.h shtty.h typemax.h ocache.h chartypes.h gettext.h \ | |
478 | posixstat.h shmbchar.h shmbutil.h stat-time.h | |
479 | ||
cce855bc JA |
480 | # header files chosen based on running of configure |
481 | SIGNAMES_H = @SIGNAMES_H@ | |
482 | ||
ccc6cda3 JA |
483 | # object files chosen based on running of configure |
484 | JOBS_O = @JOBS_O@ | |
f73dda09 | 485 | SIGLIST_O = @SIGLIST_O@ |
0628567a | 486 | SIGNAMES_O = @SIGNAMES_O@ |
ccc6cda3 | 487 | |
74091dd4 CR |
488 | ARRAY_O = @ARRAY_O@ |
489 | ||
ccc6cda3 JA |
490 | # Matching object files. |
491 | OBJECTS = shell.o eval.o y.tab.o general.o make_cmd.o print_cmd.o $(GLOBO) \ | |
492 | dispose_cmd.o execute_cmd.o variables.o copy_cmd.o error.o \ | |
d166f048 JA |
493 | expr.o flags.o $(JOBS_O) subst.o hashcmd.o hashlib.o mailcheck.o \ |
494 | trap.o input.o unwind_prot.o pathexp.o sig.o test.o version.o \ | |
74091dd4 | 495 | alias.o $(ARRAY_O) arrayfunc.o assoc.o braces.o bracecomp.o bashhist.o \ |
f73dda09 | 496 | bashline.o $(SIGLIST_O) list.o stringlib.o locale.o findcmd.o redir.o \ |
0628567a | 497 | pcomplete.o pcomplib.o syntax.o xmalloc.o $(SIGNAMES_O) |
ccc6cda3 JA |
498 | |
499 | # Where the source code of the shell builtins resides. | |
500 | BUILTIN_SRCDIR=$(srcdir)/builtins | |
501 | DEFSRC=$(BUILTIN_SRCDIR) | |
502 | BUILTIN_ABSSRC=${topdir}/builtins | |
503 | DEFDIR = $(dot)/builtins | |
b80f6443 | 504 | DEBUGGER_DIR = $(dot)/debugger |
ccc6cda3 JA |
505 | |
506 | BUILTIN_DEFS = $(DEFSRC)/alias.def $(DEFSRC)/bind.def $(DEFSRC)/break.def \ | |
507 | $(DEFSRC)/builtin.def $(DEFSRC)/cd.def $(DEFSRC)/colon.def \ | |
bb70624e | 508 | $(DEFSRC)/command.def ${DEFSRC}/complete.def \ |
b80f6443 | 509 | $(DEFSRC)/caller.def $(DEFSRC)/declare.def \ |
ccc6cda3 JA |
510 | $(DEFSRC)/echo.def $(DEFSRC)/enable.def $(DEFSRC)/eval.def \ |
511 | $(DEFSRC)/exec.def $(DEFSRC)/exit.def $(DEFSRC)/fc.def \ | |
512 | $(DEFSRC)/fg_bg.def $(DEFSRC)/hash.def $(DEFSRC)/help.def \ | |
513 | $(DEFSRC)/history.def $(DEFSRC)/jobs.def $(DEFSRC)/kill.def \ | |
514 | $(DEFSRC)/let.def $(DEFSRC)/read.def $(DEFSRC)/return.def \ | |
515 | $(DEFSRC)/set.def $(DEFSRC)/setattr.def $(DEFSRC)/shift.def \ | |
516 | $(DEFSRC)/source.def $(DEFSRC)/suspend.def $(DEFSRC)/test.def \ | |
517 | $(DEFSRC)/times.def $(DEFSRC)/trap.def $(DEFSRC)/type.def \ | |
518 | $(DEFSRC)/ulimit.def $(DEFSRC)/umask.def $(DEFSRC)/wait.def \ | |
519 | $(DEFSRC)/getopts.def $(DEFSRC)/reserved.def \ | |
3185942a JA |
520 | $(DEFSRC)/pushd.def $(DEFSRC)/shopt.def $(DEFSRC)/printf.def \ |
521 | $(DEFSRC)/mapfile.def | |
ccc6cda3 JA |
522 | BUILTIN_C_SRC = $(DEFSRC)/mkbuiltins.c $(DEFSRC)/common.c \ |
523 | $(DEFSRC)/evalstring.c $(DEFSRC)/evalfile.c \ | |
d166f048 | 524 | $(DEFSRC)/bashgetopt.c $(GETOPT_SOURCE) |
ccc6cda3 JA |
525 | BUILTIN_C_OBJ = $(DEFDIR)/common.o $(DEFDIR)/evalstring.o \ |
526 | $(DEFDIR)/evalfile.o $(DEFDIR)/bashgetopt.o | |
527 | BUILTIN_OBJS = $(DEFDIR)/alias.o $(DEFDIR)/bind.o $(DEFDIR)/break.o \ | |
528 | $(DEFDIR)/builtin.o $(DEFDIR)/cd.o $(DEFDIR)/colon.o \ | |
b80f6443 | 529 | $(DEFDIR)/command.o $(DEFDIR)/caller.o $(DEFDIR)/declare.o \ |
ccc6cda3 JA |
530 | $(DEFDIR)/echo.o $(DEFDIR)/enable.o $(DEFDIR)/eval.o \ |
531 | $(DEFDIR)/exec.o $(DEFDIR)/exit.o $(DEFDIR)/fc.o \ | |
532 | $(DEFDIR)/fg_bg.o $(DEFDIR)/hash.o $(DEFDIR)/help.o \ | |
533 | $(DEFDIR)/history.o $(DEFDIR)/jobs.o $(DEFDIR)/kill.o \ | |
534 | $(DEFDIR)/let.o $(DEFDIR)/pushd.o $(DEFDIR)/read.o \ | |
cce855bc | 535 | $(DEFDIR)/return.o $(DEFDIR)/shopt.o $(DEFDIR)/printf.o \ |
ccc6cda3 JA |
536 | $(DEFDIR)/set.o $(DEFDIR)/setattr.o $(DEFDIR)/shift.o \ |
537 | $(DEFDIR)/source.o $(DEFDIR)/suspend.o $(DEFDIR)/test.o \ | |
538 | $(DEFDIR)/times.o $(DEFDIR)/trap.o $(DEFDIR)/type.o \ | |
539 | $(DEFDIR)/ulimit.o $(DEFDIR)/umask.o $(DEFDIR)/wait.o \ | |
3185942a | 540 | $(DEFDIR)/getopts.o $(DEFDIR)/mapfile.o $(BUILTIN_C_OBJ) |
ccc6cda3 JA |
541 | GETOPT_SOURCE = $(DEFSRC)/getopt.c $(DEFSRC)/getopt.h |
542 | PSIZE_SOURCE = $(DEFSRC)/psize.sh $(DEFSRC)/psize.c | |
543 | ||
d166f048 | 544 | BUILTINS_LIBRARY = $(DEFDIR)/libbuiltins.a |
ccc6cda3 JA |
545 | BUILTINS_LIB = -lbuiltins |
546 | BUILTINS_LDFLAGS = -L$(DEFDIR) | |
547 | BUILTINS_DEP = $(BUILTINS_LIBRARY) | |
548 | ||
549 | # Documentation for the shell. | |
550 | DOCSRC = $(srcdir)/doc | |
d166f048 | 551 | DOCDIR = $(dot)/doc |
ccc6cda3 | 552 | |
b80f6443 JA |
553 | # Translations and other i18n support files |
554 | PO_SRC = $(srcdir)/po/ | |
555 | PO_DIR = $(dot)/po/ | |
556 | ||
ccc6cda3 JA |
557 | SIGNAMES_SUPPORT = $(SUPPORT_SRC)mksignames.c |
558 | ||
559 | SUPPORT_SRC = $(srcdir)/support/ | |
a0c0a00f | 560 | SDIR = $(dot)/support |
ccc6cda3 | 561 | |
3185942a | 562 | TESTS_SUPPORT = recho$(EXEEXT) zecho$(EXEEXT) printenv$(EXEEXT) xcase$(EXEEXT) |
bb70624e JA |
563 | CREATED_SUPPORT = signames.h recho$(EXEEXT) zecho$(EXEEXT) printenv$(EXEEXT) \ |
564 | tests/recho$(EXEEXT) tests/zecho$(EXEEXT) \ | |
3185942a JA |
565 | tests/printenv$(EXEEXT) xcase$(EXEEXT) tests/xcase$(EXEEXT) \ |
566 | mksignames$(EXEEXT) lsignames.h \ | |
7117c2d2 | 567 | mksyntax${EXEEXT} syntax.c $(VERSPROG) $(VERSOBJ) \ |
0628567a | 568 | buildversion.o mksignames.o signames.o buildsignames.o |
ccc6cda3 | 569 | CREATED_CONFIGURE = config.h config.cache config.status config.log \ |
495aee44 | 570 | stamp-h po/POTFILES config.status.lineno |
ccc6cda3 JA |
571 | CREATED_MAKEFILES = Makefile builtins/Makefile doc/Makefile \ |
572 | lib/readline/Makefile lib/glob/Makefile \ | |
cce855bc JA |
573 | lib/sh/Makefile lib/tilde/Makefile lib/malloc/Makefile \ |
574 | lib/termcap/Makefile examples/loadables/Makefile \ | |
74091dd4 | 575 | examples/loadables/Makefile.inc examples/loadables/Makefile.sample \ |
b80f6443 JA |
576 | examples/loadables/perl/Makefile support/Makefile \ |
577 | lib/intl/Makefile po/Makefile po/Makefile.in | |
a0c0a00f CR |
578 | CREATED_HEADERS = signames.h config.h pathnames.h version.h y.tab.h \ |
579 | ${DEFDIR}/builtext.h | |
ccc6cda3 | 580 | |
ac50fbac CR |
581 | OTHER_DOCS = $(srcdir)/CHANGES $(srcdir)/COMPAT $(srcdir)/NEWS $(srcdir)/POSIX \ |
582 | $(srcdir)/RBASH $(srcdir)/README | |
583 | OTHER_INSTALLED_DOCS = CHANGES COMPAT NEWS POSIX RBASH README | |
584 | ||
a0c0a00f CR |
585 | LOADABLES_DIR = ${top_builddir}/examples/loadables |
586 | ||
ccc6cda3 JA |
587 | # Keep GNU Make from exporting the entire environment for small machines. |
588 | .NOEXPORT: | |
589 | ||
a0c0a00f | 590 | .made: $(Program) bashbug $(SDIR)/man2html$(EXEEXT) |
d166f048 | 591 | @echo "$(Program) last made for a $(Machine) running $(OS)" >.made |
ccc6cda3 | 592 | |
74091dd4 | 593 | $(Program): $(OBJECTS) $(BUILTINS_DEP) $(LIBDEP) .build |
ccc6cda3 | 594 | $(RM) $@ |
cce855bc | 595 | $(PURIFY) $(CC) $(BUILTINS_LDFLAGS) $(LIBRARY_LDFLAGS) $(LDFLAGS) -o $(Program) $(OBJECTS) $(LIBS) |
ccc6cda3 | 596 | ls -l $(Program) |
95732b49 | 597 | -$(SIZE) $(Program) |
ccc6cda3 | 598 | |
74091dd4 | 599 | .build: $(SOURCES) config.h Makefile $(DEFDIR)/builtext.h version.h $(VERSPROG) |
ccc6cda3 JA |
600 | @echo |
601 | @echo " ***********************************************************" | |
602 | @echo " * *" | |
f73dda09 | 603 | @echo " * `$(BUILD_DIR)/$(VERSPROG) -l`" |
ccc6cda3 JA |
604 | @echo " * *" |
605 | @echo " ***********************************************************" | |
606 | @echo | |
607 | ||
8868edaf | 608 | bashbug: $(SDIR)/bashbug.sh $(VERSPROG) |
d233b485 CR |
609 | @sed -e "s%!PATCHLEVEL!%$(PatchLevel)%" \ |
610 | $(SDIR)/bashbug.sh > $@ | |
ccc6cda3 JA |
611 | @chmod a+rx bashbug |
612 | ||
613 | strip: $(Program) .made | |
d233b485 | 614 | $(STRIP) $(Program) |
ccc6cda3 | 615 | ls -l $(Program) |
95732b49 | 616 | -$(SIZE) $(Program) |
ccc6cda3 | 617 | |
f73dda09 | 618 | lint: |
74091dd4 | 619 | ${MAKE} ${MFLAGS} ADDON_CFLAGS='${GCC_LINT_FLAGS}' .made |
f73dda09 | 620 | |
d233b485 CR |
621 | asan: |
622 | ${MAKE} ${MFLAGS} ADDON_CFLAGS='${ASAN_XCFLAGS}' ADDON_LDFLAGS='${ASAN_XLDFLAGS}' .made | |
623 | ||
74091dd4 CR |
624 | valgrind: |
625 | ${MAKE} ${MFLAGS} ADDON_CFLAGS='-DDISABLE_MALLOC_WRAPPERS' ADDON_LDFLAGS= .made | |
626 | ||
d233b485 CR |
627 | # cheating |
628 | gcov: | |
629 | ${MAKE} ${MFLAGS} CFLAGS=-g ADDON_CFLAGS='${GCOV_XCFLAGS}' ADDON_LDFLAGS='${GCOV_XLDFLAGS}' .made | |
630 | ||
d233b485 CR |
631 | # have to make this separate because making tests depend on $(PROGRAM) |
632 | asan-tests: asan $(TESTS_SUPPORT) | |
633 | @-test -d tests || mkdir tests | |
634 | @cp $(TESTS_SUPPORT) tests | |
635 | @( cd $(srcdir)/tests && \ | |
8868edaf | 636 | BUILD_DIR=$(BUILD_DIR) PATH=$(BUILD_DIR)/tests:$$PATH THIS_SH=$(THIS_SH) $(SHELL) ${TESTSCRIPT} ) |
d233b485 CR |
637 | |
638 | profiling-tests: ${PROGRAM} | |
639 | @test "X$$PROFILE_FLAGS" == "X" && { echo "profiling-tests: must be built with profiling enabled" >&2; exit 1; } | |
640 | @${MAKE} ${MFLAGS} tests TESTSCRIPT=run-gprof | |
641 | ||
495aee44 | 642 | version.h: $(SOURCES) config.h Makefile patchlevel.h |
f73dda09 | 643 | $(SHELL) $(SUPPORT_SRC)mkversion.sh -b -S ${topdir} -s $(RELSTATUS) -d $(Version) -o newversion.h \ |
b72432fd | 644 | && mv newversion.h version.h |
ccc6cda3 | 645 | |
8868edaf | 646 | bashversion$(EXEEXT): buildversion.o $(SUPPORT_SRC)bashversion.c |
ac50fbac | 647 | $(CC_FOR_BUILD) $(CCFLAGS_FOR_BUILD) ${LDFLAGS_FOR_BUILD} -o $@ $(SUPPORT_SRC)bashversion.c buildversion.o ${LIBS_FOR_BUILD} |
7117c2d2 | 648 | |
8868edaf | 649 | buildversion.o: $(srcdir)/version.c |
b80f6443 | 650 | $(CC_FOR_BUILD) $(CCFLAGS_FOR_BUILD) -DBUILDTOOL -c -o $@ $(srcdir)/version.c |
f73dda09 | 651 | |
8868edaf CR |
652 | buildversion.o: bashintl.h $(BASHINCDIR)/gettext.h |
653 | buildversion.o: version.h patchlevel.h conftypes.h | |
654 | ||
ccc6cda3 | 655 | # old rules |
d166f048 | 656 | GRAM_H = parser-built |
ac50fbac | 657 | y.tab.o: y.tab.h y.tab.c ${GRAM_H} command.h ${BASHINCDIR}/stdc.h input.h |
d166f048 JA |
658 | ${GRAM_H}: y.tab.h |
659 | @-if test -f y.tab.h ; then \ | |
660 | cmp -s $@ y.tab.h 2>/dev/null || cp -p y.tab.h $@; \ | |
661 | fi | |
ac50fbac CR |
662 | |
663 | y.tab.c: parse.y | |
d166f048 | 664 | # -if test -f y.tab.h; then mv -f y.tab.h old-y.tab.h; fi |
ccc6cda3 | 665 | $(YACC) -d $(srcdir)/parse.y |
74091dd4 | 666 | $(RM) parser-built |
f73dda09 | 667 | touch parser-built |
d166f048 | 668 | # -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 | 669 | |
ac50fbac CR |
670 | y.tab.h: y.tab.c |
671 | @true | |
672 | ||
673 | ||
674 | # Subdirs will often times want version.h, so they'll change back up to | |
675 | # the top level and try to create it. This causes parallel build issues | |
676 | # so just force top level sanity before we descend. | |
677 | $(LIBDEP): .build | |
678 | #$(LIBDEP): version.h | |
ccc6cda3 JA |
679 | |
680 | $(READLINE_LIBRARY): config.h $(READLINE_SOURCE) | |
681 | @echo making $@ in ${RL_LIBDIR} | |
b72432fd | 682 | @( { test "${RL_LIBDIR}" = "${libdir}" && exit 0; } || \ |
a0c0a00f | 683 | cd ${RL_LIBDIR} && $(MAKE) $(MFLAGS) DEBUG=${DEBUG} libreadline.a) || exit 1 |
ccc6cda3 | 684 | |
0001803f | 685 | $(HISTORY_LIBRARY): config.h $(HISTORY_SOURCE) $(READLINE_DEP) |
ccc6cda3 | 686 | @echo making $@ in ${HIST_LIBDIR} |
b72432fd | 687 | @( { test "${HIST_LIBDIR}" = "${libdir}" && exit 0; } || \ |
a0c0a00f | 688 | cd ${HIST_LIBDIR} && $(MAKE) $(MFLAGS) DEBUG=${DEBUG} libhistory.a) || exit 1 |
ccc6cda3 JA |
689 | |
690 | $(GLOB_LIBRARY): config.h $(GLOB_SOURCE) | |
691 | @echo making $@ in ${GLOB_LIBDIR} | |
692 | @(cd ${GLOB_LIBDIR} && \ | |
f73dda09 | 693 | $(MAKE) $(MFLAGS) DEBUG=${DEBUG} libglob.a) || exit 1 |
ccc6cda3 JA |
694 | |
695 | $(TILDE_LIBRARY): config.h $(TILDE_SOURCE) | |
696 | @echo making $@ in ${TILDE_LIBDIR} | |
697 | @(cd ${TILDE_LIBDIR} && \ | |
698 | $(MAKE) $(MFLAGS) libtilde.a) || exit 1 | |
699 | ||
700 | $(TERMCAP_LIBRARY): config.h ${TERMCAP_SOURCE} | |
d166f048 JA |
701 | @echo making $@ in ${TERM_LIBDIR} |
702 | @(cd ${TERM_LIBDIR} && \ | |
ccc6cda3 JA |
703 | $(MAKE) $(MFLAGS) libtermcap.a) || exit 1 |
704 | ||
cce855bc JA |
705 | $(SHLIB_LIBRARY): config.h ${SHLIB_SOURCE} |
706 | @echo making $@ in ${SH_LIBDIR} | |
707 | @(cd ${SH_LIBDIR} && \ | |
f73dda09 | 708 | $(MAKE) $(MFLAGS) DEBUG=${DEBUG} ${SHLIB_LIBNAME}) || exit 1 |
cce855bc | 709 | |
b80f6443 JA |
710 | ${INTL_LIBRARY}: config.h ${INTL_LIBDIR}/Makefile |
711 | @echo making $@ in ${INTL_LIBDIR} | |
712 | @(cd ${INTL_LIBDIR} && \ | |
8868edaf | 713 | $(MAKE) $(MFLAGS) XCFLAGS="${LOCAL_CFLAGS}" all) || exit 1 |
b80f6443 | 714 | |
3185942a | 715 | ${LIBINTL_H}: ${INTL_DEP} |
b80f6443 | 716 | |
0628567a JA |
717 | signames.o: $(SUPPORT_SRC)signames.c |
718 | $(RM) $@ | |
719 | $(CC) $(CCFLAGS) -c $(SUPPORT_SRC)signames.c | |
720 | ||
721 | buildsignames.o: $(SUPPORT_SRC)signames.c | |
722 | $(RM) $@ | |
723 | $(CC_FOR_BUILD) $(CCFLAGS_FOR_BUILD) -DBUILDTOOL -o $@ -c $(SUPPORT_SRC)signames.c | |
724 | ||
725 | mksignames.o: $(SUPPORT_SRC)mksignames.c | |
726 | $(RM) $@ | |
727 | $(CC_FOR_BUILD) $(CCFLAGS_FOR_BUILD) -DBUILDTOOL -c $(SUPPORT_SRC)mksignames.c | |
728 | ||
729 | mksignames$(EXEEXT): mksignames.o buildsignames.o | |
730 | $(RM) $@ | |
ac50fbac | 731 | $(CC_FOR_BUILD) $(CCFLAGS_FOR_BUILD) ${LDFLAGS_FOR_BUILD} -o $@ mksignames.o buildsignames.o ${LIBS_FOR_BUILD} |
ccc6cda3 | 732 | |
8868edaf | 733 | mksyntax$(EXEEXT): ${srcdir}/mksyntax.c config.h syntax.h ${BASHINCDIR}/chartypes.h bashansi.h |
0628567a | 734 | $(RM) $@ |
ac50fbac | 735 | ${CC_FOR_BUILD} ${CCFLAGS_FOR_BUILD} ${LDFLAGS_FOR_BUILD} -o $@ ${srcdir}/mksyntax.c ${LIBS_FOR_BUILD} |
28ef6c31 | 736 | |
cce855bc JA |
737 | # make a list of signals for the local system -- this is done when we're |
738 | # *not* cross-compiling | |
bb70624e | 739 | lsignames.h: mksignames$(EXEEXT) |
ccc6cda3 | 740 | $(RM) $@ |
95732b49 | 741 | ./mksignames$(EXEEXT) $@ |
ccc6cda3 | 742 | |
cce855bc JA |
743 | # copy the correct signames header file to signames.h |
744 | signames.h: $(SIGNAMES_H) | |
745 | -if cmp -s $(SIGNAMES_H) $@ ; then :; else $(RM) $@ ; $(CP) $(SIGNAMES_H) $@ ; fi | |
746 | ||
28ef6c31 JA |
747 | syntax.c: mksyntax${EXEEXT} $(srcdir)/syntax.h |
748 | $(RM) $@ | |
95732b49 | 749 | ./mksyntax$(EXEEXT) -o $@ |
28ef6c31 | 750 | |
74091dd4 | 751 | $(BUILTINS_LIBRARY): $(DEFDIR)/builtext.h $(BUILTIN_DEFS) $(BUILTIN_C_SRC) config.h ${BASHINCDIR}/memalloc.h version.h |
ac50fbac | 752 | @(cd $(DEFDIR) && $(MAKE) $(MFLAGS) DEBUG=${DEBUG} targets ) || exit 1 |
ccc6cda3 JA |
753 | |
754 | # these require special rules to circumvent make builtin rules | |
d166f048 | 755 | ${DEFDIR}/common.o: $(BUILTIN_SRCDIR)/common.c |
f73dda09 | 756 | @(cd $(DEFDIR) && $(MAKE) $(MFLAGS) DEBUG=${DEBUG} common.o) || exit 1 |
ccc6cda3 | 757 | |
d166f048 | 758 | ${DEFDIR}/bashgetopt.o: $(BUILTIN_SRCDIR)/bashgetopt.c |
f73dda09 | 759 | @(cd $(DEFDIR) && $(MAKE) $(MFLAGS) DEBUG=${DEBUG} bashgetopt.o) || exit 1 |
ccc6cda3 | 760 | |
d166f048 | 761 | ${DEFDIR}/builtext.h: $(BUILTIN_DEFS) |
ccc6cda3 JA |
762 | @(cd $(DEFDIR) && $(MAKE) $(MFLAGS) builtext.h ) || exit 1 |
763 | ||
74091dd4 | 764 | ${DEFDIR}/pipesize.h: ${BUILTINS_LIBRARY} |
8868edaf CR |
765 | @(cd $(DEFDIR) && $(MAKE) $(MFLAGS) pipesize.h ) || exit 1 |
766 | ||
a0c0a00f CR |
767 | $(SDIR)/man2html$(EXEEXT): ${SUPPORT_SRC}/man2html.c |
768 | @(cd $(SDIR) && $(MAKE) $(MFLAGS) all ) || exit 1 | |
769 | ||
ccc6cda3 JA |
770 | # For the justification of the following Makefile rules, see node |
771 | # `Automatic Remaking' in GNU Autoconf documentation. | |
772 | ||
d166f048 JA |
773 | Makefile makefile: config.status $(srcdir)/Makefile.in |
774 | CONFIG_FILES=Makefile CONFIG_HEADERS= $(SHELL) ./config.status | |
ccc6cda3 JA |
775 | |
776 | Makefiles makefiles: config.status $(srcdir)/Makefile.in | |
777 | @for mf in $(CREATED_MAKEFILES); do \ | |
8868edaf | 778 | CONFIG_FILES=$$mf CONFIG_HEADERS= $(SHELL) ./config.status || exit 1; \ |
ccc6cda3 JA |
779 | done |
780 | ||
781 | config.h: stamp-h | |
782 | ||
b72432fd | 783 | stamp-h: config.status $(srcdir)/config.h.in $(srcdir)/config-top.h $(srcdir)/config-bot.h |
ccc6cda3 JA |
784 | CONFIG_FILES= CONFIG_HEADERS=config.h $(SHELL) ./config.status |
785 | ||
786 | config.status: $(srcdir)/configure | |
787 | $(SHELL) ./config.status --recheck | |
788 | ||
3185942a JA |
789 | pathnames.h: Makefile $(srcdir)/pathnames.h.in |
790 | @sed -e 's|@DEBUGGER_START_FILE\@|${DEBUGGER_START_FILE}|g' $(srcdir)/pathnames.h.in > pathnames.tmp | |
791 | @if test -f $@; then \ | |
792 | cmp -s pathnames.tmp $@ || mv pathnames.tmp $@; \ | |
793 | else \ | |
794 | mv pathnames.tmp $@; \ | |
795 | fi | |
796 | @${RM} pathnames.tmp | |
797 | ||
ccc6cda3 | 798 | # comment out for distribution |
ac50fbac | 799 | $(srcdir)/configure: $(srcdir)/configure.ac $(srcdir)/aclocal.m4 $(srcdir)/config.h.in |
b72432fd JA |
800 | cd $(srcdir) && autoconf |
801 | ||
802 | # for chet | |
803 | reconfig: force | |
95732b49 | 804 | sh $(srcdir)/configure -C |
ccc6cda3 | 805 | |
a0c0a00f CR |
806 | loadables: |
807 | cd $(LOADABLES_DIR) && $(MAKE) $(MFLAGS) all | |
808 | ||
d166f048 JA |
809 | #newversion: mkversion |
810 | # $(RM) .build | |
811 | # ./mkversion -dir $(srcdir) -dist | |
812 | # mv -f newversion.h version.h | |
813 | # $(MAKE) -f $(srcdir)/Makefile $(MFLAGS) srcdir=$(srcdir) | |
ccc6cda3 JA |
814 | |
815 | doc documentation: force | |
816 | @(cd $(DOCDIR) ; $(MAKE) $(MFLAGS) ) | |
817 | ||
818 | info dvi ps: force | |
819 | @(cd $(DOCDIR) ; $(MAKE) $(MFLAGS) CFLAGS='$(CCFLAGS)' $@ ) | |
820 | ||
821 | force: | |
822 | ||
ac50fbac | 823 | # unused |
0628567a | 824 | TAGS: $(SOURCES) $(BUILTIN_C_SRC) $(LIBRARY_SOURCE) |
74091dd4 | 825 | ( cd $(topdir) && $(ETAGS) $(ETAGSFLAGS) $(SOURCES) $(BUILTIN_C_SRC) $(LIBRARY_SOURCE) ) |
ccc6cda3 | 826 | |
0628567a | 827 | tags: $(SOURCES) $(BUILTIN_C_SRC) $(LIBRARY_SOURCE) |
74091dd4 | 828 | ( cd $(topdir) && $(CTAGS) $(CTAGSFLAGS) $(SOURCES) $(BUILTIN_C_SRC) $(LIBRARY_SOURCE) > $@ ) |
ccc6cda3 JA |
829 | |
830 | # Targets that actually do things not part of the build | |
831 | ||
832 | installdirs: | |
b80f6443 JA |
833 | @${SHELL} $(SUPPORT_SRC)mkinstalldirs $(DESTDIR)$(bindir) |
834 | @${SHELL} $(SUPPORT_SRC)mkinstalldirs $(DESTDIR)$(man1dir) | |
835 | @${SHELL} $(SUPPORT_SRC)mkinstalldirs $(DESTDIR)$(infodir) | |
ac50fbac | 836 | @${SHELL} $(SUPPORT_SRC)mkinstalldirs $(DESTDIR)$(docdir) |
b80f6443 | 837 | -( cd $(PO_DIR) ; $(MAKE) $(MFLAGS) DESTDIR=$(DESTDIR) $@ ) |
ccc6cda3 JA |
838 | |
839 | install: .made installdirs | |
f73dda09 | 840 | $(INSTALL_PROGRAM) $(INSTALLMODE) $(Program) $(DESTDIR)$(bindir)/$(Program) |
7117c2d2 | 841 | $(INSTALL_SCRIPT) $(INSTALLMODE2) bashbug $(DESTDIR)$(bindir)/bashbug |
ac50fbac | 842 | $(INSTALL_DATA) $(OTHER_DOCS) $(DESTDIR)$(docdir) |
ccc6cda3 JA |
843 | -( cd $(DOCDIR) ; $(MAKE) $(MFLAGS) \ |
844 | man1dir=$(man1dir) man1ext=$(man1ext) \ | |
845 | man3dir=$(man3dir) man3ext=$(man3ext) \ | |
f73dda09 | 846 | infodir=$(infodir) htmldir=$(htmldir) DESTDIR=$(DESTDIR) $@ ) |
7117c2d2 | 847 | -( cd $(DEFDIR) ; $(MAKE) $(MFLAGS) DESTDIR=$(DESTDIR) $@ ) |
b80f6443 | 848 | -( cd $(PO_DIR) ; $(MAKE) $(MFLAGS) DESTDIR=$(DESTDIR) $@ ) |
a0c0a00f | 849 | -( cd $(LOADABLES_DIR) && $(MAKE) $(MFLAGS) DESTDIR=$(DESTDIR) $@ ) |
ccc6cda3 JA |
850 | |
851 | install-strip: | |
852 | $(MAKE) $(MFLAGS) INSTALL_PROGRAM='$(INSTALL_PROGRAM) -s' \ | |
f73dda09 JA |
853 | prefix=${prefix} exec_prefix=${exec_prefix} \ |
854 | DESTDIR=$(DESTDIR) install | |
ccc6cda3 | 855 | |
a0c0a00f CR |
856 | install-headers-dirs: |
857 | @${SHELL} $(SUPPORT_SRC)mkinstalldirs $(DESTDIR)$(headersdir) | |
858 | @${SHELL} $(SUPPORT_SRC)mkinstalldirs $(DESTDIR)$(headersdir)/builtins | |
859 | @${SHELL} $(SUPPORT_SRC)mkinstalldirs $(DESTDIR)$(headersdir)/include | |
d233b485 | 860 | @${SHELL} $(SUPPORT_SRC)mkinstalldirs $(DESTDIR)$(pkgconfigdir) |
a0c0a00f CR |
861 | |
862 | install-headers: install-headers-dirs | |
863 | @for hf in $(INSTALLED_HEADERS) ; do \ | |
8868edaf | 864 | ${INSTALL_DATA} $(srcdir)/"$$hf" $(DESTDIR)$(headersdir)/$$hf || exit 1; \ |
a0c0a00f CR |
865 | done |
866 | @for hf in $(INSTALLED_INCFILES) ; do \ | |
8868edaf | 867 | ${INSTALL_DATA} $(BASHINCDIR)/"$$hf" $(DESTDIR)$(headersdir)/include/$$hf || exit 1; \ |
a0c0a00f CR |
868 | done |
869 | @for hf in $(INSTALLED_BUILTINS_HEADERS) ; do \ | |
8868edaf | 870 | ${INSTALL_DATA} $(BUILTIN_SRCDIR)/"$$hf" $(DESTDIR)$(headersdir)/builtins/$$hf || exit 1; \ |
a0c0a00f CR |
871 | done |
872 | @for hf in $(CREATED_HEADERS) ; do \ | |
8868edaf CR |
873 | if test -f $(BUILD_DIR)/"$$hf" ; then \ |
874 | ${INSTALL_DATA} $(BUILD_DIR)/"$$hf" $(DESTDIR)$(headersdir)/$$hf || exit 1; \ | |
875 | else \ | |
876 | ${INSTALL_DATA} $(srcdir)/"$$hf" $(DESTDIR)$(headersdir)/$$hf || exit 1; \ | |
877 | fi ; \ | |
a0c0a00f | 878 | done |
d233b485 | 879 | -$(INSTALL_DATA) $(SDIR)/bash.pc $(DESTDIR)$(pkgconfigdir)/bash.pc |
a0c0a00f CR |
880 | |
881 | uninstall-headers: | |
882 | -( cd $(DESTDIR)$(headersdir) && $(RM) $(INSTALLED_HEADERS) ) | |
883 | -( cd $(DESTDIR)$(headersdir)/include && $(RM) $(INSTALLED_INCFILES) ) | |
884 | -( cd $(DESTDIR)$(headersdir)/builtins && $(RM) $(INSTALLED_BUILTINS_HEADERS) ) | |
885 | -( cd $(DESTDIR)$(headersdir) && $(RM) $(CREATED_HEADERS) ) | |
d233b485 | 886 | -( $(RM) $(DESTDIR)$(pkgconfigdir)/bash.pc ) |
a0c0a00f | 887 | |
ccc6cda3 | 888 | uninstall: .made |
f73dda09 | 889 | $(RM) $(DESTDIR)$(bindir)/$(Program) $(DESTDIR)$(bindir)/bashbug |
ac50fbac | 890 | -( cd $(DESTDIR)$(docdir) && ${RM} ${OTHER_INSTALLED_DOCS} ) |
ccc6cda3 JA |
891 | -( cd $(DOCDIR) ; $(MAKE) $(MFLAGS) \ |
892 | man1dir=$(man1dir) man1ext=$(man1ext) \ | |
893 | man3dir=$(man3dir) man3ext=$(man3ext) \ | |
f73dda09 | 894 | infodir=$(infodir) htmldir=$(htmldir) DESTDIR=$(DESTDIR) $@ ) |
b80f6443 | 895 | -( cd $(PO_DIR) ; $(MAKE) $(MFLAGS) DESTDIR=$(DESTDIR) $@ ) |
a0c0a00f | 896 | -( cd $(LOADABLES_DIR) && $(MAKE) $(MFLAGS) DESTDIR=$(DESTDIR) $@ ) |
ccc6cda3 | 897 | |
7117c2d2 JA |
898 | .PHONY: basic-clean clean realclean maintainer-clean distclean mostlyclean maybe-clean |
899 | ||
b80f6443 JA |
900 | LIB_SUBDIRS = ${RL_LIBDIR} ${HIST_LIBDIR} ${TERM_LIBDIR} ${GLOB_LIBDIR} \ |
901 | ${INTL_LIBDIR} ${TILDE_LIBDIR} ${ALLOC_LIBDIR} ${SH_LIBDIR} | |
902 | ||
ccc6cda3 JA |
903 | basic-clean: |
904 | $(RM) $(OBJECTS) $(Program) bashbug | |
95732b49 | 905 | $(RM) .build .made version.h |
ccc6cda3 JA |
906 | |
907 | clean: basic-clean | |
908 | ( cd $(DOCDIR) && $(MAKE) $(MFLAGS) $@ ) | |
909 | ( cd builtins && $(MAKE) $(MFLAGS) $@ ) | |
7117c2d2 | 910 | -( cd $(SDIR) && $(MAKE) $(MFLAGS) $@ ) |
b80f6443 JA |
911 | -for libdir in ${LIB_SUBDIRS}; do \ |
912 | (cd $$libdir && test -f Makefile && $(MAKE) $(MFLAGS) $@) ;\ | |
913 | done | |
914 | -( cd $(PO_DIR) ; $(MAKE) $(MFLAGS) DESTDIR=$(DESTDIR) $@ ) | |
a0c0a00f | 915 | -( cd $(LOADABLES_DIR) && $(MAKE) $(MFLAGS) DESTDIR=$(DESTDIR) $@ ) |
ccc6cda3 JA |
916 | $(RM) $(CREATED_SUPPORT) |
917 | ||
918 | mostlyclean: basic-clean | |
919 | ( cd $(DOCDIR) && $(MAKE) $(MFLAGS) $@ ) | |
920 | ( cd builtins && $(MAKE) $(MFLAGS) $@ ) | |
7117c2d2 | 921 | -( cd $(SDIR) && $(MAKE) $(MFLAGS) $@ ) |
b80f6443 JA |
922 | -for libdir in ${LIB_SUBDIRS}; do \ |
923 | (cd $$libdir && test -f Makefile && $(MAKE) $(MFLAGS) $@) ;\ | |
924 | done | |
925 | -( cd $(PO_DIR) ; $(MAKE) $(MFLAGS) DESTDIR=$(DESTDIR) $@ ) | |
a0c0a00f | 926 | -( cd $(LOADABLES_DIR) && $(MAKE) $(MFLAGS) DESTDIR=$(DESTDIR) $@ ) |
ccc6cda3 | 927 | |
7117c2d2 | 928 | distclean: basic-clean maybe-clean |
ccc6cda3 JA |
929 | ( cd $(DOCDIR) && $(MAKE) $(MFLAGS) $@ ) |
930 | ( cd builtins && $(MAKE) $(MFLAGS) $@ ) | |
7117c2d2 | 931 | -( cd $(SDIR) && $(MAKE) $(MFLAGS) $@ ) |
b80f6443 JA |
932 | -for libdir in ${LIB_SUBDIRS}; do \ |
933 | (cd $$libdir && test -f Makefile && $(MAKE) $(MFLAGS) $@) ;\ | |
934 | done | |
935 | -( cd $(PO_DIR) ; $(MAKE) $(MFLAGS) DESTDIR=$(DESTDIR) $@ ) | |
a0c0a00f | 936 | -( cd $(LOADABLES_DIR) && $(MAKE) $(MFLAGS) DESTDIR=$(DESTDIR) $@ ) |
ccc6cda3 | 937 | $(RM) $(CREATED_CONFIGURE) tags TAGS |
95732b49 | 938 | $(RM) $(CREATED_SUPPORT) Makefile $(CREATED_MAKEFILES) pathnames.h |
ccc6cda3 JA |
939 | |
940 | maintainer-clean: basic-clean | |
941 | @echo This command is intended for maintainers to use. | |
942 | @echo It deletes files that may require special tools to rebuild. | |
f73dda09 | 943 | $(RM) y.tab.c y.tab.h parser-built tags TAGS |
ccc6cda3 JA |
944 | ( cd $(DOCDIR) && $(MAKE) $(MFLAGS) $@ ) |
945 | ( cd builtins && $(MAKE) $(MFLAGS) $@ ) | |
7117c2d2 | 946 | ( cd $(SDIR) && $(MAKE) $(MFLAGS) $@ ) |
b80f6443 JA |
947 | -for libdir in ${LIB_SUBDIRS}; do \ |
948 | (cd $$libdir && test -f Makefile && $(MAKE) $(MFLAGS) $@) ;\ | |
949 | done | |
950 | -( cd $(PO_DIR) ; $(MAKE) $(MFLAGS) DESTDIR=$(DESTDIR) $@ ) | |
a0c0a00f | 951 | -( cd $(LOADABLES_DIR) && $(MAKE) $(MFLAGS) DESTDIR=$(DESTDIR) $@ ) |
ccc6cda3 | 952 | $(RM) $(CREATED_CONFIGURE) $(CREATED_MAKEFILES) |
95732b49 | 953 | $(RM) $(CREATED_SUPPORT) Makefile pathnames.h |
ccc6cda3 | 954 | |
7117c2d2 | 955 | maybe-clean: |
d233b485 | 956 | -if test X"`cd $(topdir) && pwd -P`" != X"`cd $(BUILD_DIR) && pwd -P`" ; then \ |
7117c2d2 JA |
957 | $(RM) parser-built y.tab.c y.tab.h ; \ |
958 | fi | |
959 | ||
bb70624e | 960 | recho$(EXEEXT): $(SUPPORT_SRC)recho.c |
ac50fbac | 961 | @$(CC_FOR_BUILD) $(CCFLAGS_FOR_BUILD) ${LDFLAGS_FOR_BUILD} -o $@ $(SUPPORT_SRC)recho.c ${LIBS_FOR_BUILD} |
ccc6cda3 | 962 | |
bb70624e | 963 | zecho$(EXEEXT): $(SUPPORT_SRC)zecho.c |
ac50fbac | 964 | @$(CC_FOR_BUILD) $(CCFLAGS_FOR_BUILD) ${LDFLAGS_FOR_BUILD} -o $@ $(SUPPORT_SRC)zecho.c ${LIBS_FOR_BUILD} |
d166f048 | 965 | |
bb70624e | 966 | printenv$(EXEEXT): $(SUPPORT_SRC)printenv.c |
ac50fbac | 967 | @$(CC_FOR_BUILD) $(CCFLAGS_FOR_BUILD) ${LDFLAGS_FOR_BUILD} -o $@ $(SUPPORT_SRC)printenv.c ${LIBS_FOR_BUILD} |
ccc6cda3 | 968 | |
3185942a | 969 | xcase$(EXEEXT): $(SUPPORT_SRC)xcase.c |
ac50fbac | 970 | @$(CC_FOR_BUILD) $(CCFLAGS_FOR_BUILD) ${LDFLAGS_FOR_BUILD} -o $@ $(SUPPORT_SRC)xcase.c ${LIBS_FOR_BUILD} |
3185942a | 971 | |
f73dda09 | 972 | test tests check: force $(Program) $(TESTS_SUPPORT) |
ccc6cda3 | 973 | @-test -d tests || mkdir tests |
d166f048 | 974 | @cp $(TESTS_SUPPORT) tests |
ccc6cda3 | 975 | @( cd $(srcdir)/tests && \ |
8868edaf | 976 | BUILD_DIR=$(BUILD_DIR) PATH=$(BUILD_DIR)/tests:$$PATH THIS_SH=$(THIS_SH) $(SHELL) ${TESTSCRIPT} ) |
ccc6cda3 JA |
977 | |
978 | symlinks: | |
979 | $(SHELL) $(SUPPORT_SRC)fixlinks -s $(srcdir) | |
980 | ||
981 | dist: force | |
982 | @echo Bash distributions are created using $(srcdir)/support/mkdist. | |
983 | @echo Here is a sample of the necessary commands: | |
a0c0a00f CR |
984 | @echo $(Program) $(srcdir)/support/mkdist -m $(srcdir)/MANIFEST -s $(srcdir) -r ${PACKAGE} -t $(PACKAGE_VERSION) |
985 | ||
986 | xdist: force | |
987 | ( cd $(DOCDIR) && $(MAKE) $(MFLAGS) $@ ) | |
988 | ( cd po && $(MAKE) $(MFLAGS) $@ ) | |
d166f048 JA |
989 | |
990 | depend: depends | |
991 | ||
bb70624e | 992 | depends: force |
d166f048 | 993 | $(Program) $(SUPPORT_SRC)mkdep -c ${CC} -- ${CCFLAGS} ${CSOURCES} |
ccc6cda3 | 994 | |
f73dda09 JA |
995 | #### PRIVATE TARGETS #### |
996 | hashtest: hashlib.c | |
8868edaf | 997 | $(CC) -DTEST_HASHING $(CCFLAGS) $(TEST_NBUCKETS) -o $@ $(srcdir)/hashlib.c xmalloc.o $(INTL_LIB) $(MALLOC_LIBRARY) |
f73dda09 | 998 | |
ccc6cda3 JA |
999 | ############################ DEPENDENCIES ############################### |
1000 | ||
b72432fd | 1001 | # Files that depend on the definitions in config-top.h, which are not meant |
ccc6cda3 | 1002 | # to be changed |
8868edaf | 1003 | array.o: $(srcdir)/config-top.h |
74091dd4 | 1004 | array2.o: $(srcdir)/config-top.h |
8868edaf CR |
1005 | bashhist.o: $(srcdir)/config-top.h |
1006 | shell.o: $(srcdir)/config-top.h | |
1007 | input.o: $(srcdir)/config-top.h | |
1008 | y.tab.o: $(srcdir)/config-top.h | |
1009 | jobs.o: $(srcdir)/config-top.h | |
1010 | nojobs.o: $(srcdir)/config-top.h | |
1011 | execute_cmd.o: $(srcdir)/config-top.h | |
1012 | variables.o: $(srcdir)/config-top.h | |
1013 | findcmd.o: $(srcdir)/config-top.h | |
1014 | subst.o: $(srcdir)/config-top.h | |
1015 | builtins/cd.o: $(srcdir)/config-top.h | |
1016 | builtins/command.o: $(srcdir)/config-top.h | |
1017 | builtins/common.o: $(srcdir)/config-top.h | |
1018 | builtins/declare.o: $(srcdir)/config-top.h | |
1019 | builtins/break.o: $(srcdir)/config-top.h | |
1020 | builtins/echo.o: $(srcdir)/config-top.h | |
1021 | builtins/evalstring.o: $(srcdir)/config-top.h | |
1022 | builtins/exit.o: $(srcdir)/config-top.h | |
1023 | builtins/kill.o: $(srcdir)/config-top.h | |
1024 | builtins/shopt.o: $(srcdir)/config-top.h | |
1025 | ||
1026 | # XXX | |
1027 | ${SH_LIBDIR}/tmpfile.o: $(srcdir)/config-top.h | |
d166f048 JA |
1028 | |
1029 | # shell basics | |
28ef6c31 | 1030 | copy_cmd.o: shell.h syntax.h config.h bashjmp.h ${BASHINCDIR}/posixjmp.h command.h ${BASHINCDIR}/stdc.h error.h |
f73dda09 | 1031 | copy_cmd.o: general.h xmalloc.h bashtypes.h variables.h arrayfunc.h conftypes.h array.h hashlib.h |
bb70624e | 1032 | copy_cmd.o: quit.h ${BASHINCDIR}/maxpath.h unwind_prot.h dispose_cmd.h |
d166f048 | 1033 | copy_cmd.o: make_cmd.h subst.h sig.h pathnames.h externs.h |
8868edaf | 1034 | copy_cmd.o: bashansi.h assoc.h $(BASHINCDIR)/ocache.h $(BASHINCDIR)/chartypes.h |
bb70624e | 1035 | dispose_cmd.o: bashansi.h ${BASHINCDIR}/ansi_stdlib.h |
28ef6c31 | 1036 | dispose_cmd.o: shell.h syntax.h config.h bashjmp.h ${BASHINCDIR}/posixjmp.h command.h ${BASHINCDIR}/stdc.h |
f73dda09 | 1037 | dispose_cmd.o: error.h general.h xmalloc.h bashtypes.h variables.h arrayfunc.h conftypes.h array.h hashlib.h |
bb70624e | 1038 | dispose_cmd.o: quit.h ${BASHINCDIR}/maxpath.h unwind_prot.h dispose_cmd.h |
d166f048 | 1039 | dispose_cmd.o: make_cmd.h subst.h sig.h pathnames.h externs.h |
7117c2d2 | 1040 | dispose_cmd.o: ${BASHINCDIR}/ocache.h |
8868edaf | 1041 | dispose_cmd.o: assoc.h ${BASHINCDIR}/chartypes.h |
bb70624e | 1042 | error.o: config.h bashtypes.h bashansi.h ${BASHINCDIR}/ansi_stdlib.h flags.h ${BASHINCDIR}/stdc.h error.h |
f73dda09 | 1043 | error.o: command.h general.h xmalloc.h externs.h input.h bashhist.h |
b80f6443 JA |
1044 | error.o: shell.h syntax.h config.h bashjmp.h ${BASHINCDIR}/posixjmp.h command.h ${BASHINCDIR}/stdc.h error.h |
1045 | error.o: general.h xmalloc.h bashtypes.h variables.h arrayfunc.h conftypes.h array.h hashlib.h | |
1046 | error.o: quit.h ${BASHINCDIR}/maxpath.h unwind_prot.h dispose_cmd.h | |
d233b485 | 1047 | error.o: make_cmd.h subst.h sig.h pathnames.h externs.h execute_cmd.h |
b80f6443 | 1048 | error.o: input.h execute_cmd.h |
8868edaf | 1049 | error.o: $(BASHINCDIR)/ocache.h $(BASHINCDIR)/chartypes.h assoc.h |
bb70624e | 1050 | eval.o: config.h bashansi.h ${BASHINCDIR}/ansi_stdlib.h trap.h flags.h ${DEFSRC}/common.h |
28ef6c31 | 1051 | eval.o: shell.h syntax.h config.h bashjmp.h ${BASHINCDIR}/posixjmp.h command.h ${BASHINCDIR}/stdc.h error.h |
f73dda09 | 1052 | eval.o: general.h xmalloc.h bashtypes.h variables.h arrayfunc.h conftypes.h array.h hashlib.h |
bb70624e | 1053 | eval.o: quit.h ${BASHINCDIR}/maxpath.h unwind_prot.h dispose_cmd.h |
d233b485 | 1054 | eval.o: make_cmd.h subst.h sig.h pathnames.h externs.h parser.h |
b80f6443 | 1055 | eval.o: input.h execute_cmd.h |
8868edaf | 1056 | eval.o: bashhist.h assoc.h ${BASHINCDIR}/ocache.h ${BASHINCDIR}/chartypes.h |
bb70624e | 1057 | execute_cmd.o: config.h bashtypes.h ${BASHINCDIR}/filecntl.h ${BASHINCDIR}/posixstat.h bashansi.h ${BASHINCDIR}/ansi_stdlib.h |
28ef6c31 | 1058 | execute_cmd.o: shell.h syntax.h config.h bashjmp.h ${BASHINCDIR}/posixjmp.h command.h ${BASHINCDIR}/stdc.h error.h |
f73dda09 | 1059 | execute_cmd.o: general.h xmalloc.h bashtypes.h variables.h arrayfunc.h conftypes.h array.h hashlib.h |
bb70624e | 1060 | execute_cmd.o: quit.h ${BASHINCDIR}/maxpath.h unwind_prot.h dispose_cmd.h |
d233b485 | 1061 | execute_cmd.o: make_cmd.h subst.h sig.h pathnames.h externs.h parser.h |
bb70624e | 1062 | execute_cmd.o: ${BASHINCDIR}/memalloc.h ${GRAM_H} flags.h builtins.h jobs.h quit.h siglist.h |
cce855bc | 1063 | execute_cmd.o: execute_cmd.h findcmd.h redir.h trap.h test.h pathexp.h |
f73dda09 JA |
1064 | execute_cmd.o: $(DEFSRC)/common.h ${DEFDIR}/builtext.h ${GLOB_LIBSRC}/strmatch.h |
1065 | execute_cmd.o: ${BASHINCDIR}/posixtime.h ${BASHINCDIR}/chartypes.h | |
a0c0a00f | 1066 | execute_cmd.o: $(DEFSRC)/getopt.h |
8868edaf CR |
1067 | execute_cmd.o: bashhist.h input.h ${GRAM_H} assoc.h hashcmd.h alias.h |
1068 | execute_cmd.o: ${BASHINCDIR}/ocache.h ${BASHINCDIR}/posixwait.h | |
b80f6443 | 1069 | expr.o: config.h bashansi.h ${BASHINCDIR}/ansi_stdlib.h |
28ef6c31 | 1070 | expr.o: shell.h syntax.h config.h bashjmp.h ${BASHINCDIR}/posixjmp.h command.h ${BASHINCDIR}/stdc.h error.h |
f73dda09 | 1071 | expr.o: general.h xmalloc.h bashtypes.h variables.h arrayfunc.h conftypes.h array.h hashlib.h |
bb70624e | 1072 | expr.o: quit.h ${BASHINCDIR}/maxpath.h unwind_prot.h dispose_cmd.h |
d233b485 | 1073 | expr.o: make_cmd.h subst.h sig.h pathnames.h externs.h flags.h execute_cmd.h |
f73dda09 | 1074 | expr.o: ${BASHINCDIR}/chartypes.h |
8868edaf | 1075 | expr.o: assoc.h ${BASHINCDIR}/ocache.h ${BASHINCDIR}/typemax.h |
bb70624e | 1076 | findcmd.o: config.h bashtypes.h ${BASHINCDIR}/filecntl.h ${BASHINCDIR}/posixstat.h bashansi.h |
28ef6c31 | 1077 | findcmd.o: ${BASHINCDIR}/ansi_stdlib.h ${BASHINCDIR}/memalloc.h shell.h syntax.h bashjmp.h ${BASHINCDIR}/posixjmp.h command.h |
f73dda09 | 1078 | 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 | 1079 | findcmd.o: dispose_cmd.h make_cmd.h subst.h sig.h pathnames.h externs.h |
d233b485 | 1080 | findcmd.o: flags.h hashlib.h pathexp.h hashcmd.h execute_cmd.h |
f73dda09 | 1081 | findcmd.o: ${BASHINCDIR}/chartypes.h |
b80f6443 | 1082 | flags.o: config.h flags.h |
28ef6c31 | 1083 | flags.o: shell.h syntax.h config.h bashjmp.h ${BASHINCDIR}/posixjmp.h command.h ${BASHINCDIR}/stdc.h error.h |
f73dda09 | 1084 | flags.o: general.h xmalloc.h bashtypes.h variables.h arrayfunc.h conftypes.h array.h hashlib.h |
d233b485 | 1085 | flags.o: quit.h ${BASHINCDIR}/maxpath.h unwind_prot.h dispose_cmd.h execute_cmd.h |
f73dda09 | 1086 | flags.o: make_cmd.h subst.h sig.h pathnames.h externs.h bashhist.h |
8868edaf | 1087 | flags.o: ${BASHINCDIR}/ocache.h ${BASHINCDIR}/chartypes.h bashansi.h assoc.h |
bb70624e | 1088 | general.o: config.h bashtypes.h ${BASHINCDIR}/posixstat.h ${BASHINCDIR}/filecntl.h bashansi.h ${BASHINCDIR}/ansi_stdlib.h |
28ef6c31 | 1089 | general.o: shell.h syntax.h config.h bashjmp.h ${BASHINCDIR}/posixjmp.h command.h ${BASHINCDIR}/stdc.h error.h |
f73dda09 | 1090 | general.o: general.h xmalloc.h bashtypes.h variables.h arrayfunc.h conftypes.h array.h hashlib.h |
bb70624e | 1091 | general.o: quit.h ${BASHINCDIR}/maxpath.h unwind_prot.h dispose_cmd.h |
d233b485 | 1092 | general.o: make_cmd.h subst.h sig.h pathnames.h externs.h flags.h parser.h |
8868edaf | 1093 | general.o: pathexp.h |
bb70624e | 1094 | general.o: ${BASHINCDIR}/maxpath.h ${BASHINCDIR}/posixtime.h |
f73dda09 | 1095 | general.o: ${BASHINCDIR}/chartypes.h |
8868edaf CR |
1096 | general.o: trap.h input.h assoc.h test.h findcmd.h |
1097 | general.o: ${BASHINCDIR}/ocache.h $(DEFSRC)/common.h | |
bb70624e | 1098 | hashcmd.o: config.h ${BASHINCDIR}/posixstat.h bashtypes.h bashansi.h ${BASHINCDIR}/ansi_stdlib.h |
28ef6c31 | 1099 | hashcmd.o: shell.h syntax.h config.h bashjmp.h ${BASHINCDIR}/posixjmp.h command.h ${BASHINCDIR}/stdc.h error.h |
f73dda09 | 1100 | hashcmd.o: general.h xmalloc.h bashtypes.h variables.h arrayfunc.h conftypes.h array.h hashcmd.h |
0001803f | 1101 | hashcmd.o: execute_cmd.h findcmd.h ${BASHINCDIR}/stdc.h pathnames.h hashlib.h |
d233b485 | 1102 | hashcmd.o: quit.h sig.h flags.h |
bb70624e | 1103 | hashlib.o: config.h bashansi.h ${BASHINCDIR}/ansi_stdlib.h |
28ef6c31 | 1104 | hashlib.o: shell.h syntax.h config.h bashjmp.h ${BASHINCDIR}/posixjmp.h command.h ${BASHINCDIR}/stdc.h error.h |
f73dda09 | 1105 | hashlib.o: general.h xmalloc.h bashtypes.h variables.h arrayfunc.h conftypes.h array.h hashlib.h |
bb70624e | 1106 | hashlib.o: quit.h ${BASHINCDIR}/maxpath.h unwind_prot.h dispose_cmd.h |
b80f6443 | 1107 | hashlib.o: make_cmd.h subst.h sig.h pathnames.h externs.h |
8868edaf | 1108 | hashlib.o: assoc.h ${BASHINCDIR}/ocache.h ${BASHINCDIR}/chartypes.h |
bb70624e | 1109 | input.o: config.h bashtypes.h ${BASHINCDIR}/filecntl.h ${BASHINCDIR}/posixstat.h bashansi.h ${BASHINCDIR}/ansi_stdlib.h |
f73dda09 | 1110 | input.o: command.h ${BASHINCDIR}/stdc.h general.h xmalloc.h input.h error.h externs.h |
d233b485 | 1111 | input.o: quit.h shell.h pathnames.h |
28ef6c31 | 1112 | list.o: shell.h syntax.h config.h bashjmp.h ${BASHINCDIR}/posixjmp.h command.h ${BASHINCDIR}/stdc.h error.h |
f73dda09 | 1113 | list.o: general.h xmalloc.h bashtypes.h variables.h arrayfunc.h conftypes.h array.h hashlib.h |
bb70624e | 1114 | list.o: quit.h ${BASHINCDIR}/maxpath.h unwind_prot.h dispose_cmd.h |
b80f6443 | 1115 | list.o: make_cmd.h subst.h sig.h pathnames.h externs.h |
8868edaf CR |
1116 | list.o: ${BASHINCDIR}/ocache.h ${BASHINCDIR}/chartypes.h bashansi.h assoc.h |
1117 | locale.o: config.h bashtypes.h bashansi.h ${BASHINCDIR}/ansi_stdlib.h | |
28ef6c31 | 1118 | locale.o: shell.h syntax.h config.h bashjmp.h ${BASHINCDIR}/posixjmp.h command.h ${BASHINCDIR}/stdc.h error.h |
f73dda09 | 1119 | locale.o: general.h xmalloc.h bashtypes.h variables.h arrayfunc.h conftypes.h array.h hashlib.h |
bb70624e | 1120 | locale.o: quit.h ${BASHINCDIR}/maxpath.h unwind_prot.h dispose_cmd.h |
b80f6443 | 1121 | locale.o: make_cmd.h subst.h sig.h pathnames.h externs.h |
f73dda09 | 1122 | locale.o: ${BASHINCDIR}/chartypes.h |
8868edaf | 1123 | locale.o: input.h assoc.h ${BASHINCDIR}/ocache.h |
bb70624e | 1124 | mailcheck.o: config.h bashtypes.h ${BASHINCDIR}/posixstat.h bashansi.h ${BASHINCDIR}/ansi_stdlib.h |
f73dda09 | 1125 | mailcheck.o: ${BASHINCDIR}/posixtime.h |
28ef6c31 | 1126 | mailcheck.o: shell.h syntax.h config.h bashjmp.h ${BASHINCDIR}/posixjmp.h command.h ${BASHINCDIR}/stdc.h error.h |
f73dda09 | 1127 | mailcheck.o: general.h xmalloc.h bashtypes.h variables.h arrayfunc.h conftypes.h array.h hashlib.h |
bb70624e | 1128 | mailcheck.o: quit.h ${BASHINCDIR}/maxpath.h unwind_prot.h dispose_cmd.h |
d166f048 | 1129 | mailcheck.o: make_cmd.h subst.h sig.h pathnames.h externs.h |
b80f6443 | 1130 | mailcheck.o: execute_cmd.h mailcheck.h |
8868edaf | 1131 | mailcheck.o: ${BASHINCDIR}/ocache.h ${BASHINCDIR}/chartypes.h assoc.h |
bb70624e | 1132 | make_cmd.o: config.h bashtypes.h ${BASHINCDIR}/filecntl.h bashansi.h |
f73dda09 JA |
1133 | make_cmd.o: command.h ${BASHINCDIR}/stdc.h general.h xmalloc.h error.h flags.h make_cmd.h |
1134 | make_cmd.o: variables.h arrayfunc.h conftypes.h array.h hashlib.h subst.h input.h externs.h | |
a0c0a00f | 1135 | make_cmd.o: jobs.h quit.h sig.h siglist.h syntax.h dispose_cmd.h parser.h |
495aee44 | 1136 | make_cmd.o: ${BASHINCDIR}/shmbutil.h ${BASHINCDIR}/shmbchar.h ${BASHINCDIR}/ocache.h |
d233b485 | 1137 | make_cmd.o: shell.h execute_cmd.h pathnames.h |
8868edaf CR |
1138 | make_cmd.o: $(BASHINCDIR)/maxpath.h make_cmd.c assoc.h $(BASHINCDIR)/chartypes.h |
1139 | make_cmd.o: unwind_prot.h $(BASHINCDIR)/posixjmp.h bashjmp.h $(BASHINCDIR)/posixwait.h | |
bb70624e | 1140 | y.tab.o: config.h bashtypes.h bashansi.h ${BASHINCDIR}/ansi_stdlib.h ${BASHINCDIR}/memalloc.h |
28ef6c31 | 1141 | y.tab.o: shell.h syntax.h config.h bashjmp.h ${BASHINCDIR}/posixjmp.h command.h ${BASHINCDIR}/stdc.h error.h |
f73dda09 | 1142 | y.tab.o: general.h xmalloc.h bashtypes.h variables.h arrayfunc.h conftypes.h array.h hashlib.h |
bb70624e | 1143 | y.tab.o: quit.h ${BASHINCDIR}/maxpath.h unwind_prot.h dispose_cmd.h |
d233b485 | 1144 | y.tab.o: make_cmd.h subst.h sig.h pathnames.h externs.h test.h execute_cmd.o |
d166f048 JA |
1145 | y.tab.o: trap.h flags.h parser.h input.h mailcheck.h $(DEFSRC)/common.h |
1146 | y.tab.o: $(DEFDIR)/builtext.h bashline.h bashhist.h jobs.h siglist.h alias.h | |
8868edaf CR |
1147 | y.tab.o: ${BASHINCDIR}/typemax.h assoc.h ${BASHINCDIR}/ocache.h |
1148 | y.tab.o: ${BASHINCDIR}/shmbutil.h ${BASHINCDIR}/shmbchar.h ${BASHINCDIR}/posixwait.h | |
bb70624e | 1149 | pathexp.o: config.h bashtypes.h bashansi.h ${BASHINCDIR}/ansi_stdlib.h |
28ef6c31 | 1150 | pathexp.o: shell.h syntax.h config.h bashjmp.h ${BASHINCDIR}/posixjmp.h command.h ${BASHINCDIR}/stdc.h error.h |
f73dda09 | 1151 | pathexp.o: general.h xmalloc.h bashtypes.h variables.h arrayfunc.h conftypes.h array.h hashlib.h |
bb70624e | 1152 | pathexp.o: quit.h ${BASHINCDIR}/maxpath.h unwind_prot.h dispose_cmd.h |
ccc6cda3 | 1153 | pathexp.o: make_cmd.h subst.h sig.h pathnames.h externs.h |
d166f048 | 1154 | pathexp.o: pathexp.h flags.h |
f73dda09 | 1155 | pathexp.o: $(GLOB_LIBSRC)/glob.h $(GLOB_LIBSRC)/strmatch.h |
495aee44 | 1156 | pathexp.o: ${BASHINCDIR}/shmbutil.h ${BASHINCDIR}/shmbchar.h |
8868edaf | 1157 | pathexp.o: ${BASHINCDIR}/ocache.h ${BASHINCDIR}/chartypes.h assoc.h |
bb70624e | 1158 | print_cmd.o: config.h bashansi.h ${BASHINCDIR}/ansi_stdlib.h |
28ef6c31 | 1159 | print_cmd.o: shell.h syntax.h config.h bashjmp.h ${BASHINCDIR}/posixjmp.h command.h ${BASHINCDIR}/stdc.h error.h |
f73dda09 | 1160 | print_cmd.o: general.h xmalloc.h bashtypes.h variables.h arrayfunc.h conftypes.h array.h hashlib.h |
bb70624e | 1161 | print_cmd.o: quit.h ${BASHINCDIR}/maxpath.h unwind_prot.h dispose_cmd.h |
b80f6443 | 1162 | print_cmd.o: make_cmd.h subst.h sig.h pathnames.h externs.h |
a0c0a00f | 1163 | print_cmd.o: ${BASHINCDIR}/shmbutil.h ${BASHINCDIR}/shmbchar.h |
d166f048 | 1164 | print_cmd.o: ${GRAM_H} $(DEFSRC)/common.h |
8868edaf CR |
1165 | print_cmd.o: flags.h input.h assoc.h |
1166 | print_cmd.o: $(BASHINCDIR)/ocache.h $(BASHINCDIR)/chartypes.h | |
bb70624e | 1167 | redir.o: config.h bashtypes.h ${BASHINCDIR}/posixstat.h bashansi.h ${BASHINCDIR}/ansi_stdlib.h ${BASHINCDIR}/filecntl.h |
28ef6c31 | 1168 | redir.o: ${BASHINCDIR}/memalloc.h shell.h syntax.h bashjmp.h ${BASHINCDIR}/posixjmp.h command.h ${BASHINCDIR}/stdc.h error.h |
f73dda09 | 1169 | redir.o: general.h xmalloc.h variables.h arrayfunc.h conftypes.h array.h hashlib.h quit.h ${BASHINCDIR}/maxpath.h unwind_prot.h |
b80f6443 | 1170 | redir.o: dispose_cmd.h make_cmd.h subst.h sig.h pathnames.h externs.h |
cce855bc | 1171 | redir.o: flags.h execute_cmd.h redir.h input.h |
8868edaf CR |
1172 | redir.o: ${DEFDIR}/pipesize.h |
1173 | redir.o: trap.h assoc.h $(BASHINCDIR)/ocache.h $(BASHINCDIR)/chartypes.h | |
bb70624e | 1174 | shell.o: config.h bashtypes.h ${BASHINCDIR}/posixstat.h bashansi.h ${BASHINCDIR}/ansi_stdlib.h ${BASHINCDIR}/filecntl.h |
28ef6c31 | 1175 | shell.o: shell.h syntax.h config.h bashjmp.h ${BASHINCDIR}/posixjmp.h command.h ${BASHINCDIR}/stdc.h error.h |
f73dda09 | 1176 | shell.o: general.h xmalloc.h bashtypes.h variables.h arrayfunc.h conftypes.h array.h hashlib.h |
bb70624e | 1177 | shell.o: quit.h ${BASHINCDIR}/maxpath.h unwind_prot.h dispose_cmd.h |
d233b485 | 1178 | shell.o: make_cmd.h subst.h sig.h pathnames.h externs.h parser.h |
d166f048 | 1179 | shell.o: flags.h trap.h mailcheck.h builtins.h $(DEFSRC)/common.h |
3185942a | 1180 | shell.o: jobs.h siglist.h input.h execute_cmd.h findcmd.h bashhist.h bashline.h |
8868edaf CR |
1181 | shell.o: ${GLOB_LIBSRC}/strmatch.h ${BASHINCDIR}/posixtime.h ${BASHINCDIR}/posixwait.h |
1182 | shell.o: ${BASHINCDIR}/ocache.h ${BASHINCDIR}/chartypes.h assoc.h alias.h | |
d166f048 | 1183 | sig.o: config.h bashtypes.h |
28ef6c31 | 1184 | sig.o: shell.h syntax.h config.h bashjmp.h ${BASHINCDIR}/posixjmp.h command.h ${BASHINCDIR}/stdc.h error.h |
f73dda09 | 1185 | sig.o: general.h xmalloc.h bashtypes.h variables.h arrayfunc.h conftypes.h array.h hashlib.h |
bb70624e | 1186 | sig.o: quit.h ${BASHINCDIR}/maxpath.h unwind_prot.h dispose_cmd.h |
d233b485 | 1187 | sig.o: make_cmd.h subst.h sig.h pathnames.h externs.h execute_cmd.h |
d166f048 | 1188 | sig.o: jobs.h siglist.h trap.h $(DEFSRC)/common.h bashline.h bashhist.h |
ac50fbac | 1189 | sig.o: ${DEFDIR}/builtext.h |
0001803f | 1190 | siglist.o: config.h bashtypes.h siglist.h trap.h |
f73dda09 | 1191 | stringlib.o: bashtypes.h ${BASHINCDIR}/chartypes.h |
28ef6c31 | 1192 | stringlib.o: shell.h syntax.h config.h bashjmp.h ${BASHINCDIR}/posixjmp.h command.h ${BASHINCDIR}/stdc.h error.h |
f73dda09 | 1193 | stringlib.o: general.h xmalloc.h bashtypes.h variables.h arrayfunc.h conftypes.h array.h hashlib.h |
bb70624e | 1194 | stringlib.o: quit.h ${BASHINCDIR}/maxpath.h unwind_prot.h dispose_cmd.h |
b80f6443 | 1195 | stringlib.o: make_cmd.h subst.h sig.h pathnames.h externs.h |
8868edaf | 1196 | stringlib.o: bashansi.h pathexp.h assoc.h $(BASHINCDIR)/ocache.h |
f73dda09 | 1197 | stringlib.o: ${GLOB_LIBSRC}/glob.h ${GLOB_LIBSRC}/strmatch.h |
bb70624e | 1198 | subst.o: config.h bashtypes.h bashansi.h ${BASHINCDIR}/ansi_stdlib.h ${BASHINCDIR}/posixstat.h |
28ef6c31 | 1199 | subst.o: shell.h syntax.h config.h bashjmp.h ${BASHINCDIR}/posixjmp.h command.h ${BASHINCDIR}/stdc.h error.h |
f73dda09 | 1200 | subst.o: general.h xmalloc.h bashtypes.h variables.h arrayfunc.h conftypes.h array.h hashlib.h |
bb70624e | 1201 | subst.o: quit.h ${BASHINCDIR}/maxpath.h unwind_prot.h dispose_cmd.h |
495aee44 | 1202 | subst.o: make_cmd.h subst.h sig.h pathnames.h externs.h parser.h |
bb70624e | 1203 | subst.o: flags.h jobs.h siglist.h execute_cmd.h ${BASHINCDIR}/filecntl.h trap.h pathexp.h |
d166f048 | 1204 | subst.o: mailcheck.h input.h $(DEFSRC)/getopt.h $(DEFSRC)/common.h |
f73dda09 JA |
1205 | subst.o: bashline.h bashhist.h ${GLOB_LIBSRC}/strmatch.h |
1206 | subst.o: ${BASHINCDIR}/chartypes.h | |
495aee44 | 1207 | subst.o: ${BASHINCDIR}/shmbutil.h ${BASHINCDIR}/shmbchar.h |
0001803f | 1208 | subst.o: ${DEFDIR}/builtext.h |
bb70624e | 1209 | test.o: bashtypes.h ${BASHINCDIR}/posixstat.h ${BASHINCDIR}/filecntl.h |
28ef6c31 | 1210 | test.o: shell.h syntax.h config.h bashjmp.h ${BASHINCDIR}/posixjmp.h command.h ${BASHINCDIR}/stdc.h error.h |
f73dda09 | 1211 | test.o: general.h xmalloc.h bashtypes.h variables.h arrayfunc.h conftypes.h array.h hashlib.h |
bb70624e | 1212 | test.o: quit.h ${BASHINCDIR}/maxpath.h unwind_prot.h dispose_cmd.h |
cce855bc | 1213 | test.o: make_cmd.h subst.h sig.h pathnames.h externs.h test.h |
8868edaf CR |
1214 | test.o: ${BASHINCDIR}/stat-time.h ${BASHINCDIR}/ocache.h ${BASHINCDIR}/chartypes.h |
1215 | test.o: $(GLOB_LIBSRC)/strmatch.h bashansi.h pathexp.h assoc.h | |
b80f6443 | 1216 | test.o: ${DEFSRC}/common.h |
bb70624e | 1217 | trap.o: config.h bashtypes.h trap.h bashansi.h ${BASHINCDIR}/ansi_stdlib.h |
28ef6c31 | 1218 | trap.o: shell.h syntax.h config.h bashjmp.h ${BASHINCDIR}/posixjmp.h command.h ${BASHINCDIR}/stdc.h error.h |
f73dda09 | 1219 | trap.o: general.h xmalloc.h bashtypes.h variables.h arrayfunc.h conftypes.h array.h hashlib.h |
d233b485 CR |
1220 | trap.o: quit.h ${BASHINCDIR}/maxpath.h unwind_prot.h dispose_cmd.h parser.h |
1221 | trap.o: make_cmd.h subst.h sig.h pathnames.h externs.h execute_cmd.h | |
d166f048 | 1222 | trap.o: signames.h $(DEFSRC)/common.h |
74091dd4 | 1223 | trap.o: ${DEFDIR}/builtext.h builtins.h jobs.h |
bb70624e | 1224 | unwind_prot.o: config.h bashtypes.h bashansi.h ${BASHINCDIR}/ansi_stdlib.h command.h ${BASHINCDIR}/stdc.h |
f73dda09 | 1225 | unwind_prot.o: general.h xmalloc.h unwind_prot.h quit.h sig.h |
8868edaf | 1226 | unwind_prot.o: ${BASHINCDIR}/ocache.h ${BASHINCDIR}/chartypes.h error.h |
bb70624e | 1227 | variables.o: config.h bashtypes.h ${BASHINCDIR}/posixstat.h bashansi.h ${BASHINCDIR}/ansi_stdlib.h |
28ef6c31 | 1228 | variables.o: shell.h syntax.h config.h bashjmp.h ${BASHINCDIR}/posixjmp.h command.h ${BASHINCDIR}/stdc.h error.h |
f73dda09 | 1229 | variables.o: general.h xmalloc.h bashtypes.h variables.h arrayfunc.h conftypes.h array.h hashlib.h |
bb70624e | 1230 | variables.o: quit.h ${BASHINCDIR}/maxpath.h unwind_prot.h dispose_cmd.h |
d233b485 | 1231 | variables.o: make_cmd.h subst.h sig.h pathnames.h externs.h parser.h |
cce855bc | 1232 | variables.o: flags.h execute_cmd.h mailcheck.h input.h $(DEFSRC)/common.h |
f73dda09 | 1233 | variables.o: findcmd.h bashhist.h hashcmd.h pathexp.h |
b80f6443 | 1234 | variables.o: pcomplete.h ${BASHINCDIR}/chartypes.h |
8868edaf | 1235 | variables.o: ${BASHINCDIR}/posixtime.h assoc.h ${DEFSRC}/getopt.h |
ac50fbac | 1236 | variables.o: version.h $(DEFDIR)/builtext.h |
8868edaf | 1237 | version.o: conftypes.h patchlevel.h version.h |
bb70624e | 1238 | xmalloc.o: config.h bashtypes.h ${BASHINCDIR}/ansi_stdlib.h error.h |
8868edaf | 1239 | xmalloc.o: ${BASHINCDIR}/stdc.h $(ALLOC_LIBSRC)/shmalloc.h |
d166f048 JA |
1240 | |
1241 | # job control | |
1242 | ||
bb70624e | 1243 | jobs.o: config.h bashtypes.h trap.h ${BASHINCDIR}/filecntl.h input.h ${BASHINCDIR}/shtty.h |
8868edaf | 1244 | jobs.o: bashansi.h ${BASHINCDIR}/ansi_stdlib.h assoc.h |
28ef6c31 | 1245 | jobs.o: shell.h syntax.h config.h bashjmp.h ${BASHINCDIR}/posixjmp.h command.h ${BASHINCDIR}/stdc.h error.h |
f73dda09 | 1246 | jobs.o: general.h xmalloc.h bashtypes.h variables.h arrayfunc.h conftypes.h array.h hashlib.h |
d233b485 | 1247 | jobs.o: quit.h ${BASHINCDIR}/maxpath.h unwind_prot.h dispose_cmd.h parser.h |
0001803f | 1248 | jobs.o: execute_cmd.h make_cmd.h subst.h sig.h pathnames.h externs.h |
d166f048 | 1249 | jobs.o: jobs.h flags.h $(DEFSRC)/common.h $(DEFDIR)/builtext.h |
bb70624e | 1250 | jobs.o: ${BASHINCDIR}/posixwait.h ${BASHINCDIR}/unionwait.h |
f73dda09 | 1251 | jobs.o: ${BASHINCDIR}/posixtime.h |
8868edaf | 1252 | jobs.o: $(BASHINCDIR)/ocache.h $(BASHINCDIR)/chartypes.h $(BASHINCDIR)/typemax.h |
bb70624e | 1253 | nojobs.o: config.h bashtypes.h ${BASHINCDIR}/filecntl.h bashjmp.h ${BASHINCDIR}/posixjmp.h |
f73dda09 | 1254 | nojobs.o: command.h ${BASHINCDIR}/stdc.h general.h xmalloc.h jobs.h quit.h siglist.h externs.h |
d233b485 | 1255 | nojobs.o: sig.h error.h ${BASHINCDIR}/shtty.h input.h parser.h |
3185942a | 1256 | nojobs.o: $(DEFDIR)/builtext.h |
8868edaf | 1257 | nojobs.o: $(BASHINCDIR)/ocache.h $(BASHINCDIR)/chartypes.h $(BASHINCDIR)/typemax.h |
d166f048 JA |
1258 | |
1259 | # shell features that may be compiled in | |
1260 | ||
bb70624e | 1261 | array.o: config.h bashansi.h ${BASHINCDIR}/ansi_stdlib.h |
28ef6c31 | 1262 | array.o: shell.h syntax.h config.h bashjmp.h ${BASHINCDIR}/posixjmp.h command.h ${BASHINCDIR}/stdc.h error.h |
f73dda09 | 1263 | array.o: general.h xmalloc.h bashtypes.h variables.h arrayfunc.h conftypes.h array.h hashlib.h |
bb70624e | 1264 | array.o: quit.h ${BASHINCDIR}/maxpath.h unwind_prot.h dispose_cmd.h |
b80f6443 | 1265 | array.o: make_cmd.h subst.h sig.h pathnames.h externs.h |
8868edaf | 1266 | array.o: $(BASHINCDIR)/ocache.h $(BASHINCDIR)/chartypes.h |
d166f048 | 1267 | array.o: $(DEFSRC)/common.h |
74091dd4 CR |
1268 | array2.o: config.h bashansi.h ${BASHINCDIR}/ansi_stdlib.h |
1269 | array2.o: shell.h syntax.h config.h bashjmp.h ${BASHINCDIR}/posixjmp.h command.h ${BASHINCDIR}/stdc.h error.h | |
1270 | array2.o: general.h xmalloc.h bashtypes.h variables.h arrayfunc.h conftypes.h array.h hashlib.h | |
1271 | array2.o: quit.h ${BASHINCDIR}/maxpath.h unwind_prot.h dispose_cmd.h | |
1272 | array2.o: make_cmd.h subst.h sig.h pathnames.h externs.h | |
1273 | array2.o: $(BASHINCDIR)/ocache.h $(BASHINCDIR)/chartypes.h | |
1274 | array2.o: $(DEFSRC)/common.h | |
f73dda09 JA |
1275 | arrayfunc.o: config.h bashansi.h ${BASHINCDIR}/ansi_stdlib.h |
1276 | arrayfunc.o: shell.h syntax.h config.h bashjmp.h ${BASHINCDIR}/posixjmp.h command.h ${BASHINCDIR}/stdc.h error.h | |
1277 | arrayfunc.o: general.h xmalloc.h bashtypes.h variables.h arrayfunc.h conftypes.h array.h hashlib.h | |
1278 | arrayfunc.o: quit.h ${BASHINCDIR}/maxpath.h unwind_prot.h dispose_cmd.h | |
0001803f | 1279 | arrayfunc.o: make_cmd.h subst.h sig.h pathnames.h externs.h pathexp.h |
d233b485 | 1280 | arrayfunc.o: execute_cmd.h |
8868edaf | 1281 | arrayfunc.o: assoc.h $(BASHINCDIR)/ocache.h $(BASHINCDIR)/chartypes.h |
f73dda09 | 1282 | arrayfunc.o: $(DEFSRC)/common.h |
495aee44 | 1283 | arrayfunc.o: ${BASHINCDIR}/shmbutil.h ${BASHINCDIR}/shmbchar.h |
3185942a JA |
1284 | assoc.o: config.h bashansi.h ${BASHINCDIR}/ansi_stdlib.h |
1285 | assoc.o: shell.h syntax.h config.h bashjmp.h ${BASHINCDIR}/posixjmp.h | |
1286 | assoc.o: command.h ${BASHINCDIR}/stdc.h error.h | |
1287 | assoc.o: general.h xmalloc.h bashtypes.h variables.h arrayfunc.h conftypes.h | |
1288 | assoc.o: assoc.h hashlib.h | |
1289 | assoc.o: quit.h ${BASHINCDIR}/maxpath.h unwind_prot.h dispose_cmd.h | |
1290 | assoc.o: make_cmd.h subst.h sig.h pathnames.h externs.h | |
8868edaf | 1291 | assoc.o: array.h ${BASHINCDIR}/ocache.h ${BASHINCDIR}/chartypes.h |
3185942a | 1292 | assoc.o: $(DEFSRC)/common.h |
bb70624e | 1293 | braces.o: config.h bashansi.h ${BASHINCDIR}/ansi_stdlib.h |
28ef6c31 | 1294 | braces.o: shell.h syntax.h config.h bashjmp.h ${BASHINCDIR}/posixjmp.h command.h ${BASHINCDIR}/stdc.h error.h |
f73dda09 | 1295 | braces.o: general.h xmalloc.h bashtypes.h variables.h arrayfunc.h conftypes.h array.h hashlib.h |
bb70624e | 1296 | braces.o: quit.h ${BASHINCDIR}/maxpath.h unwind_prot.h dispose_cmd.h |
b80f6443 | 1297 | braces.o: make_cmd.h subst.h sig.h pathnames.h externs.h |
495aee44 | 1298 | braces.o: ${BASHINCDIR}/shmbutil.h ${BASHINCDIR}/shmbchar.h |
8868edaf | 1299 | braces.o: ${BASHINCDIR}/typemax.h ${BASHINCDIR}/ocache.h ${BASHINCDIR}/chartypes.h |
bb70624e | 1300 | alias.o: config.h bashansi.h ${BASHINCDIR}/ansi_stdlib.h command.h ${BASHINCDIR}/stdc.h |
f73dda09 | 1301 | alias.o: general.h xmalloc.h bashtypes.h externs.h alias.h |
8868edaf | 1302 | alias.o: pcomplete.h hashlib.h |
f73dda09 | 1303 | alias.o: ${BASHINCDIR}/chartypes.h |
bb70624e JA |
1304 | |
1305 | pcomplib.o: config.h bashansi.h ${BASHINCDIR}/ansi_stdlib.h bashtypes.h | |
28ef6c31 | 1306 | pcomplib.o: ${BASHINCDIR}/stdc.h hashlib.h pcomplete.h shell.h syntax.h |
74091dd4 CR |
1307 | pcomplib.o: bashjmp.h command.h general.h xmalloc.h error.h variables.h |
1308 | pcomplib.o: arrayfunc.h conftypes.h quit.h | |
bb70624e | 1309 | pcomplib.o: unwind_prot.h dispose_cmd.h make_cmd.h subst.h sig.h pathnames.h |
8868edaf CR |
1310 | pcomplib.o: externs.h ${BASHINCDIR}/maxpath.h assoc.h array.h |
1311 | pcomplib.o: ${BASHINCDIR}/posixjmp.h ${BASHINCDIR}/ocache.h ${BASHINCDIR}/chartypes.h | |
bb70624e JA |
1312 | |
1313 | pcomplete.o: config.h bashansi.h ${BASHINCDIR}/ansi_stdlib.h bashtypes.h | |
28ef6c31 | 1314 | pcomplete.o: ${BASHINCDIR}/stdc.h hashlib.h pcomplete.h shell.h syntax.h |
74091dd4 CR |
1315 | pcomplete.o: bashjmp.h command.h general.h xmalloc.h error.h variables.h |
1316 | pcomplete.o: execute_cmd.h pathexp.h arrayfunc.h conftypes.h quit.h trap.h | |
1317 | pcomplete.o: jobs.h siglist.h bashline.h alias.h | |
1318 | pcomplete.o: ${BASHINCDIR}/posixwait.h ${BASHINCDIR}/unionwait.h | |
1319 | pcomplete.o: ${BASHINCDIR}/posixtime.h ${BASHINCDIR}/posixstat.h | |
bb70624e | 1320 | pcomplete.o: unwind_prot.h dispose_cmd.h make_cmd.h subst.h sig.h pathnames.h |
b80f6443 | 1321 | pcomplete.o: externs.h ${BASHINCDIR}/maxpath.h execute_cmd.h |
a0c0a00f | 1322 | pcomplete.o: ${BASHINCDIR}/shmbutil.h ${BASHINCDIR}/shmbchar.h |
74091dd4 CR |
1323 | pcomplete.o: builtins.h ${DEFDIR}/builtext.h ${DEFSRC}/common.h |
1324 | pcomplete.o: ${GLOB_LIBSRC}/glob.h ${GLOB_LIBSRC}/strmatch.h | |
d166f048 JA |
1325 | |
1326 | # library support files | |
1327 | ||
bb70624e JA |
1328 | bashhist.o: config.h bashtypes.h bashansi.h ${BASHINCDIR}/ansi_stdlib.h ${BASHINCDIR}/posixstat.h |
1329 | bashhist.o: ${BASHINCDIR}/filecntl.h | |
28ef6c31 | 1330 | bashhist.o: shell.h syntax.h config.h bashjmp.h ${BASHINCDIR}/posixjmp.h command.h ${BASHINCDIR}/stdc.h error.h |
f73dda09 | 1331 | bashhist.o: general.h xmalloc.h bashtypes.h variables.h arrayfunc.h conftypes.h array.h hashlib.h |
bb70624e | 1332 | bashhist.o: quit.h ${BASHINCDIR}/maxpath.h unwind_prot.h dispose_cmd.h |
d233b485 | 1333 | bashhist.o: make_cmd.h subst.h sig.h pathnames.h externs.h parser.h |
d166f048 | 1334 | bashhist.o: flags.h input.h parser.h pathexp.h $(DEFSRC)/common.h bashline.h |
8868edaf CR |
1335 | bashhist.o: ${BASHINCDIR}/ocache.h ${BASHINCDIR}/chartypes.h bashhist.h assoc.h |
1336 | bashhist.o: $(GLOB_LIBSRC)/strmatch.h ${GLOB_LIBSRC}/glob.h | |
bb70624e | 1337 | bashline.o: config.h bashtypes.h ${BASHINCDIR}/posixstat.h bashansi.h ${BASHINCDIR}/ansi_stdlib.h |
28ef6c31 | 1338 | bashline.o: shell.h syntax.h config.h bashjmp.h ${BASHINCDIR}/posixjmp.h command.h ${BASHINCDIR}/stdc.h error.h |
f73dda09 | 1339 | bashline.o: general.h xmalloc.h bashtypes.h variables.h arrayfunc.h conftypes.h array.h hashlib.h |
bb70624e | 1340 | bashline.o: quit.h ${BASHINCDIR}/maxpath.h unwind_prot.h dispose_cmd.h |
d233b485 | 1341 | bashline.o: make_cmd.h subst.h sig.h pathnames.h externs.h parser.h |
cce855bc | 1342 | bashline.o: builtins.h bashhist.h bashline.h execute_cmd.h findcmd.h pathexp.h |
8868edaf | 1343 | bashline.o: trap.h flags.h assoc.h $(BASHINCDIR)/ocache.h |
d166f048 | 1344 | bashline.o: $(DEFSRC)/common.h $(GLOB_LIBSRC)/glob.h alias.h |
7117c2d2 | 1345 | bashline.o: pcomplete.h ${BASHINCDIR}/chartypes.h input.h |
ac50fbac | 1346 | bashline.o: ${BASHINCDIR}/shmbutil.h ${BASHINCDIR}/shmbchar.h |
f1e1163b | 1347 | bashline.o: ${DEFDIR}/builtext.h |
bb70624e | 1348 | bracecomp.o: config.h bashansi.h ${BASHINCDIR}/ansi_stdlib.h |
0001803f CR |
1349 | bracecomp.o: shell.h syntax.h config.h bashjmp.h ${BASHINCDIR}/posixjmp.h |
1350 | bracecomp.o: command.h ${BASHINCDIR}/stdc.h error.h | |
1351 | bracecomp.o: general.h xmalloc.h bashtypes.h variables.h arrayfunc.h conftypes.h | |
1352 | bracecomp.o: array.h hashlib.h alias.h builtins.h | |
bb70624e | 1353 | bracecomp.o: quit.h ${BASHINCDIR}/maxpath.h unwind_prot.h dispose_cmd.h |
b80f6443 | 1354 | bracecomp.o: make_cmd.h subst.h sig.h pathnames.h externs.h |
8868edaf | 1355 | bracecomp.o: ${BASHINCDIR}/ocache.h ${BASHINCDIR}/chartypes.h bashhist.h assoc.h |
a0c0a00f | 1356 | bracecomp.o: ${BASHINCDIR}/shmbutil.h ${BASHINCDIR}/shmbchar.h |
ccc6cda3 | 1357 | |
d166f048 | 1358 | # library dependencies |
ccc6cda3 | 1359 | |
8868edaf | 1360 | bashhist.o: $(RL_LIBSRC)/rltypedefs.h |
d166f048 | 1361 | bashline.o: $(RL_LIBSRC)/rlconf.h |
b72432fd | 1362 | bashline.o: $(RL_LIBSRC)/keymaps.h $(RL_LIBSRC)/rlstdc.h |
d166f048 | 1363 | bashline.o: $(RL_LIBSRC)/chardefs.h $(RL_LIBSRC)/readline.h |
8868edaf | 1364 | bashline.o: $(RL_LIBSRC)/rltypedefs.h ${RL_LIBSRC}/rlmbutil.h |
d166f048 | 1365 | bracecomp.o: $(RL_LIBSRC)/keymaps.h $(RL_LIBSRC)/chardefs.h |
b72432fd | 1366 | bracecomp.o: $(RL_LIBSRC)/readline.h $(RL_LIBSRC)/rlstdc.h |
8868edaf | 1367 | bracecomp.o: $(RL_LIBSRC)/rltypedefs.h |
b72432fd JA |
1368 | y.tab.o: $(RL_LIBSRC)/keymaps.h $(RL_LIBSRC)/chardefs.h |
1369 | y.tab.o: $(RL_LIBSRC)/readline.h $(RL_LIBSRC)/rlstdc.h | |
8868edaf | 1370 | y.tab.o: $(RL_LIBSRC)/rltypedefs.h |
b72432fd JA |
1371 | subst.o: $(RL_LIBSRC)/keymaps.h $(RL_LIBSRC)/chardefs.h |
1372 | subst.o: $(RL_LIBSRC)/readline.h $(RL_LIBSRC)/rlstdc.h | |
8868edaf CR |
1373 | shell.o: $(RL_LIBSRC)/keymaps.h $(RL_LIBSRC)/chardefs.h |
1374 | shell.o: $(RL_LIBSRC)/readline.h $(RL_LIBSRC)/rlstdc.h | |
1375 | shell.o: $(RL_LIBSRC)/rltypedefs.h | |
1376 | variables.o: $(RL_LIBSRC)/keymaps.h $(RL_LIBSRC)/chardefs.h | |
1377 | variables.o: $(RL_LIBSRC)/readline.h $(RL_LIBSRC)/rlstdc.h | |
1378 | variables.o: $(RL_LIBSRC)/rltypedefs.h | |
1379 | jobs.o: $(RL_LIBSRC)/keymaps.h $(RL_LIBSRC)/chardefs.h | |
1380 | jobs.o: $(RL_LIBSRC)/readline.h $(RL_LIBSRC)/rlstdc.h | |
1381 | jobs.o: $(RL_LIBSRC)/rltypedefs.h | |
74091dd4 CR |
1382 | pcomplete.o: $(RL_LIBSRC)/rlconf.h |
1383 | pcomplete.o: $(RL_LIBSRC)/keymaps.h $(RL_LIBSRC)/rlstdc.h | |
1384 | pcomplete.o: $(RL_LIBSRC)/chardefs.h $(RL_LIBSRC)/readline.h | |
1385 | pcomplete.o: $(RL_LIBSRC)/rltypedefs.h ${RL_LIBSRC}/rlmbutil.h | |
b72432fd JA |
1386 | |
1387 | shell.o: $(HIST_LIBSRC)/history.h $(HIST_LIBSRC)/rlstdc.h | |
8868edaf | 1388 | variables.o: $(HIST_LIBSRC)/history.h $(HIST_LIBSRC)/rlstdc.h |
b72432fd JA |
1389 | subst.o: $(HIST_LIBSRC)/history.h $(HIST_LIBSRC)/rlstdc.h |
1390 | bashline.o: $(HIST_LIBSRC)/history.h $(HIST_LIBSRC)/rlstdc.h | |
1391 | bashhist.o: $(HIST_LIBSRC)/history.h $(HIST_LIBSRC)/rlstdc.h | |
1392 | y.tab.o: $(HIST_LIBSRC)/history.h $(HIST_LIBSRC)/rlstdc.h | |
74091dd4 | 1393 | pcomplete.o: $(HIST_LIBSRC)/history.h $(HIST_LIBSRC)/rlstdc.h |
ccc6cda3 | 1394 | |
8868edaf CR |
1395 | bashline.o: $(TILDE_LIBSRC)/tilde.h |
1396 | bracecomp.o: $(TILDE_LIBSRC)/tilde.h | |
ccc6cda3 JA |
1397 | execute_cmd.o: $(TILDE_LIBSRC)/tilde.h |
1398 | general.o: $(TILDE_LIBSRC)/tilde.h | |
1399 | mailcheck.o: $(TILDE_LIBSRC)/tilde.h | |
74091dd4 | 1400 | pcomplete.o: $(TILDE_LIBSRC)/tilde.h |
ccc6cda3 JA |
1401 | shell.o: $(TILDE_LIBSRC)/tilde.h |
1402 | subst.o: $(TILDE_LIBSRC)/tilde.h | |
1403 | variables.o: $(TILDE_LIBSRC)/tilde.h | |
8868edaf CR |
1404 | jobs.o: $(TILDE_LIBSRC)/tilde.h |
1405 | y.tab.o: $(TILDE_LIBSRC)/tilde.h | |
ccc6cda3 | 1406 | |
b80f6443 JA |
1407 | # libintl dependencies |
1408 | arrayfunc.o: bashintl.h ${LIBINTL_H} $(BASHINCDIR)/gettext.h | |
1409 | bashhist.o: bashintl.h ${LIBINTL_H} $(BASHINCDIR)/gettext.h | |
1410 | bashline.o: bashintl.h ${LIBINTL_H} $(BASHINCDIR)/gettext.h | |
1411 | braces.o: bashintl.h ${LIBINTL_H} $(BASHINCDIR)/gettext.h | |
1412 | error.o: bashintl.h ${LIBINTL_H} $(BASHINCDIR)/gettext.h | |
1413 | eval.o: bashintl.h ${LIBINTL_H} $(BASHINCDIR)/gettext.h | |
1414 | execute_cmd.o: bashintl.h ${LIBINTL_H} $(BASHINCDIR)/gettext.h | |
1415 | expr.o: bashintl.h ${LIBINTL_H} $(BASHINCDIR)/gettext.h | |
1416 | general.o: bashintl.h ${LIBINTL_H} $(BASHINCDIR)/gettext.h | |
1417 | input.o: bashintl.h ${LIBINTL_H} $(BASHINCDIR)/gettext.h | |
1418 | jobs.o: bashintl.h ${LIBINTL_H} $(BASHINCDIR)/gettext.h | |
8868edaf | 1419 | locale.o: bashintl.h ${LIBINTL_H} $(BASHINCDIR)/gettext.h |
b80f6443 JA |
1420 | mailcheck.o: bashintl.h ${LIBINTL_H} $(BASHINCDIR)/gettext.h |
1421 | make_cmd.o: bashintl.h ${LIBINTL_H} $(BASHINCDIR)/gettext.h | |
1422 | nojobs.o: bashintl.h ${LIBINTL_H} $(BASHINCDIR)/gettext.h | |
495aee44 | 1423 | y.tab.o: bashintl.h ${LIBINTL_H} $(BASHINCDIR)/gettext.h |
d233b485 | 1424 | pathexp.o: bashintl.h ${LIBINTL_H} $(BASHINCDIR)/gettext.h |
b80f6443 JA |
1425 | pcomplete.o: bashintl.h ${LIBINTL_H} $(BASHINCDIR)/gettext.h |
1426 | pcomplib.o: bashintl.h ${LIBINTL_H} $(BASHINCDIR)/gettext.h | |
1427 | print_cmd.o: bashintl.h ${LIBINTL_H} $(BASHINCDIR)/gettext.h | |
1428 | redir.o: bashintl.h ${LIBINTL_H} $(BASHINCDIR)/gettext.h | |
1429 | shell.o: bashintl.h ${LIBINTL_H} $(BASHINCDIR)/gettext.h | |
1430 | sig.o: bashintl.h ${LIBINTL_H} $(BASHINCDIR)/gettext.h | |
1431 | siglist.o: bashintl.h ${LIBINTL_H} $(BASHINCDIR)/gettext.h | |
1432 | subst.o: bashintl.h ${LIBINTL_H} $(BASHINCDIR)/gettext.h | |
1433 | test.o: bashintl.h ${LIBINTL_H} $(BASHINCDIR)/gettext.h | |
1434 | trap.o: bashintl.h ${LIBINTL_H} $(BASHINCDIR)/gettext.h | |
1435 | variables.o: bashintl.h ${LIBINTL_H} $(BASHINCDIR)/gettext.h | |
1436 | version.o: bashintl.h ${LIBINTL_H} $(BASHINCDIR)/gettext.h | |
1437 | xmalloc.o: bashintl.h ${LIBINTL_H} $(BASHINCDIR)/gettext.h | |
1438 | ||
8868edaf CR |
1439 | # XXX |
1440 | $(MALLOC_SOURCE): bashintl.h ${LIBINTL_H} $(BASHINCDIR)/gettext.h | |
1441 | ||
0628567a JA |
1442 | signames.o: config.h bashansi.h ${BASHINCDIR}/ansi_stdlib.h |
1443 | ||
d166f048 JA |
1444 | # XXX - dependencies checked through here |
1445 | ||
1446 | # builtin c sources | |
bb70624e | 1447 | builtins/bashgetopt.o: config.h bashansi.h ${BASHINCDIR}/ansi_stdlib.h |
f73dda09 JA |
1448 | builtins/bashgetopt.o: shell.h syntax.h config.h bashjmp.h command.h general.h xmalloc.h error.h |
1449 | builtins/bashgetopt.o: variables.h arrayfunc.h conftypes.h quit.h ${BASHINCDIR}/maxpath.h unwind_prot.h dispose_cmd.h | |
b80f6443 | 1450 | builtins/bashgetopt.o: make_cmd.h subst.h sig.h pathnames.h externs.h |
d166f048 | 1451 | builtins/bashgetopt.o: $(DEFSRC)/common.h |
f73dda09 | 1452 | builtins/bashgetopt.o: ${BASHINCDIR}/chartypes.h |
bb70624e | 1453 | builtins/common.o: bashtypes.h ${BASHINCDIR}/posixstat.h bashansi.h ${BASHINCDIR}/ansi_stdlib.h |
28ef6c31 | 1454 | builtins/common.o: shell.h syntax.h config.h bashjmp.h ${BASHINCDIR}/posixjmp.h sig.h command.h |
f73dda09 | 1455 | builtins/common.o: ${BASHINCDIR}/memalloc.h variables.h arrayfunc.h conftypes.h input.h siglist.h |
bb70624e | 1456 | builtins/common.o: quit.h unwind_prot.h ${BASHINCDIR}/maxpath.h jobs.h builtins.h |
b80f6443 | 1457 | builtins/common.o: dispose_cmd.h make_cmd.h subst.h externs.h bashhist.h |
f73dda09 | 1458 | builtins/common.o: execute_cmd.h ${BASHINCDIR}/stdc.h general.h xmalloc.h error.h pathnames.h |
d233b485 | 1459 | builtins/common.o: ${DEFDIR}/builtext.h parser.h |
f73dda09 | 1460 | builtins/common.o: ${BASHINCDIR}/chartypes.h |
bb70624e | 1461 | builtins/evalfile.o: bashtypes.h ${BASHINCDIR}/posixstat.h ${BASHINCDIR}/filecntl.h bashansi.h ${BASHINCDIR}/ansi_stdlib.h |
f73dda09 JA |
1462 | builtins/evalfile.o: shell.h syntax.h config.h bashjmp.h command.h general.h xmalloc.h error.h |
1463 | builtins/evalfile.o: variables.h arrayfunc.h conftypes.h quit.h ${BASHINCDIR}/maxpath.h unwind_prot.h dispose_cmd.h | |
d233b485 | 1464 | builtins/evalfile.o: make_cmd.h subst.h sig.h pathnames.h externs.h parser.h |
d166f048 JA |
1465 | builtins/evalfile.o: jobs.h builtins.h flags.h input.h execute_cmd.h |
1466 | builtins/evalfile.o: bashhist.h $(DEFSRC)/common.h | |
bb70624e | 1467 | builtins/evalstring.o: config.h bashansi.h ${BASHINCDIR}/ansi_stdlib.h |
28ef6c31 | 1468 | builtins/evalstring.o: shell.h syntax.h bashjmp.h ${BASHINCDIR}/posixjmp.h sig.h command.h siglist.h |
f73dda09 | 1469 | builtins/evalstring.o: ${BASHINCDIR}/memalloc.h variables.h arrayfunc.h conftypes.h input.h |
bb70624e | 1470 | builtins/evalstring.o: quit.h unwind_prot.h ${BASHINCDIR}/maxpath.h jobs.h builtins.h |
d166f048 JA |
1471 | builtins/evalstring.o: dispose_cmd.h make_cmd.h subst.h externs.h |
1472 | builtins/evalstring.o: jobs.h builtins.h flags.h input.h execute_cmd.h | |
74091dd4 | 1473 | builtins/evalstring.o: bashhist.h $(DEFSRC)/common.h pathnames.h redir.h |
f1e1163b | 1474 | builtins/evalstring.o: ${DEFDIR}/builtext.h |
bb70624e | 1475 | builtins/getopt.o: config.h ${BASHINCDIR}/memalloc.h |
f73dda09 JA |
1476 | builtins/getopt.o: shell.h syntax.h bashjmp.h command.h general.h xmalloc.h error.h |
1477 | builtins/getopt.o: variables.h arrayfunc.h conftypes.h quit.h ${BASHINCDIR}/maxpath.h unwind_prot.h dispose_cmd.h | |
b80f6443 | 1478 | builtins/getopt.o: make_cmd.h subst.h sig.h pathnames.h externs.h |
d166f048 | 1479 | builtins/getopt.o: $(DEFSRC)/getopt.h |
bb70624e JA |
1480 | builtins/mkbuiltins.o: config.h bashtypes.h ${BASHINCDIR}/posixstat.h ${BASHINCDIR}/filecntl.h |
1481 | builtins/mkbuiltins.o: bashansi.h ${BASHINCDIR}/ansi_stdlib.h | |
8868edaf | 1482 | builtins/mkbuiltins.o: $(BASHINCDIR)/stdc.h |
d166f048 JA |
1483 | |
1484 | # builtin def files | |
f73dda09 | 1485 | builtins/alias.o: command.h config.h ${BASHINCDIR}/memalloc.h error.h general.h xmalloc.h ${BASHINCDIR}/maxpath.h |
0001803f | 1486 | builtins/alias.o: quit.h $(DEFSRC)/common.h pathnames.h |
28ef6c31 | 1487 | builtins/alias.o: shell.h syntax.h bashjmp.h ${BASHINCDIR}/posixjmp.h sig.h command.h ${BASHINCDIR}/stdc.h unwind_prot.h |
f73dda09 JA |
1488 | builtins/alias.o: dispose_cmd.h make_cmd.h subst.h externs.h variables.h arrayfunc.h conftypes.h |
1489 | builtins/bind.o: command.h config.h ${BASHINCDIR}/memalloc.h error.h general.h xmalloc.h ${BASHINCDIR}/maxpath.h | |
bb70624e | 1490 | builtins/bind.o: dispose_cmd.h make_cmd.h subst.h externs.h ${BASHINCDIR}/stdc.h |
f73dda09 | 1491 | 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 |
0001803f | 1492 | builtins/bind.o: $(DEFSRC)/bashgetopt.h pathnames.h |
f73dda09 JA |
1493 | builtins/break.o: command.h config.h ${BASHINCDIR}/memalloc.h error.h general.h xmalloc.h ${BASHINCDIR}/maxpath.h |
1494 | 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 | 1495 | builtins/break.o: dispose_cmd.h make_cmd.h subst.h externs.h ${BASHINCDIR}/stdc.h |
d233b485 | 1496 | builtins/break.o: pathnames.h execute_cmd.h |
f73dda09 | 1497 | builtins/builtin.o: command.h config.h ${BASHINCDIR}/memalloc.h error.h general.h xmalloc.h ${BASHINCDIR}/maxpath.h |
7117c2d2 | 1498 | builtins/builtin.o: quit.h $(DEFSRC)/common.h $(DEFSRC)/bashgetopt.h |
f73dda09 | 1499 | builtins/builtin.o: shell.h syntax.h bashjmp.h ${BASHINCDIR}/posixjmp.h sig.h unwind_prot.h variables.h arrayfunc.h conftypes.h |
bb70624e | 1500 | builtins/builtin.o: dispose_cmd.h make_cmd.h subst.h externs.h ${BASHINCDIR}/stdc.h |
d233b485 | 1501 | builtins/builtin.o: pathnames.h execute_cmd.h |
b80f6443 JA |
1502 | builtins/caller.o: command.h config.h ${BASHINCDIR}/memalloc.h error.h general.h xmalloc.h ${BASHINCDIR}/maxpath.h |
1503 | builtins/caller.o: shell.h syntax.h bashjmp.h ${BASHINCDIR}/posixjmp.h sig.h unwind_prot.h variables.h arrayfunc.h conftypes.h | |
1504 | builtins/caller.o: dispose_cmd.h make_cmd.h subst.h externs.h ${BASHINCDIR}/stdc.h | |
1505 | builtins/caller.o: $(DEFSRC)/common.h quit.h | |
1506 | builtins/caller.o: ${BASHINCDIR}/chartypes.h bashtypes.h | |
0001803f | 1507 | builtins/caller.o: ${DEFDIR}/builtext.h pathnames.h |
f73dda09 JA |
1508 | builtins/cd.o: command.h config.h ${BASHINCDIR}/memalloc.h error.h general.h xmalloc.h ${BASHINCDIR}/maxpath.h |
1509 | builtins/cd.o: shell.h syntax.h bashjmp.h ${BASHINCDIR}/posixjmp.h sig.h unwind_prot.h variables.h arrayfunc.h conftypes.h | |
bb70624e | 1510 | builtins/cd.o: dispose_cmd.h make_cmd.h subst.h externs.h ${BASHINCDIR}/stdc.h |
0001803f | 1511 | builtins/cd.o: $(DEFSRC)/common.h quit.h pathnames.h |
8868edaf CR |
1512 | builtins/colon.o: command.h config.h ${BASHINCDIR}/memalloc.h error.h general.h xmalloc.h ${BASHINCDIR}/maxpath.h |
1513 | builtins/colon.o: shell.h syntax.h bashjmp.h ${BASHINCDIR}/posixjmp.h sig.h unwind_prot.h variables.h arrayfunc.h conftypes.h quit.h | |
1514 | builtins/colon.o: dispose_cmd.h make_cmd.h subst.h externs.h ${BASHINCDIR}/stdc.h | |
1515 | builtins/colon.o: pathnames.h | |
f73dda09 | 1516 | builtins/command.o: command.h config.h ${BASHINCDIR}/memalloc.h error.h general.h xmalloc.h ${BASHINCDIR}/maxpath.h |
ccc6cda3 | 1517 | builtins/command.o: quit.h $(DEFSRC)/bashgetopt.h |
f73dda09 | 1518 | builtins/command.o: shell.h syntax.h bashjmp.h ${BASHINCDIR}/posixjmp.h sig.h unwind_prot.h variables.h arrayfunc.h conftypes.h |
0001803f | 1519 | builtins/command.o: dispose_cmd.h make_cmd.h subst.h externs.h ${BASHINCDIR}/stdc.h pathnames.h |
f73dda09 JA |
1520 | builtins/declare.o: command.h config.h ${BASHINCDIR}/memalloc.h error.h general.h xmalloc.h ${BASHINCDIR}/maxpath.h |
1521 | 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 | 1522 | builtins/declare.o: dispose_cmd.h make_cmd.h subst.h externs.h ${BASHINCDIR}/stdc.h |
a0c0a00f | 1523 | builtins/declare.o: $(DEFSRC)/bashgetopt.h pathnames.h flags.h |
74091dd4 | 1524 | builtins/declare.o: ${DEFDIR}/builtext.h |
f73dda09 JA |
1525 | builtins/echo.o: command.h config.h ${BASHINCDIR}/memalloc.h error.h general.h xmalloc.h ${BASHINCDIR}/maxpath.h |
1526 | 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 | 1527 | builtins/echo.o: dispose_cmd.h make_cmd.h subst.h externs.h ${BASHINCDIR}/stdc.h |
0001803f | 1528 | builtins/echo.o: pathnames.h |
8868edaf | 1529 | builtins/echo.o: $(DEFSRC)/common.h |
f73dda09 JA |
1530 | builtins/enable.o: command.h config.h ${BASHINCDIR}/memalloc.h error.h general.h xmalloc.h ${BASHINCDIR}/maxpath.h |
1531 | 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 | 1532 | builtins/enable.o: dispose_cmd.h make_cmd.h subst.h externs.h ${BASHINCDIR}/stdc.h |
0001803f | 1533 | builtins/enable.o: pcomplete.h pathnames.h |
f73dda09 JA |
1534 | builtins/eval.o: command.h config.h ${BASHINCDIR}/memalloc.h error.h general.h xmalloc.h ${BASHINCDIR}/maxpath.h |
1535 | 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 | 1536 | builtins/eval.o: dispose_cmd.h make_cmd.h subst.h externs.h ${BASHINCDIR}/stdc.h |
0001803f CR |
1537 | builtins/eval.o: pathnames.h |
1538 | builtins/exec.o: bashtypes.h pathnames.h | |
f73dda09 JA |
1539 | builtins/exec.o: command.h config.h ${BASHINCDIR}/memalloc.h error.h general.h xmalloc.h ${BASHINCDIR}/maxpath.h |
1540 | builtins/exec.o: shell.h syntax.h bashjmp.h ${BASHINCDIR}/posixjmp.h sig.h unwind_prot.h variables.h arrayfunc.h conftypes.h | |
b80f6443 | 1541 | builtins/exec.o: dispose_cmd.h make_cmd.h subst.h externs.h execute_cmd.h |
bb70624e | 1542 | builtins/exec.o: findcmd.h flags.h quit.h $(DEFSRC)/common.h ${BASHINCDIR}/stdc.h |
0001803f | 1543 | builtins/exec.o: pathnames.h |
b80f6443 | 1544 | builtins/exit.o: bashtypes.h |
f73dda09 JA |
1545 | builtins/exit.o: command.h config.h ${BASHINCDIR}/memalloc.h error.h general.h xmalloc.h ${BASHINCDIR}/maxpath.h |
1546 | 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 | 1547 | builtins/exit.o: dispose_cmd.h make_cmd.h subst.h externs.h ${BASHINCDIR}/stdc.h |
d233b485 | 1548 | builtins/exit.o: pathnames.h execute_cmd.h |
74091dd4 | 1549 | builtins/exit.o: ${DEFDIR}/builtext.h |
bb70624e JA |
1550 | builtins/fc.o: bashtypes.h ${BASHINCDIR}/posixstat.h |
1551 | builtins/fc.o: bashansi.h ${BASHINCDIR}/ansi_stdlib.h builtins.h command.h ${BASHINCDIR}/stdc.h | |
f73dda09 JA |
1552 | builtins/fc.o: command.h config.h ${BASHINCDIR}/memalloc.h error.h general.h xmalloc.h ${BASHINCDIR}/maxpath.h |
1553 | 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 | 1554 | builtins/fc.o: dispose_cmd.h make_cmd.h subst.h externs.h ${BASHINCDIR}/stdc.h quit.h |
d233b485 | 1555 | builtins/fc.o: $(DEFSRC)/bashgetopt.h bashhist.h pathnames.h parser.h |
f73dda09 | 1556 | builtins/fc.o: ${BASHINCDIR}/chartypes.h |
b80f6443 | 1557 | builtins/fg_bg.o: bashtypes.h $(DEFSRC)/bashgetopt.h |
f73dda09 JA |
1558 | builtins/fg_bg.o: command.h config.h ${BASHINCDIR}/memalloc.h error.h general.h xmalloc.h ${BASHINCDIR}/maxpath.h |
1559 | 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 | 1560 | builtins/fg_bg.o: dispose_cmd.h make_cmd.h subst.h externs.h ${BASHINCDIR}/stdc.h |
d233b485 | 1561 | builtins/fg_bg.o: pathnames.h execute_cmd.h |
f73dda09 JA |
1562 | builtins/getopts.o: command.h config.h ${BASHINCDIR}/memalloc.h error.h general.h xmalloc.h ${BASHINCDIR}/maxpath.h |
1563 | 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 | 1564 | builtins/getopts.o: dispose_cmd.h make_cmd.h subst.h externs.h ${BASHINCDIR}/stdc.h |
d233b485 CR |
1565 | builtins/getopts.o: pathnames.h execute_cmd.h |
1566 | builtins/hash.o: bashtypes.h execute_cmd.h | |
bb70624e | 1567 | builtins/hash.o: builtins.h command.h findcmd.h ${BASHINCDIR}/stdc.h $(DEFSRC)/common.h |
f73dda09 JA |
1568 | builtins/hash.o: command.h config.h ${BASHINCDIR}/memalloc.h error.h general.h xmalloc.h ${BASHINCDIR}/maxpath.h |
1569 | 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 | |
0001803f | 1570 | builtins/hash.o: pathnames.h |
f73dda09 | 1571 | builtins/help.o: command.h config.h ${BASHINCDIR}/memalloc.h error.h general.h xmalloc.h ${BASHINCDIR}/maxpath.h |
bb70624e | 1572 | builtins/help.o: dispose_cmd.h make_cmd.h subst.h externs.h ${BASHINCDIR}/stdc.h |
d233b485 CR |
1573 | builtins/help.o: shell.h syntax.h bashjmp.h ${BASHINCDIR}/posixjmp.h sig.h unwind_prot.h variables.h arrayfunc.h |
1574 | builtins/help.o: conftypes.h quit.h execute_cmd.h | |
0001803f | 1575 | builtins/help.o: $(GLOB_LIBSRC)/glob.h pathnames.h |
d233b485 | 1576 | builtins/history.o: bashtypes.h pathnames.h parser.h |
f73dda09 | 1577 | builtins/history.o: command.h config.h ${BASHINCDIR}/memalloc.h error.h general.h xmalloc.h ${BASHINCDIR}/maxpath.h |
bb70624e | 1578 | builtins/history.o: quit.h dispose_cmd.h make_cmd.h subst.h externs.h ${BASHINCDIR}/stdc.h |
28ef6c31 | 1579 | builtins/history.o: ${BASHINCDIR}/filecntl.h shell.h syntax.h bashjmp.h ${BASHINCDIR}/posixjmp.h sig.h unwind_prot.h |
f73dda09 JA |
1580 | builtins/history.o: bashhist.h variables.h arrayfunc.h conftypes.h |
1581 | builtins/inlib.o: command.h config.h ${BASHINCDIR}/memalloc.h error.h general.h xmalloc.h ${BASHINCDIR}/maxpath.h | |
1582 | 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 | 1583 | builtins/inlib.o: dispose_cmd.h make_cmd.h subst.h externs.h ${BASHINCDIR}/stdc.h |
0001803f | 1584 | builtins/inlib.o: pathnames.h |
f73dda09 | 1585 | builtins/jobs.o: command.h config.h ${BASHINCDIR}/memalloc.h error.h general.h xmalloc.h ${BASHINCDIR}/maxpath.h |
ccc6cda3 | 1586 | builtins/jobs.o: quit.h $(DEFSRC)/bashgetopt.h |
f73dda09 | 1587 | builtins/jobs.o: shell.h syntax.h bashjmp.h ${BASHINCDIR}/posixjmp.h sig.h unwind_prot.h variables.h arrayfunc.h conftypes.h |
bb70624e | 1588 | builtins/jobs.o: dispose_cmd.h make_cmd.h subst.h externs.h ${BASHINCDIR}/stdc.h |
0001803f | 1589 | builtins/jobs.o: pathnames.h |
f73dda09 | 1590 | builtins/kill.o: command.h config.h ${BASHINCDIR}/memalloc.h error.h general.h xmalloc.h ${BASHINCDIR}/maxpath.h |
bb70624e | 1591 | builtins/kill.o: quit.h dispose_cmd.h make_cmd.h subst.h externs.h ${BASHINCDIR}/stdc.h |
f73dda09 | 1592 | 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 |
0001803f | 1593 | builtins/kill.o: pathnames.h |
f73dda09 | 1594 | builtins/let.o: command.h config.h ${BASHINCDIR}/memalloc.h error.h general.h xmalloc.h ${BASHINCDIR}/maxpath.h |
bb70624e | 1595 | builtins/let.o: quit.h dispose_cmd.h make_cmd.h subst.h externs.h ${BASHINCDIR}/stdc.h |
f73dda09 | 1596 | builtins/let.o: shell.h syntax.h bashjmp.h ${BASHINCDIR}/posixjmp.h sig.h unwind_prot.h variables.h arrayfunc.h conftypes.h |
0001803f | 1597 | builtins/let.o: pathnames.h |
bb70624e | 1598 | builtins/printf.o: config.h ${BASHINCDIR}/memalloc.h bashjmp.h command.h error.h |
f73dda09 | 1599 | builtins/printf.o: general.h xmalloc.h quit.h dispose_cmd.h make_cmd.h subst.h |
28ef6c31 | 1600 | builtins/printf.o: externs.h sig.h pathnames.h shell.h syntax.h unwind_prot.h |
f73dda09 | 1601 | builtins/printf.o: variables.h arrayfunc.h conftypes.h ${BASHINCDIR}/stdc.h $(DEFSRC)/bashgetopt.h |
a0c0a00f | 1602 | builtins/printf.o: ${BASHINCDIR}/shmbutil.h ${BASHINCDIR}/shmbchar.h |
0001803f | 1603 | builtins/printf.o: ${BASHINCDIR}/chartypes.h |
f73dda09 | 1604 | builtins/pushd.o: command.h config.h ${BASHINCDIR}/memalloc.h error.h general.h xmalloc.h ${BASHINCDIR}/maxpath.h |
bb70624e | 1605 | builtins/pushd.o: quit.h dispose_cmd.h make_cmd.h subst.h externs.h ${BASHINCDIR}/stdc.h |
f73dda09 | 1606 | builtins/pushd.o: shell.h syntax.h bashjmp.h ${BASHINCDIR}/posixjmp.h sig.h unwind_prot.h variables.h arrayfunc.h conftypes.h |
0001803f | 1607 | builtins/pushd.o: $(DEFSRC)/common.h pathnames.h |
74091dd4 | 1608 | builtins/pushd.o: ${DEFDIR}/builtext.h |
f73dda09 | 1609 | builtins/read.o: command.h config.h ${BASHINCDIR}/memalloc.h error.h general.h xmalloc.h ${BASHINCDIR}/maxpath.h |
bb70624e | 1610 | builtins/read.o: quit.h dispose_cmd.h make_cmd.h subst.h externs.h ${BASHINCDIR}/stdc.h |
f73dda09 | 1611 | builtins/read.o: shell.h syntax.h bashjmp.h ${BASHINCDIR}/posixjmp.h sig.h unwind_prot.h variables.h arrayfunc.h conftypes.h |
a0c0a00f | 1612 | builtins/read.o: ${BASHINCDIR}/shmbutil.h ${BASHINCDIR}/shmbchar.h |
0001803f | 1613 | builtins/read.o: pathnames.h |
f73dda09 | 1614 | builtins/return.o: command.h config.h ${BASHINCDIR}/memalloc.h error.h general.h xmalloc.h ${BASHINCDIR}/maxpath.h |
bb70624e | 1615 | builtins/return.o: quit.h dispose_cmd.h make_cmd.h subst.h externs.h ${BASHINCDIR}/stdc.h |
f73dda09 | 1616 | builtins/return.o: shell.h syntax.h bashjmp.h ${BASHINCDIR}/posixjmp.h sig.h unwind_prot.h variables.h arrayfunc.h conftypes.h |
d233b485 | 1617 | builtins/return.o: pathnames.h execute_cmd.h |
f73dda09 | 1618 | builtins/set.o: command.h config.h ${BASHINCDIR}/memalloc.h error.h general.h xmalloc.h ${BASHINCDIR}/maxpath.h |
bb70624e | 1619 | builtins/set.o: quit.h dispose_cmd.h make_cmd.h subst.h externs.h ${BASHINCDIR}/stdc.h |
f73dda09 | 1620 | 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 |
d233b485 | 1621 | builtins/set.o: pathnames.h parser.h |
f73dda09 | 1622 | builtins/setattr.o: command.h config.h ${BASHINCDIR}/memalloc.h error.h general.h xmalloc.h ${BASHINCDIR}/maxpath.h |
ccc6cda3 | 1623 | builtins/setattr.o: quit.h $(DEFSRC)/common.h $(DEFSRC)/bashgetopt.h |
f73dda09 | 1624 | builtins/setattr.o: shell.h syntax.h bashjmp.h ${BASHINCDIR}/posixjmp.h sig.h unwind_prot.h variables.h arrayfunc.h conftypes.h |
bb70624e | 1625 | builtins/setattr.o: dispose_cmd.h make_cmd.h subst.h externs.h ${BASHINCDIR}/stdc.h |
d233b485 | 1626 | builtins/setattr.o: pathnames.h flags.h execute_cmd.h |
f73dda09 | 1627 | builtins/shift.o: command.h config.h ${BASHINCDIR}/memalloc.h error.h general.h xmalloc.h ${BASHINCDIR}/maxpath.h |
bb70624e | 1628 | builtins/shift.o: quit.h dispose_cmd.h make_cmd.h subst.h externs.h ${BASHINCDIR}/stdc.h |
f73dda09 | 1629 | builtins/shift.o: shell.h syntax.h bashjmp.h ${BASHINCDIR}/posixjmp.h sig.h unwind_prot.h variables.h arrayfunc.h conftypes.h |
bb70624e | 1630 | builtins/shift.o: dispose_cmd.h make_cmd.h subst.h externs.h ${BASHINCDIR}/stdc.h |
0001803f | 1631 | builtins/shift.o: pathnames.h |
f73dda09 | 1632 | builtins/shopt.o: command.h config.h ${BASHINCDIR}/memalloc.h error.h general.h xmalloc.h |
d166f048 | 1633 | builtins/shopt.o: quit.h dispose_cmd.h make_cmd.h subst.h externs.h |
f73dda09 | 1634 | builtins/shopt.o: shell.h syntax.h bashjmp.h ${BASHINCDIR}/posixjmp.h unwind_prot.h variables.h arrayfunc.h conftypes.h ${BASHINCDIR}/maxpath.h |
0001803f | 1635 | builtins/shopt.o: $(DEFSRC)/common.h $(DEFSRC)/bashgetopt.h pathnames.h |
ac50fbac | 1636 | builtins/shopt.o: bashhist.h bashline.h |
f73dda09 | 1637 | builtins/source.o: command.h config.h ${BASHINCDIR}/memalloc.h error.h general.h xmalloc.h ${BASHINCDIR}/maxpath.h |
bb70624e | 1638 | builtins/source.o: quit.h dispose_cmd.h make_cmd.h subst.h externs.h ${BASHINCDIR}/stdc.h |
f73dda09 | 1639 | builtins/source.o: shell.h syntax.h bashjmp.h ${BASHINCDIR}/posixjmp.h sig.h unwind_prot.h variables.h arrayfunc.h conftypes.h |
b80f6443 | 1640 | builtins/source.o: findcmd.h $(DEFSRC)/bashgetopt.h flags.h trap.h |
d233b485 | 1641 | builtins/source.o: pathnames.h execute_cmd.h |
f73dda09 | 1642 | builtins/suspend.o: command.h config.h ${BASHINCDIR}/memalloc.h error.h general.h xmalloc.h ${BASHINCDIR}/maxpath.h |
bb70624e | 1643 | builtins/suspend.o: quit.h dispose_cmd.h make_cmd.h subst.h externs.h ${BASHINCDIR}/stdc.h |
f73dda09 | 1644 | builtins/suspend.o: shell.h syntax.h bashjmp.h ${BASHINCDIR}/posixjmp.h sig.h unwind_prot.h variables.h arrayfunc.h conftypes.h |
0001803f | 1645 | builtins/suspend.o: pathnames.h |
f73dda09 | 1646 | builtins/test.o: command.h config.h ${BASHINCDIR}/memalloc.h error.h general.h xmalloc.h ${BASHINCDIR}/maxpath.h |
bb70624e | 1647 | builtins/test.o: quit.h dispose_cmd.h make_cmd.h subst.h externs.h ${BASHINCDIR}/stdc.h |
f73dda09 | 1648 | builtins/test.o: shell.h syntax.h bashjmp.h ${BASHINCDIR}/posixjmp.h sig.h unwind_prot.h variables.h arrayfunc.h conftypes.h |
d233b485 | 1649 | builtins/test.o: execute_cmd.h test.h pathnames.h |
f73dda09 | 1650 | builtins/times.o: command.h config.h ${BASHINCDIR}/memalloc.h error.h general.h xmalloc.h ${BASHINCDIR}/maxpath.h |
bb70624e | 1651 | builtins/times.o: quit.h dispose_cmd.h make_cmd.h subst.h externs.h ${BASHINCDIR}/stdc.h |
f73dda09 | 1652 | builtins/times.o: shell.h syntax.h bashjmp.h ${BASHINCDIR}/posixjmp.h sig.h unwind_prot.h variables.h arrayfunc.h conftypes.h |
0001803f | 1653 | builtins/times.o: pathnames.h |
f73dda09 | 1654 | builtins/trap.o: command.h config.h ${BASHINCDIR}/memalloc.h error.h general.h xmalloc.h ${BASHINCDIR}/maxpath.h |
ccc6cda3 | 1655 | builtins/trap.o: quit.h $(DEFSRC)/common.h |
f73dda09 | 1656 | builtins/trap.o: shell.h syntax.h bashjmp.h ${BASHINCDIR}/posixjmp.h sig.h unwind_prot.h variables.h arrayfunc.h conftypes.h |
bb70624e | 1657 | builtins/trap.o: dispose_cmd.h make_cmd.h subst.h externs.h ${BASHINCDIR}/stdc.h |
0001803f | 1658 | builtins/trap.o: pathnames.h |
f73dda09 | 1659 | builtins/type.o: command.h config.h ${BASHINCDIR}/memalloc.h error.h general.h xmalloc.h ${BASHINCDIR}/maxpath.h |
cce855bc | 1660 | builtins/type.o: quit.h $(DEFSRC)/common.h findcmd.h |
f73dda09 | 1661 | builtins/type.o: shell.h syntax.h bashjmp.h ${BASHINCDIR}/posixjmp.h sig.h unwind_prot.h variables.h arrayfunc.h conftypes.h |
bb70624e | 1662 | builtins/type.o: dispose_cmd.h make_cmd.h subst.h externs.h ${BASHINCDIR}/stdc.h |
d233b485 | 1663 | builtins/type.o: pathnames.h execute_cmd.h parser.h |
f73dda09 | 1664 | builtins/ulimit.o: command.h config.h ${BASHINCDIR}/memalloc.h error.h general.h xmalloc.h ${BASHINCDIR}/maxpath.h |
bb70624e | 1665 | builtins/ulimit.o: quit.h dispose_cmd.h make_cmd.h subst.h externs.h ${BASHINCDIR}/stdc.h |
f73dda09 | 1666 | builtins/ulimit.o: shell.h syntax.h bashjmp.h ${BASHINCDIR}/posixjmp.h sig.h unwind_prot.h variables.h arrayfunc.h conftypes.h |
0001803f | 1667 | builtins/ulimit.o: pathnames.h |
f73dda09 | 1668 | builtins/umask.o: command.h config.h ${BASHINCDIR}/memalloc.h error.h general.h xmalloc.h ${BASHINCDIR}/maxpath.h |
bb70624e | 1669 | builtins/umask.o: quit.h dispose_cmd.h make_cmd.h subst.h externs.h ${BASHINCDIR}/stdc.h |
f73dda09 | 1670 | builtins/umask.o: shell.h syntax.h bashjmp.h ${BASHINCDIR}/posixjmp.h sig.h unwind_prot.h variables.h arrayfunc.h conftypes.h |
0001803f | 1671 | builtins/umask.o: ${BASHINCDIR}/chartypes.h pathnames.h |
f73dda09 | 1672 | builtins/wait.o: command.h config.h ${BASHINCDIR}/memalloc.h error.h general.h xmalloc.h ${BASHINCDIR}/maxpath.h |
bb70624e | 1673 | builtins/wait.o: quit.h dispose_cmd.h make_cmd.h subst.h externs.h ${BASHINCDIR}/stdc.h |
f73dda09 | 1674 | builtins/wait.o: shell.h syntax.h bashjmp.h ${BASHINCDIR}/posixjmp.h sig.h unwind_prot.h variables.h arrayfunc.h conftypes.h |
d233b485 | 1675 | builtins/wait.o: execute_cmd.h |
0001803f | 1676 | builtins/wait.o: ${BASHINCDIR}/chartypes.h pathnames.h |
bb70624e | 1677 | |
28ef6c31 | 1678 | builtins/complete.o: config.h shell.h syntax.h bashjmp.h ${BASHINCDIR}/posixjmp.h sig.h |
f73dda09 | 1679 | builtins/complete.o: unwind_prot.h variables.h arrayfunc.h conftypes.h |
bb70624e | 1680 | builtins/complete.o: bashtypes.h bashansi.h ${BASHINCDIR}/ansi_stdlib.h |
a0c0a00f CR |
1681 | builtins/complete.o: builtins.h pathnames.h general.h |
1682 | builtins/complete.o: bashtypes.h ${BASHINCDIR}/chartypes.h xmalloc.h | |
bb70624e JA |
1683 | builtins/complete.o: pcomplete.h |
1684 | builtins/complete.o: ${DEFSRC}/common.h ${DEFSRC}/bashgetopt.h | |
3185942a JA |
1685 | builtins/mapfile.o: command.h config.h ${BASHINCDIR}/memalloc.h error.h general.h xmalloc.h ${BASHINCDIR}/maxpath.h |
1686 | builtins/mapfile.o: quit.h dispose_cmd.h make_cmd.h subst.h externs.h ${BASHINCDIR}/stdc.h | |
1687 | builtins/mapfile.o: shell.h syntax.h bashjmp.h ${BASHINCDIR}/posixjmp.h sig.h unwind_prot.h variables.h arrayfunc.h conftypes.h | |
0001803f | 1688 | builtins/mapfile.o: pathnames.h |
ccc6cda3 | 1689 | |
b80f6443 JA |
1690 | # libintl dependencies |
1691 | builtins/bind.o: ${topdir}/bashintl.h ${LIBINTL_H} $(BASHINCDIR)/gettext.h | |
1692 | builtins/break.o: ${topdir}/bashintl.h ${LIBINTL_H} $(BASHINCDIR)/gettext.h | |
1693 | builtins/caller.o: ${topdir}/bashintl.h ${LIBINTL_H} $(BASHINCDIR)/gettext.h | |
1694 | builtins/cd.o: ${topdir}/bashintl.h ${LIBINTL_H} $(BASHINCDIR)/gettext.h | |
1695 | builtins/common.c: ${topdir}/bashintl.h ${LIBINTL_H} $(BASHINCDIR)/gettext.h | |
1696 | builtins/complete.o: ${topdir}/bashintl.h ${LIBINTL_H} $(BASHINCDIR)/gettext.h | |
1697 | builtins/declare.o: ${topdir}/bashintl.h ${LIBINTL_H} $(BASHINCDIR)/gettext.h | |
1698 | builtins/enable.o: ${topdir}/bashintl.h ${LIBINTL_H} $(BASHINCDIR)/gettext.h | |
1699 | builtins/evalfile.c: ${topdir}/bashintl.h ${LIBINTL_H} $(BASHINCDIR)/gettext.h | |
1700 | builtins/exec.o: ${topdir}/bashintl.h ${LIBINTL_H} $(BASHINCDIR)/gettext.h | |
1701 | builtins/exit.o: ${topdir}/bashintl.h ${LIBINTL_H} $(BASHINCDIR)/gettext.h | |
1702 | builtins/fc.o: ${topdir}/bashintl.h ${LIBINTL_H} $(BASHINCDIR)/gettext.h | |
1703 | builtins/fg_bg.o: ${topdir}/bashintl.h ${LIBINTL_H} $(BASHINCDIR)/gettext.h | |
1704 | builtins/getopt.c: ${topdir}/bashintl.h ${LIBINTL_H} $(BASHINCDIR)/gettext.h | |
1705 | builtins/hash.o: ${topdir}/bashintl.h ${LIBINTL_H} $(BASHINCDIR)/gettext.h | |
1706 | builtins/help.o: ${topdir}/bashintl.h ${LIBINTL_H} $(BASHINCDIR)/gettext.h | |
1707 | builtins/history.o: ${topdir}/bashintl.h ${LIBINTL_H} $(BASHINCDIR)/gettext.h | |
1708 | builtins/inlib.o: ${topdir}/bashintl.h ${LIBINTL_H} $(BASHINCDIR)/gettext.h | |
1709 | builtins/jobs.o: ${topdir}/bashintl.h ${LIBINTL_H} $(BASHINCDIR)/gettext.h | |
1710 | builtins/kill.o: ${topdir}/bashintl.h ${LIBINTL_H} $(BASHINCDIR)/gettext.h | |
1711 | builtins/let.o: ${topdir}/bashintl.h ${LIBINTL_H} $(BASHINCDIR)/gettext.h | |
3185942a JA |
1712 | builtins/mapfile.o: ${topdir}/bashintl.h ${LIBINTL_H} $(BASHINCDIR)/gettext.h |
1713 | builtins/mkbuiltins.o: ${topdir}/bashintl.h ${LIBINTL_H} $(BASHINCDIR)/gettext.h | |
b80f6443 JA |
1714 | builtins/printf.o: ${topdir}/bashintl.h ${LIBINTL_H} $(BASHINCDIR)/gettext.h |
1715 | builtins/pushd.o: ${topdir}/bashintl.h ${LIBINTL_H} $(BASHINCDIR)/gettext.h | |
1716 | builtins/read.o: ${topdir}/bashintl.h ${LIBINTL_H} $(BASHINCDIR)/gettext.h | |
1717 | builtins/return.o: ${topdir}/bashintl.h ${LIBINTL_H} $(BASHINCDIR)/gettext.h | |
1718 | builtins/set.o: ${topdir}/bashintl.h ${LIBINTL_H} $(BASHINCDIR)/gettext.h | |
1719 | builtins/setattr.o: ${topdir}/bashintl.h ${LIBINTL_H} $(BASHINCDIR)/gettext.h | |
1720 | builtins/shift.o: ${topdir}/bashintl.h ${LIBINTL_H} $(BASHINCDIR)/gettext.h | |
1721 | builtins/shopt.o: ${topdir}/bashintl.h ${LIBINTL_H} $(BASHINCDIR)/gettext.h | |
1722 | builtins/source.o: ${topdir}/bashintl.h ${LIBINTL_H} $(BASHINCDIR)/gettext.h | |
1723 | builtins/suspend.o: ${topdir}/bashintl.h ${LIBINTL_H} $(BASHINCDIR)/gettext.h | |
1724 | builtins/type.o: ${topdir}/bashintl.h ${LIBINTL_H} $(BASHINCDIR)/gettext.h | |
1725 | builtins/ulimit.o: ${topdir}/bashintl.h ${LIBINTL_H} $(BASHINCDIR)/gettext.h | |
1726 | builtins/umask.o: ${topdir}/bashintl.h ${LIBINTL_H} $(BASHINCDIR)/gettext.h | |
1727 | ||
d166f048 | 1728 | # builtin library dependencies |
ccc6cda3 | 1729 | builtins/bind.o: $(RL_LIBSRC)/chardefs.h $(RL_LIBSRC)/readline.h |
b72432fd | 1730 | builtins/bind.o: $(RL_LIBSRC)/keymaps.h $(RL_LIBSRC)/rlstdc.h |
ccc6cda3 | 1731 | |
b72432fd JA |
1732 | builtins/bind.o: $(HIST_LIBSRC)/history.h $(RL_LIBSRC)/rlstdc.h |
1733 | builtins/fc.o: $(HIST_LIBSRC)/history.h $(RL_LIBSRC)/rlstdc.h | |
1734 | builtins/history.o: $(HIST_LIBSRC)/history.h $(RL_LIBSRC)/rlstdc.h | |
ccc6cda3 JA |
1735 | |
1736 | builtins/common.o: $(TILDE_LIBSRC)/tilde.h | |
1737 | builtins/cd.o: $(TILDE_LIBSRC)/tilde.h | |
1738 | ||
1739 | builtins/alias.o: $(DEFSRC)/alias.def | |
1740 | builtins/bind.o: $(DEFSRC)/bind.def | |
1741 | builtins/break.o: $(DEFSRC)/break.def | |
1742 | builtins/builtin.o: $(DEFSRC)/builtin.def | |
b80f6443 | 1743 | builtins/caller.o: $(DEFSRC)/caller.def |
ccc6cda3 JA |
1744 | builtins/cd.o: $(DEFSRC)/cd.def |
1745 | builtins/colon.o: $(DEFSRC)/colon.def | |
1746 | builtins/command.o: $(DEFSRC)/command.def | |
bb70624e | 1747 | builtins/complete.o: $(DEFSRC)/complete.def |
ccc6cda3 JA |
1748 | builtins/declare.o: $(DEFSRC)/declare.def |
1749 | builtins/echo.o: $(DEFSRC)/echo.def | |
1750 | builtins/enable.o: $(DEFSRC)/enable.def | |
1751 | builtins/eval.o: $(DEFSRC)/eval.def | |
1752 | builtins/exec.o: $(DEFSRC)/exec.def | |
1753 | builtins/exit.o: $(DEFSRC)/exit.def | |
1754 | builtins/fc.o: $(DEFSRC)/fc.def | |
1755 | builtins/fg_bg.o: $(DEFSRC)/fg_bg.def | |
1756 | builtins/getopts.o: $(DEFSRC)/getopts.def | |
1757 | builtins/hash.o: $(DEFSRC)/hash.def | |
1758 | builtins/help.o: $(DEFSRC)/help.def | |
1759 | builtins/history.o: $(DEFSRC)/history.def | |
1760 | builtins/inlib.o: $(DEFSRC)/inlib.def | |
1761 | builtins/jobs.o: $(DEFSRC)/jobs.def | |
1762 | builtins/kill.o: $(DEFSRC)/kill.def | |
1763 | builtins/let.o: $(DEFSRC)/let.def | |
3185942a | 1764 | builtins/mapfile.o: $(DEFSRC)/mapfile.def |
ccc6cda3 JA |
1765 | builtins/pushd.o: $(DEFSRC)/pushd.def |
1766 | builtins/read.o: $(DEFSRC)/read.def | |
1767 | builtins/reserved.o: $(DEFSRC)/reserved.def | |
1768 | builtins/return.o: $(DEFSRC)/return.def | |
1769 | builtins/set.o: $(DEFSRC)/set.def | |
1770 | builtins/setattr.o: $(DEFSRC)/setattr.def | |
1771 | builtins/shift.o: $(DEFSRC)/shift.def | |
1772 | builtins/shopt.o: $(DEFSRC)/shopt.def | |
1773 | builtins/source.o: $(DEFSRC)/source.def | |
1774 | builtins/suspend.o: $(DEFSRC)/suspend.def | |
1775 | builtins/test.o: $(DEFSRC)/test.def | |
1776 | builtins/times.o: $(DEFSRC)/times.def | |
1777 | builtins/trap.o: $(DEFSRC)/trap.def | |
1778 | builtins/type.o: $(DEFSRC)/type.def | |
1779 | builtins/ulimit.o: $(DEFSRC)/ulimit.def | |
1780 | builtins/umask.o: $(DEFSRC)/umask.def | |
1781 | builtins/wait.o: $(DEFSRC)/wait.def |