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