]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame - binutils/Makefile.am
Pass thumb-pe and arm-pe
[thirdparty/binutils-gdb.git] / binutils / Makefile.am
CommitLineData
d467c30d
ILT
1## Process this file with automake to generate Makefile.in
2
19ac4b08
TT
3## FIXME: Work around apparent bug in automake.
4INTLLIBS = @INTLLIBS@
5
ee09ab7f 6AUTOMAKE_OPTIONS = cygnus dejagnu
d467c30d 7
9d04d618
TT
8SUBDIRS = po
9
d467c30d
ILT
10tooldir = $(exec_prefix)/$(target_alias)
11
ee09ab7f
ILT
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.
d467c30d 15CC_FOR_BUILD = @CC_FOR_BUILD@
ee09ab7f 16EXEEXT_FOR_BUILD = @EXEEXT_FOR_BUILD@
d467c30d 17
105ba43f 18YACC = `if [ -f ../bison/bison ] ; then echo ../bison/bison -y -L$(srcdir)/../bison/ ; else echo bison -y ; fi`
d467c30d
ILT
19YFLAGS = -d
20LEX = `if [ -f ../flex/flex ] ; then echo ../flex/flex ; else echo flex ; fi`
21
22# these two are almost the same program
23AR_PROG=ar
24RANLIB_PROG=ranlib
25
26# objcopy and strip should be the same program
27OBJCOPY_PROG=objcopy
ac413020 28STRIP_PROG=strip-new
d467c30d
ILT
29
30STRINGS_PROG=strings
31
76466873
NC
32READELF_PROG=readelf
33
d467c30d
ILT
34# These should all be the same program too.
35SIZE_PROG=size
ac413020 36NM_PROG=nm-new
d467c30d
ILT
37OBJDUMP_PROG=objdump
38
39# This is the demangler, as a standalone program.
40# Note: This one is used as the installed name too, unlike the above.
41DEMANGLER_PROG=c++filt
42
43ADDR2LINE_PROG=addr2line
44
45NLMCONV_PROG=nlmconv
46DLLTOOL_PROG=dlltool
47WINDRES_PROG=windres
48
fdcf7943 49SRCONV_PROG=srconv$(EXEEXT) sysdump$(EXEEXT) coffdump$(EXEEXT)
d467c30d
ILT
50
51man_MANS = ar.1 nm.1 objdump.1 ranlib.1 size.1 strings.1 strip.1 objcopy.1 \
52 addr2line.1 nlmconv.1 $(DEMANGLER_PROG).1
53
76466873 54PROGS = $(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)
d467c30d 55
76466873 56bin_PROGRAMS = $(SIZE_PROG) $(OBJDUMP_PROG) $(AR_PROG) $(STRINGS_PROG) $(RANLIB_PROG) $(DEMANGLER_PROG) $(OBJCOPY_PROG) @BUILD_NLMCONV@ @BUILD_SRCONV@ @BUILD_DLLTOOL@ @BUILD_WINDRES@ $(ADDR2LINE_PROG) $(READELF_PROG)
d467c30d 57
ac413020 58## We need a special rule to install the programs which are built with -new
d467c30d
ILT
59noinst_PROGRAMS = $(NM_PROG) $(STRIP_PROG)
60
105ba43f
ILT
61EXTRA_PROGRAMS = $(NLMCONV_PROG) srconv sysdump coffdump $(DLLTOOL_PROG) \
62 $(WINDRES_PROG)
d467c30d
ILT
63
64# Stuff that goes in tooldir/ if appropriate
ac413020 65TOOL_PROGS = nm-new strip-new ar ranlib dlltool
d467c30d
ILT
66
67BASEDIR = $(srcdir)/..
68BFDDIR = $(BASEDIR)/bfd
69INCDIR = $(BASEDIR)/include
70
71DEP = mkdep
72
19ac4b08 73INCLUDES = -D_GNU_SOURCE -I. -I$(srcdir) -I../bfd -I$(BFDDIR) -I$(INCDIR) @HDEFINES@ -I$(srcdir)/../intl -I../intl -DLOCALEDIR="\"$(prefix)/share/locale\""
d467c30d
ILT
74
75HFILES = arsup.h bucomm.h budbg.h coffgrok.h debug.h nlmconv.h dlltool.h \
76466873 76 windres.h readelf.h
d467c30d
ILT
77
78GENERATED_HFILES = arparse.h sysroff.h sysinfo.h defparse.h
79
80CFILES = addr2line.c ar.c arsup.c bucomm.c coffdump.c coffgrok.c debug.c \
81 dlltool.c filemode.c ieee.c is-ranlib.c is-strip.c maybe-ranlib.c \
82 maybe-strip.c nlmconv.c nm.c not-ranlib.c not-strip.c \
83 objcopy.c objdump.c prdbg.c rdcoff.c rddbg.c size.c srconv.c \
84 stabs.c strings.c sysdump.c version.c wrstabs.c \
76466873 85 windres.c resrc.c rescoff.c resbin.c readelf.c
d467c30d
ILT
86
87GENERATED_CFILES = \
88 underscore.c arparse.c arlex.c sysroff.c sysinfo.c syslex.c \
89 defparse.c deflex.c nlmheader.c rcparse.c rclex.c
90
91DEBUG_SRCS = rddbg.c debug.c stabs.c ieee.c rdcoff.c
92WRITE_DEBUG_SRCS = $(DEBUG_SRCS) wrstabs.c
93
94# Code shared by all the binutils.
95BULIBS = bucomm.c version.c filemode.c
96
97BFDLIB = ../bfd/libbfd.la
98
99OPCODES = ../opcodes/libopcodes.la
100
101LIBIBERTY = ../libiberty/libiberty.a
102
9d04d618
TT
103POTFILES = $(CFILES) $(DEBUG_SRCS) $(HFILES)
104po/POTFILES.in: @MAINT@ Makefile
105 for file in $(POTFILES); do echo $$file; done | sort > tmp \
106 && mv tmp $(srcdir)/po/POTFILES.in
107
d467c30d
ILT
108EXPECT = `if [ -f $$r/../expect/expect ] ; then \
109 echo $$r/../expect/expect ; \
110 else echo expect ; fi`
111RUNTEST = `if [ -f ${srcdir}/../dejagnu/runtest ] ; then \
112 echo ${srcdir}/../dejagnu/runtest ; \
113 else echo runtest ; fi`
114
115CC_FOR_TARGET = ` \
116 if [ -f $$r/../gcc/xgcc ] ; then \
117 if [ -f $$r/../newlib/Makefile ] ; then \
118 echo $$r/../gcc/xgcc -B$$r/../gcc/ -idirafter $$r/../newlib/targ-include -idirafter $${srcroot}/../newlib/libc/include -nostdinc; \
119 else \
120 echo $$r/../gcc/xgcc -B$$r/../gcc/; \
121 fi; \
122 else \
123 if [ "@host@" = "@target@" ] ; then \
124 echo $(CC); \
125 else \
ee09ab7f 126 echo gcc | sed '$(transform)'; \
d467c30d
ILT
127 fi; \
128 fi`
129
130check-DEJAGNU: site.exp
131 srcdir=`cd $(srcdir) && pwd`; export srcdir; \
0e1a8af1 132 r=`pwd`; export r; \
d467c30d
ILT
133 EXPECT=$(EXPECT); export EXPECT; \
134 if [ -f $(top_builddir)/../expect/expect ]; then \
135 TCL_LIBRARY=`cd $(top_srcdir)/../tcl/library && pwd`; \
136 export TCL_LIBRARY; \
137 fi; \
138 runtest=$(RUNTEST); \
139 if $(SHELL) -c "$$runtest --version" > /dev/null 2>&1; then \
140 $$runtest --tool $(DEJATOOL) --srcdir $${srcdir}/testsuite \
141 CC_FOR_TARGET="$(CC_FOR_TARGET)" \
142 CFLAGS_FOR_TARGET="$(CFLAGS)" $(RUNTESTFLAGS); \
143 else echo "WARNING: could not find \`runtest'" 1>&2; :;\
144 fi
145
146installcheck:
147 /bin/sh $(srcdir)/sanity.sh $(bindir)
148
149info_TEXINFOS = binutils.texi
150
9d04d618 151LDADD = $(BFDLIB) $(LIBIBERTY) $(INTLLIBS)
d467c30d
ILT
152
153size_SOURCES = size.c $(BULIBS)
154
155objcopy_SOURCES = objcopy.c not-strip.c $(WRITE_DEBUG_SRCS) $(BULIBS)
156
157strings_SOURCES = strings.c $(BULIBS)
158
76466873 159readelf_SOURCES = readelf.c version.c
2d938678 160readelf_LDADD = $(INTLLIBS) $(LIBIBERTY)
76466873 161
d467c30d
ILT
162strip_new_SOURCES = objcopy.c is-strip.c $(WRITE_DEBUG_SRCS) $(BULIBS)
163
164nm_new_SOURCES = nm.c $(BULIBS)
165
166objdump_SOURCES = objdump.c prdbg.c $(DEBUG_SRCS) $(BULIBS)
9d04d618 167objdump_LDADD = $(OPCODES) $(BFDLIB) $(LIBIBERTY) $(INTLLIBS)
d467c30d
ILT
168
169underscore.c: stamp-under ; @true
170
171stamp-under: Makefile
172 echo '/*WARNING: This file is automatically generated!*/' >underscore.t
173 echo "int prepends_underscore = @UNDERSCORE@;" >>underscore.t
174 $(SHELL) $(srcdir)/../move-if-change underscore.t underscore.c
175 touch stamp-under
176
d467c30d
ILT
177cplus-dem.o: $(BASEDIR)/libiberty/cplus-dem.c $(INCDIR)/getopt.h
178 $(COMPILE) -c -DMAIN -DVERSION='"$(VERSION)"' $(BASEDIR)/libiberty/cplus-dem.c
179
180c__filt_SOURCES =
9d04d618 181c__filt_LDADD = cplus-dem.o underscore.o $(LIBIBERTY) $(INTLLIBS)
d467c30d
ILT
182
183ar_SOURCES = arparse.y arlex.l ar.c not-ranlib.c arsup.c $(BULIBS)
9d04d618 184ar_LDADD = $(BFDLIB) $(LIBIBERTY) @LEXLIB@ $(INTLLIBS)
d467c30d
ILT
185
186ranlib_SOURCES = ar.c is-ranlib.c arparse.y arlex.l arsup.c $(BULIBS)
9d04d618 187ranlib_LDADD = $(BFDLIB) $(LIBIBERTY) @LEXLIB@ $(INTLLIBS)
d467c30d
ILT
188
189addr2line_SOURCES = addr2line.c $(BULIBS)
190
191# The following is commented out for the convertion to automake.
192# This rule creates a single binary that switches between ar and ranlib
193# by looking at argv[0]. Use this kludge to save some disk space.
194# However, you have to install things by hand.
195# (That is after 'make install', replace the installed ranlib by a link to ar.)
196# Alternatively, you can install ranlib.sh as ranlib.
197# ar_with_ranlib: $(ADDL_DEPS) ar.o maybe-ranlib.o
198# $(HLDENV) $(CC) $(HLDFLAGS) $(CFLAGS) $(LDFLAGS) -o $(AR_PROG) ar.o maybe-ranlib.o $(ADDL_LIBS) $(EXTRALIBS)
199# -rm -f $(RANLIB_PROG)
200# -ln $(AR_PROG) $(RANLIB_PROG)
201#
202# objcopy and strip in one binary that uses argv[0] to decide its action.
203#
204#objcopy_with_strip: $(ADDL_DEPS) objcopy.o maybe-strip.o
205# $(HLDENV) $(CC) $(HLDFLAGS) $(CFLAGS) $(LDFLAGS) -o $(OBJCOPY_PROG) objcopy.o maybe-strip.o $(ADDL_LIBS) $(EXTRALIBS)
206# -rm -f $(STRIP_PROG)
207# -ln $(OBJCOPY_PROG) $(STRIP_PROG)
208
ee09ab7f
ILT
209sysroff.c: sysinfo$(EXEEXT_FOR_BUILD) sysroff.info
210 ./sysinfo$(EXEEXT_FOR_BUILD) -c <$(srcdir)/sysroff.info >sysroff.c
211 ./sysinfo$(EXEEXT_FOR_BUILD) -i <$(srcdir)/sysroff.info >>sysroff.c
212 ./sysinfo$(EXEEXT_FOR_BUILD) -g <$(srcdir)/sysroff.info >>sysroff.c
d467c30d 213
ee09ab7f
ILT
214sysroff.h: sysinfo$(EXEEXT_FOR_BUILD) sysroff.info
215 ./sysinfo$(EXEEXT_FOR_BUILD) -d <$(srcdir)/sysroff.info >sysroff.h
d467c30d 216
ee09ab7f 217sysinfo$(EXEEXT_FOR_BUILD): sysinfo.o syslex.o
d467c30d
ILT
218 $(CC_FOR_BUILD) $(CFLAGS) $(LDFLAGS) -o $@ sysinfo.o syslex.o
219
220syslex.o: syslex.c sysinfo.h
221 if [ -r syslex.c ]; then \
222 $(CC_FOR_BUILD) -c -I. $(CFLAGS) syslex.c ; \
223 else \
224 $(CC_FOR_BUILD) -c -I. -I$(srcdir) $(CFLAGS) $(srcdir)/syslex.c ;\
225 fi
226
227sysinfo.o: sysinfo.c
228 if [ -r sysinfo.c ]; then \
229 $(CC_FOR_BUILD) -c -I. $(CFLAGS) sysinfo.c ; \
230 else \
231 $(CC_FOR_BUILD) -c -I. $(CFLAGS) $(srcdir)/sysinfo.c ; \
232 fi
233
234srconv_SOURCES = srconv.c coffgrok.c $(BULIBS)
235
236dlltool_SOURCES = dlltool.c defparse.y deflex.l $(BULIBS)
9d04d618 237dlltool_LDADD = $(BFDLIB) $(LIBIBERTY) @LEXLIB@ $(INTLLIBS)
d467c30d
ILT
238
239dlltool.o:dlltool.c
240 $(COMPILE) -c $(DLLTOOL_DEFS) $(srcdir)/dlltool.c
241
242coffdump_SOURCES = coffdump.c coffgrok.c $(BULIBS)
243
244sysdump_SOURCES = sysdump.c $(BULIBS)
245
246# coff/sym.h and coff/ecoff.h won't be found by the automatic dependency
247# scripts, since they are only included conditionally.
248nlmconv.o: nlmconv.c $(INCDIR)/coff/sym.h $(INCDIR)/coff/ecoff.h
ee09ab7f 249 ldname=`echo ld | sed '$(transform)'`; \
d467c30d
ILT
250 $(COMPILE) -c -DLD_NAME="\"$${ldname}\"" @NLMCONV_DEFS@ $(srcdir)/nlmconv.c
251
252nlmconv_SOURCES = nlmconv.c nlmheader.y $(BULIBS)
253
e5b3abe4
ILT
254windres_SOURCES = windres.c resrc.c rescoff.c resbin.c rcparse.y rclex.l \
255 $(BULIBS)
9d04d618 256windres_LDADD = $(BFDLIB) $(LIBIBERTY) @LEXLIB@ $(INTLLIBS)
d467c30d 257
ee09ab7f 258DISTSTUFF = arparse.c arparse.h arlex.c nlmheader.c sysinfo.c sysinfo.h \
9d04d618
TT
259 syslex.c deflex.c defparse.h defparse.c rclex.c rcparse.h rcparse.c
260
ee09ab7f
ILT
261diststuff: $(DISTSTUFF) info
262
5327f59f
ILT
263DISTCLEANFILES = stamp-under sysinfo underscore.c sysroff.c sysroff.h \
264 site.exp site.bak
ee09ab7f 265
d467c30d
ILT
266# Targets to rebuild dependencies in this Makefile.
267# Have to get rid of .dep1 here so that "$?" later includes all of $(CFILES).
268.dep: dep.sed $(CFILES) $(HFILES) $(GENERATED_CFILES) $(GENERATED_HFILES) config.h
269 rm -f .dep1
270 $(MAKE) DEP=$(DEP) .dep1
271 sed -f dep.sed <.dep1 >.dep
272
273# This rule really wants a mkdep that runs "gcc -MM".
274.dep1: $(CFILES) $(GENERATED_CFILES)
275 rm -f .dep2
276 echo '# DO NOT DELETE THIS LINE -- mkdep uses it.' > .dep2
0e1a8af1 277 $(DEP) -f .dep2 $(INCLUDES) $?
d467c30d
ILT
278 $(SHELL) $(srcdir)/../move-if-change .dep2 .dep1
279
280dep.sed: dep-in.sed config.status
5327f59f 281 objdir=`pwd`; \
d467c30d
ILT
282 sed <$(srcdir)/dep-in.sed >dep.sed \
283 -e 's!@INCDIR@!$(INCDIR)!' \
284 -e 's!@BFDDIR@!$(BFDDIR)!' \
5327f59f
ILT
285 -e 's!@SRCDIR@!$(srcdir)!' \
286 -e "s!@OBJDIR@!$${objdir}!"
d467c30d
ILT
287
288dep: .dep
289 sed -e '/^..DO NOT DELETE THIS LINE/,$$d' < Makefile > tmp-Makefile
290 cat .dep >> tmp-Makefile
291 $(SHELL) $(srcdir)/../move-if-change tmp-Makefile Makefile
292
293dep-in: .dep
294 sed -e '/^..DO NOT DELETE THIS LINE/,$$d' < $(srcdir)/Makefile.in > tmp-Makefile.in
295 cat .dep >> tmp-Makefile.in
296 $(SHELL) $(srcdir)/../move-if-change tmp-Makefile.in $(srcdir)/Makefile.in
297
298dep-am: .dep
299 sed -e '/^..DO NOT DELETE THIS LINE/,$$d' < $(srcdir)/Makefile.am > tmp-Makefile.am
300 cat .dep >> tmp-Makefile.am
301 $(SHELL) $(srcdir)/../move-if-change tmp-Makefile.am $(srcdir)/Makefile.am
302
303.PHONY: dep dep-in dep-am
304
305###
306# DOCUMENTATION TARGETS
307config.texi: Makefile
308 rm -f config.texi
309 echo '@set VERSION $(VERSION)' > config.texi
310
311binutils.dvi: $(srcdir)/binutils.texi config.texi
312
313binutils.info: $(srcdir)/binutils.texi config.texi
314
315$(DEMANGLER_PROG).1: cxxfilt.man Makefile
316 sed -e 's/@PROGRAM@/$(DEMANGLER_PROG)/' < $(srcdir)/cxxfilt.man \
317 > $(DEMANGLER_PROG).1
318
5327f59f
ILT
319MOSTLYCLEANFILES = sysinfo $(DEMANGLER_PROG).1 binutils.log binutils.sum \
320 abcdefgh*
321mostlyclean-local:
322 -rm -rf tmpdir
3e22b900 323
d467c30d
ILT
324CLEANFILES = dep.sed .dep .dep1
325
326.PHONY: install-exec-local
327
328install-exec-local: $(bin_PROGRAMS) $(noinst_PROGRAMS)
329 @list='$(noinst_PROGRAMS)'; for p in $$list; do \
330 if test -f $$p; then \
2d938678
ILT
331 echo " $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) $$p $(bindir)/`echo $$p|sed -e 's/$(EXEEXT)$$//' -e 's/-new//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`"; \
332 $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) $$p $(bindir)/`echo $$p|sed -e 's/$(EXEEXT)$$//' -e 's/-new//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`; \
d467c30d
ILT
333 else :; fi; \
334 done
7ab51306 335 $(mkinstalldirs) $(tooldir)/bin
d467c30d 336 for i in $(TOOL_PROGS); do \
ac413020
ILT
337 if [ -f $$i$(EXEEXT) ]; then \
338 j=`echo $$i | sed -e 's/-new//'`; \
bf2a3cb1 339 rm -f $(tooldir)/bin/$$j$(EXEEXT); \
d467c30d 340 k=`echo $$j | sed '$(transform)'`; \
ee09ab7f
ILT
341 if [ "$(bindir)/$$k$(EXEEXT)" != "$(tooldir)/bin/$$j$(EXEEXT)" ]; then \
342 ln $(bindir)/$$k$(EXEEXT) $(tooldir)/bin/$$j$(EXEEXT) >/dev/null 2>/dev/null \
343 || $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) $$i$(EXEEXT) $(tooldir)/bin/$$j$(EXEEXT); \
344 fi; \
d467c30d
ILT
345 else true; \
346 fi; \
347 done
348
349# What appears below is generated by a hacked mkdep using gcc -MM.
350
351# DO NOT DELETE THIS LINE -- mkdep uses it.
352# DO NOT PUT ANYTHING AFTER THIS LINE, IT WILL GO AWAY.
353
354addr2line.o: addr2line.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
355 $(INCDIR)/getopt.h $(INCDIR)/libiberty.h $(INCDIR)/demangle.h \
356 bucomm.h config.h $(INCDIR)/fopen-same.h
357ar.o: ar.c ../bfd/bfd.h $(INCDIR)/ansidecl.h $(INCDIR)/libiberty.h \
358 $(INCDIR)/progress.h bucomm.h config.h $(INCDIR)/fopen-same.h \
359 $(INCDIR)/aout/ar.h $(BFDDIR)/libbfd.h arsup.h
360arsup.o: arsup.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
361 arsup.h $(INCDIR)/libiberty.h bucomm.h config.h $(INCDIR)/fopen-same.h
362bucomm.o: bucomm.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
363 $(INCDIR)/libiberty.h bucomm.h config.h $(INCDIR)/fopen-same.h
364coffdump.o: coffdump.c coffgrok.h bucomm.h config.h \
365 $(INCDIR)/fopen-same.h
366coffgrok.o: coffgrok.c bucomm.h config.h $(INCDIR)/fopen-same.h \
367 $(INCDIR)/coff/internal.h $(BFDDIR)/libcoff.h $(INCDIR)/bfdlink.h \
368 coffgrok.h
369debug.o: debug.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
370 bucomm.h config.h $(INCDIR)/fopen-same.h $(INCDIR)/libiberty.h \
371 debug.h
372dlltool.o: dlltool.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
373 $(INCDIR)/libiberty.h bucomm.h config.h $(INCDIR)/fopen-same.h \
374 $(INCDIR)/getopt.h $(INCDIR)/demangle.h dlltool.h
375filemode.o: filemode.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
376 bucomm.h config.h $(INCDIR)/fopen-same.h
377ieee.o: ieee.c ../bfd/bfd.h $(INCDIR)/ansidecl.h $(INCDIR)/ieee.h \
378 bucomm.h config.h $(INCDIR)/fopen-same.h $(INCDIR)/libiberty.h \
379 debug.h budbg.h
380is-ranlib.o: is-ranlib.c
381is-strip.o: is-strip.c
382maybe-ranlib.o: maybe-ranlib.c
383maybe-strip.o: maybe-strip.c
384nlmconv.o: nlmconv.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
385 $(INCDIR)/libiberty.h bucomm.h config.h $(INCDIR)/fopen-same.h \
386 $(BFDDIR)/libnlm.h $(INCDIR)/nlm/common.h $(INCDIR)/nlm/internal.h \
387 $(INCDIR)/nlm/external.h nlmconv.h
388nm.o: nm.c ../bfd/bfd.h $(INCDIR)/ansidecl.h $(INCDIR)/progress.h \
389 bucomm.h config.h $(INCDIR)/fopen-same.h $(INCDIR)/getopt.h \
390 $(INCDIR)/aout/stab_gnu.h $(INCDIR)/aout/stab.def $(INCDIR)/aout/ranlib.h \
391 $(INCDIR)/demangle.h $(INCDIR)/libiberty.h
392not-ranlib.o: not-ranlib.c
393not-strip.o: not-strip.c
394objcopy.o: objcopy.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
395 $(INCDIR)/progress.h bucomm.h config.h $(INCDIR)/fopen-same.h \
396 $(INCDIR)/getopt.h $(INCDIR)/libiberty.h budbg.h
397objdump.o: objdump.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
398 $(INCDIR)/getopt.h $(INCDIR)/progress.h bucomm.h config.h \
399 $(INCDIR)/fopen-same.h $(INCDIR)/dis-asm.h $(INCDIR)/libiberty.h \
400 $(INCDIR)/demangle.h debug.h budbg.h $(INCDIR)/aout/aout64.h
401prdbg.o: prdbg.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
402 bucomm.h config.h $(INCDIR)/fopen-same.h $(INCDIR)/libiberty.h \
403 debug.h budbg.h
404rdcoff.o: rdcoff.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
405 $(INCDIR)/coff/internal.h bucomm.h config.h $(INCDIR)/fopen-same.h \
406 $(INCDIR)/libiberty.h $(INCDIR)/demangle.h debug.h \
407 budbg.h $(BFDDIR)/libcoff.h $(INCDIR)/bfdlink.h
408rddbg.o: rddbg.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
409 bucomm.h config.h $(INCDIR)/fopen-same.h $(INCDIR)/libiberty.h \
410 debug.h budbg.h
411size.o: size.c ../bfd/bfd.h $(INCDIR)/ansidecl.h $(INCDIR)/getopt.h \
412 bucomm.h config.h $(INCDIR)/fopen-same.h $(INCDIR)/libiberty.h
413srconv.o: srconv.c bucomm.h config.h $(INCDIR)/fopen-same.h \
414 sysroff.h coffgrok.h $(INCDIR)/coff/internal.h $(BFDDIR)/libcoff.h \
415 $(INCDIR)/bfdlink.h sysroff.c
416stabs.o: stabs.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
417 bucomm.h config.h $(INCDIR)/fopen-same.h $(INCDIR)/libiberty.h \
418 $(INCDIR)/demangle.h debug.h budbg.h $(INCDIR)/aout/aout64.h \
419 $(INCDIR)/aout/stab_gnu.h $(INCDIR)/aout/stab.def
420strings.o: strings.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
421 bucomm.h config.h $(INCDIR)/fopen-same.h $(INCDIR)/libiberty.h
422sysdump.o: sysdump.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
423 bucomm.h config.h $(INCDIR)/fopen-same.h sysroff.h \
424 sysroff.c
425version.o: version.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
426 bucomm.h config.h $(INCDIR)/fopen-same.h
427wrstabs.o: wrstabs.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
428 bucomm.h config.h $(INCDIR)/fopen-same.h $(INCDIR)/libiberty.h \
429 debug.h budbg.h $(INCDIR)/aout/aout64.h $(INCDIR)/aout/stab_gnu.h \
430 $(INCDIR)/aout/stab.def
431windres.o: windres.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
432 $(INCDIR)/getopt.h bucomm.h config.h $(INCDIR)/fopen-same.h \
433 $(INCDIR)/libiberty.h $(INCDIR)/obstack.h windres.h
434resrc.o: resrc.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
435 bucomm.h config.h $(INCDIR)/fopen-same.h $(INCDIR)/libiberty.h \
436 windres.h
437rescoff.o: rescoff.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
438 bucomm.h config.h $(INCDIR)/fopen-same.h $(INCDIR)/libiberty.h \
439 windres.h $(INCDIR)/coff/internal.h $(BFDDIR)/libcoff.h \
440 $(INCDIR)/bfdlink.h
441resbin.o: resbin.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
442 bucomm.h config.h $(INCDIR)/fopen-same.h $(INCDIR)/libiberty.h \
443 windres.h
d8332b2c
ILT
444readelf.o: readelf.c readelf.h ../bfd/bfd.h $(INCDIR)/ansidecl.h \
445 $(INCDIR)/elf/common.h $(INCDIR)/elf/ppc.h $(INCDIR)/elf/m32r.h \
446 $(INCDIR)/elf/mips.h bucomm.h config.h $(INCDIR)/fopen-same.h \
447 $(INCDIR)/getopt.h
d467c30d
ILT
448underscore.o: underscore.c
449arparse.o: arparse.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
450 bucomm.h config.h $(INCDIR)/fopen-same.h arsup.h
451arlex.o: arlex.c $(INCDIR)/libiberty.h arparse.h
452sysroff.o: sysroff.c
453sysinfo.o: sysinfo.c
454syslex.o: syslex.c sysinfo.h
455defparse.o: defparse.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
456 bucomm.h config.h $(INCDIR)/fopen-same.h dlltool.h
457deflex.o: deflex.c $(INCDIR)/libiberty.h $(INCDIR)/ansidecl.h \
458 defparse.h dlltool.h
459nlmheader.o: nlmheader.c ../bfd/bfd.h bucomm.h config.h \
460 $(INCDIR)/fopen-same.h $(INCDIR)/nlm/common.h $(INCDIR)/nlm/internal.h \
461 nlmconv.h
462rcparse.o: rcparse.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
463 bucomm.h config.h $(INCDIR)/fopen-same.h $(INCDIR)/libiberty.h \
464 windres.h
465rclex.o: rclex.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
466 bucomm.h config.h $(INCDIR)/fopen-same.h $(INCDIR)/libiberty.h \
467 windres.h rcparse.h
468
469# IF YOU PUT ANYTHING HERE IT WILL GO AWAY