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