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