daily update
[binutils.git] / binutils / Makefile.am
blob41348fd250d1a238dad833017f295d603ea60c60
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 = doc 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 @YACC@; fi`
19 YFLAGS = -d
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
26 AR_PROG=ar
27 RANLIB_PROG=ranlib
29 # objcopy and strip should be the same program
30 OBJCOPY_PROG=objcopy
31 STRIP_PROG=strip-new
33 STRINGS_PROG=strings
35 READELF_PROG=readelf
37 # These should all be the same program too.
38 SIZE_PROG=size
39 NM_PROG=nm-new
40 OBJDUMP_PROG=objdump
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
48 NLMCONV_PROG=nlmconv
49 DLLTOOL_PROG=dlltool
50 WINDRES_PROG=windres
51 DLLWRAP_PROG=dllwrap
53 SRCONV_PROG=srconv$(EXEEXT) sysdump$(EXEEXT) coffdump$(EXEEXT) 
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) $(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
60 ## -new, and to rename cxxfilt to c++filt.
61 noinst_PROGRAMS = $(NM_PROG) $(STRIP_PROG) $(DEMANGLER_PROG)
63 EXTRA_PROGRAMS = $(NLMCONV_PROG) srconv sysdump coffdump $(DLLTOOL_PROG) $(WINDRES_PROG) $(DLLWRAP_PROG)
65 # Stuff that goes in tooldir/ if appropriate.
66 TOOL_PROGS = nm-new strip-new ar ranlib dlltool
68 BASEDIR = $(srcdir)/..
69 BFDDIR = $(BASEDIR)/bfd
70 INCDIR  = $(BASEDIR)/include
72 MKDEP = gcc -MM
74 INCLUDES = -D_GNU_SOURCE \
75          -I. -I$(srcdir) -I../bfd -I$(BFDDIR) -I$(INCDIR) \
76          @HDEFINES@ \
77          -I$(srcdir)/../intl -I../intl \
78          -DLOCALEDIR="\"$(prefix)/share/locale\"" \
79          -Dbin_dummy_emulation=$(EMULATION_VECTOR)
81 HFILES = \
82         arsup.h binemul.h bucomm.h budbg.h budemang.h \
83         coffgrok.h debug.h dlltool.h nlmconv.h \
84         windres.h winduni.h
86 GENERATED_HFILES = arparse.h sysroff.h sysinfo.h defparse.h rcparse.h
88 CFILES = \
89         addr2line.c ar.c arsup.c binemul.c bucomm.c budemang.c \
90         coffdump.c coffgrok.c cxxfilt.c debug.c dlltool.c dllwrap.c \
91         emul_aix.c emul_vanilla.c filemode.c \
92         ieee.c is-ranlib.c is-strip.c maybe-ranlib.c maybe-strip.c \
93         nlmconv.c nm.c not-ranlib.c not-strip.c \
94         objcopy.c objdump.c prdbg.c \
95         rdcoff.c rddbg.c readelf.c rename.c \
96         resbin.c rescoff.c resrc.c resres.c \
97         size.c srconv.c stabs.c strings.c sysdump.c version.c \
98         windres.c winduni.c wrstabs.c
100 GENERATED_CFILES = \
101         arparse.c arlex.c sysroff.c sysinfo.c syslex.c \
102         defparse.c deflex.c nlmheader.c rcparse.c rclex.c
104 DEBUG_SRCS = rddbg.c debug.c stabs.c ieee.c rdcoff.c
105 WRITE_DEBUG_SRCS = $(DEBUG_SRCS) wrstabs.c
107 # Code shared by all the binutils.
108 BULIBS = bucomm.c version.c filemode.c
110 BFDLIB = ../bfd/libbfd.la
112 OPCODES = ../opcodes/libopcodes.la
114 LIBIBERTY = ../libiberty/libiberty.a
116 POTFILES = $(CFILES) $(DEBUG_SRCS) $(HFILES)
117 po/POTFILES.in: @MAINT@ Makefile
118         for file in $(POTFILES); do echo $$file; done | sort > tmp \
119           && mv tmp $(srcdir)/po/POTFILES.in
121 EXPECT = `if [ -f $$r/../expect/expect ] ; then \
122           echo $$r/../expect/expect ; \
123           else echo expect ; fi`
124 RUNTEST = `if [ -f ${srcdir}/../dejagnu/runtest ] ; then \
125            echo ${srcdir}/../dejagnu/runtest ; \
126            else echo runtest ;  fi`
128 CC_FOR_TARGET = ` \
129   if [ -f $$r/../gcc/xgcc ] ; then \
130     if [ -f $$r/../newlib/Makefile ] ; then \
131       echo $$r/../gcc/xgcc -B$$r/../gcc/ -idirafter $$r/../newlib/targ-include -idirafter $${srcroot}/../newlib/libc/include -nostdinc; \
132     else \
133       echo $$r/../gcc/xgcc -B$$r/../gcc/; \
134     fi; \
135   else \
136     if [ "@host@" = "@target@" ] ; then \
137       echo $(CC); \
138     else \
139       echo gcc | sed '$(transform)'; \
140     fi; \
141   fi`
143 check-DEJAGNU: site.exp
144         srcdir=`cd $(srcdir) && pwd`; export srcdir; \
145         r=`pwd`; export r; \
146         EXPECT=$(EXPECT); export EXPECT; \
147         if [ -f $(top_builddir)/../expect/expect ]; then \
148           TCL_LIBRARY=`cd $(top_srcdir)/../tcl/library && pwd`; \
149           export TCL_LIBRARY; \
150         fi; \
151         runtest=$(RUNTEST); \
152         if $(SHELL) -c "$$runtest --version" > /dev/null 2>&1; then \
153           CC_FOR_TARGET="$(CC_FOR_TARGET)" CFLAGS_FOR_TARGET="$(CFLAGS)" \
154                 $$runtest --tool $(DEJATOOL) --srcdir $${srcdir}/testsuite \
155                         $(RUNTESTFLAGS); \
156         else echo "WARNING: could not find \`runtest'" 1>&2; :;\
157         fi
159 installcheck:
160         /bin/sh $(srcdir)/sanity.sh $(bindir)
162 LDADD = $(BFDLIB) $(LIBIBERTY) $(INTLLIBS)
164 size_SOURCES = size.c $(BULIBS)
166 objcopy_SOURCES = objcopy.c not-strip.c rename.c $(WRITE_DEBUG_SRCS) $(BULIBS)
168 strings_SOURCES = strings.c $(BULIBS)
170 readelf_SOURCES = readelf.c version.c unwind-ia64.c
171 readelf_LDADD   = $(INTLLIBS) $(LIBIBERTY)
173 strip_new_SOURCES = objcopy.c is-strip.c rename.c $(WRITE_DEBUG_SRCS) $(BULIBS)
175 nm_new_SOURCES = nm.c budemang.c $(BULIBS)
177 objdump_SOURCES = objdump.c budemang.c prdbg.c $(DEBUG_SRCS) $(BULIBS)
178 objdump_LDADD = $(OPCODES) $(BFDLIB) $(LIBIBERTY) $(INTLLIBS)
180 objdump.o:objdump.c
181         $(COMPILE) -c $(OBJDUMP_DEFS) $(srcdir)/objdump.c
183 cxxfilt_SOURCES = cxxfilt.c $(BULIBS)
185 ar_SOURCES = arparse.y arlex.l ar.c not-ranlib.c arsup.c rename.c binemul.c \
186         emul_$(EMULATION).c $(BULIBS)
187 ar_LDADD = $(BFDLIB) $(LIBIBERTY) @LEXLIB@ $(INTLLIBS)
189 ranlib_SOURCES = ar.c is-ranlib.c arparse.y arlex.l arsup.c rename.c \
190         binemul.c emul_$(EMULATION).c $(BULIBS)
191 ranlib_LDADD = $(BFDLIB) $(LIBIBERTY) @LEXLIB@ $(INTLLIBS)
193 addr2line_SOURCES = addr2line.c budemang.c $(BULIBS)
195 # The following is commented out for the conversion to automake.
196 # This rule creates a single binary that switches between ar and ranlib
197 # by looking at argv[0].  Use this kludge to save some disk space.
198 # However, you have to install things by hand.
199 # (That is after 'make install', replace the installed ranlib by a link to ar.)
200 # Alternatively, you can install ranlib.sh as ranlib.
201 # ar_with_ranlib: $(ADDL_DEPS) ar.o maybe-ranlib.o
202 #       $(HLDENV) $(CC) $(HLDFLAGS) $(CFLAGS) $(LDFLAGS) -o $(AR_PROG) ar.o maybe-ranlib.o $(ADDL_LIBS) $(EXTRALIBS)
203 #       -rm -f $(RANLIB_PROG)
204 #       -ln $(AR_PROG) $(RANLIB_PROG)
206 # objcopy and strip in one binary that uses argv[0] to decide its action.
208 #objcopy_with_strip: $(ADDL_DEPS) objcopy.o maybe-strip.o
209 #       $(HLDENV) $(CC) $(HLDFLAGS) $(CFLAGS) $(LDFLAGS) -o $(OBJCOPY_PROG) objcopy.o maybe-strip.o $(ADDL_LIBS) $(EXTRALIBS)
210 #       -rm -f $(STRIP_PROG)
211 #       -ln $(OBJCOPY_PROG) $(STRIP_PROG)
213 sysroff.c: sysinfo$(EXEEXT_FOR_BUILD) sysroff.info 
214         ./sysinfo$(EXEEXT_FOR_BUILD) -c <$(srcdir)/sysroff.info >sysroff.c
215         ./sysinfo$(EXEEXT_FOR_BUILD) -i <$(srcdir)/sysroff.info >>sysroff.c
216         ./sysinfo$(EXEEXT_FOR_BUILD) -g <$(srcdir)/sysroff.info >>sysroff.c
218 sysroff.h: sysinfo$(EXEEXT_FOR_BUILD) sysroff.info
219         ./sysinfo$(EXEEXT_FOR_BUILD) -d <$(srcdir)/sysroff.info >sysroff.h
221 sysinfo$(EXEEXT_FOR_BUILD): sysinfo.o syslex.o
222         $(CC_FOR_BUILD) $(CFLAGS) $(LDFLAGS) -o $@ sysinfo.o syslex.o 
224 syslex.o: syslex.c sysinfo.h
225         if [ -r syslex.c ]; then \
226           $(CC_FOR_BUILD) -c -I. $(CFLAGS)  syslex.c  ; \
227         else \
228           $(CC_FOR_BUILD) -c -I. -I$(srcdir) $(CFLAGS) $(srcdir)/syslex.c ;\
229         fi
231 sysinfo.o: sysinfo.c
232         if [ -r sysinfo.c ]; then \
233           $(CC_FOR_BUILD) -c -I. $(CFLAGS)  sysinfo.c  ; \
234         else \
235           $(CC_FOR_BUILD) -c -I. $(CFLAGS) $(srcdir)/sysinfo.c ; \
236         fi
238 # We need these for parallel make.
239 arparse.h: arparse.c
240 defparse.h: defparse.c
241 nlmheader.h: nlmheader.c
242 rcparse.h: rcparse.c
243 sysinfo.h: sysinfo.c
245 srconv_SOURCES = srconv.c coffgrok.c $(BULIBS)
247 dlltool_SOURCES = dlltool.c defparse.y deflex.l $(BULIBS)
248 dlltool_LDADD = $(BFDLIB) $(LIBIBERTY) @LEXLIB@ $(INTLLIBS)
250 dlltool.o:dlltool.c
251         $(COMPILE) -c $(DLLTOOL_DEFS) $(srcdir)/dlltool.c
253 rescoff.o:rescoff.c
254         $(COMPILE) -c $(DLLTOOL_DEFS) $(srcdir)/rescoff.c
256 coffdump_SOURCES = coffdump.c coffgrok.c $(BULIBS)
258 sysdump_SOURCES = sysdump.c $(BULIBS)
260 # coff/sym.h and coff/ecoff.h won't be found by the automatic dependency
261 # scripts, since they are only included conditionally.
262 nlmconv.o: nlmconv.c $(INCDIR)/coff/sym.h $(INCDIR)/coff/ecoff.h
263         ldname=`echo ld | sed '$(transform)'`; \
264         $(COMPILE) -c -DLD_NAME="\"$${ldname}\"" @NLMCONV_DEFS@ $(srcdir)/nlmconv.c
266 nlmconv_SOURCES = nlmconv.c nlmheader.y $(BULIBS)
268 windres_SOURCES = windres.c resrc.c rescoff.c resbin.c rcparse.y rclex.l \
269         winduni.c resres.c $(BULIBS)
270 windres_LDADD = $(BFDLIB) $(LIBIBERTY) @LEXLIB@ $(INTLLIBS)
272 dllwrap_SOURCES = dllwrap.c version.c
273 dllwrap_LDADD = $(LIBIBERTY) $(INTLLIBS)
276 EXTRA_DIST = arparse.c arparse.h arlex.c nlmheader.c sysinfo.c sysinfo.h \
277         syslex.c deflex.c defparse.h defparse.c rclex.c rcparse.h rcparse.c
279 diststuff: $(EXTRA_DIST) info
281 DISTCLEANFILES = sysinfo sysroff.c sysroff.h \
282         site.exp site.bak
284 Makefile: $(BFDDIR)/configure.in
286 # Targets to rebuild dependencies in this Makefile.
287 # Have to get rid of DEP1 here so that "$?" later includes all of $(CFILES).
288 DEP: dep.sed $(CFILES) $(HFILES) $(GENERATED_CFILES) $(GENERATED_HFILES) config.h
289         rm -f DEP1
290         $(MAKE) MKDEP="$(MKDEP)" DEP1
291         sed -f dep.sed < DEP1 > DEPA
292         echo '# IF YOU PUT ANYTHING HERE IT WILL GO AWAY' >> DEPA
293         if grep ' /' DEPA > /dev/null 2> /dev/null; then \
294           echo 'make DEP failed!'; exit 1; \
295         else \
296           mv -f DEPA $@; \
297         fi
299 DEP1: $(CFILES) $(GENERATED_CFILES)
300         echo '# DO NOT DELETE THIS LINE -- mkdep uses it.' > DEP2
301         echo '# DO NOT PUT ANYTHING AFTER THIS LINE, IT WILL GO AWAY.' >> DEP2
302         $(MKDEP) $(INCLUDES) $(CFLAGS) $? >> DEP2
303         mv -f DEP2 $@
305 dep.sed: dep-in.sed config.status
306         objdir=`pwd`; \
307         sed <$(srcdir)/dep-in.sed >dep.sed      \
308                 -e 's!@INCDIR@!$(INCDIR)!'      \
309                 -e 's!@BFDDIR@!$(BFDDIR)!'      \
310                 -e 's!@SRCDIR@!$(srcdir)!'      \
311                 -e "s!@OBJDIR@!$${objdir}!"     \
312                 -e 's!@TOPDIR@!'`echo $(srcdir) | sed -e s,/binutils$$,,`'!'
314 dep: DEP
315         sed -e '/^..DO NOT DELETE THIS LINE/,$$d' < Makefile > tmp-Makefile
316         cat DEP >> tmp-Makefile
317         $(SHELL) $(srcdir)/../move-if-change tmp-Makefile Makefile
319 dep-in: DEP
320         sed -e '/^..DO NOT DELETE THIS LINE/,$$d' < $(srcdir)/Makefile.in > tmp-Makefile.in
321         cat DEP >> tmp-Makefile.in
322         $(SHELL) $(srcdir)/../move-if-change tmp-Makefile.in $(srcdir)/Makefile.in
324 dep-am: DEP
325         sed -e '/^..DO NOT DELETE THIS LINE/,$$d' < $(srcdir)/Makefile.am > tmp-Makefile.am
326         cat DEP >> tmp-Makefile.am
327         $(SHELL) $(srcdir)/../move-if-change tmp-Makefile.am $(srcdir)/Makefile.am
329 .PHONY: dep dep-in dep-am
333 MOSTLYCLEANFILES = sysinfo binutils.log binutils.sum abcdefgh*
334 mostlyclean-local:
335         -rm -rf tmpdir
337 CLEANFILES = dep.sed DEP DEPA DEP1 DEP2
339 .PHONY: install-exec-local
341 install-exec-local: install-binPROGRAMS $(bin_PROGRAMS) $(noinst_PROGRAMS)
342         @list='$(noinst_PROGRAMS)'; for p in $$list; do \
343           if test -f $$p; then \
344             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)/'`"; \
345             $(LIBTOOL)  --mode=install $(INSTALL_PROGRAM) $$p $(DESTDIR)$(bindir)/`echo $$p|sed -e 's/$(EXEEXT)$$//' -e 's/-new//' -e 's/cxxfilt/$(DEMANGLER_NAME)/'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`; \
346           else :; fi; \
347         done
348         $(mkinstalldirs) $(DESTDIR)$(tooldir)/bin
349         for i in $(TOOL_PROGS); do \
350           if [ -f $$i$(EXEEXT) ]; then \
351             j=`echo $$i | sed -e 's/-new//'`; \
352             k=`echo $$j | sed '$(transform)'`; \
353             if [ "$(DESTDIR)$(bindir)/$$k$(EXEEXT)" != "$(DESTDIR)$(tooldir)/bin/$$j$(EXEEXT)" ]; then \
354               rm -f $(DESTDIR)$(tooldir)/bin/$$j$(EXEEXT); \
355               ln $(DESTDIR)$(bindir)/$$k$(EXEEXT) $(DESTDIR)$(tooldir)/bin/$$j$(EXEEXT) >/dev/null 2>/dev/null \
356                 || $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) $$i$(EXEEXT) $(DESTDIR)$(tooldir)/bin/$$j$(EXEEXT); \
357             fi; \
358           else true; \
359           fi; \
360         done
362 # What appears below is generated by a hacked mkdep using gcc -MM.
364 # DO NOT DELETE THIS LINE -- mkdep uses it.
365 # DO NOT PUT ANYTHING AFTER THIS LINE, IT WILL GO AWAY.
366 addr2line.o: addr2line.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
367   $(INCDIR)/symcat.h $(INCDIR)/getopt.h $(INCDIR)/libiberty.h \
368   $(INCDIR)/demangle.h bucomm.h config.h $(INCDIR)/bin-bugs.h \
369   $(INCDIR)/fopen-same.h budemang.h
370 ar.o: ar.c ../bfd/bfd.h $(INCDIR)/ansidecl.h $(INCDIR)/symcat.h \
371   $(INCDIR)/libiberty.h $(INCDIR)/progress.h bucomm.h \
372   config.h $(INCDIR)/bin-bugs.h $(INCDIR)/fopen-same.h \
373   $(INCDIR)/aout/ar.h $(BFDDIR)/libbfd.h arsup.h $(INCDIR)/filenames.h \
374   binemul.h
375 arsup.o: arsup.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
376   $(INCDIR)/symcat.h arsup.h $(INCDIR)/libiberty.h bucomm.h \
377   config.h $(INCDIR)/bin-bugs.h $(INCDIR)/fopen-same.h \
378   $(INCDIR)/filenames.h
379 binemul.o: binemul.c binemul.h ../bfd/bfd.h $(INCDIR)/ansidecl.h \
380   $(INCDIR)/symcat.h bucomm.h config.h $(INCDIR)/bin-bugs.h \
381   $(INCDIR)/fopen-same.h
382 bucomm.o: bucomm.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
383   $(INCDIR)/symcat.h $(INCDIR)/libiberty.h bucomm.h config.h \
384   $(INCDIR)/bin-bugs.h $(INCDIR)/fopen-same.h $(INCDIR)/filenames.h
385 budemang.o: budemang.c config.h ../bfd/bfd.h $(INCDIR)/ansidecl.h \
386   $(INCDIR)/symcat.h $(INCDIR)/libiberty.h $(INCDIR)/demangle.h \
387   budemang.h
388 coffdump.o: coffdump.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
389   $(INCDIR)/symcat.h $(INCDIR)/libiberty.h coffgrok.h \
390   bucomm.h config.h $(INCDIR)/bin-bugs.h $(INCDIR)/fopen-same.h
391 coffgrok.o: coffgrok.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
392   $(INCDIR)/symcat.h $(INCDIR)/libiberty.h bucomm.h config.h \
393   $(INCDIR)/bin-bugs.h $(INCDIR)/fopen-same.h $(INCDIR)/coff/internal.h \
394   $(BFDDIR)/libcoff.h $(INCDIR)/bfdlink.h coffgrok.h
395 cxxfilt.o: cxxfilt.c config.h ../bfd/bfd.h $(INCDIR)/ansidecl.h \
396   $(INCDIR)/symcat.h bucomm.h $(INCDIR)/bin-bugs.h $(INCDIR)/fopen-same.h \
397   $(INCDIR)/libiberty.h $(INCDIR)/demangle.h $(INCDIR)/safe-ctype.h
398 debug.o: debug.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
399   $(INCDIR)/symcat.h bucomm.h config.h $(INCDIR)/bin-bugs.h \
400   $(INCDIR)/fopen-same.h $(INCDIR)/libiberty.h debug.h
401 dlltool.o: dlltool.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
402   $(INCDIR)/symcat.h $(INCDIR)/libiberty.h bucomm.h config.h \
403   $(INCDIR)/bin-bugs.h $(INCDIR)/fopen-same.h $(INCDIR)/demangle.h \
404   $(INCDIR)/dyn-string.h dlltool.h $(INCDIR)/safe-ctype.h
405 dllwrap.o: dllwrap.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
406   $(INCDIR)/symcat.h $(INCDIR)/libiberty.h bucomm.h config.h \
407   $(INCDIR)/bin-bugs.h $(INCDIR)/fopen-same.h $(INCDIR)/dyn-string.h
408 emul_aix.o: emul_aix.c binemul.h ../bfd/bfd.h $(INCDIR)/ansidecl.h \
409   $(INCDIR)/symcat.h bucomm.h config.h $(INCDIR)/bin-bugs.h \
410   $(INCDIR)/fopen-same.h $(INCDIR)/bfdlink.h $(INCDIR)/coff/internal.h \
411   $(INCDIR)/coff/xcoff.h $(BFDDIR)/libcoff.h $(BFDDIR)/libxcoff.h
412 emul_vanilla.o: emul_vanilla.c binemul.h ../bfd/bfd.h \
413   $(INCDIR)/ansidecl.h $(INCDIR)/symcat.h bucomm.h config.h \
414   $(INCDIR)/bin-bugs.h $(INCDIR)/fopen-same.h
415 filemode.o: filemode.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
416   $(INCDIR)/symcat.h bucomm.h config.h $(INCDIR)/bin-bugs.h \
417   $(INCDIR)/fopen-same.h
418 ieee.o: ieee.c ../bfd/bfd.h $(INCDIR)/ansidecl.h $(INCDIR)/symcat.h \
419   $(INCDIR)/ieee.h bucomm.h config.h $(INCDIR)/bin-bugs.h \
420   $(INCDIR)/fopen-same.h $(INCDIR)/libiberty.h debug.h \
421   budbg.h $(INCDIR)/filenames.h
422 is-ranlib.o: is-ranlib.c
423 is-strip.o: is-strip.c
424 maybe-ranlib.o: maybe-ranlib.c
425 maybe-strip.o: maybe-strip.c
426 nlmconv.o: nlmconv.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
427   $(INCDIR)/symcat.h $(INCDIR)/libiberty.h bucomm.h config.h \
428   $(INCDIR)/bin-bugs.h $(INCDIR)/fopen-same.h $(INCDIR)/safe-ctype.h \
429   $(BFDDIR)/libnlm.h $(INCDIR)/nlm/common.h $(INCDIR)/nlm/internal.h \
430   $(INCDIR)/nlm/external.h nlmconv.h
431 nm.o: nm.c ../bfd/bfd.h $(INCDIR)/ansidecl.h $(INCDIR)/symcat.h \
432   $(INCDIR)/progress.h bucomm.h config.h $(INCDIR)/bin-bugs.h \
433   $(INCDIR)/fopen-same.h budemang.h $(INCDIR)/aout/stab_gnu.h \
434   $(INCDIR)/aout/stab.def $(INCDIR)/aout/ranlib.h $(INCDIR)/demangle.h \
435   $(INCDIR)/libiberty.h $(BFDDIR)/elf-bfd.h $(INCDIR)/elf/common.h \
436   $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h $(INCDIR)/bfdlink.h
437 not-ranlib.o: not-ranlib.c
438 not-strip.o: not-strip.c
439 objcopy.o: objcopy.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
440   $(INCDIR)/symcat.h $(INCDIR)/progress.h bucomm.h config.h \
441   $(INCDIR)/bin-bugs.h $(INCDIR)/fopen-same.h $(INCDIR)/libiberty.h \
442   budbg.h $(INCDIR)/filenames.h
443 objdump.o: objdump.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
444   $(INCDIR)/symcat.h ../bfd/bfdver.h $(INCDIR)/progress.h \
445   bucomm.h config.h $(INCDIR)/bin-bugs.h $(INCDIR)/fopen-same.h \
446   budemang.h $(INCDIR)/safe-ctype.h $(INCDIR)/dis-asm.h \
447   $(INCDIR)/libiberty.h $(INCDIR)/demangle.h debug.h \
448   budbg.h $(INCDIR)/aout/aout64.h
449 prdbg.o: prdbg.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
450   $(INCDIR)/symcat.h bucomm.h config.h $(INCDIR)/bin-bugs.h \
451   $(INCDIR)/fopen-same.h $(INCDIR)/libiberty.h debug.h \
452   budbg.h
453 rdcoff.o: rdcoff.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
454   $(INCDIR)/symcat.h $(INCDIR)/coff/internal.h bucomm.h \
455   config.h $(INCDIR)/bin-bugs.h $(INCDIR)/fopen-same.h \
456   $(INCDIR)/libiberty.h debug.h budbg.h $(BFDDIR)/libcoff.h \
457   $(INCDIR)/bfdlink.h
458 rddbg.o: rddbg.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
459   $(INCDIR)/symcat.h bucomm.h config.h $(INCDIR)/bin-bugs.h \
460   $(INCDIR)/fopen-same.h $(INCDIR)/libiberty.h debug.h \
461   budbg.h
462 readelf.o: readelf.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
463   $(INCDIR)/symcat.h $(INCDIR)/elf/common.h $(INCDIR)/elf/external.h \
464   $(INCDIR)/elf/internal.h $(INCDIR)/elf/dwarf2.h $(INCDIR)/elf/alpha.h \
465   $(INCDIR)/elf/reloc-macros.h $(INCDIR)/elf/arc.h $(INCDIR)/elf/arm.h \
466   $(INCDIR)/elf/avr.h $(INCDIR)/elf/cris.h $(INCDIR)/elf/d10v.h \
467   $(INCDIR)/elf/d30v.h $(INCDIR)/elf/dlx.h $(INCDIR)/elf/fr30.h \
468   $(INCDIR)/elf/frv.h $(INCDIR)/elf/h8.h $(INCDIR)/elf/hppa.h \
469   $(INCDIR)/elf/i386.h $(INCDIR)/elf/i370.h $(INCDIR)/elf/i860.h \
470   $(INCDIR)/elf/i960.h $(INCDIR)/elf/ia64.h $(INCDIR)/elf/ip2k.h \
471   $(INCDIR)/elf/m32r.h $(INCDIR)/elf/m68k.h $(INCDIR)/elf/m68hc11.h \
472   $(INCDIR)/elf/mcore.h $(INCDIR)/elf/mips.h $(INCDIR)/elf/mmix.h \
473   $(INCDIR)/elf/mn10200.h $(INCDIR)/elf/mn10300.h $(INCDIR)/elf/msp430.h \
474   $(INCDIR)/elf/or32.h $(INCDIR)/elf/pj.h $(INCDIR)/elf/ppc.h \
475   $(INCDIR)/elf/s390.h $(INCDIR)/elf/sh.h $(INCDIR)/elf/sparc.h \
476   $(INCDIR)/elf/v850.h $(INCDIR)/elf/vax.h $(INCDIR)/elf/x86-64.h \
477   $(INCDIR)/elf/xstormy16.h bucomm.h config.h $(INCDIR)/bin-bugs.h \
478   $(INCDIR)/fopen-same.h unwind-ia64.h
479 rename.o: rename.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
480   $(INCDIR)/symcat.h bucomm.h config.h $(INCDIR)/bin-bugs.h \
481   $(INCDIR)/fopen-same.h
482 resbin.o: resbin.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
483   $(INCDIR)/symcat.h bucomm.h config.h $(INCDIR)/bin-bugs.h \
484   $(INCDIR)/fopen-same.h $(INCDIR)/libiberty.h windres.h \
485   winduni.h
486 rescoff.o: rescoff.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
487   $(INCDIR)/symcat.h bucomm.h config.h $(INCDIR)/bin-bugs.h \
488   $(INCDIR)/fopen-same.h $(INCDIR)/libiberty.h windres.h \
489   winduni.h $(INCDIR)/coff/internal.h $(BFDDIR)/libcoff.h \
490   $(INCDIR)/bfdlink.h
491 resrc.o: resrc.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
492   $(INCDIR)/symcat.h bucomm.h config.h $(INCDIR)/bin-bugs.h \
493   $(INCDIR)/fopen-same.h $(INCDIR)/libiberty.h $(INCDIR)/safe-ctype.h \
494   windres.h winduni.h
495 resres.o: resres.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
496   $(INCDIR)/symcat.h bucomm.h config.h $(INCDIR)/bin-bugs.h \
497   $(INCDIR)/fopen-same.h $(INCDIR)/libiberty.h windres.h \
498   winduni.h
499 size.o: size.c ../bfd/bfd.h $(INCDIR)/ansidecl.h $(INCDIR)/symcat.h \
500   bucomm.h config.h $(INCDIR)/bin-bugs.h $(INCDIR)/fopen-same.h \
501   $(INCDIR)/libiberty.h
502 srconv.o: srconv.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
503   $(INCDIR)/symcat.h bucomm.h config.h $(INCDIR)/bin-bugs.h \
504   $(INCDIR)/fopen-same.h sysroff.h coffgrok.h $(INCDIR)/libiberty.h \
505   $(INCDIR)/coff/internal.h $(BFDDIR)/libcoff.h $(INCDIR)/bfdlink.h \
506   sysroff.c
507 stabs.o: stabs.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
508   $(INCDIR)/symcat.h bucomm.h config.h $(INCDIR)/bin-bugs.h \
509   $(INCDIR)/fopen-same.h $(INCDIR)/libiberty.h $(INCDIR)/safe-ctype.h \
510   $(INCDIR)/demangle.h debug.h budbg.h $(INCDIR)/filenames.h \
511   $(INCDIR)/aout/aout64.h $(INCDIR)/aout/stab_gnu.h $(INCDIR)/aout/stab.def
512 strings.o: strings.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
513   $(INCDIR)/symcat.h $(INCDIR)/getopt.h bucomm.h config.h \
514   $(INCDIR)/bin-bugs.h $(INCDIR)/fopen-same.h $(INCDIR)/libiberty.h \
515   $(INCDIR)/safe-ctype.h
516 sysdump.o: sysdump.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
517   $(INCDIR)/symcat.h bucomm.h config.h $(INCDIR)/bin-bugs.h \
518   $(INCDIR)/fopen-same.h $(INCDIR)/safe-ctype.h $(INCDIR)/libiberty.h \
519   sysroff.h sysroff.c
520 version.o: version.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
521   $(INCDIR)/symcat.h ../bfd/bfdver.h bucomm.h config.h \
522   $(INCDIR)/bin-bugs.h $(INCDIR)/fopen-same.h
523 windres.o: windres.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
524   $(INCDIR)/symcat.h $(INCDIR)/getopt.h bucomm.h config.h \
525   $(INCDIR)/bin-bugs.h $(INCDIR)/fopen-same.h $(INCDIR)/libiberty.h \
526   $(INCDIR)/safe-ctype.h $(INCDIR)/obstack.h windres.h \
527   winduni.h
528 winduni.o: winduni.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
529   $(INCDIR)/symcat.h bucomm.h config.h $(INCDIR)/bin-bugs.h \
530   $(INCDIR)/fopen-same.h winduni.h $(INCDIR)/safe-ctype.h
531 wrstabs.o: wrstabs.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
532   $(INCDIR)/symcat.h bucomm.h config.h $(INCDIR)/bin-bugs.h \
533   $(INCDIR)/fopen-same.h $(INCDIR)/libiberty.h $(INCDIR)/safe-ctype.h \
534   debug.h budbg.h $(INCDIR)/aout/aout64.h $(INCDIR)/aout/stab_gnu.h \
535   $(INCDIR)/aout/stab.def
536 arparse.o: arparse.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
537   $(INCDIR)/symcat.h bucomm.h config.h $(INCDIR)/bin-bugs.h \
538   $(INCDIR)/fopen-same.h arsup.h
539 arlex.o: arlex.c $(INCDIR)/ansidecl.h $(INCDIR)/libiberty.h \
540   arparse.h
541 sysroff.o: sysroff.c
542 sysinfo.o: sysinfo.c
543 syslex.o: syslex.c sysinfo.h
544 defparse.o: defparse.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
545   $(INCDIR)/symcat.h bucomm.h config.h $(INCDIR)/bin-bugs.h \
546   $(INCDIR)/fopen-same.h dlltool.h
547 deflex.o: deflex.c $(INCDIR)/libiberty.h $(INCDIR)/ansidecl.h \
548   defparse.h dlltool.h
549 nlmheader.o: nlmheader.c $(INCDIR)/ansidecl.h $(INCDIR)/safe-ctype.h \
550   ../bfd/bfd.h $(INCDIR)/symcat.h bucomm.h config.h $(INCDIR)/bin-bugs.h \
551   $(INCDIR)/fopen-same.h $(INCDIR)/nlm/common.h $(INCDIR)/nlm/internal.h \
552   nlmconv.h
553 rcparse.o: rcparse.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
554   $(INCDIR)/symcat.h bucomm.h config.h $(INCDIR)/bin-bugs.h \
555   $(INCDIR)/fopen-same.h $(INCDIR)/libiberty.h windres.h \
556   winduni.h $(INCDIR)/safe-ctype.h
557 rclex.o: rclex.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
558   $(INCDIR)/symcat.h bucomm.h config.h $(INCDIR)/bin-bugs.h \
559   $(INCDIR)/fopen-same.h $(INCDIR)/libiberty.h $(INCDIR)/safe-ctype.h \
560   windres.h winduni.h rcparse.h
561 # IF YOU PUT ANYTHING HERE IT WILL GO AWAY