1# This Makefile for building libbuiltins.a is in -*- text -*- for Emacs.
2#
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
19#
20SHELL = /bin/sh
21RANLIB = ranlib
22CC = gcc
23CC_FOR_BUILD = $(CC)
24AR = ar
25ARFLAGS = cr
26RM = rm -f
27CP = cp
28
29EXEEXT = 
30
31prefix = /usr/local
32
33srcdir = .
34VPATH = .
35topdir = ..
36includedir = ${prefix}/include
37datadir = ${prefix}/share
38
39# Support an alternate destination root directory for package building
40DESTDIR =
41
42INSTALL = /bin/install -c
43INSTALL_DATA = ${INSTALL} -m 644
44BUILD_DIR = /Dano/home/obos/current/src/apps/bin/bash
45
46PROFILE_FLAGS = 
47CFLAGS = -g -O2
48CFLAGS_FOR_BUILD = -g
49CPPFLAGS = 
50CPPFLAGS_FOR_BUILD = 
51LOCAL_CFLAGS =  ${DEBUG}
52DEFS = -DHAVE_CONFIG_H
53LOCAL_DEFS = -DSHELL
54
55LIBS = 
56LDFLAGS =  $(LOCAL_LDFLAGS) $(CFLAGS)
57LDFLAGS_FOR_BUILD = $(LDFLAGS)
58LOCAL_LDFLAGS = 
59#LIBS_FOR_BUILD = @LIBS_FOR_BUILD@
60LIBS_FOR_BUILD = $(LIBS)
61
62BASHINCDIR = ${topdir}/include
63
64RL_INCLUDEDIR = 
65
66HELPDIR = 
67MKDIRS = ${topdir}/support/mkdirs
68
69INCLUDES = -I. -I..  -I$(topdir) -I$(BASHINCDIR) -I$(topdir)/lib -I$(srcdir)
70
71BASE_CCFLAGS = ${PROFILE_FLAGS} $(DEFS) $(LOCAL_DEFS) $(SYSTEM_FLAGS) \
72	 ${INCLUDES} $(LOCAL_CFLAGS)
73
74CCFLAGS = $(BASE_CCFLAGS) $(CPPFLAGS) $(CFLAGS)
75
76CCFLAGS_FOR_BUILD = $(BASE_CCFLAGS) $(CPPFLAGS_FOR_BUILD) $(CFLAGS_FOR_BUILD)
77
78GCC_LINT_FLAGS = -Wall -Wshadow -Wpointer-arith -Wcast-qual \
79		 -Wcast-align -Wstrict-prototypes -Wconversion \
80		 -Wmissing-prototypes -Wtraditional -Wredundant-decls -pedantic
81
82MKBUILTINS = mkbuiltins$(EXEEXT)
83DIRECTDEFINE = -D $(srcdir)
84HELPDIRDEFINE = 
85
86# xxx this is bad style
87RL_LIBSRC = $(topdir)/lib/readline
88
89.SUFFIXES:
90.SUFFIXES: .def .c .o
91# How to make a .o file from a .def file.
92.def.o:
93	$(RM) $@
94	./$(MKBUILTINS) $(DIRECTDEFINE) $<
95	$(CC) -c $(CCFLAGS) $*.c || ( $(RM) $*.c ; exit 1 )
96#	$(RM) $*.c
97
98# How to make a .c file from a .def file.
99.def.c:
100	$(RM) $@
101	./$(MKBUILTINS) $(DIRECTDEFINE) $<
102
103# default rule for making a .o file from a .c file
104.c.o:
105	$(RM) $@
106	$(CC) -c $(CCFLAGS) $<
107
108DEFSRC =  $(srcdir)/alias.def $(srcdir)/bind.def $(srcdir)/break.def \
109	  $(srcdir)/builtin.def $(srcdir)/cd.def $(srcdir)/colon.def \
110	  $(srcdir)/command.def $(srcdir)/declare.def $(srcdir)/echo.def \
111	  $(srcdir)/enable.def $(srcdir)/eval.def $(srcdir)/getopts.def \
112	  $(srcdir)/exec.def $(srcdir)/exit.def $(srcdir)/fc.def \
113	  $(srcdir)/fg_bg.def $(srcdir)/hash.def $(srcdir)/help.def \
114	  $(srcdir)/history.def $(srcdir)/jobs.def $(srcdir)/kill.def \
115	  $(srcdir)/let.def $(srcdir)/read.def $(srcdir)/return.def \
116	  $(srcdir)/set.def $(srcdir)/setattr.def $(srcdir)/shift.def \
117	  $(srcdir)/source.def $(srcdir)/suspend.def $(srcdir)/test.def \
118	  $(srcdir)/times.def $(srcdir)/trap.def $(srcdir)/type.def \
119	  $(srcdir)/ulimit.def $(srcdir)/umask.def $(srcdir)/wait.def \
120	  $(srcdir)/reserved.def $(srcdir)/pushd.def $(srcdir)/shopt.def \
121	  $(srcdir)/printf.def $(srcdir)/complete.def
122
123STATIC_SOURCE = common.c evalstring.c evalfile.c getopt.c bashgetopt.c \
124		getopt.h 
125
126OFILES = builtins.o \
127	alias.o bind.o break.o builtin.o cd.o colon.o command.o \
128	common.o declare.o echo.o enable.o eval.o evalfile.o \
129	evalstring.o exec.o \
130	exit.o fc.o fg_bg.o hash.o help.o history.o jobs.o kill.o let.o \
131	pushd.o read.o return.o set.o setattr.o shift.o source.o \
132	suspend.o test.o times.o trap.o type.o ulimit.o umask.o \
133	wait.o getopts.o shopt.o printf.o getopt.o bashgetopt.o complete.o
134
135CREATED_FILES = builtext.h builtins.c psize.aux pipesize.h
136
137all: $(MKBUILTINS) libbuiltins.a
138
139libbuiltins.a: $(MKBUILTINS) $(OFILES) builtins.o
140	$(RM) $@
141	$(AR) $(ARFLAGS) $@ $(OFILES)
142	-$(RANLIB) $@
143
144builtext.h builtins.c: $(MKBUILTINS) $(DEFSRC)
145	@-if test -f builtins.c; then mv -f builtins.c old-builtins.c; fi
146	@-if test -f builtext.h; then mv -f builtext.h old-builtext.h; fi
147	./$(MKBUILTINS) -externfile builtext.h -structfile builtins.c \
148	    -noproduction $(DIRECTDEFINE) $(HELPDIRDEFINE) $(DEFSRC)
149	@-if cmp -s old-builtext.h builtext.h 2>/dev/null; then \
150		mv old-builtext.h builtext.h; \
151	 else \
152		$(RM) old-builtext.h; \
153	 fi
154	@-if cmp -s old-builtins.c builtins.c 2>/dev/null; then \
155		mv old-builtins.c builtins.c; \
156	 else \
157		$(RM) old-builtins.c; \
158	 fi
159
160helpdoc:	$(MKBUILTINS) $(DEFSRC)
161	./$(MKBUILTINS) ${HELPDIRDEFINE} -noproduction $(DIRECTDEFINE) $(DEFSRC)
162
163install-help:
164	@-if test -n "${HELPDIR}" && test -d helpfiles ; then \
165		test -d ${HELPDIR} || ${SHELL} ${MKDIRS} $(DESTDIR)$(HELPDIR) ;\
166		( cd helpfiles ; \
167		  for f in *; do \
168			echo installing $$f; \
169			${INSTALL_DATA} $$f $(DESTDIR)$(HELPDIR); \
170		  done; ) ; \
171	fi
172
173install:	
174
175mkbuiltins.o: ../config.h
176mkbuiltins.o: mkbuiltins.c
177	$(RM) $@
178	$(CC_FOR_BUILD) -c $(CCFLAGS_FOR_BUILD) $<
179
180mkbuiltins$(EXEEXT): mkbuiltins.o
181	$(CC_FOR_BUILD) $(LDFLAGS_FOR_BUILD) -o $(MKBUILTINS) mkbuiltins.o $(LIBS_FOR_BUILD)
182
183# rules for deficient makes, like SunOS
184mkbuiltins.o: mkbuiltins.c
185builtins.o: builtins.c
186common.o: common.c
187bashgetopt.o: bashgetopt.c
188getopt.o: getopt.c
189evalstring.o: evalstring.c          
190evalfile.o: evalfile.c  
191
192ulimit.o: pipesize.h
193
194pipesize.h:	psize.aux
195	$(SHELL) $(srcdir)/psize.sh > $@
196
197psize.aux:	psize.c
198	$(CC_FOR_BUILD) $(CCFLAGS_FOR_BUILD) -o $@ $(srcdir)/psize.c
199
200documentation: builtins.texi
201
202builtins.texi: $(MKBUILTINS)
203	./$(MKBUILTINS) -documentonly $(DEFSRC)
204
205clean:
206	$(RM) $(OFILES) $(CREATED_FILES) $(MKBUILTINS) mkbuiltins.o libbuiltins.a
207	-test -d helpfiles && $(RM) -r helpfiles
208
209mostlyclean: 
210	$(RM) $(OFILES) libbuiltins.a
211
212distclean maintainer-clean: clean
213	$(RM) Makefile
214
215$(OFILES):	$(MKBUILTINS) ../config.h
216
217alias.o: alias.def
218bind.o: bind.def
219break.o: break.def
220builtin.o: builtin.def
221cd.o: cd.def
222colon.o: colon.def
223command.o: command.def
224declare.o: declare.def
225echo.o: echo.def
226enable.o: enable.def
227eval.o: eval.def
228exec.o: exec.def
229exit.o: exit.def
230fc.o: fc.def
231fg_bg.o: fg_bg.def
232hash.o: hash.def
233help.o: help.def
234history.o: history.def
235jobs.o: jobs.def
236kill.o: kill.def
237let.o: let.def
238printf.o: printf.def
239pushd.o: pushd.def
240read.o: read.def
241return.o: return.def
242set.o: set.def
243setattr.o: setattr.def
244shift.o: shift.def
245shopt.o: shopt.def
246source.o: source.def
247suspend.o: suspend.def
248test.o: test.def
249times.o: times.def
250trap.o: trap.def
251type.o: type.def
252ulimit.o: ulimit.def
253umask.o: umask.def
254wait.o: wait.def
255getopts.o: getopts.def
256reserved.o: reserved.def
257complete.o: complete.def
258
259# C files
260bashgetopt.o: ../config.h $(topdir)/bashansi.h $(BASHINCDIR)/ansi_stdlib.h
261bashgetopt.o: $(topdir)/shell.h $(topdir)/syntax.h $(topdir)/bashjmp.h
262bashgetopt.o: $(topdir)/command.h $(topdir)/general.h $(topdir)/xmalloc.h $(topdir)/error.h
263bashgetopt.o: $(topdir)/variables.h $(topdir)/conftypes.h $(topdir)/quit.h $(BASHINCDIR)/maxpath.h
264bashgetopt.o: $(topdir)/unwind_prot.h $(topdir)/dispose_cmd.h
265bashgetopt.o: $(topdir)/make_cmd.h $(topdir)/subst.h $(topdir)/sig.h
266bashgetopt.o: $(topdir)/pathnames.h $(topdir)/externs.h $(srcdir)/common.h
267bashgetopt.o: $(BASHINCDIR)/chartypes.h
268common.o: $(topdir)/bashtypes.h $(BASHINCDIR)/posixstat.h $(topdir)/bashansi.h $(BASHINCDIR)/ansi_stdlib.h
269common.o: $(topdir)/shell.h $(topdir)/syntax.h ../config.h $(topdir)/bashjmp.h $(BASHINCDIR)/posixjmp.h
270common.o: $(topdir)/sig.h $(topdir)/command.h
271common.o: $(topdir)/general.h $(topdir)/xmalloc.h $(BASHINCDIR)/stdc.h $(BASHINCDIR)/memalloc.h
272common.o: $(topdir)/variables.h $(topdir)/conftypes.h $(topdir)/input.h
273common.o: $(topdir)/siglist.h $(topdir)/bashhist.h $(topdir)/quit.h
274common.o: $(topdir)/unwind_prot.h $(BASHINCDIR)/maxpath.h $(topdir)/jobs.h
275common.o: $(topdir)/builtins.h $(topdir)/dispose_cmd.h $(topdir)/make_cmd.h
276common.o: $(topdir)/subst.h $(topdir)/execute_cmd.h $(topdir)/error.h
277common.o: $(topdir)/externs.h $(topdir)/pathnames.h ./builtext.h
278common.o: $(BASHINCDIR)/chartypes.h
279evalfile.o: $(topdir)/bashtypes.h $(BASHINCDIR)/posixstat.h ${BASHINCDIR}/filecntl.h
280evalfile.o: $(topdir)/bashansi.h $(BASHINCDIR)/ansi_stdlib.h
281evalfile.o: $(topdir)/shell.h $(topdir)/syntax.h ../config.h $(topdir)/bashjmp.h
282evalfile.o: $(topdir)/command.h $(topdir)/general.h $(topdir)/xmalloc.h $(topdir)/error.h
283evalfile.o: $(topdir)/variables.h $(topdir)/conftypes.h $(topdir)/quit.h $(BASHINCDIR)/maxpath.h
284evalfile.o: $(topdir)/unwind_prot.h $(topdir)/dispose_cmd.h
285evalfile.o: $(topdir)/make_cmd.h $(topdir)/subst.h $(topdir)/sig.h
286evalfile.o: $(topdir)/pathnames.h $(topdir)/externs.h
287evalfile.o: $(topdir)/jobs.h $(topdir)/builtins.h $(topdir)/flags.h
288evalfile.o: $(topdir)/input.h $(topdir)/execute_cmd.h
289evalfile.o: $(topdir)/bashhist.h $(srcdir)/common.h
290evalstring.o: ../config.h $(topdir)/bashansi.h $(BASHINCDIR)/ansi_stdlib.h
291evalstring.o: $(topdir)/shell.h $(topdir)/syntax.h $(topdir)/bashjmp.h $(BASHINCDIR)/posixjmp.h
292evalstring.o: $(topdir)/sig.h $(topdir)/command.h $(topdir)/siglist.h
293evalstring.o: $(BASHINCDIR)/memalloc.h $(topdir)/variables.h $(topdir)/conftypes.h $(topdir)/input.h
294evalstring.o: $(topdir)/quit.h $(topdir)/unwind_prot.h
295evalstring.o: $(BASHINCDIR)/maxpath.h $(topdir)/jobs.h $(topdir)/builtins.h
296evalstring.o: $(topdir)/dispose_cmd.h $(topdir)/make_cmd.h $(topdir)/subst.h
297evalstring.o: $(topdir)/externs.h $(topdir)/jobs.h $(topdir)/builtins.h
298evalstring.o: $(topdir)/flags.h $(topdir)/input.h $(topdir)/execute_cmd.h
299evalstring.o: $(topdir)/bashhist.h $(srcdir)/common.h
300evalstring.o: $(topdir)/trap.h $(topdir)/redir.h
301getopt.o: ../config.h $(BASHINCDIR)/memalloc.h
302getopt.o: $(topdir)/shell.h $(topdir)/syntax.h $(topdir)/bashjmp.h $(topdir)/command.h
303getopt.o: $(topdir)/general.h $(topdir)/xmalloc.h $(topdir)/error.h $(topdir)/variables.h $(topdir)/conftypes.h
304getopt.o: $(topdir)/quit.h $(BASHINCDIR)/maxpath.h $(topdir)/unwind_prot.h
305getopt.o: $(topdir)/dispose_cmd.h $(topdir)/make_cmd.h $(topdir)/subst.h
306getopt.o: $(topdir)/sig.h $(topdir)/pathnames.h $(topdir)/externs.h
307getopt.o: $(srcdir)/getopt.h
308mkbuiltins.o: ../config.h $(topdir)/bashtypes.h $(BASHINCDIR)/posixstat.h
309mkbuiltins.o: ${BASHINCDIR}/filecntl.h
310mkbuiltins.o: $(topdir)/bashansi.h $(BASHINCDIR)/ansi_stdlib.h
311
312# def files
313alias.o: $(topdir)/command.h ../config.h $(BASHINCDIR)/memalloc.h
314alias.o: $(topdir)/error.h $(topdir)/general.h $(topdir)/xmalloc.h $(BASHINCDIR)/maxpath.h
315alias.o: $(topdir)/quit.h $(topdir)/dispose_cmd.h $(topdir)/make_cmd.h
316alias.o: $(topdir)/subst.h $(topdir)/externs.h $(srcdir)/common.h
317alias.o: $(topdir)/shell.h $(topdir)/syntax.h $(topdir)/unwind_prot.h $(topdir)/variables.h $(topdir)/conftypes.h
318bind.o: $(topdir)/command.h ../config.h $(BASHINCDIR)/memalloc.h $(topdir)/error.h
319bind.o: $(topdir)/quit.h $(topdir)/dispose_cmd.h $(topdir)/make_cmd.h
320bind.o: $(topdir)/subst.h $(topdir)/externs.h $(srcdir)/bashgetopt.h
321bind.o: $(topdir)/general.h $(topdir)/xmalloc.h $(BASHINCDIR)/maxpath.h $(topdir)/bashline.h
322bind.o: $(topdir)/shell.h $(topdir)/syntax.h $(topdir)/unwind_prot.h $(topdir)/variables.h $(topdir)/conftypes.h 
323break.o: $(topdir)/command.h ../config.h $(BASHINCDIR)/memalloc.h 
324break.o: $(topdir)/error.h $(topdir)/general.h $(topdir)/xmalloc.h
325break.o: $(topdir)/quit.h $(topdir)/dispose_cmd.h $(topdir)/make_cmd.h
326break.o: $(topdir)/subst.h $(topdir)/externs.h $(BASHINCDIR)/maxpath.h
327break.o: $(topdir)/shell.h $(topdir)/syntax.h $(topdir)/unwind_prot.h $(topdir)/variables.h $(topdir)/conftypes.h
328builtin.o: $(topdir)/command.h ../config.h $(BASHINCDIR)/memalloc.h
329builtin.o: $(topdir)/error.h $(topdir)/general.h $(topdir)/xmalloc.h $(topdir)/externs.h
330builtin.o: $(topdir)/quit.h $(srcdir)/common.h $(BASHINCDIR)/maxpath.h
331builtin.o: $(topdir)/dispose_cmd.h $(topdir)/make_cmd.h $(topdir)/subst.h
332builtin.o: $(topdir)/shell.h $(topdir)/syntax.h $(topdir)/unwind_prot.h $(topdir)/variables.h $(topdir)/conftypes.h 
333builtin.o: $(srcdir)/bashgetopt.h
334cd.o: $(topdir)/command.h ../config.h $(BASHINCDIR)/memalloc.h $(topdir)/error.h
335cd.o: $(topdir)/general.h $(topdir)/xmalloc.h $(topdir)/quit.h $(topdir)/dispose_cmd.h
336cd.o: $(topdir)/make_cmd.h $(topdir)/subst.h $(topdir)/externs.h
337cd.o: $(topdir)/shell.h $(topdir)/syntax.h $(topdir)/unwind_prot.h $(topdir)/variables.h $(topdir)/conftypes.h
338cd.o: $(srcdir)/common.h $(BASHINCDIR)/maxpath.h
339command.o: $(topdir)/command.h ../config.h $(BASHINCDIR)/memalloc.h
340command.o: $(topdir)/error.h $(topdir)/general.h $(topdir)/xmalloc.h $(topdir)/externs.h
341command.o: $(topdir)/quit.h $(srcdir)/bashgetopt.h $(BASHINCDIR)/maxpath.h
342command.o: $(topdir)/dispose_cmd.h $(topdir)/make_cmd.h $(topdir)/subst.h
343command.o: $(topdir)/shell.h $(topdir)/syntax.h $(topdir)/unwind_prot.h $(topdir)/variables.h $(topdir)/conftypes.h 
344declare.o: $(topdir)/command.h ../config.h $(BASHINCDIR)/memalloc.h
345declare.o: $(topdir)/error.h $(topdir)/general.h $(topdir)/xmalloc.h
346declare.o: $(topdir)/quit.h $(topdir)/dispose_cmd.h $(topdir)/make_cmd.h
347declare.o: $(topdir)/subst.h $(topdir)/externs.h $(BASHINCDIR)/maxpath.h
348declare.o: $(topdir)/shell.h $(topdir)/syntax.h $(topdir)/unwind_prot.h $(topdir)/variables.h $(topdir)/conftypes.h
349declare.o: $(topdir)/arrayfunc.h $(srcdir)/bashgetopt.h
350echo.o: $(topdir)/command.h ../config.h $(BASHINCDIR)/memalloc.h $(topdir)/error.h
351echo.o: $(topdir)/general.h $(topdir)/xmalloc.h $(topdir)/subst.h $(topdir)/externs.h
352echo.o: $(topdir)/quit.h $(topdir)/dispose_cmd.h $(topdir)/make_cmd.h
353echo.o: $(topdir)/shell.h $(topdir)/syntax.h $(topdir)/unwind_prot.h $(topdir)/variables.h $(topdir)/conftypes.h
354echo.o: $(BASHINCDIR)/maxpath.h
355enable.o: $(topdir)/command.h ../config.h $(BASHINCDIR)/memalloc.h
356enable.o: $(topdir)/error.h $(topdir)/general.h $(topdir)/xmalloc.h
357enable.o: $(topdir)/quit.h $(topdir)/dispose_cmd.h $(topdir)/make_cmd.h
358enable.o: $(topdir)/subst.h $(topdir)/externs.h
359enable.o: $(topdir)/shell.h $(topdir)/syntax.h $(topdir)/unwind_prot.h $(topdir)/variables.h $(topdir)/conftypes.h
360enable.o: $(BASHINCDIR)/maxpath.h
361enable.o: $(topdir)/pcomplete.h
362eval.o: $(topdir)/command.h ../config.h $(BASHINCDIR)/memalloc.h
363eval.o: $(topdir)/error.h $(topdir)/general.h $(topdir)/xmalloc.h
364eval.o: $(topdir)/quit.h $(topdir)/dispose_cmd.h $(topdir)/make_cmd.h
365eval.o: $(topdir)/subst.h $(topdir)/externs.h
366eval.o: $(topdir)/shell.h $(topdir)/syntax.h $(topdir)/unwind_prot.h $(topdir)/variables.h $(topdir)/conftypes.h
367eval.o: $(BASHINCDIR)/maxpath.h
368exec.o: $(topdir)/bashtypes.h
369exec.o: $(topdir)/command.h ../config.h $(BASHINCDIR)/memalloc.h
370exec.o: $(topdir)/error.h $(topdir)/general.h $(topdir)/xmalloc.h
371exec.o: $(topdir)/quit.h $(topdir)/dispose_cmd.h $(topdir)/make_cmd.h
372exec.o: $(topdir)/subst.h $(topdir)/externs.h $(topdir)/flags.h
373exec.o: $(topdir)/shell.h $(topdir)/syntax.h $(topdir)/unwind_prot.h $(topdir)/variables.h $(topdir)/conftypes.h
374exec.o: $(srcdir)/common.h $(topdir)/execute_cmd.h $(BASHINCDIR)/maxpath.h
375exec.o: $(topdir)/findcmd.h
376exit.o: $(topdir)/bashtypes.h
377exit.o: $(topdir)/command.h ../config.h $(BASHINCDIR)/memalloc.h
378exit.o: $(topdir)/error.h $(topdir)/general.h $(topdir)/xmalloc.h
379exit.o: $(topdir)/quit.h $(topdir)/dispose_cmd.h $(topdir)/make_cmd.h
380exit.o: $(topdir)/subst.h $(topdir)/externs.h
381exit.o: $(topdir)/shell.h $(topdir)/syntax.h $(topdir)/unwind_prot.h $(topdir)/variables.h $(topdir)/conftypes.h
382exit.o: $(BASHINCDIR)/maxpath.h ./builtext.h
383fc.o: $(topdir)/bashtypes.h $(BASHINCDIR)/posixstat.h
384fc.o: $(topdir)/builtins.h $(topdir)/command.h $(srcdir)/bashgetopt.h
385fc.o: $(topdir)/bashhist.h
386fc.o: $(topdir)/command.h ../config.h $(BASHINCDIR)/memalloc.h $(topdir)/error.h
387fc.o: $(topdir)/general.h $(topdir)/xmalloc.h $(BASHINCDIR)/maxpath.h
388fc.o: $(topdir)/quit.h $(topdir)/dispose_cmd.h $(topdir)/make_cmd.h
389fc.o: $(topdir)/subst.h $(topdir)/externs.h $(topdir)/shell.h $(topdir)/syntax.h
390fc.o: $(topdir)/flags.h $(topdir)/unwind_prot.h $(topdir)/variables.h $(topdir)/conftypes.h
391fc.o: $(topdir)/bashansi.h $(BASHINCDIR)/ansi_stdlib.h $(BASHINCDIR)/chartypes.h
392fg_bg.o: $(topdir)/bashtypes.h $(srcdir)/bashgetopt.h
393fg_bg.o: $(topdir)/command.h ../config.h $(BASHINCDIR)/memalloc.h
394fg_bg.o: $(topdir)/error.h $(topdir)/general.h $(topdir)/xmalloc.h
395fg_bg.o: $(topdir)/quit.h $(topdir)/dispose_cmd.h $(topdir)/make_cmd.h
396fg_bg.o: $(topdir)/subst.h $(topdir)/externs.h $(BASHINCDIR)/maxpath.h
397fg_bg.o: $(topdir)/shell.h $(topdir)/syntax.h $(topdir)/unwind_prot.h $(topdir)/variables.h $(topdir)/conftypes.h
398getopts.o: $(topdir)/command.h ../config.h $(BASHINCDIR)/memalloc.h
399getopts.o: $(topdir)/error.h $(topdir)/general.h $(topdir)/xmalloc.h
400getopts.o: $(topdir)/quit.h $(topdir)/dispose_cmd.h $(topdir)/make_cmd.h
401getopts.o: $(topdir)/subst.h $(topdir)/externs.h $(BASHINCDIR)/maxpath.h
402getopts.o: $(topdir)/shell.h $(topdir)/syntax.h $(topdir)/unwind_prot.h $(topdir)/variables.h $(topdir)/conftypes.h
403hash.o: $(topdir)/builtins.h $(topdir)/command.h $(topdir)/quit.h
404hash.o: $(topdir)/findcmd.h $(topdir)/hashlib.h
405hash.o: $(topdir)/command.h ../config.h $(BASHINCDIR)/memalloc.h
406hash.o: $(topdir)/error.h $(topdir)/general.h $(topdir)/xmalloc.h
407hash.o: $(topdir)/shell.h $(topdir)/syntax.h $(topdir)/unwind_prot.h $(topdir)/variables.h $(topdir)/conftypes.h
408hash.o: $(srcdir)/common.h $(BASHINCDIR)/maxpath.h
409help.o: $(topdir)/command.h ../config.h $(BASHINCDIR)/memalloc.h
410help.o: $(topdir)/error.h $(topdir)/general.h $(topdir)/xmalloc.h
411help.o: $(topdir)/quit.h $(topdir)/dispose_cmd.h $(topdir)/make_cmd.h
412help.o: $(topdir)/subst.h $(topdir)/externs.h $(BASHINCDIR)/maxpath.h
413help.o: $(topdir)/shell.h $(topdir)/syntax.h $(topdir)/unwind_prot.h $(topdir)/variables.h $(topdir)/conftypes.h
414help.o: ${srcdir}/common.h
415history.o: $(topdir)/bashtypes.h
416history.o: $(topdir)/command.h ../config.h $(BASHINCDIR)/memalloc.h
417history.o: $(topdir)/error.h $(topdir)/general.h $(topdir)/xmalloc.h
418history.o: $(topdir)/quit.h $(topdir)/dispose_cmd.h $(topdir)/make_cmd.h
419history.o: $(topdir)/subst.h $(topdir)/externs.h
420history.o: ${BASHINCDIR}/filecntl.h $(topdir)/shell.h $(topdir)/syntax.h $(topdir)/unwind_prot.h
421history.o: $(topdir)/variables.h $(topdir)/conftypes.h $(topdir)/bashhist.h $(BASHINCDIR)/maxpath.h
422inlib.o: $(topdir)/command.h ../config.h $(BASHINCDIR)/memalloc.h
423inlib.o: $(topdir)/error.h $(topdir)/general.h $(topdir)/xmalloc.h
424inlib.o: $(topdir)/shell.h $(topdir)/syntax.h $(topdir)/unwind_prot.h $(topdir)/variables.h $(topdir)/conftypes.h
425inlib.o: $(BASHINCDIR)/maxpath.h $(topdir)/subst.h $(topdir)/externs.h
426inlib.o: $(topdir)/quit.h $(topdir)/dispose_cmd.h $(topdir)/make_cmd.h
427jobs.o: $(topdir)/command.h ../config.h $(BASHINCDIR)/memalloc.h $(topdir)/error.h
428jobs.o: $(topdir)/general.h $(topdir)/xmalloc.h $(topdir)/quit.h $(srcdir)/bashgetopt.h
429jobs.o: $(BASHINCDIR)/maxpath.h $(topdir)/externs.h
430jobs.o: $(topdir)/dispose_cmd.h $(topdir)/make_cmd.h $(topdir)/subst.h
431jobs.o: $(topdir)/shell.h $(topdir)/syntax.h $(topdir)/unwind_prot.h $(topdir)/variables.h $(topdir)/conftypes.h 
432kill.o: $(topdir)/command.h ../config.h $(BASHINCDIR)/memalloc.h $(topdir)/error.h
433kill.o: $(topdir)/general.h $(topdir)/xmalloc.h $(topdir)/subst.h $(topdir)/externs.h
434kill.o: $(topdir)/quit.h $(topdir)/dispose_cmd.h $(topdir)/make_cmd.h
435kill.o: $(topdir)/shell.h $(topdir)/syntax.h $(topdir)/trap.h $(topdir)/unwind_prot.h
436kill.o: $(topdir)/variables.h $(topdir)/conftypes.h $(BASHINCDIR)/maxpath.h
437let.o: $(topdir)/command.h ../config.h $(BASHINCDIR)/memalloc.h
438let.o: $(topdir)/error.h $(topdir)/general.h $(topdir)/xmalloc.h
439let.o: $(topdir)/quit.h $(topdir)/dispose_cmd.h $(topdir)/make_cmd.h
440let.o: $(topdir)/subst.h $(topdir)/externs.h $(BASHINCDIR)/maxpath.h
441let.o: $(topdir)/shell.h $(topdir)/syntax.h $(topdir)/unwind_prot.h $(topdir)/variables.h $(topdir)/conftypes.h
442printf.o: ../config.h $(BASHINCDIR)/memalloc.h $(topdir)/bashjmp.h
443printf.o: $(topdir)/command.h $(topdir)/error.h $(topdir)/general.h $(topdir)/xmalloc.h
444printf.o: $(topdir)/quit.h $(topdir)/dispose_cmd.h $(topdir)/make_cmd.h
445printf.o: $(topdir)/subst.h $(topdir)/externs.h $(topdir)/sig.h
446printf.o: $(topdir)/pathnames.h $(topdir)/shell.h $(topdir)/syntax.h $(topdir)/unwind_prot.h
447printf.o: $(topdir)/variables.h $(topdir)/conftypes.h $(BASHINCDIR)/stdc.h $(srcdir)/bashgetopt.h
448printf.o: $(topdir)/bashtypes.h ${srcdir}/common.h $(BASHINCDIR)/chartypes.h
449pushd.o: $(topdir)/command.h ../config.h $(BASHINCDIR)/memalloc.h
450pushd.o: $(topdir)/error.h $(topdir)/general.h $(topdir)/xmalloc.h
451pushd.o: $(topdir)/quit.h $(topdir)/dispose_cmd.h $(topdir)/make_cmd.h
452pushd.o: $(topdir)/subst.h $(topdir)/externs.h
453pushd.o: $(topdir)/shell.h $(topdir)/syntax.h $(topdir)/unwind_prot.h $(topdir)/variables.h $(topdir)/conftypes.h
454pushd.o: $(BASHINCDIR)/maxpath.h $(srcdir)/common.h ./builtext.h
455read.o: $(topdir)/command.h ../config.h $(BASHINCDIR)/memalloc.h
456read.o: $(topdir)/error.h $(topdir)/general.h $(topdir)/xmalloc.h
457read.o: $(topdir)/quit.h $(topdir)/dispose_cmd.h $(topdir)/make_cmd.h
458read.o: $(topdir)/subst.h $(topdir)/externs.h $(BASHINCDIR)/maxpath.h
459read.o: $(topdir)/shell.h $(topdir)/syntax.h $(topdir)/unwind_prot.h $(topdir)/variables.h $(topdir)/conftypes.h
460read.o: $(BASHINCDIR)/shtty.h
461read.o: $(topdir)/arrayfunc.h
462return.o: $(topdir)/command.h ../config.h $(BASHINCDIR)/memalloc.h
463return.o: $(topdir)/error.h $(topdir)/general.h $(topdir)/xmalloc.h
464return.o: $(topdir)/quit.h $(topdir)/dispose_cmd.h $(topdir)/make_cmd.h
465return.o: $(topdir)/subst.h $(topdir)/externs.h $(BASHINCDIR)/maxpath.h
466return.o: $(topdir)/shell.h $(topdir)/syntax.h $(topdir)/unwind_prot.h $(topdir)/variables.h $(topdir)/conftypes.h
467set.o: $(topdir)/command.h ../config.h $(BASHINCDIR)/memalloc.h
468set.o: $(topdir)/general.h $(topdir)/xmalloc.h $(topdir)/subst.h $(topdir)/externs.h
469set.o: $(topdir)/quit.h $(topdir)/dispose_cmd.h $(topdir)/make_cmd.h
470set.o: $(topdir)/shell.h $(topdir)/syntax.h $(topdir)/unwind_prot.h $(topdir)/variables.h $(topdir)/conftypes.h
471set.o: $(BASHINCDIR)/maxpath.h $(topdir)/error.h
472set.o: $(topdir)/arrayfunc.h
473setattr.o: $(topdir)/command.h ../config.h $(BASHINCDIR)/memalloc.h
474setattr.o: $(topdir)/error.h $(topdir)/general.h $(topdir)/xmalloc.h $(BASHINCDIR)/maxpath.h
475setattr.o: $(topdir)/quit.h $(srcdir)/common.h $(srcdir)/bashgetopt.h
476setattr.o: $(topdir)/dispose_cmd.h $(topdir)/make_cmd.h $(topdir)/subst.h
477setattr.o: $(topdir)/externs.h
478setattr.o: $(topdir)/shell.h $(topdir)/syntax.h $(topdir)/unwind_prot.h $(topdir)/variables.h $(topdir)/conftypes.h 
479setattr.o: $(topdir)/arrayfunc.h
480shift.o: $(topdir)/command.h ../config.h $(BASHINCDIR)/memalloc.h
481shift.o: $(topdir)/error.h $(topdir)/general.h $(topdir)/xmalloc.h
482shift.o: $(topdir)/quit.h $(topdir)/dispose_cmd.h $(topdir)/make_cmd.h
483shift.o: $(topdir)/subst.h $(topdir)/externs.h $(BASHINCDIR)/maxpath.h
484shift.o: $(topdir)/shell.h $(topdir)/syntax.h $(topdir)/unwind_prot.h $(topdir)/variables.h $(topdir)/conftypes.h
485source.o: $(topdir)/command.h ../config.h $(BASHINCDIR)/memalloc.h
486source.o: $(topdir)/error.h $(topdir)/general.h $(topdir)/xmalloc.h $(topdir)/findcmd.h
487source.o: $(topdir)/quit.h $(topdir)/dispose_cmd.h $(topdir)/make_cmd.h
488source.o: $(topdir)/subst.h $(topdir)/externs.h $(BASHINCDIR)/maxpath.h
489source.o: $(topdir)/shell.h $(topdir)/syntax.h $(topdir)/unwind_prot.h $(topdir)/variables.h $(topdir)/conftypes.h
490source.o: $(srcdir)/bashgetopt.h
491suspend.o: $(topdir)/command.h ../config.h $(BASHINCDIR)/memalloc.h
492suspend.o: $(topdir)/error.h $(topdir)/general.h $(topdir)/xmalloc.h
493suspend.o: $(topdir)/quit.h $(topdir)/dispose_cmd.h $(topdir)/make_cmd.h
494suspend.o: $(topdir)/subst.h $(topdir)/externs.h $(BASHINCDIR)/maxpath.h
495suspend.o: $(topdir)/shell.h $(topdir)/syntax.h $(topdir)/unwind_prot.h $(topdir)/variables.h $(topdir)/conftypes.h
496test.o: $(topdir)/command.h ../config.h $(BASHINCDIR)/memalloc.h
497test.o: $(topdir)/error.h $(topdir)/general.h $(topdir)/xmalloc.h
498test.o: $(topdir)/quit.h $(topdir)/dispose_cmd.h $(topdir)/make_cmd.h
499test.o: $(topdir)/subst.h $(topdir)/externs.h $(BASHINCDIR)/maxpath.h
500test.o: $(topdir)/shell.h $(topdir)/syntax.h $(topdir)/unwind_prot.h $(topdir)/variables.h $(topdir)/conftypes.h
501test.o: $(topdir)/test.h
502times.o: $(topdir)/command.h ../config.h $(BASHINCDIR)/memalloc.h
503times.o: $(topdir)/error.h $(topdir)/general.h $(topdir)/xmalloc.h
504times.o: $(topdir)/quit.h $(topdir)/dispose_cmd.h $(topdir)/make_cmd.h
505times.o: $(topdir)/subst.h $(topdir)/externs.h $(BASHINCDIR)/maxpath.h
506times.o: $(topdir)/shell.h $(topdir)/syntax.h $(topdir)/unwind_prot.h $(topdir)/variables.h $(topdir)/conftypes.h
507times.o: $(BASHINCDIR)/posixtime.h
508trap.o: $(topdir)/command.h ../config.h $(BASHINCDIR)/memalloc.h
509trap.o: $(topdir)/error.h $(topdir)/general.h $(topdir)/xmalloc.h $(topdir)/externs.h
510trap.o: $(topdir)/quit.h $(srcdir)/common.h $(BASHINCDIR)/maxpath.h
511trap.o: $(topdir)/dispose_cmd.h $(topdir)/make_cmd.h $(topdir)/subst.h
512trap.o: $(topdir)/shell.h $(topdir)/syntax.h $(topdir)/unwind_prot.h $(topdir)/variables.h $(topdir)/conftypes.h
513trap.o: $(topdir)/findcmd.h
514type.o: $(topdir)/command.h ../config.h $(BASHINCDIR)/memalloc.h
515type.o: $(topdir)/error.h $(topdir)/general.h $(topdir)/xmalloc.h
516type.o: $(topdir)/quit.h $(srcdir)/common.h $(BASHINCDIR)/maxpath.h
517type.o: $(topdir)/dispose_cmd.h $(topdir)/make_cmd.h $(topdir)/subst.h
518type.o: $(topdir)/externs.h $(topdir)/hashcmd.h
519type.o: $(topdir)/shell.h $(topdir)/syntax.h $(topdir)/unwind_prot.h $(topdir)/variables.h $(topdir)/conftypes.h 
520ulimit.o: $(topdir)/command.h ../config.h $(BASHINCDIR)/memalloc.h
521ulimit.o: $(topdir)/error.h $(topdir)/general.h $(topdir)/xmalloc.h
522ulimit.o: $(topdir)/quit.h $(topdir)/dispose_cmd.h $(topdir)/make_cmd.h
523ulimit.o: $(topdir)/subst.h $(topdir)/externs.h $(BASHINCDIR)/maxpath.h
524ulimit.o: $(topdir)/shell.h $(topdir)/syntax.h $(topdir)/unwind_prot.h $(topdir)/variables.h $(topdir)/conftypes.h
525umask.o: $(topdir)/command.h ../config.h $(BASHINCDIR)/memalloc.h
526umask.o: $(topdir)/error.h $(topdir)/general.h $(topdir)/xmalloc.h
527umask.o: $(topdir)/quit.h $(topdir)/dispose_cmd.h $(topdir)/make_cmd.h
528umask.o: $(topdir)/subst.h $(topdir)/externs.h $(BASHINCDIR)/maxpath.h
529umask.o: $(topdir)/shell.h $(topdir)/syntax.h $(topdir)/unwind_prot.h $(topdir)/variables.h $(topdir)/conftypes.h
530umask.o: $(BASHINCDIR)/chartypes.h
531wait.o: $(topdir)/command.h ../config.h $(BASHINCDIR)/memalloc.h
532wait.o: $(topdir)/error.h $(topdir)/general.h $(topdir)/xmalloc.h
533wait.o: $(topdir)/quit.h $(topdir)/dispose_cmd.h $(topdir)/make_cmd.h
534wait.o: $(topdir)/subst.h $(topdir)/externs.h $(BASHINCDIR)/maxpath.h
535wait.o: $(topdir)/shell.h $(topdir)/syntax.h $(topdir)/unwind_prot.h $(topdir)/variables.h $(topdir)/conftypes.h
536wait.o: $(BASHINCDIR)/chartypes.h
537shopt.o: $(topdir)/command.h ../config.h $(BASHINCDIR)/memalloc.h
538shopt.o: $(topdir)/error.h $(topdir)/general.h $(topdir)/xmalloc.h 
539shopt.o: $(topdir)/quit.h $(topdir)/dispose_cmd.h $(topdir)/make_cmd.h
540shopt.o: $(topdir)/subst.h $(topdir)/externs.h $(BASHINCDIR)/maxpath.h
541shopt.o: $(topdir)/shell.h $(topdir)/syntax.h $(topdir)/unwind_prot.h $(topdir)/variables.h $(topdir)/conftypes.h
542shopt.o: $(srcdir)/common.h $(srcdir)/bashgetopt.h
543
544complete.o: ../config.h
545complete.o: ${topdir}/shell.h $(topdir)/syntax.h ${topdir}/bashjmp.h ${BASHINCDIR}/posixjmp.h ${topdir}/sig.h  
546complete.o: ${topdir}/unwind_prot.h ${topdir}/variables.h
547complete.o: ${topdir}/bashtypes.h ${topdir}/bashansi.h ${BASHINCDIR}/ansi_stdlib.h
548complete.o: ${topdir}/builtins.h
549complete.o: ${topdir}/pcomplete.h
550complete.o: ${srcdir}/common.h ${srcdir}/bashgetopt.h
551
552#bind.o: $(RL_LIBSRC)chardefs.h $(RL_LIBSRC)readline.h $(RL_LIBSRC)keymaps.h
553