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