1 ## Process this file with automake to generate Makefile.in
3 ## FIXME: Work around apparent bug in automake.
6 AUTOMAKE_OPTIONS = cygnus dejagnu
10 tooldir = $(exec_prefix)/$(target_alias)
12 ## These aren't set by automake, because they appear in
13 ## bfd/acinclude.m4, which is included by binutils/acinclude.m4, and
14 ## thus is not seen by automake.
15 CC_FOR_BUILD = @CC_FOR_BUILD@
16 EXEEXT_FOR_BUILD = @EXEEXT_FOR_BUILD@
18 YACC = `if [ -f ../bison/bison ]; then echo ../bison/bison -y -L$(srcdir)/../bison/; else echo @YACC@; fi`
20 LEX = `if [ -f ../flex/flex ]; then echo ../flex/flex; else echo @LEX@; fi`
22 WARN_CFLAGS = @WARN_CFLAGS@
23 AM_CFLAGS = $(WARN_CFLAGS)
25 # these two are almost the same program
29 # objcopy and strip should be the same program
37 # These should all be the same program too.
42 # This is the demangler, as a standalone program.
43 # Note: This one is used as the installed name too, unlike the above.
44 DEMANGLER_PROG=cxxfilt
46 ADDR2LINE_PROG=addr2line
53 SRCONV_PROG=srconv$(EXEEXT) sysdump$(EXEEXT) coffdump$(EXEEXT)
57 TEXI2POD = perl $(srcdir)/../etc/texi2pod.pl
59 POD2MAN = pod2man --center="GNU" --release="binutils-$(VERSION)" --section=1
61 # List of man pages generated from binutils.texi
78 PROGS = $(SIZE_PROG) $(OBJDUMP_PROG) $(NM_PROG) $(AR_PROG) $(STRINGS_PROG) $(STRIP_PROG) $(RANLIB_PROG) $(DEMANGLER_PROG) $(OBJCOPY_PROG) @BUILD_NLMCONV@ @BUILD_SRCONV@ @BUILD_DLLTOOL@ @BUILD_WINDRES@ $(ADDR2LINE_PROG) $(READELF_PROG) @BUILD_DLLWRAP@ @BUILD_MISC@
80 bin_PROGRAMS = $(SIZE_PROG) $(OBJDUMP_PROG) $(AR_PROG) $(STRINGS_PROG) $(RANLIB_PROG) $(OBJCOPY_PROG) @BUILD_NLMCONV@ @BUILD_SRCONV@ @BUILD_DLLTOOL@ @BUILD_WINDRES@ $(ADDR2LINE_PROG) $(READELF_PROG) @BUILD_DLLWRAP@ @BUILD_MISC@
82 ## We need a special rule to install the programs which are built with
83 ## -new, and to rename cxxfilt to c++filt.
84 noinst_PROGRAMS = $(NM_PROG) $(STRIP_PROG) $(DEMANGLER_PROG)
86 EXTRA_PROGRAMS = $(NLMCONV_PROG) srconv sysdump coffdump $(DLLTOOL_PROG) $(WINDRES_PROG) $(DLLWRAP_PROG)
88 # Stuff that goes in tooldir/ if appropriate
89 TOOL_PROGS = nm-new strip-new ar ranlib dlltool
91 BASEDIR = $(srcdir)/..
92 BFDDIR = $(BASEDIR)/bfd
93 INCDIR = $(BASEDIR)/include
97 INCLUDES = -D_GNU_SOURCE -I. -I$(srcdir) -I../bfd -I$(BFDDIR) -I$(INCDIR) @HDEFINES@ -I$(srcdir)/../intl -I../intl -DLOCALEDIR="\"$(prefix)/share/locale\""
99 HFILES = arsup.h bucomm.h budbg.h coffgrok.h debug.h nlmconv.h dlltool.h \
102 GENERATED_HFILES = arparse.h sysroff.h sysinfo.h defparse.h rcparse.h
104 CFILES = addr2line.c ar.c arsup.c bucomm.c coffdump.c coffgrok.c debug.c \
105 dlltool.c filemode.c ieee.c is-ranlib.c is-strip.c maybe-ranlib.c \
106 maybe-strip.c nlmconv.c nm.c not-ranlib.c not-strip.c \
107 objcopy.c objdump.c prdbg.c rdcoff.c rddbg.c size.c srconv.c \
108 stabs.c strings.c sysdump.c version.c wrstabs.c \
109 windres.c resrc.c rescoff.c resbin.c winduni.c readelf.c \
110 resres.c dllwrap.c rename.c
113 underscore.c arparse.c arlex.c sysroff.c sysinfo.c syslex.c \
114 defparse.c deflex.c nlmheader.c rcparse.c rclex.c
116 DEBUG_SRCS = rddbg.c debug.c stabs.c ieee.c rdcoff.c
117 WRITE_DEBUG_SRCS = $(DEBUG_SRCS) wrstabs.c
119 # Code shared by all the binutils.
120 BULIBS = bucomm.c version.c filemode.c
122 BFDLIB = ../bfd/libbfd.la
124 OPCODES = ../opcodes/libopcodes.la
126 LIBIBERTY = ../libiberty/libiberty.a
128 POTFILES = $(CFILES) $(DEBUG_SRCS) $(HFILES)
129 po/POTFILES.in: @MAINT@ Makefile
130 for file in $(POTFILES); do echo $$file; done | sort > tmp \
131 && mv tmp $(srcdir)/po/POTFILES.in
133 EXPECT = `if [ -f $$r/../expect/expect ] ; then \
134 echo $$r/../expect/expect ; \
135 else echo expect ; fi`
136 RUNTEST = `if [ -f ${srcdir}/../dejagnu/runtest ] ; then \
137 echo ${srcdir}/../dejagnu/runtest ; \
138 else echo runtest ; fi`
141 if [ -f $$r/../gcc/xgcc ] ; then \
142 if [ -f $$r/../newlib/Makefile ] ; then \
143 echo $$r/../gcc/xgcc -B$$r/../gcc/ -idirafter $$r/../newlib/targ-include -idirafter $${srcroot}/../newlib/libc/include -nostdinc; \
145 echo $$r/../gcc/xgcc -B$$r/../gcc/; \
148 if [ "@host@" = "@target@" ] ; then \
151 echo gcc | sed '$(transform)'; \
155 check-DEJAGNU: site.exp
156 srcdir=`cd $(srcdir) && pwd`; export srcdir; \
158 EXPECT=$(EXPECT); export EXPECT; \
159 if [ -f $(top_builddir)/../expect/expect ]; then \
160 TCL_LIBRARY=`cd $(top_srcdir)/../tcl/library && pwd`; \
161 export TCL_LIBRARY; \
163 runtest=$(RUNTEST); \
164 if $(SHELL) -c "$$runtest --version" > /dev/null 2>&1; then \
165 $$runtest --tool $(DEJATOOL) --srcdir $${srcdir}/testsuite \
166 CC_FOR_TARGET="$(CC_FOR_TARGET)" \
167 CFLAGS_FOR_TARGET="$(CFLAGS)" $(RUNTESTFLAGS); \
168 else echo "WARNING: could not find \`runtest'" 1>&2; :;\
172 /bin/sh $(srcdir)/sanity.sh $(bindir)
174 info_TEXINFOS = binutils.texi
176 LDADD = $(BFDLIB) $(LIBIBERTY) $(INTLLIBS)
178 size_SOURCES = size.c $(BULIBS)
180 objcopy_SOURCES = objcopy.c not-strip.c rename.c $(WRITE_DEBUG_SRCS) $(BULIBS)
182 strings_SOURCES = strings.c $(BULIBS)
184 readelf_SOURCES = readelf.c version.c unwind-ia64.c
185 readelf_LDADD = $(INTLLIBS) $(LIBIBERTY)
187 strip_new_SOURCES = objcopy.c is-strip.c rename.c $(WRITE_DEBUG_SRCS) $(BULIBS)
189 nm_new_SOURCES = nm.c $(BULIBS)
191 objdump_SOURCES = objdump.c prdbg.c $(DEBUG_SRCS) $(BULIBS)
192 objdump_LDADD = $(OPCODES) $(BFDLIB) $(LIBIBERTY) $(INTLLIBS)
195 $(COMPILE) -c $(OBJDUMP_DEFS) $(srcdir)/objdump.c
197 underscore.c: stamp-under ; @true
199 stamp-under: Makefile
200 echo '/*WARNING: This file is automatically generated!*/' >underscore.t
201 echo "int prepends_underscore = @UNDERSCORE@;" >>underscore.t
202 $(SHELL) $(srcdir)/../move-if-change underscore.t underscore.c
205 cplus-dem.o: $(BASEDIR)/libiberty/cplus-dem.c $(INCDIR)/getopt.h
206 $(COMPILE) -c -DMAIN -DVERSION='"$(VERSION)"' $(BASEDIR)/libiberty/cplus-dem.c
209 cxxfilt_LDADD = cplus-dem.o underscore.o $(LIBIBERTY) $(INTLLIBS)
211 ar_SOURCES = arparse.y arlex.l ar.c not-ranlib.c arsup.c rename.c $(BULIBS)
212 ar_LDADD = $(BFDLIB) $(LIBIBERTY) @LEXLIB@ $(INTLLIBS)
214 ranlib_SOURCES = ar.c is-ranlib.c arparse.y arlex.l arsup.c rename.c $(BULIBS)
215 ranlib_LDADD = $(BFDLIB) $(LIBIBERTY) @LEXLIB@ $(INTLLIBS)
217 addr2line_SOURCES = addr2line.c $(BULIBS)
219 # The following is commented out for the conversion to automake.
220 # This rule creates a single binary that switches between ar and ranlib
221 # by looking at argv[0]. Use this kludge to save some disk space.
222 # However, you have to install things by hand.
223 # (That is after 'make install', replace the installed ranlib by a link to ar.)
224 # Alternatively, you can install ranlib.sh as ranlib.
225 # ar_with_ranlib: $(ADDL_DEPS) ar.o maybe-ranlib.o
226 # $(HLDENV) $(CC) $(HLDFLAGS) $(CFLAGS) $(LDFLAGS) -o $(AR_PROG) ar.o maybe-ranlib.o $(ADDL_LIBS) $(EXTRALIBS)
227 # -rm -f $(RANLIB_PROG)
228 # -ln $(AR_PROG) $(RANLIB_PROG)
230 # objcopy and strip in one binary that uses argv[0] to decide its action.
232 #objcopy_with_strip: $(ADDL_DEPS) objcopy.o maybe-strip.o
233 # $(HLDENV) $(CC) $(HLDFLAGS) $(CFLAGS) $(LDFLAGS) -o $(OBJCOPY_PROG) objcopy.o maybe-strip.o $(ADDL_LIBS) $(EXTRALIBS)
234 # -rm -f $(STRIP_PROG)
235 # -ln $(OBJCOPY_PROG) $(STRIP_PROG)
237 sysroff.c: sysinfo$(EXEEXT_FOR_BUILD) sysroff.info
238 ./sysinfo$(EXEEXT_FOR_BUILD) -c <$(srcdir)/sysroff.info >sysroff.c
239 ./sysinfo$(EXEEXT_FOR_BUILD) -i <$(srcdir)/sysroff.info >>sysroff.c
240 ./sysinfo$(EXEEXT_FOR_BUILD) -g <$(srcdir)/sysroff.info >>sysroff.c
242 sysroff.h: sysinfo$(EXEEXT_FOR_BUILD) sysroff.info
243 ./sysinfo$(EXEEXT_FOR_BUILD) -d <$(srcdir)/sysroff.info >sysroff.h
245 sysinfo$(EXEEXT_FOR_BUILD): sysinfo.o syslex.o
246 $(CC_FOR_BUILD) $(CFLAGS) $(LDFLAGS) -o $@ sysinfo.o syslex.o
248 syslex.o: syslex.c sysinfo.h
249 if [ -r syslex.c ]; then \
250 $(CC_FOR_BUILD) -c -I. $(CFLAGS) syslex.c ; \
252 $(CC_FOR_BUILD) -c -I. -I$(srcdir) $(CFLAGS) $(srcdir)/syslex.c ;\
256 if [ -r sysinfo.c ]; then \
257 $(CC_FOR_BUILD) -c -I. $(CFLAGS) sysinfo.c ; \
259 $(CC_FOR_BUILD) -c -I. $(CFLAGS) $(srcdir)/sysinfo.c ; \
262 # We need these for parallel make.
264 defparse.h: defparse.c
265 nlmheader.h: nlmheader.c
269 srconv_SOURCES = srconv.c coffgrok.c $(BULIBS)
271 dlltool_SOURCES = dlltool.c defparse.y deflex.l $(BULIBS)
272 dlltool_LDADD = $(BFDLIB) $(LIBIBERTY) @LEXLIB@ $(INTLLIBS)
275 $(COMPILE) -c $(DLLTOOL_DEFS) $(srcdir)/dlltool.c
278 $(COMPILE) -c $(DLLTOOL_DEFS) $(srcdir)/rescoff.c
280 coffdump_SOURCES = coffdump.c coffgrok.c $(BULIBS)
282 sysdump_SOURCES = sysdump.c $(BULIBS)
284 # coff/sym.h and coff/ecoff.h won't be found by the automatic dependency
285 # scripts, since they are only included conditionally.
286 nlmconv.o: nlmconv.c $(INCDIR)/coff/sym.h $(INCDIR)/coff/ecoff.h
287 ldname=`echo ld | sed '$(transform)'`; \
288 $(COMPILE) -c -DLD_NAME="\"$${ldname}\"" @NLMCONV_DEFS@ $(srcdir)/nlmconv.c
290 nlmconv_SOURCES = nlmconv.c nlmheader.y $(BULIBS)
292 windres_SOURCES = windres.c resrc.c rescoff.c resbin.c rcparse.y rclex.l \
293 winduni.c resres.c $(BULIBS)
294 windres_LDADD = $(BFDLIB) $(LIBIBERTY) @LEXLIB@ $(INTLLIBS)
296 dllwrap_SOURCES = dllwrap.c version.c
297 dllwrap_LDADD = $(LIBIBERTY) $(INTLLIBS)
300 DISTSTUFF = arparse.c arparse.h arlex.c nlmheader.c sysinfo.c sysinfo.h \
301 syslex.c deflex.c defparse.h defparse.c rclex.c rcparse.h rcparse.c
303 diststuff: $(DISTSTUFF) info
305 DISTCLEANFILES = stamp-under sysinfo underscore.c sysroff.c sysroff.h \
308 # Targets to rebuild dependencies in this Makefile.
309 # Have to get rid of DEP1 here so that "$?" later includes all of $(CFILES).
310 DEP: dep.sed $(CFILES) $(HFILES) $(GENERATED_CFILES) $(GENERATED_HFILES) config.h
312 $(MAKE) MKDEP="$(MKDEP)" DEP1
313 sed -f dep.sed < DEP1 > DEPA
314 echo '# IF YOU PUT ANYTHING HERE IT WILL GO AWAY' >> DEPA
315 if grep ' /' DEPA > /dev/null 2> /dev/null; then \
316 echo 'make DEP failed!'; exit 1; \
321 DEP1: $(CFILES) $(GENERATED_CFILES)
322 echo '# DO NOT DELETE THIS LINE -- mkdep uses it.' > DEP2
323 echo '# DO NOT PUT ANYTHING AFTER THIS LINE, IT WILL GO AWAY.' >> DEP2
324 $(MKDEP) $(INCLUDES) $(CFLAGS) $? >> DEP2
327 dep.sed: dep-in.sed config.status
329 sed <$(srcdir)/dep-in.sed >dep.sed \
330 -e 's!@INCDIR@!$(INCDIR)!' \
331 -e 's!@BFDDIR@!$(BFDDIR)!' \
332 -e 's!@SRCDIR@!$(srcdir)!' \
333 -e "s!@OBJDIR@!$${objdir}!"
336 sed -e '/^..DO NOT DELETE THIS LINE/,$$d' < Makefile > tmp-Makefile
337 cat DEP >> tmp-Makefile
338 $(SHELL) $(srcdir)/../move-if-change tmp-Makefile Makefile
341 sed -e '/^..DO NOT DELETE THIS LINE/,$$d' < $(srcdir)/Makefile.in > tmp-Makefile.in
342 cat DEP >> tmp-Makefile.in
343 $(SHELL) $(srcdir)/../move-if-change tmp-Makefile.in $(srcdir)/Makefile.in
346 sed -e '/^..DO NOT DELETE THIS LINE/,$$d' < $(srcdir)/Makefile.am > tmp-Makefile.am
347 cat DEP >> tmp-Makefile.am
348 $(SHELL) $(srcdir)/../move-if-change tmp-Makefile.am $(srcdir)/Makefile.am
350 .PHONY: dep dep-in dep-am
353 # DOCUMENTATION TARGETS
354 config.texi: Makefile
356 echo '@set VERSION $(VERSION)' > config.texi
358 binutils.dvi: $(srcdir)/binutils.texi config.texi
360 binutils.info: $(srcdir)/binutils.texi config.texi
362 # Man page generation from texinfo
363 $(srcdir)/addr2line.1: $(srcdir)/binutils.texi
365 -$(TEXI2POD) $(MANCONF) -Daddr2line < $< > $@.pod
366 -($(POD2MAN) $@.pod | sed -e '/^.if n .na/d' > $@.T$$$$ && \
367 mv -f $@.T$$$$ $@) || (rm -f $@.T$$$$ && exit 1)
370 $(srcdir)/ar.1: $(srcdir)/binutils.texi
372 -$(TEXI2POD) $(MANCONF) -Dar < $< > $@.pod
373 -($(POD2MAN) $@.pod | sed -e '/^.if n .na/d' > $@.T$$$$ && \
374 mv -f $@.T$$$$ $@) || (rm -f $@.T$$$$ && exit 1)
377 $(srcdir)/dlltool.1: $(srcdir)/binutils.texi
379 -$(TEXI2POD) $(MANCONF) -Ddlltool < $< > $@.pod
380 -($(POD2MAN) $@.pod | sed -e '/^.if n .na/d' > $@.T$$$$ && \
381 mv -f $@.T$$$$ $@) || (rm -f $@.T$$$$ && exit 1)
384 $(srcdir)/dlltool.1: $(srcdir)/binutils.texi
386 -$(TEXI2POD) $(MANCONF) -Ddlltool < $< > $@.pod
387 -($(POD2MAN) $@.pod | sed -e '/^.if n .na/d' > $@.T$$$$ && \
388 mv -f $@.T$$$$ $@) || (rm -f $@.T$$$$ && exit 1)
391 $(srcdir)/nlmconv.1: $(srcdir)/binutils.texi
393 -$(TEXI2POD) $(MANCONF) -Dnlmconv < $< > $@.pod
394 -($(POD2MAN) $@.pod | sed -e '/^.if n .na/d' > $@.T$$$$ && \
395 mv -f $@.T$$$$ $@) || (rm -f $@.T$$$$ && exit 1)
398 $(srcdir)/nm.1: $(srcdir)/binutils.texi
400 -$(TEXI2POD) $(MANCONF) -Dnm < $< > $@.pod
401 -($(POD2MAN) $@.pod | sed -e '/^.if n .na/d' > $@.T$$$$ && \
402 mv -f $@.T$$$$ $@) || (rm -f $@.T$$$$ && exit 1)
405 $(srcdir)/objcopy.1: $(srcdir)/binutils.texi
407 -$(TEXI2POD) $(MANCONF) -Dobjcopy < $< > $@.pod
408 -($(POD2MAN) $@.pod | sed -e '/^.if n .na/d' > $@.T$$$$ && \
409 mv -f $@.T$$$$ $@) || (rm -f $@.T$$$$ && exit 1)
412 $(srcdir)/objdump.1: $(srcdir)/binutils.texi
414 -$(TEXI2POD) $(MANCONF) -Dobjdump < $< > $@.pod
415 -($(POD2MAN) $@.pod | sed -e '/^.if n .na/d' > $@.T$$$$ && \
416 mv -f $@.T$$$$ $@) || (rm -f $@.T$$$$ && exit 1)
419 $(srcdir)/ranlib.1: $(srcdir)/binutils.texi
421 -$(TEXI2POD) $(MANCONF) -Dranlib < $< > $@.pod
422 -($(POD2MAN) $@.pod | sed -e '/^.if n .na/d' > $@.T$$$$ && \
423 mv -f $@.T$$$$ $@) || (rm -f $@.T$$$$ && exit 1)
426 $(srcdir)/readelf.1: $(srcdir)/binutils.texi
428 -$(TEXI2POD) $(MANCONF) -Dreadelf < $< > $@.pod
429 -($(POD2MAN) $@.pod | sed -e '/^.if n .na/d' > $@.T$$$$ && \
430 mv -f $@.T$$$$ $@) || (rm -f $@.T$$$$ && exit 1)
433 $(srcdir)/size.1: $(srcdir)/binutils.texi
435 -$(TEXI2POD) $(MANCONF) -Dsize < $< > $@.pod
436 -($(POD2MAN) $@.pod | sed -e '/^.if n .na/d' > $@.T$$$$ && \
437 mv -f $@.T$$$$ $@) || (rm -f $@.T$$$$ && exit 1)
440 $(srcdir)/strings.1: $(srcdir)/binutils.texi
442 -$(TEXI2POD) $(MANCONF) -Dstrings < $< > $@.pod
443 -($(POD2MAN) $@.pod | sed -e '/^.if n .na/d' > $@.T$$$$ && \
444 mv -f $@.T$$$$ $@) || (rm -f $@.T$$$$ && exit 1)
447 $(srcdir)/strip.1: $(srcdir)/binutils.texi
449 -$(TEXI2POD) $(MANCONF) -Dstrip < $< > $@.pod
450 -($(POD2MAN) $@.pod | sed -e '/^.if n .na/d' > $@.T$$$$ && \
451 mv -f $@.T$$$$ $@) || (rm -f $@.T$$$$ && exit 1)
454 $(srcdir)/windres.1: $(srcdir)/binutils.texi
456 -$(TEXI2POD) $(MANCONF) -Dwindres < $< > $@.pod
457 -($(POD2MAN) $@.pod | sed -e '/^.if n .na/d' > $@.T$$$$ && \
458 mv -f $@.T$$$$ $@) || (rm -f $@.T$$$$ && exit 1)
461 $(srcdir)/cxxfilt.man: $(srcdir)/binutils.texi
463 -$(TEXI2POD) $(MANCONF) -Dcxxfilt < $< > $@.pod
464 -($(POD2MAN) $@.pod | sed -e '/^.if n .na/d' > $@.T$$$$ && \
465 mv -f $@.T$$$$ $@) || (rm -f $@.T$$$$ && exit 1)
468 MAINTAINERCLEANFILES = config.texi
470 $(DEMANGLER_NAME).1: cxxfilt.man Makefile
471 sed -e 's/@PROGRAM@/$(DEMANGLER_NAME)/' < $(srcdir)/cxxfilt.man \
472 > $(DEMANGLER_NAME).1
474 MOSTLYCLEANFILES = sysinfo $(DEMANGLER_NAME).1 binutils.log binutils.sum \
479 CLEANFILES = dep.sed DEP DEPA DEP1 DEP2
481 .PHONY: install-exec-local
483 install-exec-local: install-binPROGRAMS $(bin_PROGRAMS) $(noinst_PROGRAMS)
484 @list='$(noinst_PROGRAMS)'; for p in $$list; do \
485 if test -f $$p; then \
486 echo " $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) $$p $(bindir)/`echo $$p|sed -e 's/$(EXEEXT)$$//' -e 's/-new//' -e 's/cxxfilt/$(DEMANGLER_NAME)/'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`"; \
487 $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) $$p $(bindir)/`echo $$p|sed -e 's/$(EXEEXT)$$//' -e 's/-new//' -e 's/cxxfilt/$(DEMANGLER_NAME)/'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`; \
490 $(mkinstalldirs) $(tooldir)/bin
491 for i in $(TOOL_PROGS); do \
492 if [ -f $$i$(EXEEXT) ]; then \
493 j=`echo $$i | sed -e 's/-new//'`; \
494 k=`echo $$j | sed '$(transform)'`; \
495 if [ "$(bindir)/$$k$(EXEEXT)" != "$(tooldir)/bin/$$j$(EXEEXT)" ]; then \
496 rm -f $(tooldir)/bin/$$j$(EXEEXT); \
497 ln $(bindir)/$$k$(EXEEXT) $(tooldir)/bin/$$j$(EXEEXT) >/dev/null 2>/dev/null \
498 || $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) $$i$(EXEEXT) $(tooldir)/bin/$$j$(EXEEXT); \
504 # What appears below is generated by a hacked mkdep using gcc -MM.
506 # DO NOT DELETE THIS LINE -- mkdep uses it.
507 # DO NOT PUT ANYTHING AFTER THIS LINE, IT WILL GO AWAY.
508 addr2line.o: addr2line.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
509 $(INCDIR)/getopt.h $(INCDIR)/libiberty.h $(INCDIR)/demangle.h \
510 bucomm.h config.h $(INCDIR)/bin-bugs.h $(INCDIR)/fopen-same.h
511 ar.o: ar.c ../bfd/bfd.h $(INCDIR)/ansidecl.h $(INCDIR)/libiberty.h \
512 $(INCDIR)/progress.h bucomm.h config.h $(INCDIR)/bin-bugs.h \
513 $(INCDIR)/fopen-same.h $(INCDIR)/aout/ar.h $(BFDDIR)/libbfd.h \
514 arsup.h $(INCDIR)/filenames.h
515 arsup.o: arsup.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
516 arsup.h $(INCDIR)/libiberty.h bucomm.h config.h $(INCDIR)/bin-bugs.h \
517 $(INCDIR)/fopen-same.h $(INCDIR)/filenames.h
518 bucomm.o: bucomm.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
519 $(INCDIR)/libiberty.h bucomm.h config.h $(INCDIR)/bin-bugs.h \
520 $(INCDIR)/fopen-same.h $(INCDIR)/filenames.h
521 coffdump.o: coffdump.c coffgrok.h bucomm.h config.h \
522 $(INCDIR)/bin-bugs.h $(INCDIR)/fopen-same.h
523 coffgrok.o: coffgrok.c bucomm.h config.h $(INCDIR)/bin-bugs.h \
524 $(INCDIR)/fopen-same.h $(INCDIR)/coff/internal.h $(BFDDIR)/libcoff.h \
525 $(INCDIR)/bfdlink.h coffgrok.h
526 debug.o: debug.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
527 bucomm.h config.h $(INCDIR)/bin-bugs.h $(INCDIR)/fopen-same.h \
528 $(INCDIR)/libiberty.h debug.h
529 dlltool.o: dlltool.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
530 $(INCDIR)/libiberty.h bucomm.h config.h $(INCDIR)/bin-bugs.h \
531 $(INCDIR)/fopen-same.h $(INCDIR)/demangle.h $(INCDIR)/dyn-string.h \
533 filemode.o: filemode.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
534 bucomm.h config.h $(INCDIR)/bin-bugs.h $(INCDIR)/fopen-same.h
535 ieee.o: ieee.c ../bfd/bfd.h $(INCDIR)/ansidecl.h $(INCDIR)/ieee.h \
536 bucomm.h config.h $(INCDIR)/bin-bugs.h $(INCDIR)/fopen-same.h \
537 $(INCDIR)/libiberty.h debug.h budbg.h $(INCDIR)/filenames.h
538 is-ranlib.o: is-ranlib.c
539 is-strip.o: is-strip.c
540 maybe-ranlib.o: maybe-ranlib.c
541 maybe-strip.o: maybe-strip.c
542 nlmconv.o: nlmconv.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
543 $(INCDIR)/libiberty.h bucomm.h config.h $(INCDIR)/bin-bugs.h \
544 $(INCDIR)/fopen-same.h $(BFDDIR)/libnlm.h $(INCDIR)/nlm/common.h \
545 $(INCDIR)/nlm/internal.h $(INCDIR)/nlm/external.h nlmconv.h
546 nm.o: nm.c ../bfd/bfd.h $(INCDIR)/ansidecl.h $(INCDIR)/progress.h \
547 bucomm.h config.h $(INCDIR)/bin-bugs.h $(INCDIR)/fopen-same.h \
548 $(INCDIR)/aout/stab_gnu.h $(INCDIR)/aout/stab.def $(INCDIR)/aout/ranlib.h \
549 $(INCDIR)/demangle.h $(INCDIR)/libiberty.h
550 not-ranlib.o: not-ranlib.c
551 not-strip.o: not-strip.c
552 objcopy.o: objcopy.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
553 $(INCDIR)/progress.h bucomm.h config.h $(INCDIR)/bin-bugs.h \
554 $(INCDIR)/fopen-same.h $(INCDIR)/libiberty.h budbg.h \
555 $(INCDIR)/filenames.h
556 objdump.o: objdump.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
557 $(INCDIR)/getopt.h $(INCDIR)/progress.h bucomm.h config.h \
558 $(INCDIR)/bin-bugs.h $(INCDIR)/fopen-same.h $(INCDIR)/dis-asm.h \
559 $(INCDIR)/libiberty.h $(INCDIR)/demangle.h debug.h \
560 budbg.h $(INCDIR)/aout/aout64.h
561 prdbg.o: prdbg.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
562 bucomm.h config.h $(INCDIR)/bin-bugs.h $(INCDIR)/fopen-same.h \
563 $(INCDIR)/libiberty.h debug.h budbg.h
564 rdcoff.o: rdcoff.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
565 $(INCDIR)/coff/internal.h bucomm.h config.h $(INCDIR)/bin-bugs.h \
566 $(INCDIR)/fopen-same.h $(INCDIR)/libiberty.h $(INCDIR)/demangle.h \
567 debug.h budbg.h $(BFDDIR)/libcoff.h $(INCDIR)/bfdlink.h
568 rddbg.o: rddbg.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
569 bucomm.h config.h $(INCDIR)/bin-bugs.h $(INCDIR)/fopen-same.h \
570 $(INCDIR)/libiberty.h debug.h budbg.h
571 size.o: size.c ../bfd/bfd.h $(INCDIR)/ansidecl.h $(INCDIR)/getopt.h \
572 bucomm.h config.h $(INCDIR)/bin-bugs.h $(INCDIR)/fopen-same.h \
573 $(INCDIR)/libiberty.h
574 srconv.o: srconv.c bucomm.h config.h $(INCDIR)/bin-bugs.h \
575 $(INCDIR)/fopen-same.h sysroff.h coffgrok.h $(INCDIR)/coff/internal.h \
576 $(BFDDIR)/libcoff.h $(INCDIR)/bfdlink.h sysroff.c
577 stabs.o: stabs.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
578 bucomm.h config.h $(INCDIR)/bin-bugs.h $(INCDIR)/fopen-same.h \
579 $(INCDIR)/libiberty.h $(INCDIR)/demangle.h debug.h \
580 budbg.h $(INCDIR)/filenames.h $(INCDIR)/aout/aout64.h \
581 $(INCDIR)/aout/stab_gnu.h $(INCDIR)/aout/stab.def
582 strings.o: strings.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
583 bucomm.h config.h $(INCDIR)/bin-bugs.h $(INCDIR)/fopen-same.h \
584 $(INCDIR)/libiberty.h
585 sysdump.o: sysdump.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
586 bucomm.h config.h $(INCDIR)/bin-bugs.h $(INCDIR)/fopen-same.h \
588 version.o: version.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
589 bucomm.h config.h $(INCDIR)/bin-bugs.h $(INCDIR)/fopen-same.h
590 wrstabs.o: wrstabs.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
591 bucomm.h config.h $(INCDIR)/bin-bugs.h $(INCDIR)/fopen-same.h \
592 $(INCDIR)/libiberty.h debug.h budbg.h $(INCDIR)/aout/aout64.h \
593 $(INCDIR)/aout/stab_gnu.h $(INCDIR)/aout/stab.def
594 windres.o: windres.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
595 $(INCDIR)/getopt.h bucomm.h config.h $(INCDIR)/bin-bugs.h \
596 $(INCDIR)/fopen-same.h $(INCDIR)/libiberty.h $(INCDIR)/obstack.h \
598 resrc.o: resrc.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
599 bucomm.h config.h $(INCDIR)/bin-bugs.h $(INCDIR)/fopen-same.h \
600 $(INCDIR)/libiberty.h windres.h winduni.h
601 rescoff.o: rescoff.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
602 bucomm.h config.h $(INCDIR)/bin-bugs.h $(INCDIR)/fopen-same.h \
603 $(INCDIR)/libiberty.h windres.h winduni.h $(INCDIR)/coff/internal.h \
604 $(BFDDIR)/libcoff.h $(INCDIR)/bfdlink.h
605 resbin.o: resbin.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
606 bucomm.h config.h $(INCDIR)/bin-bugs.h $(INCDIR)/fopen-same.h \
607 $(INCDIR)/libiberty.h windres.h winduni.h
608 winduni.o: winduni.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
609 bucomm.h config.h $(INCDIR)/bin-bugs.h $(INCDIR)/fopen-same.h \
611 readelf.o: readelf.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
612 $(INCDIR)/elf/common.h $(INCDIR)/elf/external.h $(INCDIR)/elf/internal.h \
613 $(INCDIR)/elf/dwarf2.h $(INCDIR)/elf/i386.h $(INCDIR)/elf/reloc-macros.h \
614 $(INCDIR)/elf/v850.h $(INCDIR)/elf/ppc.h $(INCDIR)/elf/mips.h \
615 $(INCDIR)/elf/alpha.h $(INCDIR)/elf/arm.h $(INCDIR)/elf/m68k.h \
616 $(INCDIR)/elf/sparc.h $(INCDIR)/elf/m32r.h $(INCDIR)/elf/d10v.h \
617 $(INCDIR)/elf/d30v.h $(INCDIR)/elf/sh.h $(INCDIR)/elf/mn10200.h \
618 $(INCDIR)/elf/mn10300.h $(INCDIR)/elf/hppa.h $(INCDIR)/elf/arc.h \
619 $(INCDIR)/elf/fr30.h $(INCDIR)/elf/mcore.h $(INCDIR)/elf/i960.h \
620 $(INCDIR)/elf/pj.h $(INCDIR)/elf/avr.h $(INCDIR)/elf/ia64.h \
621 $(INCDIR)/elf/cris.h $(INCDIR)/elf/i860.h $(INCDIR)/elf/x86-64.h \
622 $(INCDIR)/elf/s390.h bucomm.h config.h $(INCDIR)/bin-bugs.h \
623 $(INCDIR)/fopen-same.h unwind-ia64.h
624 resres.o: resres.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
625 bucomm.h config.h $(INCDIR)/bin-bugs.h $(INCDIR)/fopen-same.h \
626 $(INCDIR)/libiberty.h windres.h winduni.h
627 dllwrap.o: dllwrap.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
628 $(INCDIR)/libiberty.h bucomm.h config.h $(INCDIR)/bin-bugs.h \
629 $(INCDIR)/fopen-same.h $(INCDIR)/dyn-string.h
630 rename.o: rename.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
631 bucomm.h config.h $(INCDIR)/bin-bugs.h $(INCDIR)/fopen-same.h
632 underscore.o: underscore.c
633 arparse.o: arparse.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
634 bucomm.h config.h $(INCDIR)/bin-bugs.h $(INCDIR)/fopen-same.h \
636 arlex.o: arlex.c $(INCDIR)/libiberty.h arparse.h
639 syslex.o: syslex.c sysinfo.h
640 defparse.o: defparse.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
641 bucomm.h config.h $(INCDIR)/bin-bugs.h $(INCDIR)/fopen-same.h \
643 deflex.o: deflex.c $(INCDIR)/libiberty.h $(INCDIR)/ansidecl.h \
645 nlmheader.o: nlmheader.c ../bfd/bfd.h bucomm.h config.h \
646 $(INCDIR)/bin-bugs.h $(INCDIR)/fopen-same.h $(INCDIR)/nlm/common.h \
647 $(INCDIR)/nlm/internal.h nlmconv.h
648 rcparse.o: rcparse.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
649 bucomm.h config.h $(INCDIR)/bin-bugs.h $(INCDIR)/fopen-same.h \
650 $(INCDIR)/libiberty.h windres.h winduni.h
651 rclex.o: rclex.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
652 bucomm.h config.h $(INCDIR)/bin-bugs.h $(INCDIR)/fopen-same.h \
653 $(INCDIR)/libiberty.h windres.h winduni.h rcparse.h
654 # IF YOU PUT ANYTHING HERE IT WILL GO AWAY