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