Improve selection of output format
[binutils.git] / binutils / Makefile.am
bloba01f9edb06054effdeab116b142f859078dd2125
1 ## Process this file with automake to generate Makefile.in
3 ## FIXME: Work around apparent bug in automake.
4 INTLLIBS = @INTLLIBS@
6 AUTOMAKE_OPTIONS = cygnus dejagnu
8 SUBDIRS = po
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 bison -y ; fi`
19 YFLAGS = -d
20 LEX = `if [ -f ../flex/flex ] ; then echo ../flex/flex ; else echo flex ; fi`
22 # these two are almost the same program
23 AR_PROG=ar
24 RANLIB_PROG=ranlib
26 # objcopy and strip should be the same program
27 OBJCOPY_PROG=objcopy
28 STRIP_PROG=strip-new
30 STRINGS_PROG=strings
32 READELF_PROG=readelf
34 # These should all be the same program too.
35 SIZE_PROG=size
36 NM_PROG=nm-new
37 OBJDUMP_PROG=objdump
39 # This is the demangler, as a standalone program.
40 # Note: This one is used as the installed name too, unlike the above.
41 DEMANGLER_PROG=c++filt
43 ADDR2LINE_PROG=addr2line
45 NLMCONV_PROG=nlmconv
46 DLLTOOL_PROG=dlltool
47 WINDRES_PROG=windres
48 DLLWRAP_PROG=dllwrap
50 SRCONV_PROG=srconv$(EXEEXT) sysdump$(EXEEXT) coffdump$(EXEEXT) 
52 man_MANS = ar.1 nm.1 objdump.1 ranlib.1 size.1 strings.1 strip.1 objcopy.1 \
53         addr2line.1 nlmconv.1 $(DEMANGLER_PROG).1
55 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@
57 bin_PROGRAMS = $(SIZE_PROG) $(OBJDUMP_PROG) $(AR_PROG) $(STRINGS_PROG) $(RANLIB_PROG) $(DEMANGLER_PROG) $(OBJCOPY_PROG) @BUILD_NLMCONV@ @BUILD_SRCONV@ @BUILD_DLLTOOL@ @BUILD_WINDRES@ $(ADDR2LINE_PROG) $(READELF_PROG) @BUILD_DLLWRAP@ @BUILD_MISC@
59 ## We need a special rule to install the programs which are built with -new
60 noinst_PROGRAMS = $(NM_PROG) $(STRIP_PROG)
62 EXTRA_PROGRAMS = $(NLMCONV_PROG) srconv sysdump coffdump $(DLLTOOL_PROG) $(WINDRES_PROG) $(DLLWRAP_PROG)
64 # Stuff that goes in tooldir/ if appropriate
65 TOOL_PROGS = nm-new strip-new ar ranlib dlltool
67 BASEDIR = $(srcdir)/..
68 BFDDIR = $(BASEDIR)/bfd
69 INCDIR  = $(BASEDIR)/include
71 DEP = mkdep
73 INCLUDES = -D_GNU_SOURCE -I. -I$(srcdir) -I../bfd -I$(BFDDIR) -I$(INCDIR) @HDEFINES@ -I$(srcdir)/../intl -I../intl -DLOCALEDIR="\"$(prefix)/share/locale\""
75 HFILES = arsup.h bucomm.h budbg.h coffgrok.h debug.h nlmconv.h dlltool.h \
76         windres.h winduni.h dyn-string.h
78 GENERATED_HFILES = arparse.h sysroff.h sysinfo.h defparse.h
80 CFILES = addr2line.c ar.c arsup.c bucomm.c coffdump.c coffgrok.c debug.c \
81         dlltool.c filemode.c ieee.c is-ranlib.c is-strip.c maybe-ranlib.c \
82         maybe-strip.c nlmconv.c nm.c not-ranlib.c not-strip.c \
83         objcopy.c objdump.c prdbg.c rdcoff.c rddbg.c size.c srconv.c \
84         stabs.c strings.c sysdump.c version.c wrstabs.c \
85         windres.c resrc.c rescoff.c resbin.c winduni.c readelf.c \
86         resres.c dyn-string.c dllwrap.c rename.c
88 GENERATED_CFILES = \
89         underscore.c arparse.c arlex.c sysroff.c sysinfo.c syslex.c \
90         defparse.c deflex.c nlmheader.c rcparse.c rclex.c
92 DEBUG_SRCS = rddbg.c debug.c stabs.c ieee.c rdcoff.c
93 WRITE_DEBUG_SRCS = $(DEBUG_SRCS) wrstabs.c
95 # Code shared by all the binutils.
96 BULIBS = bucomm.c version.c filemode.c
98 BFDLIB = ../bfd/libbfd.la
100 OPCODES = ../opcodes/libopcodes.la
102 LIBIBERTY = ../libiberty/libiberty.a
104 POTFILES = $(CFILES) $(DEBUG_SRCS) $(HFILES)
105 po/POTFILES.in: @MAINT@ Makefile
106         for file in $(POTFILES); do echo $$file; done | sort > tmp \
107           && mv tmp $(srcdir)/po/POTFILES.in
109 EXPECT = `if [ -f $$r/../expect/expect ] ; then \
110           echo $$r/../expect/expect ; \
111           else echo expect ; fi`
112 RUNTEST = `if [ -f ${srcdir}/../dejagnu/runtest ] ; then \
113            echo ${srcdir}/../dejagnu/runtest ; \
114            else echo runtest ;  fi`
116 CC_FOR_TARGET = ` \
117   if [ -f $$r/../gcc/xgcc ] ; then \
118     if [ -f $$r/../newlib/Makefile ] ; then \
119       echo $$r/../gcc/xgcc -B$$r/../gcc/ -idirafter $$r/../newlib/targ-include -idirafter $${srcroot}/../newlib/libc/include -nostdinc; \
120     else \
121       echo $$r/../gcc/xgcc -B$$r/../gcc/; \
122     fi; \
123   else \
124     if [ "@host@" = "@target@" ] ; then \
125       echo $(CC); \
126     else \
127       echo gcc | sed '$(transform)'; \
128     fi; \
129   fi`
131 check-DEJAGNU: site.exp
132         srcdir=`cd $(srcdir) && pwd`; export srcdir; \
133         r=`pwd`; export r; \
134         EXPECT=$(EXPECT); export EXPECT; \
135         if [ -f $(top_builddir)/../expect/expect ]; then \
136           TCL_LIBRARY=`cd $(top_srcdir)/../tcl/library && pwd`; \
137           export TCL_LIBRARY; \
138         fi; \
139         runtest=$(RUNTEST); \
140         if $(SHELL) -c "$$runtest --version" > /dev/null 2>&1; then \
141           $$runtest --tool $(DEJATOOL) --srcdir $${srcdir}/testsuite \
142                 CC_FOR_TARGET="$(CC_FOR_TARGET)" \
143                 CFLAGS_FOR_TARGET="$(CFLAGS)" $(RUNTESTFLAGS); \
144         else echo "WARNING: could not find \`runtest'" 1>&2; :;\
145         fi
147 installcheck:
148         /bin/sh $(srcdir)/sanity.sh $(bindir)
150 info_TEXINFOS = binutils.texi
152 LDADD = $(BFDLIB) $(LIBIBERTY) $(INTLLIBS)
154 size_SOURCES = size.c $(BULIBS)
156 objcopy_SOURCES = objcopy.c not-strip.c rename.c $(WRITE_DEBUG_SRCS) $(BULIBS)
158 strings_SOURCES = strings.c $(BULIBS)
160 readelf_SOURCES = readelf.c version.c
161 readelf_LDADD   = $(INTLLIBS) $(LIBIBERTY)
163 strip_new_SOURCES = objcopy.c is-strip.c rename.c $(WRITE_DEBUG_SRCS) $(BULIBS)
165 nm_new_SOURCES = nm.c $(BULIBS)
167 objdump_SOURCES = objdump.c prdbg.c $(DEBUG_SRCS) $(BULIBS)
168 objdump_LDADD = $(OPCODES) $(BFDLIB) $(LIBIBERTY) $(INTLLIBS)
170 underscore.c: stamp-under ; @true
172 stamp-under: Makefile
173         echo '/*WARNING: This file is automatically generated!*/' >underscore.t
174         echo "int prepends_underscore = @UNDERSCORE@;" >>underscore.t
175         $(SHELL) $(srcdir)/../move-if-change underscore.t underscore.c
176         touch stamp-under
178 cplus-dem.o: $(BASEDIR)/libiberty/cplus-dem.c $(INCDIR)/getopt.h
179         $(COMPILE) -c -DMAIN -DVERSION='"$(VERSION)"' $(BASEDIR)/libiberty/cplus-dem.c
181 c__filt_SOURCES =
182 c__filt_LDADD = cplus-dem.o underscore.o $(LIBIBERTY) $(INTLLIBS)
184 ar_SOURCES = arparse.y arlex.l ar.c not-ranlib.c arsup.c rename.c $(BULIBS)
185 ar_LDADD = $(BFDLIB) $(LIBIBERTY) @LEXLIB@ $(INTLLIBS)
187 ranlib_SOURCES = ar.c is-ranlib.c arparse.y arlex.l arsup.c rename.c $(BULIBS)
188 ranlib_LDADD = $(BFDLIB) $(LIBIBERTY) @LEXLIB@ $(INTLLIBS)
190 addr2line_SOURCES = addr2line.c $(BULIBS)
192 # The following is commented out for the convertion to automake.
193 # This rule creates a single binary that switches between ar and ranlib
194 # by looking at argv[0].  Use this kludge to save some disk space.
195 # However, you have to install things by hand.
196 # (That is after 'make install', replace the installed ranlib by a link to ar.)
197 # Alternatively, you can install ranlib.sh as ranlib.
198 # ar_with_ranlib: $(ADDL_DEPS) ar.o maybe-ranlib.o
199 #       $(HLDENV) $(CC) $(HLDFLAGS) $(CFLAGS) $(LDFLAGS) -o $(AR_PROG) ar.o maybe-ranlib.o $(ADDL_LIBS) $(EXTRALIBS)
200 #       -rm -f $(RANLIB_PROG)
201 #       -ln $(AR_PROG) $(RANLIB_PROG)
203 # objcopy and strip in one binary that uses argv[0] to decide its action.
205 #objcopy_with_strip: $(ADDL_DEPS) objcopy.o maybe-strip.o
206 #       $(HLDENV) $(CC) $(HLDFLAGS) $(CFLAGS) $(LDFLAGS) -o $(OBJCOPY_PROG) objcopy.o maybe-strip.o $(ADDL_LIBS) $(EXTRALIBS)
207 #       -rm -f $(STRIP_PROG)
208 #       -ln $(OBJCOPY_PROG) $(STRIP_PROG)
210 sysroff.c: sysinfo$(EXEEXT_FOR_BUILD) sysroff.info 
211         ./sysinfo$(EXEEXT_FOR_BUILD) -c <$(srcdir)/sysroff.info >sysroff.c
212         ./sysinfo$(EXEEXT_FOR_BUILD) -i <$(srcdir)/sysroff.info >>sysroff.c
213         ./sysinfo$(EXEEXT_FOR_BUILD) -g <$(srcdir)/sysroff.info >>sysroff.c
215 sysroff.h: sysinfo$(EXEEXT_FOR_BUILD) sysroff.info
216         ./sysinfo$(EXEEXT_FOR_BUILD) -d <$(srcdir)/sysroff.info >sysroff.h
218 sysinfo$(EXEEXT_FOR_BUILD): sysinfo.o syslex.o
219         $(CC_FOR_BUILD) $(CFLAGS) $(LDFLAGS) -o $@ sysinfo.o syslex.o 
221 syslex.o: syslex.c sysinfo.h
222         if [ -r syslex.c ]; then \
223           $(CC_FOR_BUILD) -c -I. $(CFLAGS)  syslex.c  ; \
224         else \
225           $(CC_FOR_BUILD) -c -I. -I$(srcdir) $(CFLAGS) $(srcdir)/syslex.c ;\
226         fi
228 sysinfo.o: sysinfo.c
229         if [ -r sysinfo.c ]; then \
230           $(CC_FOR_BUILD) -c -I. $(CFLAGS)  sysinfo.c  ; \
231         else \
232           $(CC_FOR_BUILD) -c -I. $(CFLAGS) $(srcdir)/sysinfo.c ; \
233         fi
235 srconv_SOURCES = srconv.c coffgrok.c $(BULIBS)
237 dlltool_SOURCES = dlltool.c defparse.y deflex.l dyn-string.c $(BULIBS)
238 dlltool_LDADD = $(BFDLIB) $(LIBIBERTY) @LEXLIB@ $(INTLLIBS)
240 dlltool.o:dlltool.c
241         $(COMPILE) -c $(DLLTOOL_DEFS) $(srcdir)/dlltool.c
243 rescoff.o:rescoff.c
244         $(COMPILE) -c $(DLLTOOL_DEFS) $(srcdir)/rescoff.c
246 coffdump_SOURCES = coffdump.c coffgrok.c $(BULIBS)
248 sysdump_SOURCES = sysdump.c $(BULIBS)
250 # coff/sym.h and coff/ecoff.h won't be found by the automatic dependency
251 # scripts, since they are only included conditionally.
252 nlmconv.o: nlmconv.c $(INCDIR)/coff/sym.h $(INCDIR)/coff/ecoff.h
253         ldname=`echo ld | sed '$(transform)'`; \
254         $(COMPILE) -c -DLD_NAME="\"$${ldname}\"" @NLMCONV_DEFS@ $(srcdir)/nlmconv.c
256 nlmconv_SOURCES = nlmconv.c nlmheader.y $(BULIBS)
258 windres_SOURCES = windres.c resrc.c rescoff.c resbin.c rcparse.y rclex.l \
259         winduni.c resres.c $(BULIBS)
260 windres_LDADD = $(BFDLIB) $(LIBIBERTY) @LEXLIB@ $(INTLLIBS)
262 dllwrap_SOURCES = dllwrap.c dyn-string.c 
263 dllwrap_LDADD = $(LIBIBERTY) $(INTLLIBS)
266 DISTSTUFF = arparse.c arparse.h arlex.c nlmheader.c sysinfo.c sysinfo.h \
267         syslex.c deflex.c defparse.h defparse.c rclex.c rcparse.h rcparse.c
269 diststuff: $(DISTSTUFF) info
271 DISTCLEANFILES = stamp-under sysinfo underscore.c sysroff.c sysroff.h \
272         site.exp site.bak
274 # Targets to rebuild dependencies in this Makefile.
275 # Have to get rid of .dep1 here so that "$?" later includes all of $(CFILES).
276 .dep: dep.sed $(CFILES) $(HFILES) $(GENERATED_CFILES) $(GENERATED_HFILES) config.h
277         rm -f .dep1
278         $(MAKE) DEP=$(DEP) .dep1
279         sed -f dep.sed <.dep1 >.dep
281 # This rule really wants a mkdep that runs "gcc -MM".
282 .dep1: $(CFILES) $(GENERATED_CFILES)
283         rm -f .dep2
284         echo '# DO NOT DELETE THIS LINE -- mkdep uses it.' > .dep2
285         $(DEP) -f .dep2 $(INCLUDES) $?
286         $(SHELL) $(srcdir)/../move-if-change .dep2 .dep1
288 dep.sed: dep-in.sed config.status
289         objdir=`pwd`; \
290         sed <$(srcdir)/dep-in.sed >dep.sed      \
291                 -e 's!@INCDIR@!$(INCDIR)!'      \
292                 -e 's!@BFDDIR@!$(BFDDIR)!'      \
293                 -e 's!@SRCDIR@!$(srcdir)!'      \
294                 -e "s!@OBJDIR@!$${objdir}!"
296 dep: .dep
297         sed -e '/^..DO NOT DELETE THIS LINE/,$$d' < Makefile > tmp-Makefile
298         cat .dep >> tmp-Makefile
299         $(SHELL) $(srcdir)/../move-if-change tmp-Makefile Makefile
301 dep-in: .dep
302         sed -e '/^..DO NOT DELETE THIS LINE/,$$d' < $(srcdir)/Makefile.in > tmp-Makefile.in
303         cat .dep >> tmp-Makefile.in
304         $(SHELL) $(srcdir)/../move-if-change tmp-Makefile.in $(srcdir)/Makefile.in
306 dep-am: .dep
307         sed -e '/^..DO NOT DELETE THIS LINE/,$$d' < $(srcdir)/Makefile.am > tmp-Makefile.am
308         cat .dep >> tmp-Makefile.am
309         $(SHELL) $(srcdir)/../move-if-change tmp-Makefile.am $(srcdir)/Makefile.am
311 .PHONY: dep dep-in dep-am
314 # DOCUMENTATION TARGETS
315 config.texi: Makefile
316         rm -f config.texi
317         echo '@set VERSION $(VERSION)' > config.texi
319 binutils.dvi: $(srcdir)/binutils.texi config.texi
321 binutils.info: $(srcdir)/binutils.texi config.texi
323 MAINTAINERCLEANFILES = config.texi
325 $(DEMANGLER_PROG).1: cxxfilt.man Makefile
326         sed -e 's/@PROGRAM@/$(DEMANGLER_PROG)/' < $(srcdir)/cxxfilt.man \
327                 > $(DEMANGLER_PROG).1
329 MOSTLYCLEANFILES = sysinfo $(DEMANGLER_PROG).1 binutils.log binutils.sum \
330         abcdefgh*
331 mostlyclean-local:
332         -rm -rf tmpdir
334 CLEANFILES = dep.sed .dep .dep1
336 .PHONY: install-exec-local
338 install-exec-local: $(bin_PROGRAMS) $(noinst_PROGRAMS)
339         @list='$(noinst_PROGRAMS)'; for p in $$list; do \
340           if test -f $$p; then \
341             echo " $(LIBTOOL)  --mode=install $(INSTALL_PROGRAM) $$p $(bindir)/`echo $$p|sed -e 's/$(EXEEXT)$$//' -e 's/-new//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`"; \
342             $(LIBTOOL)  --mode=install $(INSTALL_PROGRAM) $$p $(bindir)/`echo $$p|sed -e 's/$(EXEEXT)$$//' -e 's/-new//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`; \
343           else :; fi; \
344         done
345         $(mkinstalldirs) $(tooldir)/bin
346         for i in $(TOOL_PROGS); do \
347           if [ -f $$i$(EXEEXT) ]; then \
348             j=`echo $$i | sed -e 's/-new//'`; \
349             k=`echo $$j | sed '$(transform)'`; \
350             if [ "$(bindir)/$$k$(EXEEXT)" != "$(tooldir)/bin/$$j$(EXEEXT)" ]; then \
351               rm -f $(tooldir)/bin/$$j$(EXEEXT); \
352               ln $(bindir)/$$k$(EXEEXT) $(tooldir)/bin/$$j$(EXEEXT) >/dev/null 2>/dev/null \
353                 || $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) $$i$(EXEEXT) $(tooldir)/bin/$$j$(EXEEXT); \
354             fi; \
355           else true; \
356           fi; \
357         done
359 # What appears below is generated by a hacked mkdep using gcc -MM.
361 # DO NOT DELETE THIS LINE -- mkdep uses it.
362 # DO NOT PUT ANYTHING AFTER THIS LINE, IT WILL GO AWAY.
364 addr2line.o: addr2line.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
365   $(INCDIR)/getopt.h $(INCDIR)/libiberty.h $(INCDIR)/demangle.h \
366   bucomm.h config.h $(INCDIR)/fopen-same.h
367 ar.o: ar.c ../bfd/bfd.h $(INCDIR)/ansidecl.h $(INCDIR)/libiberty.h \
368   $(INCDIR)/progress.h bucomm.h config.h $(INCDIR)/fopen-same.h \
369   $(INCDIR)/aout/ar.h $(BFDDIR)/libbfd.h arsup.h
370 arsup.o: arsup.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
371   arsup.h $(INCDIR)/libiberty.h bucomm.h config.h $(INCDIR)/fopen-same.h
372 bucomm.o: bucomm.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
373   $(INCDIR)/libiberty.h bucomm.h config.h $(INCDIR)/fopen-same.h
374 coffdump.o: coffdump.c coffgrok.h bucomm.h config.h \
375   $(INCDIR)/fopen-same.h
376 coffgrok.o: coffgrok.c bucomm.h config.h $(INCDIR)/fopen-same.h \
377   $(INCDIR)/coff/internal.h $(BFDDIR)/libcoff.h $(INCDIR)/bfdlink.h \
378   coffgrok.h
379 debug.o: debug.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
380   bucomm.h config.h $(INCDIR)/fopen-same.h $(INCDIR)/libiberty.h \
381   debug.h
382 dlltool.o: dlltool.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
383   $(INCDIR)/libiberty.h bucomm.h config.h $(INCDIR)/fopen-same.h \
384   $(INCDIR)/getopt.h $(INCDIR)/demangle.h dyn-string.h \
385   dlltool.h
386 filemode.o: filemode.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
387   bucomm.h config.h $(INCDIR)/fopen-same.h
388 ieee.o: ieee.c ../bfd/bfd.h $(INCDIR)/ansidecl.h $(INCDIR)/ieee.h \
389   bucomm.h config.h $(INCDIR)/fopen-same.h $(INCDIR)/libiberty.h \
390   debug.h budbg.h
391 is-ranlib.o: is-ranlib.c
392 is-strip.o: is-strip.c
393 maybe-ranlib.o: maybe-ranlib.c
394 maybe-strip.o: maybe-strip.c
395 nlmconv.o: nlmconv.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
396   $(INCDIR)/libiberty.h bucomm.h config.h $(INCDIR)/fopen-same.h \
397   $(BFDDIR)/libnlm.h $(INCDIR)/nlm/common.h $(INCDIR)/nlm/internal.h \
398   $(INCDIR)/nlm/external.h nlmconv.h
399 nm.o: nm.c ../bfd/bfd.h $(INCDIR)/ansidecl.h $(INCDIR)/progress.h \
400   bucomm.h config.h $(INCDIR)/fopen-same.h $(INCDIR)/getopt.h \
401   $(INCDIR)/aout/stab_gnu.h $(INCDIR)/aout/stab.def $(INCDIR)/aout/ranlib.h \
402   $(INCDIR)/demangle.h $(INCDIR)/libiberty.h
403 not-ranlib.o: not-ranlib.c
404 not-strip.o: not-strip.c
405 objcopy.o: objcopy.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
406   $(INCDIR)/progress.h bucomm.h config.h $(INCDIR)/fopen-same.h \
407   $(INCDIR)/getopt.h $(INCDIR)/libiberty.h budbg.h
408 objdump.o: objdump.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
409   $(INCDIR)/getopt.h $(INCDIR)/progress.h bucomm.h config.h \
410   $(INCDIR)/fopen-same.h $(INCDIR)/dis-asm.h $(INCDIR)/libiberty.h \
411   $(INCDIR)/demangle.h debug.h budbg.h $(INCDIR)/aout/aout64.h
412 prdbg.o: prdbg.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
413   bucomm.h config.h $(INCDIR)/fopen-same.h $(INCDIR)/libiberty.h \
414   debug.h budbg.h
415 rdcoff.o: rdcoff.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
416   $(INCDIR)/coff/internal.h bucomm.h config.h $(INCDIR)/fopen-same.h \
417   $(INCDIR)/libiberty.h $(INCDIR)/demangle.h debug.h \
418   budbg.h $(BFDDIR)/libcoff.h $(INCDIR)/bfdlink.h
419 rddbg.o: rddbg.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
420   bucomm.h config.h $(INCDIR)/fopen-same.h $(INCDIR)/libiberty.h \
421   debug.h budbg.h
422 size.o: size.c ../bfd/bfd.h $(INCDIR)/ansidecl.h $(INCDIR)/getopt.h \
423   bucomm.h config.h $(INCDIR)/fopen-same.h $(INCDIR)/libiberty.h
424 srconv.o: srconv.c bucomm.h config.h $(INCDIR)/fopen-same.h \
425   sysroff.h coffgrok.h $(INCDIR)/coff/internal.h $(BFDDIR)/libcoff.h \
426   $(INCDIR)/bfdlink.h sysroff.c
427 stabs.o: stabs.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
428   bucomm.h config.h $(INCDIR)/fopen-same.h $(INCDIR)/libiberty.h \
429   $(INCDIR)/demangle.h debug.h budbg.h $(INCDIR)/aout/aout64.h \
430   $(INCDIR)/aout/stab_gnu.h $(INCDIR)/aout/stab.def
431 strings.o: strings.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
432   bucomm.h config.h $(INCDIR)/fopen-same.h $(INCDIR)/libiberty.h
433 sysdump.o: sysdump.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
434   bucomm.h config.h $(INCDIR)/fopen-same.h sysroff.h \
435   sysroff.c
436 version.o: version.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
437   bucomm.h config.h $(INCDIR)/fopen-same.h
438 wrstabs.o: wrstabs.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
439   bucomm.h config.h $(INCDIR)/fopen-same.h $(INCDIR)/libiberty.h \
440   debug.h budbg.h $(INCDIR)/aout/aout64.h $(INCDIR)/aout/stab_gnu.h \
441   $(INCDIR)/aout/stab.def
442 windres.o: windres.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
443   $(INCDIR)/getopt.h bucomm.h config.h $(INCDIR)/fopen-same.h \
444   $(INCDIR)/libiberty.h $(INCDIR)/obstack.h windres.h \
445   winduni.h
446 resrc.o: resrc.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
447   bucomm.h config.h $(INCDIR)/fopen-same.h $(INCDIR)/libiberty.h \
448   windres.h winduni.h
449 rescoff.o: rescoff.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
450   bucomm.h config.h $(INCDIR)/fopen-same.h $(INCDIR)/libiberty.h \
451   windres.h winduni.h $(INCDIR)/coff/internal.h $(BFDDIR)/libcoff.h \
452   $(INCDIR)/bfdlink.h
453 resbin.o: resbin.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
454   bucomm.h config.h $(INCDIR)/fopen-same.h $(INCDIR)/libiberty.h \
455   windres.h winduni.h
456 winduni.o: winduni.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
457   bucomm.h config.h $(INCDIR)/fopen-same.h winduni.h
458 readelf.o: readelf.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
459   $(INCDIR)/elf/common.h $(INCDIR)/elf/external.h $(INCDIR)/elf/internal.h \
460   $(INCDIR)/elf/dwarf2.h $(INCDIR)/elf/i386.h $(INCDIR)/elf/reloc-macros.h \
461   $(INCDIR)/elf/v850.h $(INCDIR)/elf/ppc.h $(INCDIR)/elf/mips.h \
462   $(INCDIR)/elf/alpha.h $(INCDIR)/elf/arm.h $(INCDIR)/elf/m68k.h \
463   $(INCDIR)/elf/sparc.h $(INCDIR)/elf/m32r.h $(INCDIR)/elf/d10v.h \
464   $(INCDIR)/elf/d30v.h $(INCDIR)/elf/sh.h $(INCDIR)/elf/mn10200.h \
465   $(INCDIR)/elf/mn10300.h $(INCDIR)/elf/hppa.h $(INCDIR)/elf/arc.h \
466   $(INCDIR)/elf/fr30.h $(INCDIR)/elf/mcore.h $(INCDIR)/elf/i960.h \
467   bucomm.h config.h $(INCDIR)/fopen-same.h $(INCDIR)/getopt.h
468 resres.o: resres.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
469   bucomm.h config.h $(INCDIR)/fopen-same.h $(INCDIR)/libiberty.h \
470   windres.h winduni.h
471 dyn-string.o: dyn-string.c config.h $(INCDIR)/ansidecl.h \
472   dyn-string.h
473 dllwrap.o: dllwrap.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
474   $(INCDIR)/libiberty.h bucomm.h config.h $(INCDIR)/fopen-same.h \
475   $(INCDIR)/getopt.h dyn-string.h
476 rename.o: rename.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
477   bucomm.h config.h $(INCDIR)/fopen-same.h
478 underscore.o: underscore.c
479 arparse.o: arparse.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
480   bucomm.h config.h $(INCDIR)/fopen-same.h arsup.h
481 arlex.o: arlex.c $(INCDIR)/libiberty.h arparse.h
482 sysroff.o: sysroff.c
483 sysinfo.o: sysinfo.c
484 syslex.o: syslex.c sysinfo.h
485 defparse.o: defparse.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
486   bucomm.h config.h $(INCDIR)/fopen-same.h dlltool.h
487 deflex.o: deflex.c $(INCDIR)/libiberty.h $(INCDIR)/ansidecl.h \
488   defparse.h dlltool.h
489 nlmheader.o: nlmheader.c ../bfd/bfd.h bucomm.h config.h \
490   $(INCDIR)/fopen-same.h $(INCDIR)/nlm/common.h $(INCDIR)/nlm/internal.h \
491   nlmconv.h
492 rcparse.o: rcparse.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
493   bucomm.h config.h $(INCDIR)/fopen-same.h $(INCDIR)/libiberty.h \
494   windres.h winduni.h
495 rclex.o: rclex.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
496   bucomm.h config.h $(INCDIR)/fopen-same.h $(INCDIR)/libiberty.h \
497   windres.h winduni.h rcparse.h
499 # IF YOU PUT ANYTHING HERE IT WILL GO AWAY