1# $MirOS: src/gnu/usr.bin/binutils/binutils/Makefile.am,v 1.6 2006/06/16 23:19:57 tg Exp $
2
3## Process this file with automake to generate Makefile.in
4
5AUTOMAKE_OPTIONS = cygnus dejagnu
6
7SUBDIRS = doc
8
9tooldir = $(exec_prefix)/$(target_alias)
10
11## These aren't set by automake, because they appear in
12## bfd/acinclude.m4, which is included by binutils/acinclude.m4, and
13## thus is not seen by automake.
14CC_FOR_BUILD = @CC_FOR_BUILD@
15EXEEXT_FOR_BUILD = @EXEEXT_FOR_BUILD@
16
17YACC = `if [ -f ../bison/bison ]; then echo ../bison/bison -y -L$(srcdir)/../bison/; else echo @YACC@; fi`
18YFLAGS = -d
19LEX = `if [ -f ../flex/flex ]; then echo ../flex/flex; else echo @LEX@; fi`
20
21WARN_CFLAGS = @WARN_CFLAGS@
22NO_WERROR = @NO_WERROR@
23AM_CFLAGS = $(WARN_CFLAGS)
24
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.
44DEMANGLER_PROG=cxxfilt
45
46ADDR2LINE_PROG=addr2line
47
48NLMCONV_PROG=nlmconv
49DLLTOOL_PROG=dlltool
50WINDRES_PROG=windres
51DLLWRAP_PROG=dllwrap
52
53SRCONV_PROG=srconv$(EXEEXT) sysdump$(EXEEXT) coffdump$(EXEEXT)
54
55PROGS = $(SIZE_PROG) $(OBJDUMP_PROG) $(NM_PROG) $(AR_PROG) $(STRINGS_PROG) $(DEMANGLER_PROG) $(OBJCOPY_PROG) @BUILD_NLMCONV@ @BUILD_SRCONV@ @BUILD_DLLTOOL@ @BUILD_WINDRES@ $(ADDR2LINE_PROG) $(READELF_PROG) @BUILD_DLLWRAP@ @BUILD_MISC@
56
57bin_PROGRAMS = $(SIZE_PROG) $(OBJDUMP_PROG) $(AR_PROG) $(STRINGS_PROG) $(OBJCOPY_PROG) @BUILD_NLMCONV@ @BUILD_SRCONV@ @BUILD_DLLTOOL@ @BUILD_WINDRES@ $(ADDR2LINE_PROG) $(READELF_PROG) @BUILD_DLLWRAP@ @BUILD_MISC@
58
59## We need a special rule to install the programs which are built with
60## -new, and to rename cxxfilt to c++filt.
61noinst_PROGRAMS = $(NM_PROG) $(DEMANGLER_PROG)
62
63EXTRA_PROGRAMS = $(NLMCONV_PROG) srconv sysdump coffdump $(DLLTOOL_PROG) $(WINDRES_PROG) $(DLLWRAP_PROG)
64
65# Stuff that goes in tooldir/ if appropriate.
66TOOL_PROGS = nm-new ar dlltool objdump
67
68BASEDIR = $(srcdir)/..
69BFDDIR = $(BASEDIR)/bfd
70INCDIR	= $(LIBIBERTY_HDRS)
71
72MKDEP = gcc -MM
73
74INCLUDES = -D_GNU_SOURCE \
75	 -I. -I$(srcdir) -I../bfd -I$(BFDDIR) -I$(INCDIR) \
76	 @HDEFINES@ \
77	 -Dbin_dummy_emulation=$(EMULATION_VECTOR)
78
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
83
84GENERATED_HFILES = arparse.h sysroff.h sysinfo.h defparse.h rcparse.h
85
86CFILES = \
87	addr2line.c ar.c arsup.c binemul.c bucomm.c budemang.c \
88	coffdump.c coffgrok.c cxxfilt.c debug.c dlltool.c dllwrap.c \
89	emul_aix.c emul_vanilla.c filemode.c \
90	ieee.c is-ranlib.c is-strip.c maybe-ranlib.c maybe-strip.c \
91	nlmconv.c nm.c \
92	objcopy.c objdump.c prdbg.c \
93	rdcoff.c rddbg.c readelf.c rename.c \
94	resbin.c rescoff.c resrc.c resres.c \
95	size.c srconv.c stabs.c strings.c sysdump.c version.c \
96	windres.c winduni.c wrstabs.c
97
98GENERATED_CFILES = \
99	arparse.c arlex.c sysroff.c sysinfo.c syslex.c \
100	defparse.c deflex.c nlmheader.c rcparse.c rclex.c
101
102DEBUG_SRCS = rddbg.c debug.c stabs.c ieee.c rdcoff.c
103WRITE_DEBUG_SRCS = $(DEBUG_SRCS) wrstabs.c
104
105# Code shared by all the binutils.
106BULIBS = bucomm.c version.c filemode.c
107
108BFDLIB = ../bfd/libbfd.la
109
110OPCODES = ../opcodes/libopcodes.la
111
112LIBIBERTY = -liberty
113
114CC_FOR_TARGET = ` \
115  if [ -f $$r/../gcc/xgcc ] ; then \
116    if [ -f $$r/../newlib/Makefile ] ; then \
117      echo $$r/../gcc/xgcc -B$$r/../gcc/ -idirafter $$r/../newlib/targ-include -idirafter $${srcroot}/../newlib/libc/include -nostdinc; \
118    else \
119      echo $$r/../gcc/xgcc -B$$r/../gcc/; \
120    fi; \
121  else \
122    if [ "@host@" = "@target@" ] ; then \
123      echo $(CC); \
124    else \
125      echo gcc | sed '$(transform)'; \
126    fi; \
127  fi`
128
129LDADD = $(BFDLIB) $(LIBIBERTY)
130
131size_SOURCES = size.c $(BULIBS)
132
133objcopy_SOURCES = objcopy.c maybe-strip.c rename.c $(WRITE_DEBUG_SRCS) $(BULIBS)
134
135strings_SOURCES = strings.c $(BULIBS)
136
137readelf_SOURCES = readelf.c version.c unwind-ia64.c
138readelf_LDADD   = $(LIBIBERTY)
139
140nm_new_SOURCES = nm.c budemang.c $(BULIBS)
141
142objdump_SOURCES = objdump.c budemang.c prdbg.c $(DEBUG_SRCS) $(BULIBS)
143objdump_LDADD = $(OPCODES) $(BFDLIB) $(LIBIBERTY)
144
145objdump.o:objdump.c
146	$(COMPILE) -c $(OBJDUMP_DEFS) $(srcdir)/objdump.c
147
148cxxfilt_SOURCES = cxxfilt.c $(BULIBS)
149
150ar_SOURCES = arparse.y arlex.l ar.c maybe-ranlib.c arsup.c rename.c binemul.c \
151	emul_$(EMULATION).c $(BULIBS)
152ar_LDADD = $(BFDLIB) $(LIBIBERTY) @LEXLIB@
153
154addr2line_SOURCES = addr2line.c budemang.c $(BULIBS)
155
156sysroff.c: sysinfo$(EXEEXT_FOR_BUILD) sysroff.info
157	./sysinfo$(EXEEXT_FOR_BUILD) -c <$(srcdir)/sysroff.info >sysroff.c
158	./sysinfo$(EXEEXT_FOR_BUILD) -i <$(srcdir)/sysroff.info >>sysroff.c
159	./sysinfo$(EXEEXT_FOR_BUILD) -g <$(srcdir)/sysroff.info >>sysroff.c
160
161sysroff.h: sysinfo$(EXEEXT_FOR_BUILD) sysroff.info
162	./sysinfo$(EXEEXT_FOR_BUILD) -d <$(srcdir)/sysroff.info >sysroff.h
163
164sysinfo$(EXEEXT_FOR_BUILD): sysinfo.o syslex.o
165	$(CC_FOR_BUILD) $(HOSTCFLAGS) $(HOSTLDFLAGS) -o $@ sysinfo.o syslex.o
166
167syslex.o:
168	if [ -r syslex.c ]; then \
169	  $(CC_FOR_BUILD) -c -I. $(AM_CFLAGS) $(HOSTCFLAGS) syslex.c -Wno-error ; \
170	else \
171	  $(CC_FOR_BUILD) -c -I. -I$(srcdir) $(AM_CFLAGS) $(HOSTCFLAGS) $(srcdir)/syslex.c -Wno-error ;\
172	fi
173
174sysinfo.o:
175	if [ -r sysinfo.c ]; then \
176	  $(CC_FOR_BUILD) -c -I. $(AM_CFLAGS) $(HOSTCFLAGS) sysinfo.c -Wno-error ; \
177	else \
178	  $(CC_FOR_BUILD) -c -I. $(AM_CFLAGS) $(HOSTCFLAGS) $(srcdir)/sysinfo.c -Wno-error ; \
179	fi
180
181# We need these for parallel make.
182arparse.h: arparse.c
183defparse.h: defparse.c
184nlmheader.h: nlmheader.c
185rcparse.h: rcparse.c
186sysinfo.h: sysinfo.c
187
188# Disable -Werror, if it has been enabled, since old versions of bison/
189# yacc will produce working code which contain compile time warnings.
190arparse.o:
191	$(COMPILE) -c $< $(NO_WERROR)
192arlex.o:
193	$(COMPILE) -c $< $(NO_WERROR)
194sysroff.o:
195	$(COMPILE) -c $< $(NO_WERROR)
196defparse.o:
197	$(COMPILE) -c $< $(NO_WERROR)
198deflex.o:
199	$(COMPILE) -c $< $(NO_WERROR)
200nlmheader.o:
201	$(COMPILE) -c $< $(NO_WERROR)
202rcparse.o:
203	$(COMPILE) -c $< $(NO_WERROR)
204rclex.o:
205	$(COMPILE) -c $< $(NO_WERROR)
206
207srconv_SOURCES = srconv.c coffgrok.c $(BULIBS)
208
209dlltool_SOURCES = dlltool.c defparse.y deflex.l $(BULIBS)
210dlltool_LDADD = $(BFDLIB) $(LIBIBERTY) @LEXLIB@
211
212dlltool.o:
213	$(COMPILE) -c $(DLLTOOL_DEFS) $(srcdir)/dlltool.c
214
215rescoff.o:
216	$(COMPILE) -c $(DLLTOOL_DEFS) $(srcdir)/rescoff.c
217
218coffdump_SOURCES = coffdump.c coffgrok.c $(BULIBS)
219
220sysdump_SOURCES = sysdump.c $(BULIBS)
221
222# coff/sym.h and coff/ecoff.h won't be found by the automatic dependency
223# scripts, since they are only included conditionally.
224nlmconv.o: nlmconv.c $(INCDIR)/coff/sym.h $(INCDIR)/coff/ecoff.h
225	ldname=`echo ld | sed '$(transform)'`; \
226	$(COMPILE) -c -DLD_NAME="\"$${ldname}\"" @NLMCONV_DEFS@ $(srcdir)/nlmconv.c
227
228nlmconv_SOURCES = nlmconv.c nlmheader.y $(BULIBS)
229
230windres_SOURCES = windres.c resrc.c rescoff.c resbin.c rcparse.y rclex.l \
231	winduni.c resres.c $(BULIBS)
232windres_LDADD = $(BFDLIB) $(LIBIBERTY) @LEXLIB@
233
234dllwrap_SOURCES = dllwrap.c version.c
235dllwrap_LDADD = $(LIBIBERTY)
236
237
238EXTRA_DIST = arparse.c arparse.h arlex.c nlmheader.c sysinfo.c sysinfo.h \
239	syslex.c deflex.c defparse.h defparse.c rclex.c rcparse.h rcparse.c
240
241diststuff: $(EXTRA_DIST) info
242all: info
243
244DISTCLEANFILES = sysinfo sysroff.c sysroff.h \
245	site.exp site.bak
246
247Makefile: $(BFDDIR)/configure.in
248
249# Targets to rebuild dependencies in this Makefile.
250# Have to get rid of DEP1 here so that "$?" later includes all of $(CFILES).
251DEP: dep.sed $(CFILES) $(HFILES) $(GENERATED_CFILES) $(GENERATED_HFILES) config.h
252	rm -f DEP1
253	$(MAKE) MKDEP="$(MKDEP)" DEP1
254	sed -f dep.sed < DEP1 > DEPA
255	echo '# IF YOU PUT ANYTHING HERE IT WILL GO AWAY' >> DEPA
256	if grep ' /' DEPA > /dev/null 2> /dev/null; then \
257	  echo 'make DEP failed!'; exit 1; \
258	else \
259	  mv -f DEPA $@; \
260	fi
261
262DEP1: $(CFILES) $(GENERATED_CFILES)
263	echo '# DO NOT DELETE THIS LINE -- mkdep uses it.' > DEP2
264	echo '# DO NOT PUT ANYTHING AFTER THIS LINE, IT WILL GO AWAY.' >> DEP2
265	$(MKDEP) $(INCLUDES) $(CFLAGS) $? >> DEP2
266	mv -f DEP2 $@
267
268dep.sed: dep-in.sed config.status
269	objdir=`pwd`; \
270	sed <$(srcdir)/dep-in.sed >dep.sed	\
271		-e 's!@INCDIR@!$(INCDIR)!'	\
272		-e 's!@BFDDIR@!$(BFDDIR)!'	\
273		-e 's!@SRCDIR@!$(srcdir)!'	\
274		-e "s!@OBJDIR@!$${objdir}!"	\
275		-e 's!@TOPDIR@!'`echo $(srcdir) | sed -e s,/binutils$$,,`'!'
276
277dep: DEP
278	sed -e '/^..DO NOT DELETE THIS LINE/,$$d' < Makefile > tmp-Makefile
279	cat DEP >> tmp-Makefile
280	$(SHELL) ${GNUSYSTEM_AUX_DIR}/move-if-change tmp-Makefile Makefile
281
282dep-in: DEP
283	sed -e '/^..DO NOT DELETE THIS LINE/,$$d' < $(srcdir)/Makefile.in > tmp-Makefile.in
284	cat DEP >> tmp-Makefile.in
285	$(SHELL) ${GNUSYSTEM_AUX_DIR}/move-if-change tmp-Makefile.in $(srcdir)/Makefile.in
286
287dep-am: DEP
288	sed -e '/^..DO NOT DELETE THIS LINE/,$$d' < $(srcdir)/Makefile.am > tmp-Makefile.am
289	cat DEP >> tmp-Makefile.am
290	$(SHELL) ${GNUSYSTEM_AUX_DIR}/move-if-change tmp-Makefile.am $(srcdir)/Makefile.am
291
292.PHONY: dep dep-in dep-am
293
294###
295
296MOSTLYCLEANFILES = sysinfo binutils.log binutils.sum abcdefgh*
297mostlyclean-local:
298	-rm -rf tmpdir
299
300CLEANFILES = dep.sed DEP DEPA DEP1 DEP2
301
302.PHONY: install-exec-local
303
304install-exec-local: install-binPROGRAMS #$(bin_PROGRAMS) $(noinst_PROGRAMS)
305	@list='$(noinst_PROGRAMS)'; for p in $$list; do \
306	  if test -f $$p; then \
307	    echo " $(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)/'`"; \
308	    $(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)/'`; \
309	  else :; fi; \
310	done
311	if [ -d "$(DESTDIR)$(tooldir)/bin" ]; then \
312	for i in $(TOOL_PROGS); do \
313	  if [ -f $$i$(EXEEXT) ]; then \
314	    j=`echo $$i | sed -e 's/-new//'`; \
315	    k=`echo $$j | sed '$(transform)'`; \
316	    if [ "$(bindir)/$$k" != "$(tooldir)/bin/$$j" ]; then \
317	      rm -f $(DESTDIR)$(tooldir)/bin/$$j$(EXEEXT); \
318	      ln $(DESTDIR)$(bindir)/$$k$(EXEEXT) $(DESTDIR)$(tooldir)/bin/$$j$(EXEEXT) >/dev/null 2>/dev/null \
319		|| $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) $$i$(EXEEXT) $(DESTDIR)$(tooldir)/bin/$$j$(EXEEXT); \
320	    fi; \
321	  else true; \
322	  fi; \
323	done; else true; fi
324	i1='$(DESTDIR)$(bindir)/$(AR_PROG)'; i2='$(DESTDIR)$(bindir)/$(OBJCOPY_PROG)'; \
325	    i3='$(DESTDIR)$(bindir)/$(RANLIB_PROG)'; i4='$(DESTDIR)$(bindir)/$(STRIP_PROG)'; \
326	    j1=`echo $$i1 | sed -e 's/-new//'`; j2=`echo $$i2 | sed -e 's/-new//'`; \
327	    k1=`echo $$j1 | sed '$(transform)'`; k2=`echo $$j2 | sed '$(transform)'`; \
328	    j3=`echo $$i3 | sed -e 's/-new//'`; j4=`echo $$i4 | sed -e 's/-new//'`; \
329	    k3=`echo $$j3 | sed '$(transform)'`; k4=`echo $$j4 | sed '$(transform)'`; \
330	    if [ -e $$k1$(EXEEXT) ]; then \
331		rm -f $$k3$(EXEEXT); \
332		ln $$k1$(EXEEXT) $$k3$(EXEEXT); \
333		if [ -d "$(DESTDIR)$(tooldir)/bin" ]; then \
334			rm -f $(DESTDIR)$(tooldir)/bin/$$(basename $$j3)$(EXEEXT); \
335			ln $$k3$(EXEEXT) $(DESTDIR)$(tooldir)/bin/$$(basename $$j3)$(EXEEXT) \
336			    || $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) $$k3$(EXEEXT) $(DESTDIR)$(tooldir)/bin/$$(basename $$j3)$(EXEEXT); \
337		else \
338			true; \
339		fi; \
340	    else true; fi; \
341	    if [ -e $$k2$(EXEEXT) ]; then \
342		rm -f $$k4$(EXEEXT); \
343		ln $$k2$(EXEEXT) $$k4$(EXEEXT); \
344		if [ -d "$(DESTDIR)$(tooldir)/bin" ]; then \
345			rm -f $(DESTDIR)$(tooldir)/bin/$$(basename $$j4)$(EXEEXT); \
346			ln $$k4$(EXEEXT) $(DESTDIR)$(tooldir)/bin/$$(basename $$j4)$(EXEEXT) \
347			    || $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) $$k4$(EXEEXT) $(DESTDIR)$(tooldir)/bin/$$(basename $$j4)$(EXEEXT); \
348		else \
349			true; \
350		fi; \
351	    else true; fi;
352
353# What appears below is generated by a hacked mkdep using gcc -MM.
354
355# DO NOT DELETE THIS LINE -- mkdep uses it.
356# DO NOT PUT ANYTHING AFTER THIS LINE, IT WILL GO AWAY.
357addr2line.o: addr2line.c config.h ../bfd/bfd.h $(INCDIR)/ansidecl.h \
358  $(INCDIR)/symcat.h $(INCDIR)/getopt.h $(INCDIR)/libiberty.h \
359  $(INCDIR)/demangle.h bucomm.h $(INCDIR)/bin-bugs.h \
360  $(INCDIR)/fopen-same.h budemang.h
361ar.o: ar.c ../bfd/bfd.h $(INCDIR)/ansidecl.h $(INCDIR)/symcat.h \
362  $(INCDIR)/libiberty.h $(INCDIR)/progress.h bucomm.h \
363  config.h $(INCDIR)/bin-bugs.h $(INCDIR)/fopen-same.h \
364  $(INCDIR)/aout/ar.h $(BFDDIR)/libbfd.h $(INCDIR)/hashtab.h \
365  arsup.h $(INCDIR)/filenames.h binemul.h
366arsup.o: arsup.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
367  $(INCDIR)/symcat.h arsup.h $(INCDIR)/libiberty.h bucomm.h \
368  config.h $(INCDIR)/bin-bugs.h $(INCDIR)/fopen-same.h \
369  $(INCDIR)/filenames.h
370binemul.o: binemul.c binemul.h ../bfd/bfd.h $(INCDIR)/ansidecl.h \
371  $(INCDIR)/symcat.h bucomm.h config.h $(INCDIR)/bin-bugs.h \
372  $(INCDIR)/fopen-same.h
373bucomm.o: bucomm.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
374  $(INCDIR)/symcat.h ../bfd/bfdver.h $(INCDIR)/libiberty.h \
375  bucomm.h config.h $(INCDIR)/bin-bugs.h $(INCDIR)/fopen-same.h \
376  $(INCDIR)/filenames.h $(BFDDIR)/libbfd.h $(INCDIR)/hashtab.h
377budemang.o: budemang.c config.h ../bfd/bfd.h $(INCDIR)/ansidecl.h \
378  $(INCDIR)/symcat.h $(INCDIR)/libiberty.h $(INCDIR)/demangle.h \
379  budemang.h
380coffdump.o: coffdump.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
381  $(INCDIR)/symcat.h $(INCDIR)/libiberty.h coffgrok.h \
382  bucomm.h config.h $(INCDIR)/bin-bugs.h $(INCDIR)/fopen-same.h
383coffgrok.o: coffgrok.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
384  $(INCDIR)/symcat.h $(INCDIR)/libiberty.h bucomm.h config.h \
385  $(INCDIR)/bin-bugs.h $(INCDIR)/fopen-same.h $(INCDIR)/coff/internal.h \
386  $(BFDDIR)/libcoff.h $(INCDIR)/bfdlink.h coffgrok.h
387cxxfilt.o: cxxfilt.c config.h ../bfd/bfd.h $(INCDIR)/ansidecl.h \
388  $(INCDIR)/symcat.h bucomm.h $(INCDIR)/bin-bugs.h $(INCDIR)/fopen-same.h \
389  $(INCDIR)/libiberty.h $(INCDIR)/demangle.h $(INCDIR)/safe-ctype.h
390debug.o: debug.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
391  $(INCDIR)/symcat.h bucomm.h config.h $(INCDIR)/bin-bugs.h \
392  $(INCDIR)/fopen-same.h $(INCDIR)/libiberty.h debug.h
393dlltool.o: dlltool.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
394  $(INCDIR)/symcat.h $(INCDIR)/libiberty.h bucomm.h config.h \
395  $(INCDIR)/bin-bugs.h $(INCDIR)/fopen-same.h $(INCDIR)/demangle.h \
396  $(INCDIR)/dyn-string.h dlltool.h $(INCDIR)/safe-ctype.h
397dllwrap.o: dllwrap.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
398  $(INCDIR)/symcat.h $(INCDIR)/libiberty.h bucomm.h config.h \
399  $(INCDIR)/bin-bugs.h $(INCDIR)/fopen-same.h $(INCDIR)/dyn-string.h
400emul_aix.o: emul_aix.c binemul.h ../bfd/bfd.h $(INCDIR)/ansidecl.h \
401  $(INCDIR)/symcat.h bucomm.h config.h $(INCDIR)/bin-bugs.h \
402  $(INCDIR)/fopen-same.h $(INCDIR)/bfdlink.h $(INCDIR)/coff/internal.h \
403  $(INCDIR)/coff/xcoff.h $(BFDDIR)/libcoff.h $(BFDDIR)/libxcoff.h
404emul_vanilla.o: emul_vanilla.c binemul.h ../bfd/bfd.h \
405  $(INCDIR)/ansidecl.h $(INCDIR)/symcat.h bucomm.h config.h \
406  $(INCDIR)/bin-bugs.h $(INCDIR)/fopen-same.h
407filemode.o: filemode.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
408  $(INCDIR)/symcat.h bucomm.h config.h $(INCDIR)/bin-bugs.h \
409  $(INCDIR)/fopen-same.h
410ieee.o: ieee.c ../bfd/bfd.h $(INCDIR)/ansidecl.h $(INCDIR)/symcat.h \
411  $(INCDIR)/ieee.h bucomm.h config.h $(INCDIR)/bin-bugs.h \
412  $(INCDIR)/fopen-same.h $(INCDIR)/libiberty.h debug.h \
413  budbg.h $(INCDIR)/filenames.h
414is-ranlib.o: is-ranlib.c
415is-strip.o: is-strip.c
416maybe-ranlib.o: maybe-ranlib.c
417maybe-strip.o: maybe-strip.c
418nlmconv.o: nlmconv.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
419  $(INCDIR)/symcat.h $(INCDIR)/libiberty.h bucomm.h config.h \
420  $(INCDIR)/bin-bugs.h $(INCDIR)/fopen-same.h $(INCDIR)/safe-ctype.h \
421  $(BFDDIR)/libnlm.h $(INCDIR)/nlm/common.h $(INCDIR)/nlm/internal.h \
422  $(INCDIR)/nlm/external.h nlmconv.h
423nm.o: nm.c ../bfd/bfd.h $(INCDIR)/ansidecl.h $(INCDIR)/symcat.h \
424  $(INCDIR)/progress.h bucomm.h config.h $(INCDIR)/bin-bugs.h \
425  $(INCDIR)/fopen-same.h budemang.h $(INCDIR)/aout/stab_gnu.h \
426  $(INCDIR)/aout/stab.def $(INCDIR)/aout/ranlib.h $(INCDIR)/demangle.h \
427  $(INCDIR)/libiberty.h $(BFDDIR)/elf-bfd.h $(INCDIR)/elf/common.h \
428  $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h $(INCDIR)/bfdlink.h
429objcopy.o: objcopy.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
430  $(INCDIR)/symcat.h $(INCDIR)/progress.h bucomm.h config.h \
431  $(INCDIR)/bin-bugs.h $(INCDIR)/fopen-same.h $(INCDIR)/libiberty.h \
432  budbg.h $(INCDIR)/filenames.h $(INCDIR)/fnmatch.h $(BFDDIR)/elf-bfd.h \
433  $(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h \
434  $(INCDIR)/bfdlink.h
435objdump.o: objdump.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
436  $(INCDIR)/symcat.h ../bfd/bfdver.h $(INCDIR)/progress.h \
437  bucomm.h config.h $(INCDIR)/bin-bugs.h $(INCDIR)/fopen-same.h \
438  budemang.h $(INCDIR)/safe-ctype.h $(INCDIR)/dis-asm.h \
439  $(INCDIR)/libiberty.h $(INCDIR)/demangle.h debug.h \
440  budbg.h $(INCDIR)/aout/aout64.h
441prdbg.o: prdbg.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
442  $(INCDIR)/symcat.h bucomm.h config.h $(INCDIR)/bin-bugs.h \
443  $(INCDIR)/fopen-same.h $(INCDIR)/libiberty.h debug.h \
444  budbg.h
445rdcoff.o: rdcoff.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
446  $(INCDIR)/symcat.h $(INCDIR)/coff/internal.h bucomm.h \
447  config.h $(INCDIR)/bin-bugs.h $(INCDIR)/fopen-same.h \
448  $(INCDIR)/libiberty.h debug.h budbg.h $(BFDDIR)/libcoff.h \
449  $(INCDIR)/bfdlink.h
450rddbg.o: rddbg.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
451  $(INCDIR)/symcat.h bucomm.h config.h $(INCDIR)/bin-bugs.h \
452  $(INCDIR)/fopen-same.h $(INCDIR)/libiberty.h debug.h \
453  budbg.h
454readelf.o: readelf.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
455  $(INCDIR)/symcat.h $(INCDIR)/elf/common.h $(INCDIR)/elf/external.h \
456  $(INCDIR)/elf/internal.h $(INCDIR)/elf/dwarf2.h $(INCDIR)/elf/alpha.h \
457  $(INCDIR)/elf/reloc-macros.h $(INCDIR)/elf/arc.h $(INCDIR)/elf/arm.h \
458  $(INCDIR)/elf/avr.h $(INCDIR)/elf/cris.h $(INCDIR)/elf/d10v.h \
459  $(INCDIR)/elf/d30v.h $(INCDIR)/elf/dlx.h $(INCDIR)/elf/fr30.h \
460  $(INCDIR)/elf/frv.h $(INCDIR)/elf/h8.h $(INCDIR)/elf/hppa.h \
461  $(INCDIR)/elf/i386.h $(INCDIR)/elf/i370.h $(INCDIR)/elf/i860.h \
462  $(INCDIR)/elf/i960.h $(INCDIR)/elf/ia64.h $(INCDIR)/elf/ip2k.h \
463  $(INCDIR)/elf/m32r.h $(INCDIR)/elf/m68k.h $(INCDIR)/elf/m68hc11.h \
464  $(INCDIR)/elf/mcore.h $(INCDIR)/elf/mips.h $(INCDIR)/elf/mmix.h \
465  $(INCDIR)/elf/mn10200.h $(INCDIR)/elf/mn10300.h $(INCDIR)/elf/msp430.h \
466  $(INCDIR)/elf/ms1.h \
467  $(INCDIR)/elf/or32.h $(INCDIR)/elf/pj.h $(INCDIR)/elf/ppc.h \
468  $(INCDIR)/elf/ppc64.h $(INCDIR)/elf/s390.h $(INCDIR)/elf/sh.h \
469  $(INCDIR)/elf/sparc.h $(INCDIR)/elf/v850.h $(INCDIR)/elf/vax.h \
470  $(INCDIR)/elf/x86-64.h $(INCDIR)/elf/xstormy16.h $(INCDIR)/elf/crx.h \
471  $(INCDIR)/elf/iq2000.h $(INCDIR)/elf/xtensa.h $(INCDIR)/aout/ar.h \
472  bucomm.h config.h $(INCDIR)/bin-bugs.h $(INCDIR)/fopen-same.h \
473  $(INCDIR)/libiberty.h unwind-ia64.h
474rename.o: rename.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
475  $(INCDIR)/symcat.h bucomm.h config.h $(INCDIR)/bin-bugs.h \
476  $(INCDIR)/fopen-same.h
477resbin.o: resbin.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
478  $(INCDIR)/symcat.h bucomm.h config.h $(INCDIR)/bin-bugs.h \
479  $(INCDIR)/fopen-same.h $(INCDIR)/libiberty.h windres.h \
480  winduni.h
481rescoff.o: rescoff.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
482  $(INCDIR)/symcat.h bucomm.h config.h $(INCDIR)/bin-bugs.h \
483  $(INCDIR)/fopen-same.h $(INCDIR)/libiberty.h windres.h \
484  winduni.h $(INCDIR)/coff/internal.h $(BFDDIR)/libcoff.h \
485  $(INCDIR)/bfdlink.h
486resrc.o: resrc.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
487  $(INCDIR)/symcat.h bucomm.h config.h $(INCDIR)/bin-bugs.h \
488  $(INCDIR)/fopen-same.h $(INCDIR)/libiberty.h $(INCDIR)/safe-ctype.h \
489  windres.h winduni.h
490resres.o: resres.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
491  $(INCDIR)/symcat.h bucomm.h config.h $(INCDIR)/bin-bugs.h \
492  $(INCDIR)/fopen-same.h $(INCDIR)/libiberty.h windres.h \
493  winduni.h
494size.o: size.c ../bfd/bfd.h $(INCDIR)/ansidecl.h $(INCDIR)/symcat.h \
495  bucomm.h config.h $(INCDIR)/bin-bugs.h $(INCDIR)/fopen-same.h \
496  $(INCDIR)/libiberty.h
497srconv.o: srconv.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
498  $(INCDIR)/symcat.h bucomm.h config.h $(INCDIR)/bin-bugs.h \
499  $(INCDIR)/fopen-same.h sysroff.h coffgrok.h $(INCDIR)/libiberty.h \
500  $(INCDIR)/coff/internal.h $(BFDDIR)/libcoff.h $(INCDIR)/bfdlink.h \
501  sysroff.c
502stabs.o: stabs.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
503  $(INCDIR)/symcat.h bucomm.h config.h $(INCDIR)/bin-bugs.h \
504  $(INCDIR)/fopen-same.h $(INCDIR)/libiberty.h $(INCDIR)/safe-ctype.h \
505  $(INCDIR)/demangle.h debug.h budbg.h $(INCDIR)/filenames.h \
506  $(INCDIR)/aout/aout64.h $(INCDIR)/aout/stab_gnu.h $(INCDIR)/aout/stab.def
507strings.o: strings.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
508  $(INCDIR)/symcat.h $(INCDIR)/getopt.h bucomm.h config.h \
509  $(INCDIR)/bin-bugs.h $(INCDIR)/fopen-same.h $(INCDIR)/libiberty.h \
510  $(INCDIR)/safe-ctype.h
511sysdump.o: sysdump.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
512  $(INCDIR)/symcat.h bucomm.h config.h $(INCDIR)/bin-bugs.h \
513  $(INCDIR)/fopen-same.h $(INCDIR)/safe-ctype.h $(INCDIR)/libiberty.h \
514  sysroff.h sysroff.c
515version.o: version.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
516  $(INCDIR)/symcat.h ../bfd/bfdver.h bucomm.h config.h \
517  $(INCDIR)/bin-bugs.h $(INCDIR)/fopen-same.h
518windres.o: windres.c config.h ../bfd/bfd.h $(INCDIR)/ansidecl.h \
519  $(INCDIR)/symcat.h bucomm.h $(INCDIR)/bin-bugs.h $(INCDIR)/fopen-same.h \
520  $(INCDIR)/libiberty.h $(INCDIR)/safe-ctype.h $(INCDIR)/obstack.h \
521  windres.h winduni.h
522winduni.o: winduni.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
523  $(INCDIR)/symcat.h bucomm.h config.h $(INCDIR)/bin-bugs.h \
524  $(INCDIR)/fopen-same.h winduni.h $(INCDIR)/safe-ctype.h
525wrstabs.o: wrstabs.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
526  $(INCDIR)/symcat.h bucomm.h config.h $(INCDIR)/bin-bugs.h \
527  $(INCDIR)/fopen-same.h $(INCDIR)/libiberty.h $(INCDIR)/safe-ctype.h \
528  debug.h budbg.h $(INCDIR)/aout/aout64.h $(INCDIR)/aout/stab_gnu.h \
529  $(INCDIR)/aout/stab.def
530arparse.o: arparse.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
531  $(INCDIR)/symcat.h bucomm.h config.h $(INCDIR)/bin-bugs.h \
532  $(INCDIR)/fopen-same.h arsup.h
533arlex.o: arlex.c $(INCDIR)/ansidecl.h $(INCDIR)/libiberty.h \
534  arparse.h
535sysroff.o: sysroff.c
536sysinfo.o: sysinfo.c
537syslex.o: syslex.c config.h sysinfo.h
538defparse.o: defparse.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
539  $(INCDIR)/symcat.h bucomm.h config.h $(INCDIR)/bin-bugs.h \
540  $(INCDIR)/fopen-same.h dlltool.h
541deflex.o: deflex.c $(INCDIR)/libiberty.h $(INCDIR)/ansidecl.h \
542  defparse.h dlltool.h
543nlmheader.o: nlmheader.c $(INCDIR)/ansidecl.h $(INCDIR)/safe-ctype.h \
544  ../bfd/bfd.h $(INCDIR)/symcat.h bucomm.h config.h $(INCDIR)/bin-bugs.h \
545  $(INCDIR)/fopen-same.h $(INCDIR)/nlm/common.h $(INCDIR)/nlm/internal.h \
546  nlmconv.h
547rcparse.o: rcparse.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
548  $(INCDIR)/symcat.h bucomm.h config.h $(INCDIR)/bin-bugs.h \
549  $(INCDIR)/fopen-same.h $(INCDIR)/libiberty.h windres.h \
550  winduni.h $(INCDIR)/safe-ctype.h
551rclex.o: rclex.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
552  $(INCDIR)/symcat.h bucomm.h config.h $(INCDIR)/bin-bugs.h \
553  $(INCDIR)/fopen-same.h $(INCDIR)/libiberty.h $(INCDIR)/safe-ctype.h \
554  windres.h winduni.h rcparse.h
555# IF YOU PUT ANYTHING HERE IT WILL GO AWAY
556