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