Makefile.am revision 77298
1## Process this file with automake to generate Makefile.in
2
3## FIXME: Work around apparent bug in automake.
4INTLLIBS = @INTLLIBS@
5
6AUTOMAKE_OPTIONS = cygnus dejagnu
7
8SUBDIRS = po
9
10tooldir = $(exec_prefix)/$(target_alias)
11
12## These aren't set by automake, because they appear in
13## bfd/acinclude.m4, which is included by binutils/acinclude.m4, and
14## thus is not seen by automake.
15CC_FOR_BUILD = @CC_FOR_BUILD@
16EXEEXT_FOR_BUILD = @EXEEXT_FOR_BUILD@
17
18YACC = `if [ -f ../bison/bison ]; then echo ../bison/bison -y -L$(srcdir)/../bison/; else echo @YACC@; fi`
19YFLAGS = -d
20LEX = `if [ -f ../flex/flex ]; then echo ../flex/flex; else echo @LEX@; fi`
21
22WARN_CFLAGS = @WARN_CFLAGS@
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
55man_MANS = ar.1 nm.1 objdump.1 ranlib.1 size.1 strings.1 strip.1 objcopy.1 \
56	addr2line.1 nlmconv.1 $(DEMANGLER_NAME).1
57
58PROGS = $(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@
59
60bin_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@
61
62## We need a special rule to install the programs which are built with
63## -new, and to rename cxxfilt to c++filt.
64noinst_PROGRAMS = $(NM_PROG) $(STRIP_PROG) $(DEMANGLER_PROG)
65
66EXTRA_PROGRAMS = $(NLMCONV_PROG) srconv sysdump coffdump $(DLLTOOL_PROG) $(WINDRES_PROG) $(DLLWRAP_PROG)
67
68# Stuff that goes in tooldir/ if appropriate
69TOOL_PROGS = nm-new strip-new ar ranlib dlltool
70
71BASEDIR = $(srcdir)/..
72BFDDIR = $(BASEDIR)/bfd
73INCDIR	= $(BASEDIR)/include
74
75MKDEP = gcc -MM
76
77INCLUDES = -D_GNU_SOURCE -I. -I$(srcdir) -I../bfd -I$(BFDDIR) -I$(INCDIR) @HDEFINES@ -I$(srcdir)/../intl -I../intl -DLOCALEDIR="\"$(prefix)/share/locale\""
78
79HFILES = arsup.h bucomm.h budbg.h coffgrok.h debug.h nlmconv.h dlltool.h \
80	windres.h winduni.h
81
82GENERATED_HFILES = arparse.h sysroff.h sysinfo.h defparse.h rcparse.h
83
84CFILES = addr2line.c ar.c arsup.c bucomm.c coffdump.c coffgrok.c debug.c \
85	dlltool.c filemode.c ieee.c is-ranlib.c is-strip.c maybe-ranlib.c \
86	maybe-strip.c nlmconv.c nm.c not-ranlib.c not-strip.c \
87	objcopy.c objdump.c prdbg.c rdcoff.c rddbg.c size.c srconv.c \
88	stabs.c strings.c sysdump.c version.c wrstabs.c \
89	windres.c resrc.c rescoff.c resbin.c winduni.c readelf.c \
90	resres.c dllwrap.c rename.c
91
92GENERATED_CFILES = \
93	underscore.c arparse.c arlex.c sysroff.c sysinfo.c syslex.c \
94	defparse.c deflex.c nlmheader.c rcparse.c rclex.c
95
96DEBUG_SRCS = rddbg.c debug.c stabs.c ieee.c rdcoff.c
97WRITE_DEBUG_SRCS = $(DEBUG_SRCS) wrstabs.c
98
99# Code shared by all the binutils.
100BULIBS = bucomm.c version.c filemode.c
101
102BFDLIB = ../bfd/libbfd.la
103
104OPCODES = ../opcodes/libopcodes.la
105
106LIBIBERTY = ../libiberty/libiberty.a
107
108POTFILES = $(CFILES) $(DEBUG_SRCS) $(HFILES)
109po/POTFILES.in: @MAINT@ Makefile
110	for file in $(POTFILES); do echo $$file; done | sort > tmp \
111	  && mv tmp $(srcdir)/po/POTFILES.in
112
113EXPECT = `if [ -f $$r/../expect/expect ] ; then \
114          echo $$r/../expect/expect ; \
115          else echo expect ; fi`
116RUNTEST = `if [ -f ${srcdir}/../dejagnu/runtest ] ; then \
117           echo ${srcdir}/../dejagnu/runtest ; \
118           else echo runtest ;  fi`
119
120CC_FOR_TARGET = ` \
121  if [ -f $$r/../gcc/xgcc ] ; then \
122    if [ -f $$r/../newlib/Makefile ] ; then \
123      echo $$r/../gcc/xgcc -B$$r/../gcc/ -idirafter $$r/../newlib/targ-include -idirafter $${srcroot}/../newlib/libc/include -nostdinc; \
124    else \
125      echo $$r/../gcc/xgcc -B$$r/../gcc/; \
126    fi; \
127  else \
128    if [ "@host@" = "@target@" ] ; then \
129      echo $(CC); \
130    else \
131      echo gcc | sed '$(transform)'; \
132    fi; \
133  fi`
134
135check-DEJAGNU: site.exp
136	srcdir=`cd $(srcdir) && pwd`; export srcdir; \
137	r=`pwd`; export r; \
138	EXPECT=$(EXPECT); export EXPECT; \
139	if [ -f $(top_builddir)/../expect/expect ]; then \
140	  TCL_LIBRARY=`cd $(top_srcdir)/../tcl/library && pwd`; \
141	  export TCL_LIBRARY; \
142	fi; \
143	runtest=$(RUNTEST); \
144	if $(SHELL) -c "$$runtest --version" > /dev/null 2>&1; then \
145	  $$runtest --tool $(DEJATOOL) --srcdir $${srcdir}/testsuite \
146		CC_FOR_TARGET="$(CC_FOR_TARGET)" \
147		CFLAGS_FOR_TARGET="$(CFLAGS)" $(RUNTESTFLAGS); \
148	else echo "WARNING: could not find \`runtest'" 1>&2; :;\
149	fi
150
151installcheck:
152	/bin/sh $(srcdir)/sanity.sh $(bindir)
153
154info_TEXINFOS = binutils.texi
155
156LDADD = $(BFDLIB) $(LIBIBERTY) $(INTLLIBS)
157
158size_SOURCES = size.c $(BULIBS)
159
160objcopy_SOURCES = objcopy.c not-strip.c rename.c $(WRITE_DEBUG_SRCS) $(BULIBS)
161
162strings_SOURCES = strings.c $(BULIBS)
163
164readelf_SOURCES = readelf.c version.c
165readelf_LDADD   = $(INTLLIBS) $(LIBIBERTY)
166
167strip_new_SOURCES = objcopy.c is-strip.c rename.c $(WRITE_DEBUG_SRCS) $(BULIBS)
168
169nm_new_SOURCES = nm.c $(BULIBS)
170
171objdump_SOURCES = objdump.c prdbg.c $(DEBUG_SRCS) $(BULIBS)
172objdump_LDADD = $(OPCODES) $(BFDLIB) $(LIBIBERTY) $(INTLLIBS)
173
174objdump.o:objdump.c
175	$(COMPILE) -c $(OBJDUMP_DEFS) $(srcdir)/objdump.c
176
177underscore.c: stamp-under ; @true
178
179stamp-under: Makefile
180	echo '/*WARNING: This file is automatically generated!*/' >underscore.t
181	echo "int prepends_underscore = @UNDERSCORE@;" >>underscore.t
182	$(SHELL) $(srcdir)/../move-if-change underscore.t underscore.c
183	touch stamp-under
184
185cplus-dem.o: $(BASEDIR)/libiberty/cplus-dem.c $(INCDIR)/getopt.h
186	$(COMPILE) -c -DMAIN -DVERSION='"$(VERSION)"' $(BASEDIR)/libiberty/cplus-dem.c
187
188cxxfilt_SOURCES =
189cxxfilt_LDADD = cplus-dem.o underscore.o $(LIBIBERTY) $(INTLLIBS)
190
191ar_SOURCES = arparse.y arlex.l ar.c not-ranlib.c arsup.c rename.c $(BULIBS)
192ar_LDADD = $(BFDLIB) $(LIBIBERTY) @LEXLIB@ $(INTLLIBS)
193
194ranlib_SOURCES = ar.c is-ranlib.c arparse.y arlex.l arsup.c rename.c $(BULIBS)
195ranlib_LDADD = $(BFDLIB) $(LIBIBERTY) @LEXLIB@ $(INTLLIBS)
196
197addr2line_SOURCES = addr2line.c $(BULIBS)
198
199# The following is commented out for the conversion to automake.
200# This rule creates a single binary that switches between ar and ranlib
201# by looking at argv[0].  Use this kludge to save some disk space.
202# However, you have to install things by hand.
203# (That is after 'make install', replace the installed ranlib by a link to ar.)
204# Alternatively, you can install ranlib.sh as ranlib.
205# ar_with_ranlib: $(ADDL_DEPS) ar.o maybe-ranlib.o
206#	$(HLDENV) $(CC) $(HLDFLAGS) $(CFLAGS) $(LDFLAGS) -o $(AR_PROG) ar.o maybe-ranlib.o $(ADDL_LIBS) $(EXTRALIBS)
207#	-rm -f $(RANLIB_PROG)
208#	-ln $(AR_PROG) $(RANLIB_PROG)
209#
210# objcopy and strip in one binary that uses argv[0] to decide its action.
211#
212#objcopy_with_strip: $(ADDL_DEPS) objcopy.o maybe-strip.o
213#	$(HLDENV) $(CC) $(HLDFLAGS) $(CFLAGS) $(LDFLAGS) -o $(OBJCOPY_PROG) objcopy.o maybe-strip.o $(ADDL_LIBS) $(EXTRALIBS)
214#	-rm -f $(STRIP_PROG)
215#	-ln $(OBJCOPY_PROG) $(STRIP_PROG)
216
217sysroff.c: sysinfo$(EXEEXT_FOR_BUILD) sysroff.info 
218	./sysinfo$(EXEEXT_FOR_BUILD) -c <$(srcdir)/sysroff.info >sysroff.c
219	./sysinfo$(EXEEXT_FOR_BUILD) -i <$(srcdir)/sysroff.info >>sysroff.c
220	./sysinfo$(EXEEXT_FOR_BUILD) -g <$(srcdir)/sysroff.info >>sysroff.c
221
222sysroff.h: sysinfo$(EXEEXT_FOR_BUILD) sysroff.info
223	./sysinfo$(EXEEXT_FOR_BUILD) -d <$(srcdir)/sysroff.info >sysroff.h
224
225sysinfo$(EXEEXT_FOR_BUILD): sysinfo.o syslex.o
226	$(CC_FOR_BUILD) $(CFLAGS) $(LDFLAGS) -o $@ sysinfo.o syslex.o 
227
228syslex.o: syslex.c sysinfo.h
229	if [ -r syslex.c ]; then \
230	  $(CC_FOR_BUILD) -c -I. $(CFLAGS)  syslex.c  ; \
231	else \
232	  $(CC_FOR_BUILD) -c -I. -I$(srcdir) $(CFLAGS) $(srcdir)/syslex.c ;\
233	fi
234
235sysinfo.o: sysinfo.c
236	if [ -r sysinfo.c ]; then \
237	  $(CC_FOR_BUILD) -c -I. $(CFLAGS)  sysinfo.c  ; \
238	else \
239	  $(CC_FOR_BUILD) -c -I. $(CFLAGS) $(srcdir)/sysinfo.c ; \
240	fi
241
242# We need these for parallel make.
243arparse.h: arparse.c
244defparse.h: defparse.c
245nlmheader.h: nlmheader.c
246rcparse.h: rcparse.c
247sysinfo.h: sysinfo.c
248
249srconv_SOURCES = srconv.c coffgrok.c $(BULIBS)
250
251dlltool_SOURCES = dlltool.c defparse.y deflex.l $(BULIBS)
252dlltool_LDADD = $(BFDLIB) $(LIBIBERTY) @LEXLIB@ $(INTLLIBS)
253
254dlltool.o:dlltool.c
255	$(COMPILE) -c $(DLLTOOL_DEFS) $(srcdir)/dlltool.c
256
257rescoff.o:rescoff.c
258	$(COMPILE) -c $(DLLTOOL_DEFS) $(srcdir)/rescoff.c
259
260coffdump_SOURCES = coffdump.c coffgrok.c $(BULIBS)
261
262sysdump_SOURCES = sysdump.c $(BULIBS)
263
264# coff/sym.h and coff/ecoff.h won't be found by the automatic dependency
265# scripts, since they are only included conditionally.
266nlmconv.o: nlmconv.c $(INCDIR)/coff/sym.h $(INCDIR)/coff/ecoff.h
267	ldname=`echo ld | sed '$(transform)'`; \
268	$(COMPILE) -c -DLD_NAME="\"$${ldname}\"" @NLMCONV_DEFS@ $(srcdir)/nlmconv.c
269
270nlmconv_SOURCES = nlmconv.c nlmheader.y $(BULIBS)
271
272windres_SOURCES = windres.c resrc.c rescoff.c resbin.c rcparse.y rclex.l \
273	winduni.c resres.c $(BULIBS)
274windres_LDADD = $(BFDLIB) $(LIBIBERTY) @LEXLIB@ $(INTLLIBS)
275
276dllwrap_SOURCES = dllwrap.c version.c
277dllwrap_LDADD = $(LIBIBERTY) $(INTLLIBS)
278
279
280DISTSTUFF = arparse.c arparse.h arlex.c nlmheader.c sysinfo.c sysinfo.h \
281	syslex.c deflex.c defparse.h defparse.c rclex.c rcparse.h rcparse.c
282
283diststuff: $(DISTSTUFF) info
284
285DISTCLEANFILES = stamp-under sysinfo underscore.c sysroff.c sysroff.h \
286	site.exp site.bak
287
288# Targets to rebuild dependencies in this Makefile.
289# Have to get rid of DEP1 here so that "$?" later includes all of $(CFILES).
290DEP: dep.sed $(CFILES) $(HFILES) $(GENERATED_CFILES) $(GENERATED_HFILES) config.h
291	rm -f DEP1
292	$(MAKE) MKDEP="$(MKDEP)" DEP1
293	sed -f dep.sed < DEP1 > DEPA
294	echo '# IF YOU PUT ANYTHING HERE IT WILL GO AWAY' >> DEPA
295	if grep ' /' DEPA > /dev/null 2> /dev/null; then \
296	  echo 'make DEP failed!'; exit 1; \
297	else \
298	  mv -f DEPA $@; \
299	fi
300
301DEP1: $(CFILES) $(GENERATED_CFILES)
302	echo '# DO NOT DELETE THIS LINE -- mkdep uses it.' > DEP2
303	echo '# DO NOT PUT ANYTHING AFTER THIS LINE, IT WILL GO AWAY.' >> DEP2
304	$(MKDEP) $(INCLUDES) $(CFLAGS) $? >> DEP2
305	mv -f DEP2 $@
306
307dep.sed: dep-in.sed config.status
308	objdir=`pwd`; \
309	sed <$(srcdir)/dep-in.sed >dep.sed	\
310		-e 's!@INCDIR@!$(INCDIR)!'	\
311		-e 's!@BFDDIR@!$(BFDDIR)!'	\
312		-e 's!@SRCDIR@!$(srcdir)!'	\
313		-e "s!@OBJDIR@!$${objdir}!"
314
315dep: DEP
316	sed -e '/^..DO NOT DELETE THIS LINE/,$$d' < Makefile > tmp-Makefile
317	cat DEP >> tmp-Makefile
318	$(SHELL) $(srcdir)/../move-if-change tmp-Makefile Makefile
319
320dep-in: DEP
321	sed -e '/^..DO NOT DELETE THIS LINE/,$$d' < $(srcdir)/Makefile.in > tmp-Makefile.in
322	cat DEP >> tmp-Makefile.in
323	$(SHELL) $(srcdir)/../move-if-change tmp-Makefile.in $(srcdir)/Makefile.in
324
325dep-am: DEP
326	sed -e '/^..DO NOT DELETE THIS LINE/,$$d' < $(srcdir)/Makefile.am > tmp-Makefile.am
327	cat DEP >> tmp-Makefile.am
328	$(SHELL) $(srcdir)/../move-if-change tmp-Makefile.am $(srcdir)/Makefile.am
329
330.PHONY: dep dep-in dep-am
331
332###
333# DOCUMENTATION TARGETS
334config.texi: Makefile
335	rm -f config.texi
336	echo '@set VERSION $(VERSION)' > config.texi
337
338binutils.dvi: $(srcdir)/binutils.texi config.texi
339
340binutils.info: $(srcdir)/binutils.texi config.texi
341
342MAINTAINERCLEANFILES = config.texi
343
344$(DEMANGLER_NAME).1: cxxfilt.man Makefile
345	sed -e 's/@PROGRAM@/$(DEMANGLER_NAME)/' < $(srcdir)/cxxfilt.man \
346		> $(DEMANGLER_NAME).1
347
348MOSTLYCLEANFILES = sysinfo $(DEMANGLER_NAME).1 binutils.log binutils.sum \
349	abcdefgh*
350mostlyclean-local:
351	-rm -rf tmpdir
352
353CLEANFILES = dep.sed DEP DEPA DEP1 DEP2
354
355.PHONY: install-exec-local
356
357install-exec-local: install-binPROGRAMS $(bin_PROGRAMS) $(noinst_PROGRAMS)
358	@list='$(noinst_PROGRAMS)'; for p in $$list; do \
359	  if test -f $$p; then \
360	    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)/'`"; \
361	    $(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)/'`; \
362	  else :; fi; \
363	done
364	$(mkinstalldirs) $(tooldir)/bin
365	for i in $(TOOL_PROGS); do \
366	  if [ -f $$i$(EXEEXT) ]; then \
367	    j=`echo $$i | sed -e 's/-new//'`; \
368	    k=`echo $$j | sed '$(transform)'`; \
369	    if [ "$(bindir)/$$k$(EXEEXT)" != "$(tooldir)/bin/$$j$(EXEEXT)" ]; then \
370	      rm -f $(tooldir)/bin/$$j$(EXEEXT); \
371	      ln $(bindir)/$$k$(EXEEXT) $(tooldir)/bin/$$j$(EXEEXT) >/dev/null 2>/dev/null \
372		|| $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) $$i$(EXEEXT) $(tooldir)/bin/$$j$(EXEEXT); \
373	    fi; \
374	  else true; \
375	  fi; \
376	done
377
378# What appears below is generated by a hacked mkdep using gcc -MM.
379
380# DO NOT DELETE THIS LINE -- mkdep uses it.
381# DO NOT PUT ANYTHING AFTER THIS LINE, IT WILL GO AWAY.
382addr2line.o: addr2line.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
383  $(INCDIR)/getopt.h $(INCDIR)/libiberty.h $(INCDIR)/demangle.h \
384  bucomm.h config.h $(INCDIR)/bin-bugs.h $(INCDIR)/fopen-same.h
385ar.o: ar.c ../bfd/bfd.h $(INCDIR)/ansidecl.h $(INCDIR)/libiberty.h \
386  $(INCDIR)/progress.h bucomm.h config.h $(INCDIR)/bin-bugs.h \
387  $(INCDIR)/fopen-same.h $(INCDIR)/aout/ar.h $(BFDDIR)/libbfd.h \
388  arsup.h $(INCDIR)/filenames.h
389arsup.o: arsup.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
390  arsup.h $(INCDIR)/libiberty.h bucomm.h config.h $(INCDIR)/bin-bugs.h \
391  $(INCDIR)/fopen-same.h $(INCDIR)/filenames.h
392bucomm.o: bucomm.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
393  $(INCDIR)/libiberty.h bucomm.h config.h $(INCDIR)/bin-bugs.h \
394  $(INCDIR)/fopen-same.h $(INCDIR)/filenames.h
395coffdump.o: coffdump.c coffgrok.h bucomm.h config.h \
396  $(INCDIR)/bin-bugs.h $(INCDIR)/fopen-same.h
397coffgrok.o: coffgrok.c bucomm.h config.h $(INCDIR)/bin-bugs.h \
398  $(INCDIR)/fopen-same.h $(INCDIR)/coff/internal.h $(BFDDIR)/libcoff.h \
399  $(INCDIR)/bfdlink.h coffgrok.h
400debug.o: debug.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
401  bucomm.h config.h $(INCDIR)/bin-bugs.h $(INCDIR)/fopen-same.h \
402  $(INCDIR)/libiberty.h debug.h
403dlltool.o: dlltool.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
404  $(INCDIR)/libiberty.h bucomm.h config.h $(INCDIR)/bin-bugs.h \
405  $(INCDIR)/fopen-same.h $(INCDIR)/getopt.h $(INCDIR)/demangle.h \
406  $(INCDIR)/dyn-string.h dlltool.h
407filemode.o: filemode.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
408  bucomm.h config.h $(INCDIR)/bin-bugs.h $(INCDIR)/fopen-same.h
409ieee.o: ieee.c ../bfd/bfd.h $(INCDIR)/ansidecl.h $(INCDIR)/ieee.h \
410  bucomm.h config.h $(INCDIR)/bin-bugs.h $(INCDIR)/fopen-same.h \
411  $(INCDIR)/libiberty.h debug.h budbg.h $(INCDIR)/filenames.h
412is-ranlib.o: is-ranlib.c
413is-strip.o: is-strip.c
414maybe-ranlib.o: maybe-ranlib.c
415maybe-strip.o: maybe-strip.c
416nlmconv.o: nlmconv.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
417  $(INCDIR)/libiberty.h bucomm.h config.h $(INCDIR)/bin-bugs.h \
418  $(INCDIR)/fopen-same.h $(BFDDIR)/libnlm.h $(INCDIR)/nlm/common.h \
419  $(INCDIR)/nlm/internal.h $(INCDIR)/nlm/external.h nlmconv.h
420nm.o: nm.c ../bfd/bfd.h $(INCDIR)/ansidecl.h $(INCDIR)/progress.h \
421  bucomm.h config.h $(INCDIR)/bin-bugs.h $(INCDIR)/fopen-same.h \
422  $(INCDIR)/getopt.h $(INCDIR)/aout/stab_gnu.h $(INCDIR)/aout/stab.def \
423  $(INCDIR)/aout/ranlib.h $(INCDIR)/demangle.h $(INCDIR)/libiberty.h
424not-ranlib.o: not-ranlib.c
425not-strip.o: not-strip.c
426objcopy.o: objcopy.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
427  $(INCDIR)/progress.h bucomm.h config.h $(INCDIR)/bin-bugs.h \
428  $(INCDIR)/fopen-same.h $(INCDIR)/getopt.h $(INCDIR)/libiberty.h \
429  budbg.h $(INCDIR)/filenames.h
430objdump.o: objdump.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
431  $(INCDIR)/getopt.h $(INCDIR)/progress.h bucomm.h config.h \
432  $(INCDIR)/bin-bugs.h $(INCDIR)/fopen-same.h $(INCDIR)/dis-asm.h \
433  $(INCDIR)/libiberty.h $(INCDIR)/demangle.h debug.h \
434  budbg.h $(INCDIR)/aout/aout64.h
435prdbg.o: prdbg.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
436  bucomm.h config.h $(INCDIR)/bin-bugs.h $(INCDIR)/fopen-same.h \
437  $(INCDIR)/libiberty.h debug.h budbg.h
438rdcoff.o: rdcoff.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
439  $(INCDIR)/coff/internal.h bucomm.h config.h $(INCDIR)/bin-bugs.h \
440  $(INCDIR)/fopen-same.h $(INCDIR)/libiberty.h $(INCDIR)/demangle.h \
441  debug.h budbg.h $(BFDDIR)/libcoff.h $(INCDIR)/bfdlink.h
442rddbg.o: rddbg.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
443  bucomm.h config.h $(INCDIR)/bin-bugs.h $(INCDIR)/fopen-same.h \
444  $(INCDIR)/libiberty.h debug.h budbg.h
445size.o: size.c ../bfd/bfd.h $(INCDIR)/ansidecl.h $(INCDIR)/getopt.h \
446  bucomm.h config.h $(INCDIR)/bin-bugs.h $(INCDIR)/fopen-same.h \
447  $(INCDIR)/libiberty.h
448srconv.o: srconv.c bucomm.h config.h $(INCDIR)/bin-bugs.h \
449  $(INCDIR)/fopen-same.h sysroff.h coffgrok.h $(INCDIR)/coff/internal.h \
450  $(BFDDIR)/libcoff.h $(INCDIR)/bfdlink.h sysroff.c
451stabs.o: stabs.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
452  bucomm.h config.h $(INCDIR)/bin-bugs.h $(INCDIR)/fopen-same.h \
453  $(INCDIR)/libiberty.h $(INCDIR)/demangle.h debug.h \
454  budbg.h $(INCDIR)/aout/aout64.h $(INCDIR)/aout/stab_gnu.h \
455  $(INCDIR)/aout/stab.def
456strings.o: strings.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
457  bucomm.h config.h $(INCDIR)/bin-bugs.h $(INCDIR)/fopen-same.h \
458  $(INCDIR)/libiberty.h
459sysdump.o: sysdump.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
460  bucomm.h config.h $(INCDIR)/bin-bugs.h $(INCDIR)/fopen-same.h \
461  sysroff.h sysroff.c
462version.o: version.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
463  bucomm.h config.h $(INCDIR)/bin-bugs.h $(INCDIR)/fopen-same.h
464wrstabs.o: wrstabs.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
465  bucomm.h config.h $(INCDIR)/bin-bugs.h $(INCDIR)/fopen-same.h \
466  $(INCDIR)/libiberty.h debug.h budbg.h $(INCDIR)/aout/aout64.h \
467  $(INCDIR)/aout/stab_gnu.h $(INCDIR)/aout/stab.def
468windres.o: windres.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
469  $(INCDIR)/getopt.h bucomm.h config.h $(INCDIR)/bin-bugs.h \
470  $(INCDIR)/fopen-same.h $(INCDIR)/libiberty.h $(INCDIR)/obstack.h \
471  windres.h winduni.h
472resrc.o: resrc.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
473  bucomm.h config.h $(INCDIR)/bin-bugs.h $(INCDIR)/fopen-same.h \
474  $(INCDIR)/libiberty.h windres.h winduni.h
475rescoff.o: rescoff.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
476  bucomm.h config.h $(INCDIR)/bin-bugs.h $(INCDIR)/fopen-same.h \
477  $(INCDIR)/libiberty.h windres.h winduni.h $(INCDIR)/coff/internal.h \
478  $(BFDDIR)/libcoff.h $(INCDIR)/bfdlink.h
479resbin.o: resbin.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
480  bucomm.h config.h $(INCDIR)/bin-bugs.h $(INCDIR)/fopen-same.h \
481  $(INCDIR)/libiberty.h windres.h winduni.h
482winduni.o: winduni.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
483  bucomm.h config.h $(INCDIR)/bin-bugs.h $(INCDIR)/fopen-same.h \
484  winduni.h
485readelf.o: readelf.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
486  $(INCDIR)/elf/common.h $(INCDIR)/elf/external.h $(INCDIR)/elf/internal.h \
487  $(INCDIR)/elf/dwarf2.h $(INCDIR)/elf/i386.h $(INCDIR)/elf/reloc-macros.h \
488  $(INCDIR)/elf/v850.h $(INCDIR)/elf/ppc.h $(INCDIR)/elf/mips.h \
489  $(INCDIR)/elf/alpha.h $(INCDIR)/elf/arm.h $(INCDIR)/elf/m68k.h \
490  $(INCDIR)/elf/sparc.h $(INCDIR)/elf/m32r.h $(INCDIR)/elf/d10v.h \
491  $(INCDIR)/elf/d30v.h $(INCDIR)/elf/sh.h $(INCDIR)/elf/mn10200.h \
492  $(INCDIR)/elf/mn10300.h $(INCDIR)/elf/hppa.h $(INCDIR)/elf/arc.h \
493  $(INCDIR)/elf/fr30.h $(INCDIR)/elf/mcore.h $(INCDIR)/elf/i960.h \
494  $(INCDIR)/elf/pj.h $(INCDIR)/elf/avr.h $(INCDIR)/elf/ia64.h \
495  $(INCDIR)/elf/cris.h bucomm.h config.h $(INCDIR)/bin-bugs.h \
496  $(INCDIR)/fopen-same.h $(INCDIR)/getopt.h
497resres.o: resres.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
498  bucomm.h config.h $(INCDIR)/bin-bugs.h $(INCDIR)/fopen-same.h \
499  $(INCDIR)/libiberty.h windres.h winduni.h
500dllwrap.o: dllwrap.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
501  $(INCDIR)/libiberty.h bucomm.h config.h $(INCDIR)/bin-bugs.h \
502  $(INCDIR)/fopen-same.h $(INCDIR)/getopt.h $(INCDIR)/dyn-string.h
503rename.o: rename.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
504  bucomm.h config.h $(INCDIR)/bin-bugs.h $(INCDIR)/fopen-same.h
505underscore.o: underscore.c
506arparse.o: arparse.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
507  bucomm.h config.h $(INCDIR)/bin-bugs.h $(INCDIR)/fopen-same.h \
508  arsup.h
509arlex.o: arlex.c $(INCDIR)/libiberty.h arparse.h
510sysroff.o: sysroff.c
511sysinfo.o: sysinfo.c
512syslex.o: syslex.c sysinfo.h
513defparse.o: defparse.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
514  bucomm.h config.h $(INCDIR)/bin-bugs.h $(INCDIR)/fopen-same.h \
515  dlltool.h
516deflex.o: deflex.c $(INCDIR)/libiberty.h $(INCDIR)/ansidecl.h \
517  defparse.h dlltool.h
518nlmheader.o: nlmheader.c ../bfd/bfd.h bucomm.h config.h \
519  $(INCDIR)/bin-bugs.h $(INCDIR)/fopen-same.h $(INCDIR)/nlm/common.h \
520  $(INCDIR)/nlm/internal.h nlmconv.h
521rcparse.o: rcparse.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
522  bucomm.h config.h $(INCDIR)/bin-bugs.h $(INCDIR)/fopen-same.h \
523  $(INCDIR)/libiberty.h windres.h winduni.h
524rclex.o: rclex.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
525  bucomm.h config.h $(INCDIR)/bin-bugs.h $(INCDIR)/fopen-same.h \
526  $(INCDIR)/libiberty.h windres.h winduni.h rcparse.h
527# IF YOU PUT ANYTHING HERE IT WILL GO AWAY
528