file zh_CN.gmo was initially added on branch binutils-2_17-branch.
[binutils.git] / binutils / Makefile.am
blob1b4e85adb8a7ada0d740a09fb2b228fb4f99a4b4
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 NO_WERROR = @NO_WERROR@
24 AM_CFLAGS = $(WARN_CFLAGS)
26 # these two are almost the same program
27 AR_PROG=ar
28 RANLIB_PROG=ranlib
30 # objcopy and strip should be the same program
31 OBJCOPY_PROG=objcopy
32 STRIP_PROG=strip-new
34 STRINGS_PROG=strings
36 READELF_PROG=readelf
38 # These should all be the same program too.
39 SIZE_PROG=size
40 NM_PROG=nm-new
41 OBJDUMP_PROG=objdump
43 # This is the demangler, as a standalone program.
44 # Note: This one is used as the installed name too, unlike the above.
45 DEMANGLER_PROG=cxxfilt
47 ADDR2LINE_PROG=addr2line
49 NLMCONV_PROG=nlmconv
50 DLLTOOL_PROG=dlltool
51 WINDRES_PROG=windres
52 DLLWRAP_PROG=dllwrap
54 SRCONV_PROG=srconv$(EXEEXT) sysdump$(EXEEXT) coffdump$(EXEEXT) 
56 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@
58 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@
60 ## We need a special rule to install the programs which are built with
61 ## -new, and to rename cxxfilt to c++filt.
62 noinst_PROGRAMS = $(NM_PROG) $(STRIP_PROG) $(DEMANGLER_PROG)
64 EXTRA_PROGRAMS = $(NLMCONV_PROG) srconv sysdump coffdump $(DLLTOOL_PROG) $(WINDRES_PROG) $(DLLWRAP_PROG)
66 # Stuff that goes in tooldir/ if appropriate.
67 TOOL_PROGS = nm-new strip-new ar ranlib dlltool objdump
69 BASEDIR = $(srcdir)/..
70 BFDDIR = $(BASEDIR)/bfd
71 INCDIR  = $(BASEDIR)/include
73 MKDEP = gcc -MM
75 INCLUDES = -D_GNU_SOURCE \
76          -I. -I$(srcdir) -I../bfd -I$(BFDDIR) -I$(INCDIR) \
77          @HDEFINES@ \
78          -I$(srcdir)/../intl -I../intl \
79          -DLOCALEDIR="\"$(datadir)/locale\"" \
80          -Dbin_dummy_emulation=$(EMULATION_VECTOR)
82 HFILES = \
83         arsup.h binemul.h bucomm.h budbg.h budemang.h \
84         coffgrok.h debug.h dlltool.h nlmconv.h \
85         windres.h winduni.h
87 GENERATED_HFILES = arparse.h sysroff.h sysinfo.h defparse.h rcparse.h
89 CFILES = \
90         addr2line.c ar.c arsup.c binemul.c bucomm.c budemang.c \
91         coffdump.c coffgrok.c cxxfilt.c \
92         dwarf.c debug.c dlltool.c dllwrap.c \
93         emul_aix.c emul_vanilla.c filemode.c \
94         ieee.c is-ranlib.c is-strip.c maybe-ranlib.c maybe-strip.c \
95         nlmconv.c nm.c not-ranlib.c not-strip.c \
96         objcopy.c objdump.c prdbg.c \
97         rdcoff.c rddbg.c readelf.c rename.c \
98         resbin.c rescoff.c resrc.c resres.c \
99         size.c srconv.c stabs.c strings.c sysdump.c version.c \
100         windres.c winduni.c wrstabs.c
102 GENERATED_CFILES = \
103         arparse.c arlex.c sysroff.c sysinfo.c syslex.c \
104         defparse.c deflex.c nlmheader.c rcparse.c rclex.c
106 DEBUG_SRCS = rddbg.c debug.c stabs.c ieee.c rdcoff.c
107 WRITE_DEBUG_SRCS = $(DEBUG_SRCS) wrstabs.c
109 # Code shared by all the binutils.
110 BULIBS = bucomm.c version.c filemode.c
112 BFDLIB = ../bfd/libbfd.la
114 OPCODES = ../opcodes/libopcodes.la
116 LIBIBERTY = ../libiberty/libiberty.a
118 .PHONY: install-html install-html-am install-html-recursive
120 install-html:   install-html-recursive  
121         
122 install-html-recursive:
123         @failcom='exit 1'; \
124         for f in x $$MAKEFLAGS; do \
125           case $$f in \
126             *=* | --[!k]*);; \
127             *k*) failcom='fail=yes';; \
128           esac; \
129         done; \
130         dot_seen=no; \
131         target=`echo $@ | sed s/-recursive//`; \
132         list='$(SUBDIRS)'; for subdir in $$list; do \
133           echo "Making $$target in $$subdir"; \
134           if test "$$subdir" = "."; then \
135             dot_seen=yes; \
136             local_target="$$target-am"; \
137           else \
138             local_target="$$target"; \
139           fi; \
140           (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
141           || eval $$failcom; \
142         done; \
143         if test "$$dot_seen" = "no"; then \
144           $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
145         fi; test -z "$$fail"
147 POTFILES = $(CFILES) $(DEBUG_SRCS) $(HFILES)
148 po/POTFILES.in: @MAINT@ Makefile
149         for f in $(POTFILES); do echo $$f; done | LC_COLLATE= sort > tmp \
150           && mv tmp $(srcdir)/po/POTFILES.in
152 EXPECT = expect
153 RUNTEST = runtest
155 CC_FOR_TARGET = ` \
156   if [ -f $$r/../gcc/xgcc ] ; then \
157     if [ -f $$r/../newlib/Makefile ] ; then \
158       echo $$r/../gcc/xgcc -B$$r/../gcc/ -idirafter $$r/../newlib/targ-include -idirafter $${srcroot}/../newlib/libc/include -nostdinc; \
159     else \
160       echo $$r/../gcc/xgcc -B$$r/../gcc/; \
161     fi; \
162   else \
163     if [ "@host@" = "@target@" ] ; then \
164       echo $(CC); \
165     else \
166       echo gcc | sed '$(transform)'; \
167     fi; \
168   fi`
170 check-DEJAGNU: site.exp
171         srcdir=`cd $(srcdir) && pwd`; export srcdir; \
172         r=`pwd`; export r; \
173         EXPECT=$(EXPECT); export EXPECT; \
174         runtest=$(RUNTEST); \
175         if $(SHELL) -c "$$runtest --version" > /dev/null 2>&1; then \
176           CC_FOR_TARGET="$(CC_FOR_TARGET)" CFLAGS_FOR_TARGET="$(CFLAGS)" \
177                 $$runtest --tool $(DEJATOOL) --srcdir $${srcdir}/testsuite \
178                         $(RUNTESTFLAGS); \
179         else echo "WARNING: could not find \`runtest'" 1>&2; :;\
180         fi
182 installcheck:
183         /bin/sh $(srcdir)/sanity.sh $(bindir)
185 LDADD = $(BFDLIB) $(LIBIBERTY) $(INTLLIBS)
187 size_SOURCES = size.c $(BULIBS)
189 objcopy_SOURCES = objcopy.c not-strip.c rename.c $(WRITE_DEBUG_SRCS) $(BULIBS)
191 strings_SOURCES = strings.c $(BULIBS)
193 readelf_SOURCES = readelf.c version.c unwind-ia64.c dwarf.c
194 readelf_LDADD   = $(INTLLIBS) $(LIBIBERTY)
196 strip_new_SOURCES = objcopy.c is-strip.c rename.c $(WRITE_DEBUG_SRCS) $(BULIBS)
198 nm_new_SOURCES = nm.c budemang.c $(BULIBS)
200 objdump_SOURCES = objdump.c dwarf.c budemang.c prdbg.c $(DEBUG_SRCS) $(BULIBS)
201 objdump_LDADD = $(OPCODES) $(BFDLIB) $(LIBIBERTY) $(INTLLIBS)
203 objdump.o:objdump.c
204         $(COMPILE) -c $(OBJDUMP_DEFS) $(srcdir)/objdump.c
206 cxxfilt_SOURCES = cxxfilt.c $(BULIBS)
208 ar_SOURCES = arparse.y arlex.l ar.c not-ranlib.c arsup.c rename.c binemul.c \
209         emul_$(EMULATION).c $(BULIBS)
210 ar_LDADD = $(BFDLIB) $(LIBIBERTY) @LEXLIB@ $(INTLLIBS)
212 ranlib_SOURCES = ar.c is-ranlib.c arparse.y arlex.l arsup.c rename.c \
213         binemul.c emul_$(EMULATION).c $(BULIBS)
214 ranlib_LDADD = $(BFDLIB) $(LIBIBERTY) @LEXLIB@ $(INTLLIBS)
216 addr2line_SOURCES = addr2line.c budemang.c $(BULIBS)
218 # The following is commented out for the conversion to automake.
219 # This rule creates a single binary that switches between ar and ranlib
220 # by looking at argv[0].  Use this kludge to save some disk space.
221 # However, you have to install things by hand.
222 # (That is after 'make install', replace the installed ranlib by a link to ar.)
223 # Alternatively, you can install ranlib.sh as ranlib.
224 # ar_with_ranlib: $(ADDL_DEPS) ar.o maybe-ranlib.o
225 #       $(HLDENV) $(CC) $(HLDFLAGS) $(CFLAGS) $(LDFLAGS) -o $(AR_PROG) ar.o maybe-ranlib.o $(ADDL_LIBS) $(EXTRALIBS)
226 #       -rm -f $(RANLIB_PROG)
227 #       -ln $(AR_PROG) $(RANLIB_PROG)
229 # objcopy and strip in one binary that uses argv[0] to decide its action.
231 #objcopy_with_strip: $(ADDL_DEPS) objcopy.o maybe-strip.o
232 #       $(HLDENV) $(CC) $(HLDFLAGS) $(CFLAGS) $(LDFLAGS) -o $(OBJCOPY_PROG) objcopy.o maybe-strip.o $(ADDL_LIBS) $(EXTRALIBS)
233 #       -rm -f $(STRIP_PROG)
234 #       -ln $(OBJCOPY_PROG) $(STRIP_PROG)
236 sysroff.c: sysinfo$(EXEEXT_FOR_BUILD) sysroff.info 
237         ./sysinfo$(EXEEXT_FOR_BUILD) -c <$(srcdir)/sysroff.info >sysroff.c
238         ./sysinfo$(EXEEXT_FOR_BUILD) -i <$(srcdir)/sysroff.info >>sysroff.c
239         ./sysinfo$(EXEEXT_FOR_BUILD) -g <$(srcdir)/sysroff.info >>sysroff.c
241 sysroff.h: sysinfo$(EXEEXT_FOR_BUILD) sysroff.info
242         ./sysinfo$(EXEEXT_FOR_BUILD) -d <$(srcdir)/sysroff.info >sysroff.h
244 sysinfo$(EXEEXT_FOR_BUILD): sysinfo.o syslex.o
245         $(CC_FOR_BUILD) $(CFLAGS) $(LDFLAGS) -o $@ sysinfo.o syslex.o
247 syslex.o:
248         if [ -r syslex.c ]; then \
249           $(CC_FOR_BUILD) -c -I. $(AM_CFLAGS) $(CFLAGS) syslex.c -Wno-error ; \
250         else \
251           $(CC_FOR_BUILD) -c -I. -I$(srcdir) $(AM_CFLAGS) $(CFLAGS) $(srcdir)/syslex.c -Wno-error ;\
252         fi
254 sysinfo.o:
255         if [ -r sysinfo.c ]; then \
256           $(CC_FOR_BUILD) -c -I. $(AM_CFLAGS) $(CFLAGS) sysinfo.c -Wno-error ; \
257         else \
258           $(CC_FOR_BUILD) -c -I. $(AM_CFLAGS) $(CFLAGS) $(srcdir)/sysinfo.c -Wno-error ; \
259         fi
261 # We need these for parallel make.
262 arparse.h: arparse.c
263 defparse.h: defparse.c
264 nlmheader.h: nlmheader.c
265 rcparse.h: rcparse.c
266 sysinfo.h: sysinfo.c
268 # Disable -Werror, if it has been enabled, since old versions of bison/
269 # yacc will produce working code which contain compile time warnings. 
270 arparse.o:
271         $(COMPILE) -c $< $(NO_WERROR)
272 arlex.o:
273         $(COMPILE) -c $< $(NO_WERROR)
274 sysroff.o:
275         $(COMPILE) -c $< $(NO_WERROR)
276 defparse.o:
277         $(COMPILE) -c $< $(NO_WERROR)
278 deflex.o:
279         $(COMPILE) -c $< $(NO_WERROR)
280 nlmheader.o:
281         $(COMPILE) -c $< $(NO_WERROR)
282 rcparse.o:
283         $(COMPILE) -c $< $(NO_WERROR)
284 rclex.o:
285         $(COMPILE) -c $< $(NO_WERROR)
287 srconv_SOURCES = srconv.c coffgrok.c $(BULIBS)
289 dlltool_SOURCES = dlltool.c defparse.y deflex.l $(BULIBS)
290 dlltool_LDADD = $(BFDLIB) $(LIBIBERTY) @LEXLIB@ $(INTLLIBS)
292 dlltool.o:
293         $(COMPILE) -c $(DLLTOOL_DEFS) $(srcdir)/dlltool.c
295 rescoff.o:
296         $(COMPILE) -c $(DLLTOOL_DEFS) $(srcdir)/rescoff.c
298 coffdump_SOURCES = coffdump.c coffgrok.c $(BULIBS)
300 sysdump_SOURCES = sysdump.c $(BULIBS)
302 # coff/sym.h and coff/ecoff.h won't be found by the automatic dependency
303 # scripts, since they are only included conditionally.
304 nlmconv.o: nlmconv.c $(INCDIR)/coff/sym.h $(INCDIR)/coff/ecoff.h
305         ldname=`echo ld | sed '$(transform)'`; \
306         $(COMPILE) -c -DLD_NAME="\"$${ldname}\"" @NLMCONV_DEFS@ $(srcdir)/nlmconv.c
308 nlmconv_SOURCES = nlmconv.c nlmheader.y $(BULIBS)
310 windres_SOURCES = windres.c resrc.c rescoff.c resbin.c rcparse.y rclex.l \
311         winduni.c resres.c $(BULIBS)
312 windres_LDADD = $(BFDLIB) $(LIBIBERTY) @LEXLIB@ $(INTLLIBS)
314 dllwrap_SOURCES = dllwrap.c version.c
315 dllwrap_LDADD = $(LIBIBERTY) $(INTLLIBS)
318 EXTRA_DIST = arparse.c arparse.h arlex.c nlmheader.c sysinfo.c sysinfo.h \
319         syslex.c deflex.c defparse.h defparse.c rclex.c rcparse.h rcparse.c
321 diststuff: $(EXTRA_DIST) info
322 all: info
324 DISTCLEANFILES = sysinfo sysroff.c sysroff.h \
325         site.exp site.bak
327 # Targets to rebuild dependencies in this Makefile.
328 # Have to get rid of DEP1 here so that "$?" later includes all of $(CFILES).
329 DEP: dep.sed $(CFILES) $(HFILES) $(GENERATED_CFILES) $(GENERATED_HFILES) config.h
330         rm -f DEP1
331         $(MAKE) MKDEP="$(MKDEP)" DEP1
332         sed -f dep.sed < DEP1 > DEPA
333         echo '# IF YOU PUT ANYTHING HERE IT WILL GO AWAY' >> DEPA
334         if grep ' /' DEPA > /dev/null 2> /dev/null; then \
335           echo 'make DEP failed!'; exit 1; \
336         else \
337           mv -f DEPA $@; \
338         fi
340 DEP1: $(CFILES) $(GENERATED_CFILES)
341         echo '# DO NOT DELETE THIS LINE -- mkdep uses it.' > DEP2
342         echo '# DO NOT PUT ANYTHING AFTER THIS LINE, IT WILL GO AWAY.' >> DEP2
343         $(MKDEP) $(INCLUDES) $(CFLAGS) $? >> DEP2
344         mv -f DEP2 $@
346 dep.sed: dep-in.sed config.status
347         objdir=`pwd`; \
348         sed <$(srcdir)/dep-in.sed >dep.sed      \
349                 -e 's!@INCDIR@!$(INCDIR)!'      \
350                 -e 's!@BFDDIR@!$(BFDDIR)!'      \
351                 -e 's!@SRCDIR@!$(srcdir)!'      \
352                 -e "s!@OBJDIR@!$${objdir}!"     \
353                 -e 's!@TOPDIR@!'`echo $(srcdir) | sed -e s,/binutils$$,,`'!'
355 dep: DEP
356         sed -e '/^..DO NOT DELETE THIS LINE/,$$d' < Makefile > tmp-Makefile
357         cat DEP >> tmp-Makefile
358         $(SHELL) $(srcdir)/../move-if-change tmp-Makefile Makefile
360 dep-in: DEP
361         sed -e '/^..DO NOT DELETE THIS LINE/,$$d' < $(srcdir)/Makefile.in > tmp-Makefile.in
362         cat DEP >> tmp-Makefile.in
363         $(SHELL) $(srcdir)/../move-if-change tmp-Makefile.in $(srcdir)/Makefile.in
365 dep-am: DEP
366         sed -e '/^..DO NOT DELETE THIS LINE/,$$d' < $(srcdir)/Makefile.am > tmp-Makefile.am
367         cat DEP >> tmp-Makefile.am
368         $(SHELL) $(srcdir)/../move-if-change tmp-Makefile.am $(srcdir)/Makefile.am
370 .PHONY: dep dep-in dep-am
374 MOSTLYCLEANFILES = sysinfo binutils.log binutils.sum abcdefgh*
375 mostlyclean-local:
376         -rm -rf tmpdir
378 CLEANFILES = dep.sed DEP DEPA DEP1 DEP2
380 .PHONY: install-exec-local
382 install-exec-local: install-binPROGRAMS $(bin_PROGRAMS) $(noinst_PROGRAMS)
383         @list='$(noinst_PROGRAMS)'; for p in $$list; do \
384           if test -f $$p; then \
385             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)/'`"; \
386             $(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)/'`; \
387           else :; fi; \
388         done
389         $(mkinstalldirs) $(DESTDIR)$(tooldir)/bin
390         for i in $(TOOL_PROGS); do \
391           if [ -f $$i$(EXEEXT) ]; then \
392             j=`echo $$i | sed -e 's/-new//'`; \
393             k=`echo $$j | sed '$(transform)'`; \
394             if [ "$(bindir)/$$k" != "$(tooldir)/bin/$$j" ]; then \
395               rm -f $(DESTDIR)$(tooldir)/bin/$$j$(EXEEXT); \
396               ln $(DESTDIR)$(bindir)/$$k$(EXEEXT) $(DESTDIR)$(tooldir)/bin/$$j$(EXEEXT) >/dev/null 2>/dev/null \
397                 || $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) $$i$(EXEEXT) $(DESTDIR)$(tooldir)/bin/$$j$(EXEEXT); \
398             fi; \
399           else true; \
400           fi; \
401         done
403 # What appears below is generated by a hacked mkdep using gcc -MM.
405 # DO NOT DELETE THIS LINE -- mkdep uses it.
406 # DO NOT PUT ANYTHING AFTER THIS LINE, IT WILL GO AWAY.
407 addr2line.o: addr2line.c config.h ../bfd/bfd.h $(INCDIR)/ansidecl.h \
408   $(INCDIR)/symcat.h $(INCDIR)/getopt.h $(INCDIR)/libiberty.h \
409   $(INCDIR)/demangle.h bucomm.h $(INCDIR)/bin-bugs.h \
410   $(INCDIR)/fopen-same.h budemang.h
411 ar.o: ar.c ../bfd/bfd.h $(INCDIR)/ansidecl.h $(INCDIR)/symcat.h \
412   $(INCDIR)/libiberty.h $(INCDIR)/progress.h bucomm.h \
413   config.h $(INCDIR)/bin-bugs.h $(INCDIR)/fopen-same.h \
414   $(INCDIR)/aout/ar.h $(BFDDIR)/libbfd.h $(INCDIR)/hashtab.h \
415   arsup.h $(INCDIR)/filenames.h binemul.h
416 arsup.o: arsup.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
417   $(INCDIR)/symcat.h arsup.h $(INCDIR)/libiberty.h bucomm.h \
418   config.h $(INCDIR)/bin-bugs.h $(INCDIR)/fopen-same.h \
419   $(INCDIR)/filenames.h
420 binemul.o: binemul.c binemul.h ../bfd/bfd.h $(INCDIR)/ansidecl.h \
421   $(INCDIR)/symcat.h bucomm.h config.h $(INCDIR)/bin-bugs.h \
422   $(INCDIR)/fopen-same.h
423 bucomm.o: bucomm.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
424   $(INCDIR)/symcat.h ../bfd/bfdver.h $(INCDIR)/libiberty.h \
425   bucomm.h config.h $(INCDIR)/bin-bugs.h $(INCDIR)/fopen-same.h \
426   $(INCDIR)/filenames.h $(BFDDIR)/libbfd.h $(INCDIR)/hashtab.h
427 budemang.o: budemang.c config.h ../bfd/bfd.h $(INCDIR)/ansidecl.h \
428   $(INCDIR)/symcat.h $(INCDIR)/libiberty.h $(INCDIR)/demangle.h \
429   budemang.h
430 coffdump.o: coffdump.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
431   $(INCDIR)/symcat.h $(INCDIR)/libiberty.h coffgrok.h \
432   bucomm.h config.h $(INCDIR)/bin-bugs.h $(INCDIR)/fopen-same.h
433 coffgrok.o: coffgrok.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
434   $(INCDIR)/symcat.h $(INCDIR)/libiberty.h bucomm.h config.h \
435   $(INCDIR)/bin-bugs.h $(INCDIR)/fopen-same.h $(INCDIR)/coff/internal.h \
436   $(BFDDIR)/libcoff.h $(INCDIR)/bfdlink.h coffgrok.h
437 cxxfilt.o: cxxfilt.c config.h ../bfd/bfd.h $(INCDIR)/ansidecl.h \
438   $(INCDIR)/symcat.h bucomm.h $(INCDIR)/bin-bugs.h $(INCDIR)/fopen-same.h \
439   $(INCDIR)/libiberty.h $(INCDIR)/demangle.h $(INCDIR)/safe-ctype.h
440 dwarf.o: dwarf.c dwarf.h ../bfd/bfd.h $(INCDIR)/ansidecl.h \
441   $(INCDIR)/symcat.h $(INCDIR)/elf/dwarf2.h bucomm.h \
442   config.h $(INCDIR)/bin-bugs.h $(INCDIR)/fopen-same.h \
443   $(INCDIR)/libiberty.h
444 debug.o: debug.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
445   $(INCDIR)/symcat.h bucomm.h config.h $(INCDIR)/bin-bugs.h \
446   $(INCDIR)/fopen-same.h $(INCDIR)/libiberty.h debug.h
447 dlltool.o: dlltool.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
448   $(INCDIR)/symcat.h $(INCDIR)/libiberty.h bucomm.h config.h \
449   $(INCDIR)/bin-bugs.h $(INCDIR)/fopen-same.h $(INCDIR)/demangle.h \
450   $(INCDIR)/dyn-string.h dlltool.h $(INCDIR)/safe-ctype.h
451 dllwrap.o: dllwrap.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
452   $(INCDIR)/symcat.h $(INCDIR)/libiberty.h bucomm.h config.h \
453   $(INCDIR)/bin-bugs.h $(INCDIR)/fopen-same.h $(INCDIR)/dyn-string.h
454 emul_aix.o: emul_aix.c binemul.h ../bfd/bfd.h $(INCDIR)/ansidecl.h \
455   $(INCDIR)/symcat.h bucomm.h config.h $(INCDIR)/bin-bugs.h \
456   $(INCDIR)/fopen-same.h $(INCDIR)/bfdlink.h $(INCDIR)/coff/internal.h \
457   $(INCDIR)/coff/xcoff.h $(BFDDIR)/libcoff.h $(BFDDIR)/libxcoff.h
458 emul_vanilla.o: emul_vanilla.c binemul.h ../bfd/bfd.h \
459   $(INCDIR)/ansidecl.h $(INCDIR)/symcat.h bucomm.h config.h \
460   $(INCDIR)/bin-bugs.h $(INCDIR)/fopen-same.h
461 filemode.o: filemode.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
462   $(INCDIR)/symcat.h bucomm.h config.h $(INCDIR)/bin-bugs.h \
463   $(INCDIR)/fopen-same.h
464 ieee.o: ieee.c ../bfd/bfd.h $(INCDIR)/ansidecl.h $(INCDIR)/symcat.h \
465   $(INCDIR)/ieee.h bucomm.h config.h $(INCDIR)/bin-bugs.h \
466   $(INCDIR)/fopen-same.h $(INCDIR)/libiberty.h debug.h \
467   budbg.h $(INCDIR)/filenames.h
468 is-ranlib.o: is-ranlib.c
469 is-strip.o: is-strip.c
470 maybe-ranlib.o: maybe-ranlib.c
471 maybe-strip.o: maybe-strip.c
472 nlmconv.o: nlmconv.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
473   $(INCDIR)/symcat.h $(INCDIR)/libiberty.h bucomm.h config.h \
474   $(INCDIR)/bin-bugs.h $(INCDIR)/fopen-same.h $(INCDIR)/safe-ctype.h \
475   $(BFDDIR)/libnlm.h $(INCDIR)/nlm/common.h $(INCDIR)/nlm/internal.h \
476   $(INCDIR)/nlm/external.h nlmconv.h
477 nm.o: nm.c ../bfd/bfd.h $(INCDIR)/ansidecl.h $(INCDIR)/symcat.h \
478   $(INCDIR)/progress.h bucomm.h config.h $(INCDIR)/bin-bugs.h \
479   $(INCDIR)/fopen-same.h budemang.h $(INCDIR)/aout/stab_gnu.h \
480   $(INCDIR)/aout/stab.def $(INCDIR)/aout/ranlib.h $(INCDIR)/demangle.h \
481   $(INCDIR)/libiberty.h $(BFDDIR)/elf-bfd.h $(INCDIR)/elf/common.h \
482   $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h $(INCDIR)/bfdlink.h
483 not-ranlib.o: not-ranlib.c
484 not-strip.o: not-strip.c
485 objcopy.o: objcopy.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
486   $(INCDIR)/symcat.h $(INCDIR)/progress.h bucomm.h config.h \
487   $(INCDIR)/bin-bugs.h $(INCDIR)/fopen-same.h $(INCDIR)/libiberty.h \
488   budbg.h $(INCDIR)/filenames.h $(INCDIR)/fnmatch.h $(BFDDIR)/elf-bfd.h \
489   $(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h \
490   $(INCDIR)/bfdlink.h $(BFDDIR)/libbfd.h 
491 objdump.o: objdump.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
492   $(INCDIR)/symcat.h ../bfd/bfdver.h $(INCDIR)/progress.h \
493   bucomm.h config.h $(INCDIR)/bin-bugs.h $(INCDIR)/fopen-same.h \
494   dwarf.h $(INCDIR)/elf/dwarf2.h budemang.h $(INCDIR)/safe-ctype.h \
495   $(INCDIR)/dis-asm.h $(INCDIR)/libiberty.h $(INCDIR)/demangle.h \
496   debug.h budbg.h $(INCDIR)/aout/aout64.h
497 prdbg.o: prdbg.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
498   $(INCDIR)/symcat.h bucomm.h config.h $(INCDIR)/bin-bugs.h \
499   $(INCDIR)/fopen-same.h $(INCDIR)/libiberty.h debug.h \
500   budbg.h
501 rdcoff.o: rdcoff.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
502   $(INCDIR)/symcat.h $(INCDIR)/coff/internal.h bucomm.h \
503   config.h $(INCDIR)/bin-bugs.h $(INCDIR)/fopen-same.h \
504   $(INCDIR)/libiberty.h debug.h budbg.h $(BFDDIR)/libcoff.h \
505   $(INCDIR)/bfdlink.h
506 rddbg.o: rddbg.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
507   $(INCDIR)/symcat.h bucomm.h config.h $(INCDIR)/bin-bugs.h \
508   $(INCDIR)/fopen-same.h $(INCDIR)/libiberty.h debug.h \
509   budbg.h
510 readelf.o: readelf.c dwarf.h ../bfd/bfd.h $(INCDIR)/ansidecl.h \
511   $(INCDIR)/symcat.h $(INCDIR)/elf/dwarf2.h $(INCDIR)/elf/common.h \
512   $(INCDIR)/elf/external.h $(INCDIR)/elf/internal.h $(INCDIR)/elf/alpha.h \
513   $(INCDIR)/elf/reloc-macros.h $(INCDIR)/elf/arc.h $(INCDIR)/elf/arm.h \
514   $(INCDIR)/elf/avr.h $(INCDIR)/elf/bfin.h $(INCDIR)/elf/cris.h \
515   $(INCDIR)/elf/d10v.h $(INCDIR)/elf/d30v.h $(INCDIR)/elf/dlx.h \
516   $(INCDIR)/elf/fr30.h $(INCDIR)/elf/frv.h $(INCDIR)/elf/h8.h \
517   $(INCDIR)/elf/hppa.h $(INCDIR)/elf/i386.h $(INCDIR)/elf/i370.h \
518   $(INCDIR)/elf/i860.h $(INCDIR)/elf/i960.h $(INCDIR)/elf/ia64.h \
519   $(INCDIR)/elf/ip2k.h $(INCDIR)/elf/m32c.h $(INCDIR)/elf/m32r.h \
520   $(INCDIR)/elf/m68k.h $(INCDIR)/elf/m68hc11.h $(INCDIR)/elf/mcore.h \
521   $(INCDIR)/elf/mips.h $(INCDIR)/elf/mmix.h $(INCDIR)/elf/mn10200.h \
522   $(INCDIR)/elf/mn10300.h $(INCDIR)/elf/mt.h $(INCDIR)/elf/msp430.h \
523   $(INCDIR)/elf/or32.h $(INCDIR)/elf/pj.h $(INCDIR)/elf/ppc.h \
524   $(INCDIR)/elf/ppc64.h $(INCDIR)/elf/s390.h $(INCDIR)/elf/sh.h \
525   $(INCDIR)/elf/sparc.h $(INCDIR)/elf/v850.h $(INCDIR)/elf/vax.h \
526   $(INCDIR)/elf/x86-64.h $(INCDIR)/elf/xstormy16.h $(INCDIR)/elf/crx.h \
527   $(INCDIR)/elf/iq2000.h $(INCDIR)/elf/xtensa.h $(INCDIR)/aout/ar.h \
528   bucomm.h config.h $(INCDIR)/bin-bugs.h $(INCDIR)/fopen-same.h \
529   $(INCDIR)/libiberty.h unwind-ia64.h
530 rename.o: rename.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
531   $(INCDIR)/symcat.h bucomm.h config.h $(INCDIR)/bin-bugs.h \
532   $(INCDIR)/fopen-same.h
533 resbin.o: resbin.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
534   $(INCDIR)/symcat.h bucomm.h config.h $(INCDIR)/bin-bugs.h \
535   $(INCDIR)/fopen-same.h $(INCDIR)/libiberty.h windres.h \
536   winduni.h
537 rescoff.o: rescoff.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
538   $(INCDIR)/symcat.h bucomm.h config.h $(INCDIR)/bin-bugs.h \
539   $(INCDIR)/fopen-same.h $(INCDIR)/libiberty.h windres.h \
540   winduni.h $(INCDIR)/coff/internal.h $(BFDDIR)/libcoff.h \
541   $(INCDIR)/bfdlink.h
542 resrc.o: resrc.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
543   $(INCDIR)/symcat.h bucomm.h config.h $(INCDIR)/bin-bugs.h \
544   $(INCDIR)/fopen-same.h $(INCDIR)/libiberty.h $(INCDIR)/safe-ctype.h \
545   windres.h winduni.h
546 resres.o: resres.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
547   $(INCDIR)/symcat.h bucomm.h config.h $(INCDIR)/bin-bugs.h \
548   $(INCDIR)/fopen-same.h $(INCDIR)/libiberty.h windres.h \
549   winduni.h
550 size.o: size.c ../bfd/bfd.h $(INCDIR)/ansidecl.h $(INCDIR)/symcat.h \
551   bucomm.h config.h $(INCDIR)/bin-bugs.h $(INCDIR)/fopen-same.h \
552   $(INCDIR)/libiberty.h
553 srconv.o: srconv.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
554   $(INCDIR)/symcat.h bucomm.h config.h $(INCDIR)/bin-bugs.h \
555   $(INCDIR)/fopen-same.h sysroff.h coffgrok.h $(INCDIR)/libiberty.h \
556   $(INCDIR)/coff/internal.h $(BFDDIR)/libcoff.h $(INCDIR)/bfdlink.h \
557   sysroff.c
558 stabs.o: stabs.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
559   $(INCDIR)/symcat.h bucomm.h config.h $(INCDIR)/bin-bugs.h \
560   $(INCDIR)/fopen-same.h $(INCDIR)/libiberty.h $(INCDIR)/safe-ctype.h \
561   $(INCDIR)/demangle.h debug.h budbg.h $(INCDIR)/filenames.h \
562   $(INCDIR)/aout/aout64.h $(INCDIR)/aout/stab_gnu.h $(INCDIR)/aout/stab.def
563 strings.o: strings.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
564   $(INCDIR)/symcat.h $(INCDIR)/getopt.h bucomm.h config.h \
565   $(INCDIR)/bin-bugs.h $(INCDIR)/fopen-same.h $(INCDIR)/libiberty.h \
566   $(INCDIR)/safe-ctype.h
567 sysdump.o: sysdump.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
568   $(INCDIR)/symcat.h bucomm.h config.h $(INCDIR)/bin-bugs.h \
569   $(INCDIR)/fopen-same.h $(INCDIR)/safe-ctype.h $(INCDIR)/libiberty.h \
570   sysroff.h sysroff.c
571 version.o: version.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
572   $(INCDIR)/symcat.h ../bfd/bfdver.h bucomm.h config.h \
573   $(INCDIR)/bin-bugs.h $(INCDIR)/fopen-same.h
574 windres.o: windres.c config.h ../bfd/bfd.h $(INCDIR)/ansidecl.h \
575   $(INCDIR)/symcat.h bucomm.h $(INCDIR)/bin-bugs.h $(INCDIR)/fopen-same.h \
576   $(INCDIR)/libiberty.h $(INCDIR)/safe-ctype.h $(INCDIR)/obstack.h \
577   windres.h winduni.h
578 winduni.o: winduni.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
579   $(INCDIR)/symcat.h bucomm.h config.h $(INCDIR)/bin-bugs.h \
580   $(INCDIR)/fopen-same.h winduni.h $(INCDIR)/safe-ctype.h
581 wrstabs.o: wrstabs.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
582   $(INCDIR)/symcat.h bucomm.h config.h $(INCDIR)/bin-bugs.h \
583   $(INCDIR)/fopen-same.h $(INCDIR)/libiberty.h $(INCDIR)/safe-ctype.h \
584   debug.h budbg.h $(INCDIR)/aout/aout64.h $(INCDIR)/aout/stab_gnu.h \
585   $(INCDIR)/aout/stab.def
586 arparse.o: arparse.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
587   $(INCDIR)/symcat.h bucomm.h config.h $(INCDIR)/bin-bugs.h \
588   $(INCDIR)/fopen-same.h arsup.h
589 arlex.o: arlex.c $(INCDIR)/ansidecl.h $(INCDIR)/libiberty.h \
590   arparse.h
591 sysroff.o: sysroff.c
592 sysinfo.o: sysinfo.c
593 syslex.o: syslex.c config.h sysinfo.h
594 defparse.o: defparse.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
595   $(INCDIR)/symcat.h bucomm.h config.h $(INCDIR)/bin-bugs.h \
596   $(INCDIR)/fopen-same.h dlltool.h
597 deflex.o: deflex.c $(INCDIR)/libiberty.h $(INCDIR)/ansidecl.h \
598   defparse.h dlltool.h
599 nlmheader.o: nlmheader.c $(INCDIR)/ansidecl.h $(INCDIR)/safe-ctype.h \
600   ../bfd/bfd.h $(INCDIR)/symcat.h bucomm.h config.h $(INCDIR)/bin-bugs.h \
601   $(INCDIR)/fopen-same.h $(INCDIR)/nlm/common.h $(INCDIR)/nlm/internal.h \
602   nlmconv.h
603 rcparse.o: rcparse.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
604   $(INCDIR)/symcat.h bucomm.h config.h $(INCDIR)/bin-bugs.h \
605   $(INCDIR)/fopen-same.h $(INCDIR)/libiberty.h windres.h \
606   winduni.h $(INCDIR)/safe-ctype.h
607 rclex.o: rclex.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
608   $(INCDIR)/symcat.h bucomm.h config.h $(INCDIR)/bin-bugs.h \
609   $(INCDIR)/fopen-same.h $(INCDIR)/libiberty.h $(INCDIR)/safe-ctype.h \
610   windres.h winduni.h rcparse.h
611 # IF YOU PUT ANYTHING HERE IT WILL GO AWAY