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