* hppa-dis.c (print_insn_hppa): Don't print '%' before register names.
[binutils.git] / binutils / Makefile.am
blob80560cc3984b5a3927cea78ed84beddd6800530d
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 debug.c dlltool.c dllwrap.c \
92         emul_aix.c emul_vanilla.c filemode.c \
93         ieee.c is-ranlib.c is-strip.c maybe-ranlib.c maybe-strip.c \
94         nlmconv.c nm.c not-ranlib.c not-strip.c \
95         objcopy.c objdump.c prdbg.c \
96         rdcoff.c rddbg.c readelf.c rename.c \
97         resbin.c rescoff.c resrc.c resres.c \
98         size.c srconv.c stabs.c strings.c sysdump.c version.c \
99         windres.c winduni.c wrstabs.c
101 GENERATED_CFILES = \
102         arparse.c arlex.c sysroff.c sysinfo.c syslex.c \
103         defparse.c deflex.c nlmheader.c rcparse.c rclex.c
105 DEBUG_SRCS = rddbg.c debug.c stabs.c ieee.c rdcoff.c
106 WRITE_DEBUG_SRCS = $(DEBUG_SRCS) wrstabs.c
108 # Code shared by all the binutils.
109 BULIBS = bucomm.c version.c filemode.c
111 BFDLIB = ../bfd/libbfd.la
113 OPCODES = ../opcodes/libopcodes.la
115 LIBIBERTY = ../libiberty/libiberty.a
117 POTFILES = $(CFILES) $(DEBUG_SRCS) $(HFILES)
118 po/POTFILES.in: @MAINT@ Makefile
119         for f in $(POTFILES); do echo $$f; done | LC_COLLATE= sort > tmp \
120           && mv tmp $(srcdir)/po/POTFILES.in
122 EXPECT = expect
123 RUNTEST = runtest
125 CC_FOR_TARGET = ` \
126   if [ -f $$r/../gcc/xgcc ] ; then \
127     if [ -f $$r/../newlib/Makefile ] ; then \
128       echo $$r/../gcc/xgcc -B$$r/../gcc/ -idirafter $$r/../newlib/targ-include -idirafter $${srcroot}/../newlib/libc/include -nostdinc; \
129     else \
130       echo $$r/../gcc/xgcc -B$$r/../gcc/; \
131     fi; \
132   else \
133     if [ "@host@" = "@target@" ] ; then \
134       echo $(CC); \
135     else \
136       echo gcc | sed '$(transform)'; \
137     fi; \
138   fi`
140 check-DEJAGNU: site.exp
141         srcdir=`cd $(srcdir) && pwd`; export srcdir; \
142         r=`pwd`; export r; \
143         EXPECT=$(EXPECT); export EXPECT; \
144         runtest=$(RUNTEST); \
145         if $(SHELL) -c "$$runtest --version" > /dev/null 2>&1; then \
146           CC_FOR_TARGET="$(CC_FOR_TARGET)" CFLAGS_FOR_TARGET="$(CFLAGS)" \
147                 $$runtest --tool $(DEJATOOL) --srcdir $${srcdir}/testsuite \
148                         $(RUNTESTFLAGS); \
149         else echo "WARNING: could not find \`runtest'" 1>&2; :;\
150         fi
152 installcheck:
153         /bin/sh $(srcdir)/sanity.sh $(bindir)
155 LDADD = $(BFDLIB) $(LIBIBERTY) $(INTLLIBS)
157 size_SOURCES = size.c $(BULIBS)
159 objcopy_SOURCES = objcopy.c not-strip.c rename.c $(WRITE_DEBUG_SRCS) $(BULIBS)
161 strings_SOURCES = strings.c $(BULIBS)
163 readelf_SOURCES = readelf.c version.c unwind-ia64.c
164 readelf_LDADD   = $(INTLLIBS) $(LIBIBERTY)
166 strip_new_SOURCES = objcopy.c is-strip.c rename.c $(WRITE_DEBUG_SRCS) $(BULIBS)
168 nm_new_SOURCES = nm.c budemang.c $(BULIBS)
170 objdump_SOURCES = objdump.c budemang.c prdbg.c $(DEBUG_SRCS) $(BULIBS)
171 objdump_LDADD = $(OPCODES) $(BFDLIB) $(LIBIBERTY) $(INTLLIBS)
173 objdump.o:objdump.c
174         $(COMPILE) -c $(OBJDUMP_DEFS) $(srcdir)/objdump.c
176 cxxfilt_SOURCES = cxxfilt.c $(BULIBS)
178 ar_SOURCES = arparse.y arlex.l ar.c not-ranlib.c arsup.c rename.c binemul.c \
179         emul_$(EMULATION).c $(BULIBS)
180 ar_LDADD = $(BFDLIB) $(LIBIBERTY) @LEXLIB@ $(INTLLIBS)
182 ranlib_SOURCES = ar.c is-ranlib.c arparse.y arlex.l arsup.c rename.c \
183         binemul.c emul_$(EMULATION).c $(BULIBS)
184 ranlib_LDADD = $(BFDLIB) $(LIBIBERTY) @LEXLIB@ $(INTLLIBS)
186 addr2line_SOURCES = addr2line.c budemang.c $(BULIBS)
188 # The following is commented out for the conversion to automake.
189 # This rule creates a single binary that switches between ar and ranlib
190 # by looking at argv[0].  Use this kludge to save some disk space.
191 # However, you have to install things by hand.
192 # (That is after 'make install', replace the installed ranlib by a link to ar.)
193 # Alternatively, you can install ranlib.sh as ranlib.
194 # ar_with_ranlib: $(ADDL_DEPS) ar.o maybe-ranlib.o
195 #       $(HLDENV) $(CC) $(HLDFLAGS) $(CFLAGS) $(LDFLAGS) -o $(AR_PROG) ar.o maybe-ranlib.o $(ADDL_LIBS) $(EXTRALIBS)
196 #       -rm -f $(RANLIB_PROG)
197 #       -ln $(AR_PROG) $(RANLIB_PROG)
199 # objcopy and strip in one binary that uses argv[0] to decide its action.
201 #objcopy_with_strip: $(ADDL_DEPS) objcopy.o maybe-strip.o
202 #       $(HLDENV) $(CC) $(HLDFLAGS) $(CFLAGS) $(LDFLAGS) -o $(OBJCOPY_PROG) objcopy.o maybe-strip.o $(ADDL_LIBS) $(EXTRALIBS)
203 #       -rm -f $(STRIP_PROG)
204 #       -ln $(OBJCOPY_PROG) $(STRIP_PROG)
206 sysroff.c: sysinfo$(EXEEXT_FOR_BUILD) sysroff.info 
207         ./sysinfo$(EXEEXT_FOR_BUILD) -c <$(srcdir)/sysroff.info >sysroff.c
208         ./sysinfo$(EXEEXT_FOR_BUILD) -i <$(srcdir)/sysroff.info >>sysroff.c
209         ./sysinfo$(EXEEXT_FOR_BUILD) -g <$(srcdir)/sysroff.info >>sysroff.c
211 sysroff.h: sysinfo$(EXEEXT_FOR_BUILD) sysroff.info
212         ./sysinfo$(EXEEXT_FOR_BUILD) -d <$(srcdir)/sysroff.info >sysroff.h
214 sysinfo$(EXEEXT_FOR_BUILD): sysinfo.o syslex.o
215         $(CC_FOR_BUILD) $(CFLAGS) $(LDFLAGS) -o $@ sysinfo.o syslex.o
217 syslex.o:
218         if [ -r syslex.c ]; then \
219           $(CC_FOR_BUILD) -c -I. $(AM_CFLAGS) $(CFLAGS) syslex.c -Wno-error ; \
220         else \
221           $(CC_FOR_BUILD) -c -I. -I$(srcdir) $(AM_CFLAGS) $(CFLAGS) $(srcdir)/syslex.c -Wno-error ;\
222         fi
224 sysinfo.o:
225         if [ -r sysinfo.c ]; then \
226           $(CC_FOR_BUILD) -c -I. $(AM_CFLAGS) $(CFLAGS) sysinfo.c -Wno-error ; \
227         else \
228           $(CC_FOR_BUILD) -c -I. $(AM_CFLAGS) $(CFLAGS) $(srcdir)/sysinfo.c -Wno-error ; \
229         fi
231 # We need these for parallel make.
232 arparse.h: arparse.c
233 defparse.h: defparse.c
234 nlmheader.h: nlmheader.c
235 rcparse.h: rcparse.c
236 sysinfo.h: sysinfo.c
238 # Disable -Werror, if it has been enabled, since old versions of bison/
239 # yacc will produce working code which contain compile time warnings. 
240 arparse.o:
241         $(COMPILE) -c $< $(NO_WERROR)
242 arlex.o:
243         $(COMPILE) -c $< $(NO_WERROR)
244 sysroff.o:
245         $(COMPILE) -c $< $(NO_WERROR)
246 defparse.o:
247         $(COMPILE) -c $< $(NO_WERROR)
248 deflex.o:
249         $(COMPILE) -c $< $(NO_WERROR)
250 nlmheader.o:
251         $(COMPILE) -c $< $(NO_WERROR)
252 rcparse.o:
253         $(COMPILE) -c $< $(NO_WERROR)
254 rclex.o:
255         $(COMPILE) -c $< $(NO_WERROR)
257 srconv_SOURCES = srconv.c coffgrok.c $(BULIBS)
259 dlltool_SOURCES = dlltool.c defparse.y deflex.l $(BULIBS)
260 dlltool_LDADD = $(BFDLIB) $(LIBIBERTY) @LEXLIB@ $(INTLLIBS)
262 dlltool.o:
263         $(COMPILE) -c $(DLLTOOL_DEFS) $(srcdir)/dlltool.c
265 rescoff.o:
266         $(COMPILE) -c $(DLLTOOL_DEFS) $(srcdir)/rescoff.c
268 coffdump_SOURCES = coffdump.c coffgrok.c $(BULIBS)
270 sysdump_SOURCES = sysdump.c $(BULIBS)
272 # coff/sym.h and coff/ecoff.h won't be found by the automatic dependency
273 # scripts, since they are only included conditionally.
274 nlmconv.o: nlmconv.c $(INCDIR)/coff/sym.h $(INCDIR)/coff/ecoff.h
275         ldname=`echo ld | sed '$(transform)'`; \
276         $(COMPILE) -c -DLD_NAME="\"$${ldname}\"" @NLMCONV_DEFS@ $(srcdir)/nlmconv.c
278 nlmconv_SOURCES = nlmconv.c nlmheader.y $(BULIBS)
280 windres_SOURCES = windres.c resrc.c rescoff.c resbin.c rcparse.y rclex.l \
281         winduni.c resres.c $(BULIBS)
282 windres_LDADD = $(BFDLIB) $(LIBIBERTY) @LEXLIB@ $(INTLLIBS)
284 dllwrap_SOURCES = dllwrap.c version.c
285 dllwrap_LDADD = $(LIBIBERTY) $(INTLLIBS)
288 EXTRA_DIST = arparse.c arparse.h arlex.c nlmheader.c sysinfo.c sysinfo.h \
289         syslex.c deflex.c defparse.h defparse.c rclex.c rcparse.h rcparse.c
291 diststuff: $(EXTRA_DIST) info
292 all: info
294 DISTCLEANFILES = sysinfo sysroff.c sysroff.h \
295         site.exp site.bak
297 Makefile: $(BFDDIR)/configure.in
299 # Targets to rebuild dependencies in this Makefile.
300 # Have to get rid of DEP1 here so that "$?" later includes all of $(CFILES).
301 DEP: dep.sed $(CFILES) $(HFILES) $(GENERATED_CFILES) $(GENERATED_HFILES) config.h
302         rm -f DEP1
303         $(MAKE) MKDEP="$(MKDEP)" DEP1
304         sed -f dep.sed < DEP1 > DEPA
305         echo '# IF YOU PUT ANYTHING HERE IT WILL GO AWAY' >> DEPA
306         if grep ' /' DEPA > /dev/null 2> /dev/null; then \
307           echo 'make DEP failed!'; exit 1; \
308         else \
309           mv -f DEPA $@; \
310         fi
312 DEP1: $(CFILES) $(GENERATED_CFILES)
313         echo '# DO NOT DELETE THIS LINE -- mkdep uses it.' > DEP2
314         echo '# DO NOT PUT ANYTHING AFTER THIS LINE, IT WILL GO AWAY.' >> DEP2
315         $(MKDEP) $(INCLUDES) $(CFLAGS) $? >> DEP2
316         mv -f DEP2 $@
318 dep.sed: dep-in.sed config.status
319         objdir=`pwd`; \
320         sed <$(srcdir)/dep-in.sed >dep.sed      \
321                 -e 's!@INCDIR@!$(INCDIR)!'      \
322                 -e 's!@BFDDIR@!$(BFDDIR)!'      \
323                 -e 's!@SRCDIR@!$(srcdir)!'      \
324                 -e "s!@OBJDIR@!$${objdir}!"     \
325                 -e 's!@TOPDIR@!'`echo $(srcdir) | sed -e s,/binutils$$,,`'!'
327 dep: DEP
328         sed -e '/^..DO NOT DELETE THIS LINE/,$$d' < Makefile > tmp-Makefile
329         cat DEP >> tmp-Makefile
330         $(SHELL) $(srcdir)/../move-if-change tmp-Makefile Makefile
332 dep-in: DEP
333         sed -e '/^..DO NOT DELETE THIS LINE/,$$d' < $(srcdir)/Makefile.in > tmp-Makefile.in
334         cat DEP >> tmp-Makefile.in
335         $(SHELL) $(srcdir)/../move-if-change tmp-Makefile.in $(srcdir)/Makefile.in
337 dep-am: DEP
338         sed -e '/^..DO NOT DELETE THIS LINE/,$$d' < $(srcdir)/Makefile.am > tmp-Makefile.am
339         cat DEP >> tmp-Makefile.am
340         $(SHELL) $(srcdir)/../move-if-change tmp-Makefile.am $(srcdir)/Makefile.am
342 .PHONY: dep dep-in dep-am
346 MOSTLYCLEANFILES = sysinfo binutils.log binutils.sum abcdefgh*
347 mostlyclean-local:
348         -rm -rf tmpdir
350 CLEANFILES = dep.sed DEP DEPA DEP1 DEP2
352 .PHONY: install-exec-local
354 install-exec-local: install-binPROGRAMS $(bin_PROGRAMS) $(noinst_PROGRAMS)
355         @list='$(noinst_PROGRAMS)'; for p in $$list; do \
356           if test -f $$p; then \
357             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)/'`"; \
358             $(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)/'`; \
359           else :; fi; \
360         done
361         $(mkinstalldirs) $(DESTDIR)$(tooldir)/bin
362         for i in $(TOOL_PROGS); do \
363           if [ -f $$i$(EXEEXT) ]; then \
364             j=`echo $$i | sed -e 's/-new//'`; \
365             k=`echo $$j | sed '$(transform)'`; \
366             if [ "$(bindir)/$$k" != "$(tooldir)/bin/$$j" ]; then \
367               rm -f $(DESTDIR)$(tooldir)/bin/$$j$(EXEEXT); \
368               ln $(DESTDIR)$(bindir)/$$k$(EXEEXT) $(DESTDIR)$(tooldir)/bin/$$j$(EXEEXT) >/dev/null 2>/dev/null \
369                 || $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) $$i$(EXEEXT) $(DESTDIR)$(tooldir)/bin/$$j$(EXEEXT); \
370             fi; \
371           else true; \
372           fi; \
373         done
375 # What appears below is generated by a hacked mkdep using gcc -MM.
377 # DO NOT DELETE THIS LINE -- mkdep uses it.
378 # DO NOT PUT ANYTHING AFTER THIS LINE, IT WILL GO AWAY.
379 addr2line.o: addr2line.c config.h ../bfd/bfd.h $(INCDIR)/ansidecl.h \
380   $(INCDIR)/symcat.h $(INCDIR)/getopt.h $(INCDIR)/libiberty.h \
381   $(INCDIR)/demangle.h bucomm.h $(INCDIR)/bin-bugs.h \
382   $(INCDIR)/fopen-same.h budemang.h
383 ar.o: ar.c ../bfd/bfd.h $(INCDIR)/ansidecl.h $(INCDIR)/symcat.h \
384   $(INCDIR)/libiberty.h $(INCDIR)/progress.h bucomm.h \
385   config.h $(INCDIR)/bin-bugs.h $(INCDIR)/fopen-same.h \
386   $(INCDIR)/aout/ar.h $(BFDDIR)/libbfd.h $(INCDIR)/hashtab.h \
387   arsup.h $(INCDIR)/filenames.h binemul.h
388 arsup.o: arsup.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
389   $(INCDIR)/symcat.h arsup.h $(INCDIR)/libiberty.h bucomm.h \
390   config.h $(INCDIR)/bin-bugs.h $(INCDIR)/fopen-same.h \
391   $(INCDIR)/filenames.h
392 binemul.o: binemul.c binemul.h ../bfd/bfd.h $(INCDIR)/ansidecl.h \
393   $(INCDIR)/symcat.h bucomm.h config.h $(INCDIR)/bin-bugs.h \
394   $(INCDIR)/fopen-same.h
395 bucomm.o: bucomm.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
396   $(INCDIR)/symcat.h ../bfd/bfdver.h $(INCDIR)/libiberty.h \
397   bucomm.h config.h $(INCDIR)/bin-bugs.h $(INCDIR)/fopen-same.h \
398   $(INCDIR)/filenames.h $(BFDDIR)/libbfd.h $(INCDIR)/hashtab.h
399 budemang.o: budemang.c config.h ../bfd/bfd.h $(INCDIR)/ansidecl.h \
400   $(INCDIR)/symcat.h $(INCDIR)/libiberty.h $(INCDIR)/demangle.h \
401   budemang.h
402 coffdump.o: coffdump.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
403   $(INCDIR)/symcat.h $(INCDIR)/libiberty.h coffgrok.h \
404   bucomm.h config.h $(INCDIR)/bin-bugs.h $(INCDIR)/fopen-same.h
405 coffgrok.o: coffgrok.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)/coff/internal.h \
408   $(BFDDIR)/libcoff.h $(INCDIR)/bfdlink.h coffgrok.h
409 cxxfilt.o: cxxfilt.c config.h ../bfd/bfd.h $(INCDIR)/ansidecl.h \
410   $(INCDIR)/symcat.h bucomm.h $(INCDIR)/bin-bugs.h $(INCDIR)/fopen-same.h \
411   $(INCDIR)/libiberty.h $(INCDIR)/demangle.h $(INCDIR)/safe-ctype.h
412 debug.o: debug.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
413   $(INCDIR)/symcat.h bucomm.h config.h $(INCDIR)/bin-bugs.h \
414   $(INCDIR)/fopen-same.h $(INCDIR)/libiberty.h debug.h
415 dlltool.o: dlltool.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
416   $(INCDIR)/symcat.h $(INCDIR)/libiberty.h bucomm.h config.h \
417   $(INCDIR)/bin-bugs.h $(INCDIR)/fopen-same.h $(INCDIR)/demangle.h \
418   $(INCDIR)/dyn-string.h dlltool.h $(INCDIR)/safe-ctype.h
419 dllwrap.o: dllwrap.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
420   $(INCDIR)/symcat.h $(INCDIR)/libiberty.h bucomm.h config.h \
421   $(INCDIR)/bin-bugs.h $(INCDIR)/fopen-same.h $(INCDIR)/dyn-string.h
422 emul_aix.o: emul_aix.c binemul.h ../bfd/bfd.h $(INCDIR)/ansidecl.h \
423   $(INCDIR)/symcat.h bucomm.h config.h $(INCDIR)/bin-bugs.h \
424   $(INCDIR)/fopen-same.h $(INCDIR)/bfdlink.h $(INCDIR)/coff/internal.h \
425   $(INCDIR)/coff/xcoff.h $(BFDDIR)/libcoff.h $(BFDDIR)/libxcoff.h
426 emul_vanilla.o: emul_vanilla.c binemul.h ../bfd/bfd.h \
427   $(INCDIR)/ansidecl.h $(INCDIR)/symcat.h bucomm.h config.h \
428   $(INCDIR)/bin-bugs.h $(INCDIR)/fopen-same.h
429 filemode.o: filemode.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
430   $(INCDIR)/symcat.h bucomm.h config.h $(INCDIR)/bin-bugs.h \
431   $(INCDIR)/fopen-same.h
432 ieee.o: ieee.c ../bfd/bfd.h $(INCDIR)/ansidecl.h $(INCDIR)/symcat.h \
433   $(INCDIR)/ieee.h bucomm.h config.h $(INCDIR)/bin-bugs.h \
434   $(INCDIR)/fopen-same.h $(INCDIR)/libiberty.h debug.h \
435   budbg.h $(INCDIR)/filenames.h
436 is-ranlib.o: is-ranlib.c
437 is-strip.o: is-strip.c
438 maybe-ranlib.o: maybe-ranlib.c
439 maybe-strip.o: maybe-strip.c
440 nlmconv.o: nlmconv.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
441   $(INCDIR)/symcat.h $(INCDIR)/libiberty.h bucomm.h config.h \
442   $(INCDIR)/bin-bugs.h $(INCDIR)/fopen-same.h $(INCDIR)/safe-ctype.h \
443   $(BFDDIR)/libnlm.h $(INCDIR)/nlm/common.h $(INCDIR)/nlm/internal.h \
444   $(INCDIR)/nlm/external.h nlmconv.h
445 nm.o: nm.c ../bfd/bfd.h $(INCDIR)/ansidecl.h $(INCDIR)/symcat.h \
446   $(INCDIR)/progress.h bucomm.h config.h $(INCDIR)/bin-bugs.h \
447   $(INCDIR)/fopen-same.h budemang.h $(INCDIR)/aout/stab_gnu.h \
448   $(INCDIR)/aout/stab.def $(INCDIR)/aout/ranlib.h $(INCDIR)/demangle.h \
449   $(INCDIR)/libiberty.h $(BFDDIR)/elf-bfd.h $(INCDIR)/elf/common.h \
450   $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h $(INCDIR)/bfdlink.h
451 not-ranlib.o: not-ranlib.c
452 not-strip.o: not-strip.c
453 objcopy.o: objcopy.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
454   $(INCDIR)/symcat.h $(INCDIR)/progress.h bucomm.h config.h \
455   $(INCDIR)/bin-bugs.h $(INCDIR)/fopen-same.h $(INCDIR)/libiberty.h \
456   budbg.h $(INCDIR)/filenames.h $(INCDIR)/fnmatch.h $(BFDDIR)/elf-bfd.h \
457   $(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h \
458   $(INCDIR)/bfdlink.h
459 objdump.o: objdump.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
460   $(INCDIR)/symcat.h ../bfd/bfdver.h $(INCDIR)/progress.h \
461   bucomm.h config.h $(INCDIR)/bin-bugs.h $(INCDIR)/fopen-same.h \
462   budemang.h $(INCDIR)/safe-ctype.h $(INCDIR)/dis-asm.h \
463   $(INCDIR)/libiberty.h $(INCDIR)/demangle.h debug.h \
464   budbg.h $(INCDIR)/aout/aout64.h
465 prdbg.o: prdbg.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
466   $(INCDIR)/symcat.h bucomm.h config.h $(INCDIR)/bin-bugs.h \
467   $(INCDIR)/fopen-same.h $(INCDIR)/libiberty.h debug.h \
468   budbg.h
469 rdcoff.o: rdcoff.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
470   $(INCDIR)/symcat.h $(INCDIR)/coff/internal.h bucomm.h \
471   config.h $(INCDIR)/bin-bugs.h $(INCDIR)/fopen-same.h \
472   $(INCDIR)/libiberty.h debug.h budbg.h $(BFDDIR)/libcoff.h \
473   $(INCDIR)/bfdlink.h
474 rddbg.o: rddbg.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
475   $(INCDIR)/symcat.h bucomm.h config.h $(INCDIR)/bin-bugs.h \
476   $(INCDIR)/fopen-same.h $(INCDIR)/libiberty.h debug.h \
477   budbg.h
478 readelf.o: readelf.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
479   $(INCDIR)/symcat.h $(INCDIR)/elf/common.h $(INCDIR)/elf/external.h \
480   $(INCDIR)/elf/internal.h $(INCDIR)/elf/dwarf2.h $(INCDIR)/elf/alpha.h \
481   $(INCDIR)/elf/reloc-macros.h $(INCDIR)/elf/arc.h $(INCDIR)/elf/arm.h \
482   $(INCDIR)/elf/avr.h $(INCDIR)/elf/cris.h $(INCDIR)/elf/d10v.h \
483   $(INCDIR)/elf/d30v.h $(INCDIR)/elf/dlx.h $(INCDIR)/elf/fr30.h \
484   $(INCDIR)/elf/frv.h $(INCDIR)/elf/h8.h $(INCDIR)/elf/hppa.h \
485   $(INCDIR)/elf/i386.h $(INCDIR)/elf/i370.h $(INCDIR)/elf/i860.h \
486   $(INCDIR)/elf/i960.h $(INCDIR)/elf/ia64.h $(INCDIR)/elf/ip2k.h \
487   $(INCDIR)/elf/m32c.h $(INCDIR)/elf/m32r.h $(INCDIR)/elf/m68k.h \
488   $(INCDIR)/elf/m68hc11.h $(INCDIR)/elf/mcore.h $(INCDIR)/elf/mips.h \
489   $(INCDIR)/elf/mmix.h $(INCDIR)/elf/mn10200.h $(INCDIR)/elf/mn10300.h \
490   $(INCDIR)/elf/ms1.h $(INCDIR)/elf/msp430.h $(INCDIR)/elf/or32.h \
491   $(INCDIR)/elf/pj.h $(INCDIR)/elf/ppc.h $(INCDIR)/elf/ppc64.h \
492   $(INCDIR)/elf/s390.h $(INCDIR)/elf/sh.h $(INCDIR)/elf/sparc.h \
493   $(INCDIR)/elf/v850.h $(INCDIR)/elf/vax.h $(INCDIR)/elf/x86-64.h \
494   $(INCDIR)/elf/xstormy16.h $(INCDIR)/elf/crx.h $(INCDIR)/elf/iq2000.h \
495   $(INCDIR)/elf/xtensa.h $(INCDIR)/aout/ar.h bucomm.h \
496   config.h $(INCDIR)/bin-bugs.h $(INCDIR)/fopen-same.h \
497   $(INCDIR)/libiberty.h unwind-ia64.h
498 rename.o: rename.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
499   $(INCDIR)/symcat.h bucomm.h config.h $(INCDIR)/bin-bugs.h \
500   $(INCDIR)/fopen-same.h
501 resbin.o: resbin.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
502   $(INCDIR)/symcat.h bucomm.h config.h $(INCDIR)/bin-bugs.h \
503   $(INCDIR)/fopen-same.h $(INCDIR)/libiberty.h windres.h \
504   winduni.h
505 rescoff.o: rescoff.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
506   $(INCDIR)/symcat.h bucomm.h config.h $(INCDIR)/bin-bugs.h \
507   $(INCDIR)/fopen-same.h $(INCDIR)/libiberty.h windres.h \
508   winduni.h $(INCDIR)/coff/internal.h $(BFDDIR)/libcoff.h \
509   $(INCDIR)/bfdlink.h
510 resrc.o: resrc.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
511   $(INCDIR)/symcat.h bucomm.h config.h $(INCDIR)/bin-bugs.h \
512   $(INCDIR)/fopen-same.h $(INCDIR)/libiberty.h $(INCDIR)/safe-ctype.h \
513   windres.h winduni.h
514 resres.o: resres.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
515   $(INCDIR)/symcat.h bucomm.h config.h $(INCDIR)/bin-bugs.h \
516   $(INCDIR)/fopen-same.h $(INCDIR)/libiberty.h windres.h \
517   winduni.h
518 size.o: size.c ../bfd/bfd.h $(INCDIR)/ansidecl.h $(INCDIR)/symcat.h \
519   bucomm.h config.h $(INCDIR)/bin-bugs.h $(INCDIR)/fopen-same.h \
520   $(INCDIR)/libiberty.h
521 srconv.o: srconv.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
522   $(INCDIR)/symcat.h bucomm.h config.h $(INCDIR)/bin-bugs.h \
523   $(INCDIR)/fopen-same.h sysroff.h coffgrok.h $(INCDIR)/libiberty.h \
524   $(INCDIR)/coff/internal.h $(BFDDIR)/libcoff.h $(INCDIR)/bfdlink.h \
525   sysroff.c
526 stabs.o: stabs.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
527   $(INCDIR)/symcat.h bucomm.h config.h $(INCDIR)/bin-bugs.h \
528   $(INCDIR)/fopen-same.h $(INCDIR)/libiberty.h $(INCDIR)/safe-ctype.h \
529   $(INCDIR)/demangle.h debug.h budbg.h $(INCDIR)/filenames.h \
530   $(INCDIR)/aout/aout64.h $(INCDIR)/aout/stab_gnu.h $(INCDIR)/aout/stab.def
531 strings.o: strings.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
532   $(INCDIR)/symcat.h $(INCDIR)/getopt.h bucomm.h config.h \
533   $(INCDIR)/bin-bugs.h $(INCDIR)/fopen-same.h $(INCDIR)/libiberty.h \
534   $(INCDIR)/safe-ctype.h
535 sysdump.o: sysdump.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
536   $(INCDIR)/symcat.h bucomm.h config.h $(INCDIR)/bin-bugs.h \
537   $(INCDIR)/fopen-same.h $(INCDIR)/safe-ctype.h $(INCDIR)/libiberty.h \
538   sysroff.h sysroff.c
539 version.o: version.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
540   $(INCDIR)/symcat.h ../bfd/bfdver.h bucomm.h config.h \
541   $(INCDIR)/bin-bugs.h $(INCDIR)/fopen-same.h
542 windres.o: windres.c config.h ../bfd/bfd.h $(INCDIR)/ansidecl.h \
543   $(INCDIR)/symcat.h bucomm.h $(INCDIR)/bin-bugs.h $(INCDIR)/fopen-same.h \
544   $(INCDIR)/libiberty.h $(INCDIR)/safe-ctype.h $(INCDIR)/obstack.h \
545   windres.h winduni.h
546 winduni.o: winduni.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
547   $(INCDIR)/symcat.h bucomm.h config.h $(INCDIR)/bin-bugs.h \
548   $(INCDIR)/fopen-same.h winduni.h $(INCDIR)/safe-ctype.h
549 wrstabs.o: wrstabs.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
550   $(INCDIR)/symcat.h bucomm.h config.h $(INCDIR)/bin-bugs.h \
551   $(INCDIR)/fopen-same.h $(INCDIR)/libiberty.h $(INCDIR)/safe-ctype.h \
552   debug.h budbg.h $(INCDIR)/aout/aout64.h $(INCDIR)/aout/stab_gnu.h \
553   $(INCDIR)/aout/stab.def
554 arparse.o: arparse.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
555   $(INCDIR)/symcat.h bucomm.h config.h $(INCDIR)/bin-bugs.h \
556   $(INCDIR)/fopen-same.h arsup.h
557 arlex.o: arlex.c $(INCDIR)/ansidecl.h $(INCDIR)/libiberty.h \
558   arparse.h
559 sysroff.o: sysroff.c
560 sysinfo.o: sysinfo.c
561 syslex.o: syslex.c config.h sysinfo.h
562 defparse.o: defparse.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
563   $(INCDIR)/symcat.h bucomm.h config.h $(INCDIR)/bin-bugs.h \
564   $(INCDIR)/fopen-same.h dlltool.h
565 deflex.o: deflex.c $(INCDIR)/libiberty.h $(INCDIR)/ansidecl.h \
566   defparse.h dlltool.h
567 nlmheader.o: nlmheader.c $(INCDIR)/ansidecl.h $(INCDIR)/safe-ctype.h \
568   ../bfd/bfd.h $(INCDIR)/symcat.h bucomm.h config.h $(INCDIR)/bin-bugs.h \
569   $(INCDIR)/fopen-same.h $(INCDIR)/nlm/common.h $(INCDIR)/nlm/internal.h \
570   nlmconv.h
571 rcparse.o: rcparse.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
572   $(INCDIR)/symcat.h bucomm.h config.h $(INCDIR)/bin-bugs.h \
573   $(INCDIR)/fopen-same.h $(INCDIR)/libiberty.h windres.h \
574   winduni.h $(INCDIR)/safe-ctype.h
575 rclex.o: rclex.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
576   $(INCDIR)/symcat.h bucomm.h config.h $(INCDIR)/bin-bugs.h \
577   $(INCDIR)/fopen-same.h $(INCDIR)/libiberty.h $(INCDIR)/safe-ctype.h \
578   windres.h winduni.h rcparse.h
579 # IF YOU PUT ANYTHING HERE IT WILL GO AWAY