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