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