]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame - binutils/Makefile.am
* Makefile.in (EXTRA_GCC_FLAGS): Fix handling of macros with values
[thirdparty/binutils-gdb.git] / binutils / Makefile.am
CommitLineData
d467c30d
ILT
1## Process this file with automake to generate Makefile.in
2
3AUTOMAKE_OPTIONS = dejagnu
4
5tooldir = $(exec_prefix)/$(target_alias)
6
7CC_FOR_BUILD = @CC_FOR_BUILD@
8
9YACC = `if [ -f ../bison/bison ] ; then echo ../bison/bison -y -L../bison/bison ; else echo bison -y ; fi`
10YFLAGS = -d
11LEX = `if [ -f ../flex/flex ] ; then echo ../flex/flex ; else echo flex ; fi`
12
13# these two are almost the same program
14AR_PROG=ar
15RANLIB_PROG=ranlib
16
17# objcopy and strip should be the same program
18OBJCOPY_PROG=objcopy
19STRIP_PROG=strip.new
20
21STRINGS_PROG=strings
22
23# These should all be the same program too.
24SIZE_PROG=size
25NM_PROG=nm.new
26OBJDUMP_PROG=objdump
27
28# This is the demangler, as a standalone program.
29# Note: This one is used as the installed name too, unlike the above.
30DEMANGLER_PROG=c++filt
31
32ADDR2LINE_PROG=addr2line
33
34NLMCONV_PROG=nlmconv
35DLLTOOL_PROG=dlltool
36WINDRES_PROG=windres
37
38SRCONV_PROG=srconv sysdump coffdump
39
40man_MANS = ar.1 nm.1 objdump.1 ranlib.1 size.1 strings.1 strip.1 objcopy.1 \
41 addr2line.1 nlmconv.1 $(DEMANGLER_PROG).1
42
43PROGS = $(SIZE_PROG) $(OBJDUMP_PROG) $(NM_PROG) $(AR_PROG) $(STRINGS_PROG) $(STRIP_PROG) $(RANLIB_PROG) $(DEMANGLER_PROG) $(OBJCOPY_PROG) $(ADDR2LINE_PROG) @BUILD_NLMCONV@ @BUILD_SRCONV@ @BUILD_DLLTOOL@ @BUILD_WINDRES@
44
45bin_PROGRAMS = $(SIZE_PROG) $(OBJDUMP_PROG) $(AR_PROG) $(STRINGS_PROG) \
46 $(RANLIB_PROG) $(DEMANGLER_PROG) $(OBJCOPY_PROG) $(ADDR2LINE_PROG) \
47 @BUILD_NLMCONV@ @BUILD_SRCONV@ @BUILD_DLLTOOL@ @BUILD_WINDRES@
48
49## We need a special rule to install the programs which are built with .new
50noinst_PROGRAMS = $(NM_PROG) $(STRIP_PROG)
51
52EXTRA_PROGRAMS = $(NLMCONV_PROG) $(SRCONV_PROG) $(DLLTOOL_PROG) $(WINDRES_PROG)
53
54# Stuff that goes in tooldir/ if appropriate
bf2a3cb1 55TOOL_PROGS = nm.new strip.new ar$(EXEEXT) ranlib$(EXEEXT) dlltool$(EXEEXT)
d467c30d
ILT
56
57BASEDIR = $(srcdir)/..
58BFDDIR = $(BASEDIR)/bfd
59INCDIR = $(BASEDIR)/include
60
61DEP = mkdep
62
63INCLUDES = -D_GNU_SOURCE -I. -I$(srcdir) -I../bfd -I$(BFDDIR) -I$(INCDIR) @HDEFINES@
64
65HFILES = arsup.h bucomm.h budbg.h coffgrok.h debug.h nlmconv.h dlltool.h \
66 windres.h
67
68GENERATED_HFILES = arparse.h sysroff.h sysinfo.h defparse.h
69
70CFILES = addr2line.c ar.c arsup.c bucomm.c coffdump.c coffgrok.c debug.c \
71 dlltool.c filemode.c ieee.c is-ranlib.c is-strip.c maybe-ranlib.c \
72 maybe-strip.c nlmconv.c nm.c not-ranlib.c not-strip.c \
73 objcopy.c objdump.c prdbg.c rdcoff.c rddbg.c size.c srconv.c \
74 stabs.c strings.c sysdump.c version.c wrstabs.c \
75 windres.c resrc.c rescoff.c resbin.c
76
77GENERATED_CFILES = \
78 underscore.c arparse.c arlex.c sysroff.c sysinfo.c syslex.c \
79 defparse.c deflex.c nlmheader.c rcparse.c rclex.c
80
81DEBUG_SRCS = rddbg.c debug.c stabs.c ieee.c rdcoff.c
82WRITE_DEBUG_SRCS = $(DEBUG_SRCS) wrstabs.c
83
84# Code shared by all the binutils.
85BULIBS = bucomm.c version.c filemode.c
86
87BFDLIB = ../bfd/libbfd.la
88
89OPCODES = ../opcodes/libopcodes.la
90
91LIBIBERTY = ../libiberty/libiberty.a
92
93EXPECT = `if [ -f $$r/../expect/expect ] ; then \
94 echo $$r/../expect/expect ; \
95 else echo expect ; fi`
96RUNTEST = `if [ -f ${srcdir}/../dejagnu/runtest ] ; then \
97 echo ${srcdir}/../dejagnu/runtest ; \
98 else echo runtest ; fi`
99
100CC_FOR_TARGET = ` \
101 if [ -f $$r/../gcc/xgcc ] ; then \
102 if [ -f $$r/../newlib/Makefile ] ; then \
103 echo $$r/../gcc/xgcc -B$$r/../gcc/ -idirafter $$r/../newlib/targ-include -idirafter $${srcroot}/../newlib/libc/include -nostdinc; \
104 else \
105 echo $$r/../gcc/xgcc -B$$r/../gcc/; \
106 fi; \
107 else \
108 if [ "@host@" = "@target@" ] ; then \
109 echo $(CC); \
110 else \
111 echo gcc | sed '$(program_transform_name)'; \
112 fi; \
113 fi`
114
115check-DEJAGNU: site.exp
116 srcdir=`cd $(srcdir) && pwd`; export srcdir; \
117 EXPECT=$(EXPECT); export EXPECT; \
118 if [ -f $(top_builddir)/../expect/expect ]; then \
119 TCL_LIBRARY=`cd $(top_srcdir)/../tcl/library && pwd`; \
120 export TCL_LIBRARY; \
121 fi; \
122 runtest=$(RUNTEST); \
123 if $(SHELL) -c "$$runtest --version" > /dev/null 2>&1; then \
124 $$runtest --tool $(DEJATOOL) --srcdir $${srcdir}/testsuite \
125 CC_FOR_TARGET="$(CC_FOR_TARGET)" \
126 CFLAGS_FOR_TARGET="$(CFLAGS)" $(RUNTESTFLAGS); \
127 else echo "WARNING: could not find \`runtest'" 1>&2; :;\
128 fi
129
130installcheck:
131 /bin/sh $(srcdir)/sanity.sh $(bindir)
132
133info_TEXINFOS = binutils.texi
134
135LDADD = $(BFDLIB) $(LIBIBERTY)
136
137size_SOURCES = size.c $(BULIBS)
138
139objcopy_SOURCES = objcopy.c not-strip.c $(WRITE_DEBUG_SRCS) $(BULIBS)
140
141strings_SOURCES = strings.c $(BULIBS)
142
143strip_new_SOURCES = objcopy.c is-strip.c $(WRITE_DEBUG_SRCS) $(BULIBS)
144
145nm_new_SOURCES = nm.c $(BULIBS)
146
147objdump_SOURCES = objdump.c prdbg.c $(DEBUG_SRCS) $(BULIBS)
148objdump_LDADD = $(OPCODES) $(BFDLIB) $(LIBIBERTY)
149
150underscore.c: stamp-under ; @true
151
152stamp-under: Makefile
153 echo '/*WARNING: This file is automatically generated!*/' >underscore.t
154 echo "int prepends_underscore = @UNDERSCORE@;" >>underscore.t
155 $(SHELL) $(srcdir)/../move-if-change underscore.t underscore.c
156 touch stamp-under
157
158version.o: version.c Makefile
159 $(COMPILE) -c -DVERSION='"$(VERSION)"' $(srcdir)/version.c
160
161bucomm.o: bucomm.c Makefile
162 $(COMPILE) -c -DTARGET='"@target@"' $(srcdir)/bucomm.c
163
164cplus-dem.o: $(BASEDIR)/libiberty/cplus-dem.c $(INCDIR)/getopt.h
165 $(COMPILE) -c -DMAIN -DVERSION='"$(VERSION)"' $(BASEDIR)/libiberty/cplus-dem.c
166
167c__filt_SOURCES =
168c__filt_LDADD = cplus-dem.o underscore.o $(LIBIBERTY)
169
170ar_SOURCES = arparse.y arlex.l ar.c not-ranlib.c arsup.c $(BULIBS)
171ar_LDADD = $(BFDLIB) $(LIBIBERTY) @LEXLIB@
172
173ranlib_SOURCES = ar.c is-ranlib.c arparse.y arlex.l arsup.c $(BULIBS)
174ranlib_LDADD = $(BFDLIB) $(LIBIBERTY) @LEXLIB@
175
176addr2line_SOURCES = addr2line.c $(BULIBS)
177
178# The following is commented out for the convertion to automake.
179# This rule creates a single binary that switches between ar and ranlib
180# by looking at argv[0]. Use this kludge to save some disk space.
181# However, you have to install things by hand.
182# (That is after 'make install', replace the installed ranlib by a link to ar.)
183# Alternatively, you can install ranlib.sh as ranlib.
184# ar_with_ranlib: $(ADDL_DEPS) ar.o maybe-ranlib.o
185# $(HLDENV) $(CC) $(HLDFLAGS) $(CFLAGS) $(LDFLAGS) -o $(AR_PROG) ar.o maybe-ranlib.o $(ADDL_LIBS) $(EXTRALIBS)
186# -rm -f $(RANLIB_PROG)
187# -ln $(AR_PROG) $(RANLIB_PROG)
188#
189# objcopy and strip in one binary that uses argv[0] to decide its action.
190#
191#objcopy_with_strip: $(ADDL_DEPS) objcopy.o maybe-strip.o
192# $(HLDENV) $(CC) $(HLDFLAGS) $(CFLAGS) $(LDFLAGS) -o $(OBJCOPY_PROG) objcopy.o maybe-strip.o $(ADDL_LIBS) $(EXTRALIBS)
193# -rm -f $(STRIP_PROG)
194# -ln $(OBJCOPY_PROG) $(STRIP_PROG)
195
196sysroff.c: sysinfo sysroff.info
197 ./sysinfo -c <$(srcdir)/sysroff.info >sysroff.c
198 ./sysinfo -i <$(srcdir)/sysroff.info >>sysroff.c
199 ./sysinfo -g <$(srcdir)/sysroff.info >>sysroff.c
200
201sysroff.h: sysinfo sysroff.info
202 ./sysinfo -d <$(srcdir)/sysroff.info >sysroff.h
203
204sysinfo: sysinfo.o syslex.o
205 $(CC_FOR_BUILD) $(CFLAGS) $(LDFLAGS) -o $@ sysinfo.o syslex.o
206
207syslex.o: syslex.c sysinfo.h
208 if [ -r syslex.c ]; then \
209 $(CC_FOR_BUILD) -c -I. $(CFLAGS) syslex.c ; \
210 else \
211 $(CC_FOR_BUILD) -c -I. -I$(srcdir) $(CFLAGS) $(srcdir)/syslex.c ;\
212 fi
213
214sysinfo.o: sysinfo.c
215 if [ -r sysinfo.c ]; then \
216 $(CC_FOR_BUILD) -c -I. $(CFLAGS) sysinfo.c ; \
217 else \
218 $(CC_FOR_BUILD) -c -I. $(CFLAGS) $(srcdir)/sysinfo.c ; \
219 fi
220
221srconv_SOURCES = srconv.c coffgrok.c $(BULIBS)
222
223dlltool_SOURCES = dlltool.c defparse.y deflex.l $(BULIBS)
224dlltool_LDADD = $(BFDLIB) $(LIBIBERTY) @LEXLIB@
225
226dlltool.o:dlltool.c
227 $(COMPILE) -c $(DLLTOOL_DEFS) $(srcdir)/dlltool.c
228
229coffdump_SOURCES = coffdump.c coffgrok.c $(BULIBS)
230
231sysdump_SOURCES = sysdump.c $(BULIBS)
232
233# coff/sym.h and coff/ecoff.h won't be found by the automatic dependency
234# scripts, since they are only included conditionally.
235nlmconv.o: nlmconv.c $(INCDIR)/coff/sym.h $(INCDIR)/coff/ecoff.h
236 ldname=`echo ld | sed '$(program_transform_name)'`; \
237 $(COMPILE) -c -DLD_NAME="\"$${ldname}\"" @NLMCONV_DEFS@ $(srcdir)/nlmconv.c
238
239nlmconv_SOURCES = nlmconv.c nlmheader.y $(BULIBS)
240
e5b3abe4
ILT
241windres_SOURCES = windres.c resrc.c rescoff.c resbin.c rcparse.y rclex.l \
242 $(BULIBS)
d467c30d
ILT
243windres_LDADD = $(BFDLIB) $(LIBIBERTY) @LEXLIB@
244
245# Targets to rebuild dependencies in this Makefile.
246# Have to get rid of .dep1 here so that "$?" later includes all of $(CFILES).
247.dep: dep.sed $(CFILES) $(HFILES) $(GENERATED_CFILES) $(GENERATED_HFILES) config.h
248 rm -f .dep1
249 $(MAKE) DEP=$(DEP) .dep1
250 sed -f dep.sed <.dep1 >.dep
251
252# This rule really wants a mkdep that runs "gcc -MM".
253.dep1: $(CFILES) $(GENERATED_CFILES)
254 rm -f .dep2
255 echo '# DO NOT DELETE THIS LINE -- mkdep uses it.' > .dep2
256 $(DEP) -f .dep2 $(ALL_CFLAGS) $?
257 $(SHELL) $(srcdir)/../move-if-change .dep2 .dep1
258
259dep.sed: dep-in.sed config.status
260 sed <$(srcdir)/dep-in.sed >dep.sed \
261 -e 's!@INCDIR@!$(INCDIR)!' \
262 -e 's!@BFDDIR@!$(BFDDIR)!' \
263 -e 's!@SRCDIR@!$(srcdir)!'
264
265dep: .dep
266 sed -e '/^..DO NOT DELETE THIS LINE/,$$d' < Makefile > tmp-Makefile
267 cat .dep >> tmp-Makefile
268 $(SHELL) $(srcdir)/../move-if-change tmp-Makefile Makefile
269
270dep-in: .dep
271 sed -e '/^..DO NOT DELETE THIS LINE/,$$d' < $(srcdir)/Makefile.in > tmp-Makefile.in
272 cat .dep >> tmp-Makefile.in
273 $(SHELL) $(srcdir)/../move-if-change tmp-Makefile.in $(srcdir)/Makefile.in
274
275dep-am: .dep
276 sed -e '/^..DO NOT DELETE THIS LINE/,$$d' < $(srcdir)/Makefile.am > tmp-Makefile.am
277 cat .dep >> tmp-Makefile.am
278 $(SHELL) $(srcdir)/../move-if-change tmp-Makefile.am $(srcdir)/Makefile.am
279
280.PHONY: dep dep-in dep-am
281
282###
283# DOCUMENTATION TARGETS
284config.texi: Makefile
285 rm -f config.texi
286 echo '@set VERSION $(VERSION)' > config.texi
287
288binutils.dvi: $(srcdir)/binutils.texi config.texi
289
290binutils.info: $(srcdir)/binutils.texi config.texi
291
292$(DEMANGLER_PROG).1: cxxfilt.man Makefile
293 sed -e 's/@PROGRAM@/$(DEMANGLER_PROG)/' < $(srcdir)/cxxfilt.man \
294 > $(DEMANGLER_PROG).1
295
296CLEANFILES = dep.sed .dep .dep1
297
298.PHONY: install-exec-local
299
300install-exec-local: $(bin_PROGRAMS) $(noinst_PROGRAMS)
301 @list='$(noinst_PROGRAMS)'; for p in $$list; do \
302 if test -f $$p; then \
bf2a3cb1
ILT
303 echo " $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) $$p $(bindir)/`echo $$p|sed -e 's/.new//'|sed '$(transform)'`$(EXEEXT)"; \
304 $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) $$p $(bindir)/`echo $$p|sed -e 's/.new//'|sed '$(transform)'`$(EXEEXT); \
d467c30d
ILT
305 else :; fi; \
306 done
307 for i in $(TOOL_PROGS); do \
308 if [ -f $$i ]; then \
bf2a3cb1
ILT
309 j=`echo $$i | sed -e 's/.new//' -e 's/$(EXEEXT)//'`; \
310 rm -f $(tooldir)/bin/$$j$(EXEEXT); \
d467c30d 311 k=`echo $$j | sed '$(transform)'`; \
bf2a3cb1
ILT
312 ln $(bindir)/$$k$(EXEEXT) $(tooldir)/bin/$$j$(EXEEXT) >/dev/null 2>/dev/null \
313 || $(INSTALL_PROGRAM) $$i $(tooldir)/bin/$$j$(EXEEXT); \
d467c30d
ILT
314 else true; \
315 fi; \
316 done
317
318# What appears below is generated by a hacked mkdep using gcc -MM.
319
320# DO NOT DELETE THIS LINE -- mkdep uses it.
321# DO NOT PUT ANYTHING AFTER THIS LINE, IT WILL GO AWAY.
322
323addr2line.o: addr2line.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
324 $(INCDIR)/getopt.h $(INCDIR)/libiberty.h $(INCDIR)/demangle.h \
325 bucomm.h config.h $(INCDIR)/fopen-same.h
326ar.o: ar.c ../bfd/bfd.h $(INCDIR)/ansidecl.h $(INCDIR)/libiberty.h \
327 $(INCDIR)/progress.h bucomm.h config.h $(INCDIR)/fopen-same.h \
328 $(INCDIR)/aout/ar.h $(BFDDIR)/libbfd.h arsup.h
329arsup.o: arsup.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
330 arsup.h $(INCDIR)/libiberty.h bucomm.h config.h $(INCDIR)/fopen-same.h
331bucomm.o: bucomm.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
332 $(INCDIR)/libiberty.h bucomm.h config.h $(INCDIR)/fopen-same.h
333coffdump.o: coffdump.c coffgrok.h bucomm.h config.h \
334 $(INCDIR)/fopen-same.h
335coffgrok.o: coffgrok.c bucomm.h config.h $(INCDIR)/fopen-same.h \
336 $(INCDIR)/coff/internal.h $(BFDDIR)/libcoff.h $(INCDIR)/bfdlink.h \
337 coffgrok.h
338debug.o: debug.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
339 bucomm.h config.h $(INCDIR)/fopen-same.h $(INCDIR)/libiberty.h \
340 debug.h
341dlltool.o: dlltool.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
342 $(INCDIR)/libiberty.h bucomm.h config.h $(INCDIR)/fopen-same.h \
343 $(INCDIR)/getopt.h $(INCDIR)/demangle.h dlltool.h
344filemode.o: filemode.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
345 bucomm.h config.h $(INCDIR)/fopen-same.h
346ieee.o: ieee.c ../bfd/bfd.h $(INCDIR)/ansidecl.h $(INCDIR)/ieee.h \
347 bucomm.h config.h $(INCDIR)/fopen-same.h $(INCDIR)/libiberty.h \
348 debug.h budbg.h
349is-ranlib.o: is-ranlib.c
350is-strip.o: is-strip.c
351maybe-ranlib.o: maybe-ranlib.c
352maybe-strip.o: maybe-strip.c
353nlmconv.o: nlmconv.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
354 $(INCDIR)/libiberty.h bucomm.h config.h $(INCDIR)/fopen-same.h \
355 $(BFDDIR)/libnlm.h $(INCDIR)/nlm/common.h $(INCDIR)/nlm/internal.h \
356 $(INCDIR)/nlm/external.h nlmconv.h
357nm.o: nm.c ../bfd/bfd.h $(INCDIR)/ansidecl.h $(INCDIR)/progress.h \
358 bucomm.h config.h $(INCDIR)/fopen-same.h $(INCDIR)/getopt.h \
359 $(INCDIR)/aout/stab_gnu.h $(INCDIR)/aout/stab.def $(INCDIR)/aout/ranlib.h \
360 $(INCDIR)/demangle.h $(INCDIR)/libiberty.h
361not-ranlib.o: not-ranlib.c
362not-strip.o: not-strip.c
363objcopy.o: objcopy.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
364 $(INCDIR)/progress.h bucomm.h config.h $(INCDIR)/fopen-same.h \
365 $(INCDIR)/getopt.h $(INCDIR)/libiberty.h budbg.h
366objdump.o: objdump.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
367 $(INCDIR)/getopt.h $(INCDIR)/progress.h bucomm.h config.h \
368 $(INCDIR)/fopen-same.h $(INCDIR)/dis-asm.h $(INCDIR)/libiberty.h \
369 $(INCDIR)/demangle.h debug.h budbg.h $(INCDIR)/aout/aout64.h
370prdbg.o: prdbg.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
371 bucomm.h config.h $(INCDIR)/fopen-same.h $(INCDIR)/libiberty.h \
372 debug.h budbg.h
373rdcoff.o: rdcoff.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
374 $(INCDIR)/coff/internal.h bucomm.h config.h $(INCDIR)/fopen-same.h \
375 $(INCDIR)/libiberty.h $(INCDIR)/demangle.h debug.h \
376 budbg.h $(BFDDIR)/libcoff.h $(INCDIR)/bfdlink.h
377rddbg.o: rddbg.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
378 bucomm.h config.h $(INCDIR)/fopen-same.h $(INCDIR)/libiberty.h \
379 debug.h budbg.h
380size.o: size.c ../bfd/bfd.h $(INCDIR)/ansidecl.h $(INCDIR)/getopt.h \
381 bucomm.h config.h $(INCDIR)/fopen-same.h $(INCDIR)/libiberty.h
382srconv.o: srconv.c bucomm.h config.h $(INCDIR)/fopen-same.h \
383 sysroff.h coffgrok.h $(INCDIR)/coff/internal.h $(BFDDIR)/libcoff.h \
384 $(INCDIR)/bfdlink.h sysroff.c
385stabs.o: stabs.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
386 bucomm.h config.h $(INCDIR)/fopen-same.h $(INCDIR)/libiberty.h \
387 $(INCDIR)/demangle.h debug.h budbg.h $(INCDIR)/aout/aout64.h \
388 $(INCDIR)/aout/stab_gnu.h $(INCDIR)/aout/stab.def
389strings.o: strings.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
390 bucomm.h config.h $(INCDIR)/fopen-same.h $(INCDIR)/libiberty.h
391sysdump.o: sysdump.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
392 bucomm.h config.h $(INCDIR)/fopen-same.h sysroff.h \
393 sysroff.c
394version.o: version.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
395 bucomm.h config.h $(INCDIR)/fopen-same.h
396wrstabs.o: wrstabs.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
397 bucomm.h config.h $(INCDIR)/fopen-same.h $(INCDIR)/libiberty.h \
398 debug.h budbg.h $(INCDIR)/aout/aout64.h $(INCDIR)/aout/stab_gnu.h \
399 $(INCDIR)/aout/stab.def
400windres.o: windres.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
401 $(INCDIR)/getopt.h bucomm.h config.h $(INCDIR)/fopen-same.h \
402 $(INCDIR)/libiberty.h $(INCDIR)/obstack.h windres.h
403resrc.o: resrc.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
404 bucomm.h config.h $(INCDIR)/fopen-same.h $(INCDIR)/libiberty.h \
405 windres.h
406rescoff.o: rescoff.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
407 bucomm.h config.h $(INCDIR)/fopen-same.h $(INCDIR)/libiberty.h \
408 windres.h $(INCDIR)/coff/internal.h $(BFDDIR)/libcoff.h \
409 $(INCDIR)/bfdlink.h
410resbin.o: resbin.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
411 bucomm.h config.h $(INCDIR)/fopen-same.h $(INCDIR)/libiberty.h \
412 windres.h
413underscore.o: underscore.c
414arparse.o: arparse.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
415 bucomm.h config.h $(INCDIR)/fopen-same.h arsup.h
416arlex.o: arlex.c $(INCDIR)/libiberty.h arparse.h
417sysroff.o: sysroff.c
418sysinfo.o: sysinfo.c
419syslex.o: syslex.c sysinfo.h
420defparse.o: defparse.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
421 bucomm.h config.h $(INCDIR)/fopen-same.h dlltool.h
422deflex.o: deflex.c $(INCDIR)/libiberty.h $(INCDIR)/ansidecl.h \
423 defparse.h dlltool.h
424nlmheader.o: nlmheader.c ../bfd/bfd.h bucomm.h config.h \
425 $(INCDIR)/fopen-same.h $(INCDIR)/nlm/common.h $(INCDIR)/nlm/internal.h \
426 nlmconv.h
427rcparse.o: rcparse.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
428 bucomm.h config.h $(INCDIR)/fopen-same.h $(INCDIR)/libiberty.h \
429 windres.h
430rclex.o: rclex.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
431 bucomm.h config.h $(INCDIR)/fopen-same.h $(INCDIR)/libiberty.h \
432 windres.h rcparse.h
433
434# IF YOU PUT ANYTHING HERE IT WILL GO AWAY