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