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