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