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