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