* configure.in (pc532mach_vec): Change to pc532machaout_vec.
[external/binutils.git] / bfd / Makefile.in
1 #    Makefile template for Configure for the BFD library.
2 #    Copyright (C) 1990, 1991, 1992, 1993 Free Software Foundation, Inc.
3 #    Written by Cygnus Support.
4
5 # This file is part of BFD, the Binary File Descriptor library.
6
7 # This program is free software; you can redistribute it and/or modify
8 # it under the terms of the GNU General Public License as published by
9 # the Free Software Foundation; either version 2 of the License, or
10 # (at your option) any later version.
11
12 # This program is distributed in the hope that it will be useful,
13 # but WITHOUT ANY WARRANTY; without even the implied warranty of
14 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
15 # GNU General Public License for more details.
16
17 # You should have received a copy of the GNU General Public License
18 # along with this program; if not, write to the Free Software
19 # Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
20
21 srcdir = .
22
23 prefix = /usr/local
24
25 exec_prefix = $(prefix)
26 bindir = $(exec_prefix)/bin
27 libdir = $(exec_prefix)/lib
28
29 datadir = $(prefix)/lib
30 mandir = $(prefix)/man
31 man1dir = $(mandir)/man1
32 man2dir = $(mandir)/man2
33 man3dir = $(mandir)/man3
34 man4dir = $(mandir)/man4
35 man5dir = $(mandir)/man5
36 man6dir = $(mandir)/man6
37 man7dir = $(mandir)/man7
38 man8dir = $(mandir)/man8
39 man9dir = $(mandir)/man9
40 infodir = $(prefix)/info
41 includedir = $(prefix)/include
42 oldincludedir =
43 docdir = doc
44
45 SHELL = /bin/sh
46
47 INSTALL = install -c
48 INSTALL_PROGRAM = $(INSTALL)
49 INSTALL_DATA = $(INSTALL)
50
51 AR = ar
52 AR_FLAGS = rc
53 CFLAGS = -g
54 BISON = bison
55 MAKEINFO = makeinfo
56 RANLIB = ranlib
57
58 CC_FOR_BUILD = $(CC)
59
60 INCDIR = $(srcdir)/../include
61 CSEARCH = -I. -I$(srcdir) -I$(INCDIR)
62 DEP = mkdep
63
64 SUBDIRS = doc
65
66
67 TARGETLIB = libbfd.a
68
69 # bfd.h goes here, for now
70 BFD_H = bfd.h
71
72 # Some of these files should be in BFD*_BACKENDS below, but some programs
73 # won't link without them.  So, in order for some of the minimal-bfd
74 # hacks to work, they're also included here for now.
75 #       gdb: elf.o
76 #       objdump: elf.o
77 #
78 # Also, Jim Kingdon notes:
79 # Writing S-records should be included in all (or at least most)
80 # *-*-coff, *-*-aout, etc., configurations, because people will want to
81 # be able to use objcopy to create S-records.  (S-records are not useful
82 # for the debugger, so if you are downloading things as S-records you
83 # need two copies of the executable, one to download and one for the
84 # debugger).
85 BFD_LIBS = \
86         archive.o archures.o bfd.o cache.o coffgen.o core.o ctor.o \
87         format.o init.o libbfd.o opncls.o reloc.o \
88         section.o syms.o targets.o hash.o linker.o \
89         elf.o srec.o
90
91 # This list is alphabetized to make it easier to keep in sync
92 # with the decls and initializer in archures.c.
93 ALL_MACHINES = \
94         cpu-a29k.o \
95         cpu-alpha.o \
96         cpu-h8300.o \
97         cpu-h8500.o \
98         cpu-hppa.o \
99         cpu-i386.o \
100         cpu-i960.o \
101         cpu-m68k.o \
102         cpu-m88k.o \
103         cpu-mips.o \
104         cpu-ns32k.o \
105         cpu-powerpc.o \
106         cpu-rs6000.o \
107         cpu-sh.o \
108         cpu-sparc.o \
109         cpu-vax.o \
110         cpu-we32k.o \
111         cpu-z8k.o
112
113 # The .o files needed by all of the 32 bit vectors that are configured into
114 # target_vector in targets.c if configured with --enable-targets=all.
115 BFD32_BACKENDS = \
116         aout-adobe.o \
117         aout-ns32k.o \
118         aout0.o \
119         aout32.o \
120         bout.o \
121         cf-i386lynx.o \
122         cf-m68klynx.o \
123         cf-sparclynx.o \
124         coff-a29k.o \
125         coff-apollo.o \
126         coff-h8300.o \
127         coff-h8500.o \
128         coff-i386.o \
129         coff-go32.o \
130         coff-i960.o \
131         coff-m68k.o \
132         coff-m88k.o \
133         coff-mips.o \
134         coff-rs6000.o \
135         coff-sh.o \
136         coff-sparc.o \
137         coff-u68k.o \
138         coff-we32k.o \
139         coff-z8k.o \
140         ecoff.o \
141         ecofflink.o \
142         elf32-gen.o \
143         elf32-hppa.o \
144         elf32-i386.o \
145         elf32-i860.o \
146         elf32-m68k.o \
147         elf32-m88k.o \
148         elf32-mips.o \
149         elf32-ppc.o \
150         elf32-sparc.o \
151         elf32.o \
152         hp300hpux.o \
153         som.o \
154         i386aout.o \
155         i386bsd.o \
156         i386linux.o \
157         i386lynx.o \
158         netbsd386.o \
159         netbsd532.o \
160         i386mach3.o \
161         i386os9k.o \
162         ieee.o \
163         m68klynx.o \
164         m88kmach3.o \
165         mipsbsd.o \
166         newsos3.o \
167         nlm.o \
168         nlm32-i386.o \
169         nlm32-sparc.o \
170         nlm32-ppc.o \
171         nlm32.o \
172         oasys.o \
173         pc532-mach.o \
174         reloc16.o \
175         sparclynx.o \
176         stab-syms.o \
177         sunos.o
178
179 # The .o files needed by all of the 64 bit vectors that are configured into
180 # target_vector in targets.c if configured with --enable-targets=all
181 # and --enable-64-bit-bfd.
182 BFD64_BACKENDS = \
183         aout64.o \
184         coff-alpha.o \
185         demo64.o \
186         elf64-gen.o \
187         elf64-sparc.o \
188         elf64.o \
189         nlm32-alpha.o \
190         nlm64.o
191
192 OPTIONAL_BACKENDS = \
193         aix386-core.o \
194         hpux-core.o \
195         irix-core.o \
196         lynx-core.o \
197         osf-core.o \
198         trad-core.o \
199         cisco-core.o
200
201 # These are defined by configure.in:
202 # WORDSIZE=32
203 # BFD_BACKENDS = $(BFD32_BACKENDS)
204
205 all:
206
207 #### host and target dependent Makefile fragments come in here.
208 ###
209
210 FLAGS_TO_PASS = \
211         "prefix=$(prefix)" \
212         "exec_prefix=$(exec_prefix)" \
213         "against=$(against)" \
214         "AR=$(AR)" \
215         "AR_FLAGS=$(AR_FLAGS)" \
216         "CC=$(CC)" \
217         "CC_FOR_BUILD=$(CC_FOR_BUILD)" \
218         "CFLAGS=$(CFLAGS)" \
219         "RANLIB=$(RANLIB)" \
220         "MAKEINFO=$(MAKEINFO)" \
221         "INSTALL=$(INSTALL)" \
222         "INSTALL_DATA=$(INSTALL_DATA)" \
223         "INSTALL_PROGRAM=$(INSTALL_PROGRAM)" \
224         "BISON=$(BISON)"
225
226 ALL_CFLAGS=$(CFLAGS) $(HDEFINES) $(TDEFINES) $(CSEARCH) $(CSWITCHES)
227 .c.o:
228         $(CC) -c $(ALL_CFLAGS) $<
229
230 # C source files that correspond to .o's.
231 CFILES = libbfd.c opncls.c bfd.c archive.c targets.c cache.c \
232          archures.c coff-i386.c coff-go32.c aout64.c aout32.c sunos.c demo64.c \
233          coff-i960.c srec.c tekhex.c oasys.c ieee.c aout0.c \
234          ecoff.c ecofflink.c coff-m68k.c coff-u68k.c coff-apollo.c \
235          coff-a29k.c coff-rs6000.c coff-sparc.c coffgen.c format.c \
236          section.c core.c syms.c stab-syms.c reloc.c init.c ctor.c \
237          coff-m88k.c coff-mips.c coff-sh.c trad-core.c cisco-core.c newsos3.c \
238          i386aout.c i386linux.c netbsd386.c i386mach3.c i386os9k.c \
239          bout.c aout-adobe.c coff-we32k.c \
240          i386bsd.c i386dynix.c cpu-h8300.c cpu-i960.c cpu-sparc.c cpu-m68k.c \
241          cpu-m88k.c cpu-vax.c cpu-mips.c cpu-a29k.c cpu-i386.c cpu-powerpc.c \
242          cpu-rs6000.c coff-h8300.c som.c cpu-hppa.c cpu-we32k.c reloc16.c \
243          mipsbsd.c cpu-sh.c \
244          elf.c elf32.c elf32-sparc.c elf32-i386.c elf32-i860.c elf32-m68k.c \
245          elf32-hppa.c elf32-m88k.c elf32-mips.c elf32-gen.c elf32-ppc.c \
246          elf64.c elf64-gen.c elf64-sparc.c \
247          nlm.c nlm32.c nlm32-i386.c nlm32-sparc.c nlm32-alpha.c \
248          nlm64.c coff-alpha.c cpu-alpha.c nlm32-ppc.c \
249          hp300bsd.c hp300hpux.c \
250          i386lynx.c cf-i386lynx.c m68klynx.c cf-m68klynx.c \
251          sparclynx.c cf-sparclynx.c aix386-core.c hpux-core.c \
252          irix-core.c lynx-core.c osf-core.c hash.c linker.c
253
254 HFILES = aout-target.h aoutf1.h aoutx.h coffcode.h \
255          coffswap.h ecoffswap.h elf32-hppa.h elf32-target.h elf64-target.h \
256          elfcode.h hppa_stubs.h libaout.h libbfd.h \
257          libcoff.h libecoff.h libelf.h libhppa.h libieee.h libnlm.h \
258          liboasys.h nlm-target.h nlmcode.h som.h genlink.h
259
260 STAGESTUFF = $(TARGETLIB) $(OFILES)
261
262 all: Makefile $(TARGETLIB) 
263         @$(MAKE) subdir_do DO=all "DODIRS=$(SUBDIRS)" $(FLAGS_TO_PASS)
264
265 .NOEXPORT:
266 MAKEOVERRIDES=
267
268 .PHONY: check installcheck
269 check:
270         @echo No testsuites exist for the BFD library. Nothing to check.
271
272 installcheck:
273         @echo No testsuites exist for the BFD library. Nothing to check.
274
275 info dvi : force
276         @$(MAKE) subdir_do DO=$@ "DODIRS=$(SUBDIRS)" $(FLAGS_TO_PASS)
277
278 clean-info:
279         @$(MAKE) subdir_do DO=clean-info "DODIRS=$(SUBDIRS)" $(FLAGS_TO_PASS)
280         
281 install-info: force
282         @$(MAKE) subdir_do DO=install-info "DODIRS=$(SUBDIRS)" $(FLAGS_TO_PASS)
283
284 diststuff: info
285
286 # Various kinds of .o files to put in libbfd.a:
287 # BFD_LIBS      Generic routines, always needed.
288 # BFD_BACKENDS  Routines the configured targets need.
289 # BFD_MACHINES  Architecture-specific routines the configured targets need.
290 # HDEPFILES     Routines the host needs, regardless of target.
291 # TDEPFILES     Routines the target needs, regardless of host.
292 OFILES = $(BFD_LIBS) $(BFD_BACKENDS) $(BFD_MACHINES) $(HDEPFILES) $(TDEPFILES)
293
294 ofiles : Makefile
295         rm -f ofiles
296         f=""; \
297         for i in $(OFILES) ; do \
298           case " $$f " in \
299             *" $$i "*) ;; \
300             *) f="$$f $$i" ;; \
301           esac ; \
302         done ; \
303         echo $$f > ofiles
304
305 $(TARGETLIB): $(OFILES) ofiles
306         rm -f $(TARGETLIB)
307         @echo ofiles = `cat ofiles`
308         $(AR) $(AR_FLAGS) $(TARGETLIB) `cat ofiles`
309         $(RANLIB) $(TARGETLIB)
310
311 # When compiling archures.c and targets.c, supply the default target
312 # info from configure.
313
314
315 targets.o: targets.c Makefile
316         $(CC) -c $(ALL_CFLAGS) $(TDEFAULTS) $<
317
318 archures.o: archures.c Makefile
319         $(CC) -c $(ALL_CFLAGS) $(TDEFAULTS) $<
320
321 subdir_do: force
322         @for i in $(DODIRS); do \
323                 if [ -d ./$$i ] ; then \
324                         if (cd ./$$i; \
325                                 $(MAKE) $(FLAGS_TO_PASS) $(DO)) ; then true ; \
326                         else exit 1 ; fi ; \
327                 else true ; fi ; \
328         done
329
330 tags etags: TAGS
331
332 TAGS: force
333         etags $(INCDIR)/*.h $(srcdir)/*.h $(srcdir)/*.c
334
335 do_mostlyclean:
336         rm -f *.o *~ core *.E *.p *.ip aout-params.h gen-aout
337 do_clean: do_mostlyclean
338         rm -f libbfd.a TAGS bfd.h stmp-bfd.h ofiles
339 do_distclean: do_clean
340         rm -f Makefile config.status sysdep.h
341
342 # Should we remove $(srcdir)/libcoff.h $(srcdir)/libbfd.h $(srcdir)/bfd-in2.h?
343 # make-stds.texi says it depends on whether they can be regenerated using
344 # this makefile.  Well, they can, but only via an explicit "make headers";
345 # the makefile does not regenerate them as needed.  So I guess we should not
346 # remove them in realclean.
347 do_realclean: do_distclean
348
349 mostlyclean: do_mostlyclean
350         $(MAKE) subdir_do DO=mostlyclean "DODIRS=$(SUBDIRS)" $(FLAGS_TO_PASS)
351 clean: do_clean
352         $(MAKE) subdir_do DO=clean "DODIRS=$(SUBDIRS)" $(FLAGS_TO_PASS)
353 distclean:
354         $(MAKE) subdir_do DO=distclean "DODIRS=$(SUBDIRS)" $(FLAGS_TO_PASS)
355         $(MAKE) do_distclean
356 clobber realclean:
357         $(MAKE) subdir_do DO=realclean "DODIRS=$(SUBDIRS)" $(FLAGS_TO_PASS)
358         $(MAKE) do_realclean
359
360 # Mark everything as depending on config.status, since the timestamp on
361 # sysdep.h might actually move backwards if we reconfig and relink it
362 # to a different hosts/h-xxx.h file.  This will force a recompile anyway.
363 BFD_H_DEPS= $(INCDIR)/ansidecl.h $(INCDIR)/obstack.h
364 RECONFIG = config.status
365 $(BFD_LIBS):  libbfd.h $(BFD_H) $(RECONFIG) $(BFD_H_DEPS)
366 $(BFD_MACHINES):  libbfd.h $(BFD_H) $(RECONFIG) $(BFD_H_DEPS)
367 $(BFD_BACKENDS):  libbfd.h $(BFD_H) $(RECONFIG) $(BFD_H_DEPS)
368 $(OPTIONAL_BACKENDS):  libbfd.h $(BFD_H) $(RECONFIG) $(BFD_H_DEPS)
369
370 # Get around a Sun Make bug in SunOS 4.1.1 with VPATH
371 cpu-i386.o:cpu-i386.c
372 cpu-z8k.o: cpu-z8k.c
373 cpu-h8500.o: cpu-h8500.c
374 cpu-we32k.o: cpu-we32k.c
375
376 saber:
377         #suppress 65 on bfd_map_over_sections 
378         #suppress 66 on bfd_map_over_sections 
379         #suppress 67 on bfd_map_over_sections 
380         #suppress 68 on bfd_map_over_sections 
381         #suppress 69 on bfd_map_over_sections 
382         #suppress 70 on bfd_map_over_sections 
383         #suppress 110 in bfd_map_over_sections 
384         #suppress 112 in bfd_map_over_sections 
385         #suppress 530 
386         #suppress 590 in swap_exec_header 
387         #suppress 590 in _bfd_dummy_core_file_matches_executable_p 
388         #suppress 590 in bfd_dont_truncate_arname
389         #suppress 590 on ignore 
390         #suppress 590 on abfd 
391         #setopt load_flags $(CFLAGS)
392         #load $(CFILES)
393
394
395 #-----------------------------------------------------------------------------
396 #               'STANDARD' GNU/960 TARGETS BELOW THIS POINT
397 #
398 # 'VERSION' file must be present and contain a string of the form "x.y"
399 #-----------------------------------------------------------------------------
400
401 ver960.c: FORCE
402         rm -f ver960.c
403         echo "char ${TARG}_ver[]= \"${TARG} `cat VERSION`, `date`\";" > ver960.c
404
405
406 # This target should be invoked before building a new release.
407 # 'VERSION' file must be present and contain a string of the form "x.y"
408 #
409 roll:
410         @V=`cat VERSION`                ; \
411         MAJ=`sed 's/\..*//' VERSION`    ; \
412         MIN=`sed 's/.*\.//' VERSION`    ; \
413         V=$$MAJ.`expr $$MIN + 1`        ; \
414         rm -f VERSION                   ; \
415         echo $$V >VERSION               ; \
416         echo Version $$V
417
418 # Dummy target to force execution of dependent targets.
419 #
420 force:
421
422 install:
423         $(INSTALL_DATA) libbfd.a $(libdir)/libbfd.a
424         $(RANLIB) $(libdir)/libbfd.a
425 # Install BFD include file, and others that it needs.  Install them
426 # both in GCC's include directory, and in the system include dir
427 # if configured as $(oldincludedir) -- which it usually isnt.
428         $(INSTALL_DATA) $(BFD_H) $(includedir)/bfd.h
429         $(INSTALL_DATA) $(INCDIR)/ansidecl.h $(includedir)/ansidecl.h
430         $(INSTALL_DATA) $(INCDIR)/obstack.h $(includedir)/obstack.h
431         -if test -z "$(oldincludedir)"; then true; else \
432         test -d $(oldincludedir) || mkdir $(oldincludedir); \
433         $(INSTALL_DATA) $(BFD_H) $(oldincludedir)/bfd.h; \
434         $(INSTALL_DATA) $(INCDIR)/ansidecl.h $(oldincludedir)/ansidecl.h; \
435         $(INSTALL_DATA) $(INCDIR)/obstack.h $(oldincludedir)/obstack.h; \
436         $(MAKE) subdir_do DO=install "DODIRS=$(SUBDIRS)" $(FLAGS_TO_PASS); \
437         fi
438
439 Makefile: Makefile.in configure.in $(host_makefile_frag) $(target_makefile_frag)
440         $(SHELL) config.status
441
442 # Have to get rid of .dep1 here so that "$?" later includes all of $(CFILES).
443 .dep: dep.sed $(CFILES) $(HFILES) bfd.h
444         rm -f .dep1
445         $(MAKE) DEP=$(DEP) .dep1
446         sed -f dep.sed <.dep1 >.dep
447
448 # This rule really wants a mkdep that runs "gcc -MM".
449 .dep1: $(CFILES)
450         rm -f .dep2
451         echo '# DO NOT DELETE THIS LINE -- mkdep uses it.' > .dep2
452         $(DEP) -f .dep2 $(ALL_CFLAGS) $?
453         $(srcdir)/../move-if-change .dep2 .dep1
454
455 dep.sed: dep-in.sed config.status
456         sed <$(srcdir)/dep-in.sed >dep.sed      \
457                 -e 's!@BFD_H@!$(BFD_H)!'        \
458                 -e 's!@INCDIR@!$(INCDIR)!'      \
459                 -e 's!@srcdir@!$(srcdir)!'
460
461 dep: .dep
462         sed -e '/^..DO NOT DELETE THIS LINE/,$$d' < Makefile > tmp-Makefile
463         cat .dep >> tmp-Makefile
464         $(srcdir)/../move-if-change tmp-Makefile Makefile
465
466 dep-in: .dep
467         sed -e '/^..DO NOT DELETE THIS LINE/,$$d' < $(srcdir)/Makefile.in > tmp-Makefile.in
468         cat .dep >> tmp-Makefile.in
469         $(srcdir)/../move-if-change tmp-Makefile.in $(srcdir)/Makefile.in
470
471 host-aout.o: Makefile
472
473 # The following program can be used to generate a simple config file
474 # which can be folded into an h-XXX file for a new host, with some editing.
475 aout-params.h: gen-aout
476         ./gen-aout host > aout-params.h
477 gen-aout: $(srcdir)/gen-aout.c Makefile
478         $(CC) -o gen-aout $(CFLAGS) $(LFLAGS) $(srcdir)/gen-aout.c
479
480 BFDIN_H= $(srcdir)/bfd-in2.h
481
482 $(BFD_H): stmp-bfd.h ; @true
483
484 # The file ../include/bfd.h is from earlier attempts to get this right.
485 # If the file is still there, kill it.
486 # The weird sh*t with grep is to avoid printing "exit 1 (ignored)" type
487 # messages from make, and avoid various ways in which different versions
488 # of make will screw up exit status checks.
489 #       -grep...                -> make prints "exit 1" message
490 #       grep ... ; exit 0       -> sun(?) make notices grep failure
491 #       grep ... || exit 0      -> bsd4.4 make still notices
492 #       if grep ...             -> seems okay so far
493 stmp-bfd.h : $(srcdir)/bfd-in2.h Makefile
494         rm -f bfd.h-new 64 ../include/bfd.h
495         if grep BFD_HOST_64_BIT sysdep.h > 64 2>/dev/null; then true; \
496         else true; fi
497         sed -e 's/@WORDSIZE@/$(WORDSIZE)/' \
498             -e "s/@VERSION@/`cat $(srcdir)/VERSION`/" \
499             -e '/64-bit.*sysdep.h/ r 64' \
500                 < $(srcdir)/bfd-in2.h \
501                 > bfd.h-new
502         $(srcdir)/../move-if-change bfd.h-new $(BFD_H)
503         rm -f 64
504         touch stmp-bfd.h
505
506 # Could really use a "copy-if-change"...
507 headers:
508         (cd $(docdir); $(MAKE) protos $(FLAGS_TO_PASS))
509         cp $(docdir)/bfd.h bfd-in2.h-new
510         $(srcdir)/../move-if-change bfd-in2.h-new $(srcdir)/bfd-in2.h
511         cp $(docdir)/libbfd.h libbfd.h-new
512         $(srcdir)/../move-if-change libbfd.h-new $(srcdir)/libbfd.h
513         cp $(docdir)/libcoff.h libcoff.h-new
514         $(srcdir)/../move-if-change libcoff.h-new $(srcdir)/libcoff.h
515
516 bfd.info:
517         (cd $(docdir); $(MAKE) bfd.info $(FLAGS_TO_PASS))
518
519 bfd.dvi:
520         (cd $(docdir); $(MAKE) bfd.dvi $(FLAGS_TO_PASS))
521
522 bfd.ps: 
523         (cd $(docdir); $(MAKE) bfd.ps $(FLAGS_TO_PASS))
524
525 # What appears below is generated by a hacked mkdep using gcc -MM.
526
527 # DO NOT DELETE THIS LINE -- mkdep uses it.
528 # DO NOT PUT ANYTHING AFTER THIS LINE, IT WILL GO AWAY.
529
530 libbfd.o: libbfd.c
531 opncls.o: opncls.c
532 bfd.o: bfd.c $(INCDIR)/bfdlink.h $(INCDIR)/coff/internal.h \
533   $(INCDIR)/coff/sym.h libcoff.h libecoff.h $(INCDIR)/coff/ecoff.h \
534   libelf.h $(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h \
535   $(INCDIR)/elf/external.h
536 archive.o: archive.c $(INCDIR)/aout/ar.h $(INCDIR)/aout/ranlib.h
537 targets.o: targets.c
538 cache.o: cache.c
539 archures.o: archures.c
540 coff-i386.o: coff-i386.c $(INCDIR)/coff/i386.h $(INCDIR)/coff/internal.h \
541   libcoff.h coffcode.h coffswap.h
542 coff-go32.o: coff-go32.c $(INCDIR)/coff/i386.h $(INCDIR)/coff/internal.h \
543   libcoff.h coffcode.h coffswap.h
544 aout64.o: aout64.c aoutx.h $(INCDIR)/bfdlink.h libaout.h \
545   $(INCDIR)/aout/aout64.h $(INCDIR)/aout/stab_gnu.h $(INCDIR)/aout/stab.def \
546   $(INCDIR)/aout/ar.h
547 aout32.o: aout32.c aoutx.h $(INCDIR)/bfdlink.h libaout.h \
548   $(INCDIR)/aout/aout64.h $(INCDIR)/aout/stab_gnu.h $(INCDIR)/aout/stab.def \
549   $(INCDIR)/aout/ar.h
550 sunos.o: sunos.c $(INCDIR)/bfdlink.h libaout.h aoutf1.h \
551   $(INCDIR)/aout/sun4.h $(INCDIR)/aout/aout64.h $(INCDIR)/aout/stab_gnu.h \
552   $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h aout-target.h
553 demo64.o: demo64.c aoutf1.h $(INCDIR)/aout/sun4.h libaout.h \
554   $(INCDIR)/bfdlink.h $(INCDIR)/aout/aout64.h $(INCDIR)/aout/stab_gnu.h \
555   $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h aout-target.h
556 coff-i960.o: coff-i960.c $(INCDIR)/coff/i960.h $(INCDIR)/coff/internal.h \
557   libcoff.h coffcode.h coffswap.h
558 srec.o: srec.c
559 tekhex.o: tekhex.c
560 oasys.o: oasys.c $(INCDIR)/oasys.h liboasys.h
561 ieee.o: ieee.c $(INCDIR)/ieee.h libieee.h
562 aout0.o: aout0.c aoutf1.h $(INCDIR)/aout/sun4.h libaout.h \
563   $(INCDIR)/bfdlink.h $(INCDIR)/aout/aout64.h $(INCDIR)/aout/stab_gnu.h \
564   $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h aout-target.h
565 ecoff.o: ecoff.c $(INCDIR)/bfdlink.h $(INCDIR)/aout/ar.h \
566   $(INCDIR)/aout/ranlib.h libaout.h $(INCDIR)/aout/aout64.h \
567   $(INCDIR)/coff/internal.h $(INCDIR)/coff/sym.h $(INCDIR)/coff/symconst.h \
568   $(INCDIR)/coff/ecoff.h libcoff.h libecoff.h
569 ecofflink.o: ecofflink.c $(INCDIR)/bfdlink.h $(INCDIR)/coff/internal.h \
570   $(INCDIR)/coff/sym.h $(INCDIR)/coff/symconst.h $(INCDIR)/coff/ecoff.h
571 coff-m68k.o: coff-m68k.c $(INCDIR)/coff/m68k.h $(INCDIR)/coff/internal.h \
572   libcoff.h coffcode.h coffswap.h
573 coff-u68k.o: coff-u68k.c coff-m68k.c $(INCDIR)/coff/m68k.h \
574   $(INCDIR)/coff/internal.h libcoff.h coffcode.h coffswap.h
575 coff-apollo.o: coff-apollo.c $(INCDIR)/coff/apollo.h \
576   $(INCDIR)/coff/internal.h libcoff.h coffcode.h coffswap.h
577 coff-a29k.o: coff-a29k.c $(INCDIR)/coff/a29k.h $(INCDIR)/coff/internal.h \
578   libcoff.h coffcode.h coffswap.h
579 coff-rs6000.o: coff-rs6000.c $(INCDIR)/coff/internal.h \
580   $(INCDIR)/coff/rs6000.h libcoff.h coffcode.h coffswap.h
581 coff-sparc.o: coff-sparc.c $(INCDIR)/coff/sparc.h $(INCDIR)/coff/internal.h \
582   libcoff.h coffcode.h coffswap.h
583 coffgen.o: coffgen.c $(INCDIR)/coff/internal.h libcoff.h
584 format.o: format.c
585 section.o: section.c
586 core.o: core.c
587 syms.o: syms.c $(INCDIR)/aout/stab_gnu.h $(INCDIR)/aout/stab.def
588 stab-syms.o: stab-syms.c libaout.h $(INCDIR)/bfdlink.h \
589   $(INCDIR)/aout/aout64.h $(INCDIR)/aout/stab.def
590 reloc.o: reloc.c $(INCDIR)/bfdlink.h
591 init.o: init.c
592 ctor.o: ctor.c
593 coff-m88k.o: coff-m88k.c $(INCDIR)/coff/m88k.h $(INCDIR)/coff/internal.h \
594   libcoff.h coffcode.h coffswap.h
595 coff-mips.o: coff-mips.c $(INCDIR)/bfdlink.h $(INCDIR)/coff/internal.h \
596   $(INCDIR)/coff/sym.h $(INCDIR)/coff/symconst.h $(INCDIR)/coff/ecoff.h \
597   $(INCDIR)/coff/mips.h libcoff.h libecoff.h coffswap.h \
598   ecoffswap.h
599 coff-sh.o: coff-sh.c $(INCDIR)/bfdlink.h $(INCDIR)/coff/sh.h \
600   $(INCDIR)/coff/internal.h libcoff.h coffcode.h coffswap.h
601 trad-core.o: trad-core.c libaout.h $(INCDIR)/bfdlink.h
602 cisco-core.o: cisco-core.c
603 newsos3.o: newsos3.c $(INCDIR)/aout/aout64.h $(INCDIR)/aout/stab_gnu.h \
604   $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h libaout.h \
605   $(INCDIR)/bfdlink.h aout-target.h
606 i386aout.o: i386aout.c libaout.h $(INCDIR)/bfdlink.h \
607   aout-target.h $(INCDIR)/aout/aout64.h $(INCDIR)/aout/stab_gnu.h \
608   $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h
609 i386linux.o: i386linux.c $(INCDIR)/aout/aout64.h $(INCDIR)/aout/stab_gnu.h \
610   $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h libaout.h \
611   $(INCDIR)/bfdlink.h aout-target.h
612 netbsd386.o: netbsd386.c libaout.h $(INCDIR)/bfdlink.h \
613   aout-target.h $(INCDIR)/aout/aout64.h $(INCDIR)/aout/stab_gnu.h \
614   $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h
615 i386mach3.o: i386mach3.c $(INCDIR)/aout/aout64.h $(INCDIR)/aout/stab_gnu.h \
616   $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h libaout.h \
617   $(INCDIR)/bfdlink.h aout-target.h
618 i386os9k.o: i386os9k.c $(INCDIR)/bfdlink.h libaout.h \
619   $(INCDIR)/os9k.h
620 bout.o: bout.c $(INCDIR)/bfdlink.h genlink.h $(INCDIR)/bout.h \
621   $(INCDIR)/aout/stab_gnu.h $(INCDIR)/aout/stab.def libaout.h
622 aout-adobe.o: aout-adobe.c $(INCDIR)/aout/adobe.h $(INCDIR)/aout/stab_gnu.h \
623   $(INCDIR)/aout/stab.def libaout.h $(INCDIR)/bfdlink.h
624 coff-we32k.o: coff-we32k.c $(INCDIR)/coff/we32k.h $(INCDIR)/coff/internal.h \
625   libcoff.h coffcode.h coffswap.h
626 i386bsd.o: i386bsd.c libaout.h $(INCDIR)/bfdlink.h \
627   aout-target.h $(INCDIR)/aout/aout64.h $(INCDIR)/aout/stab_gnu.h \
628   $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h
629 i386dynix.o: i386dynix.c $(INCDIR)/aout/dynix3.h libaout.h \
630   $(INCDIR)/bfdlink.h aout-target.h $(INCDIR)/aout/aout64.h \
631   $(INCDIR)/aout/stab_gnu.h $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h
632 cpu-h8300.o: cpu-h8300.c
633 cpu-i960.o: cpu-i960.c
634 cpu-sparc.o: cpu-sparc.c
635 cpu-m68k.o: cpu-m68k.c
636 cpu-m88k.o: cpu-m88k.c
637 cpu-vax.o: cpu-vax.c
638 cpu-mips.o: cpu-mips.c
639 cpu-a29k.o: cpu-a29k.c
640 cpu-i386.o: cpu-i386.c
641 cpu-powerpc.o: cpu-powerpc.c
642 cpu-rs6000.o: cpu-rs6000.c
643 coff-h8300.o: coff-h8300.c $(INCDIR)/bfdlink.h $(INCDIR)/coff/h8300.h \
644   $(INCDIR)/coff/internal.h libcoff.h coffcode.h coffswap.h
645 som.o: som.c
646 cpu-hppa.o: cpu-hppa.c
647 cpu-we32k.o: cpu-we32k.c
648 reloc16.o: reloc16.c $(INCDIR)/bfdlink.h genlink.h \
649   $(INCDIR)/coff/internal.h libcoff.h
650 mipsbsd.o: mipsbsd.c libaout.h $(INCDIR)/bfdlink.h \
651   aout-target.h $(INCDIR)/aout/aout64.h $(INCDIR)/aout/stab_gnu.h \
652   $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h
653 cpu-sh.o: cpu-sh.c
654 elf.o: elf.c $(INCDIR)/bfdlink.h libelf.h $(INCDIR)/elf/common.h \
655   $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h
656 elf32.o: elf32.c elfcode.h $(INCDIR)/bfdlink.h libelf.h \
657   $(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h
658 elf32-sparc.o: elf32-sparc.c $(INCDIR)/bfdlink.h libelf.h \
659   $(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h \
660   elf32-target.h
661 elf32-i386.o: elf32-i386.c $(INCDIR)/bfdlink.h libelf.h \
662   $(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h \
663   elf32-target.h
664 elf32-i860.o: elf32-i860.c libelf.h $(INCDIR)/elf/common.h \
665   $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h $(INCDIR)/bfdlink.h \
666   elf32-target.h
667 elf32-m68k.o: elf32-m68k.c libelf.h $(INCDIR)/elf/common.h \
668   $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h $(INCDIR)/bfdlink.h \
669   elf32-target.h
670 elf32-hppa.o: elf32-hppa.c $(INCDIR)/bfdlink.h libelf.h \
671   $(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h \
672   elf32-hppa.h libhppa.h $(INCDIR)/elf/hppa.h $(INCDIR)/aout/aout64.h \
673   hppa_stubs.h elf32-target.h
674 elf32-m88k.o: elf32-m88k.c libelf.h $(INCDIR)/elf/common.h \
675   $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h $(INCDIR)/bfdlink.h \
676   elf32-target.h
677 elf32-mips.o: elf32-mips.c $(INCDIR)/bfdlink.h genlink.h \
678   libelf.h $(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h \
679   $(INCDIR)/elf/external.h $(INCDIR)/elf/mips.h $(INCDIR)/coff/sym.h \
680   $(INCDIR)/coff/symconst.h $(INCDIR)/coff/internal.h \
681   $(INCDIR)/coff/ecoff.h $(INCDIR)/coff/mips.h ecoffswap.h \
682   elf32-target.h
683 elf32-gen.o: elf32-gen.c libelf.h $(INCDIR)/elf/common.h \
684   $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h $(INCDIR)/bfdlink.h \
685   elf32-target.h
686 elf32-ppc.o: elf32-ppc.c libelf.h $(INCDIR)/elf/common.h \
687   $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h $(INCDIR)/bfdlink.h \
688   elf32-target.h
689 elf64.o: elf64.c elfcode.h $(INCDIR)/bfdlink.h libelf.h \
690   $(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h
691 elf64-gen.o: elf64-gen.c libelf.h $(INCDIR)/elf/common.h \
692   $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h $(INCDIR)/bfdlink.h \
693   elf64-target.h
694 elf64-sparc.o: elf64-sparc.c libelf.h $(INCDIR)/elf/common.h \
695   $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h $(INCDIR)/bfdlink.h \
696   elf64-target.h
697 nlm.o: nlm.c libnlm.h $(INCDIR)/nlm/common.h $(INCDIR)/nlm/internal.h \
698   $(INCDIR)/nlm/external.h
699 nlm32.o: nlm32.c nlmcode.h libnlm.h $(INCDIR)/nlm/common.h \
700   $(INCDIR)/nlm/internal.h $(INCDIR)/nlm/external.h
701 nlm32-i386.o: nlm32-i386.c $(INCDIR)/nlm/i386-ext.h \
702   libnlm.h $(INCDIR)/nlm/common.h $(INCDIR)/nlm/internal.h \
703   $(INCDIR)/nlm/external.h nlmswap.h nlm-target.h
704 nlm32-sparc.o: nlm32-sparc.c $(INCDIR)/nlm/sparc32-ext.h \
705   libnlm.h $(INCDIR)/nlm/common.h $(INCDIR)/nlm/internal.h \
706   $(INCDIR)/nlm/external.h nlmswap.h nlm-target.h
707 nlm32-alpha.o: nlm32-alpha.c $(INCDIR)/nlm/alpha-ext.h \
708   libnlm.h $(INCDIR)/nlm/common.h $(INCDIR)/nlm/internal.h \
709   $(INCDIR)/nlm/external.h nlmswap.h nlm-target.h
710 nlm64.o: nlm64.c nlmcode.h libnlm.h $(INCDIR)/nlm/common.h \
711   $(INCDIR)/nlm/internal.h $(INCDIR)/nlm/external.h
712 coff-alpha.o: coff-alpha.c $(INCDIR)/bfdlink.h $(INCDIR)/coff/internal.h \
713   $(INCDIR)/coff/sym.h $(INCDIR)/coff/symconst.h $(INCDIR)/coff/ecoff.h \
714   $(INCDIR)/coff/alpha.h libcoff.h libecoff.h coffswap.h \
715   ecoffswap.h
716 cpu-alpha.o: cpu-alpha.c
717 nlm32-ppc.o: nlm32-ppc.c $(INCDIR)/nlm/ppc-ext.h libnlm.h \
718   $(INCDIR)/nlm/common.h $(INCDIR)/nlm/internal.h $(INCDIR)/nlm/external.h \
719   nlmswap.h nlm-target.h
720 hp300bsd.o: hp300bsd.c libaout.h $(INCDIR)/bfdlink.h \
721   aout-target.h $(INCDIR)/aout/aout64.h $(INCDIR)/aout/stab_gnu.h \
722   $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h
723 hp300hpux.o: hp300hpux.c $(INCDIR)/aout/hp300hpux.h \
724   aoutx.h $(INCDIR)/bfdlink.h libaout.h $(INCDIR)/aout/aout64.h \
725   $(INCDIR)/aout/stab_gnu.h $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h \
726   aout-target.h
727 i386lynx.o: i386lynx.c libaout.h $(INCDIR)/bfdlink.h \
728   $(INCDIR)/aout/aout64.h aout-target.h $(INCDIR)/aout/stab_gnu.h \
729   $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h
730 cf-i386lynx.o: cf-i386lynx.c coff-i386.c $(INCDIR)/coff/i386.h \
731   $(INCDIR)/coff/internal.h libcoff.h coffcode.h coffswap.h
732 m68klynx.o: m68klynx.c libaout.h $(INCDIR)/bfdlink.h \
733   $(INCDIR)/aout/aout64.h aout-target.h $(INCDIR)/aout/stab_gnu.h \
734   $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h
735 cf-m68klynx.o: cf-m68klynx.c coff-m68k.c $(INCDIR)/coff/m68k.h \
736   $(INCDIR)/coff/internal.h libcoff.h coffcode.h coffswap.h
737 sparclynx.o: sparclynx.c $(INCDIR)/aout/sun4.h libaout.h \
738   $(INCDIR)/bfdlink.h $(INCDIR)/aout/aout64.h $(INCDIR)/aout/stab_gnu.h \
739   $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h aout-target.h
740 cf-sparclynx.o: cf-sparclynx.c coff-sparc.c $(INCDIR)/coff/sparc.h \
741   $(INCDIR)/coff/internal.h libcoff.h coffcode.h coffswap.h
742 aix386-core.o: aix386-core.c $(INCDIR)/coff/i386.h \
743   $(INCDIR)/coff/internal.h libcoff.h
744 hpux-core.o: hpux-core.c
745 irix-core.o: irix-core.c
746 lynx-core.o: lynx-core.c
747 osf-core.o: osf-core.c
748 hash.o: hash.c
749 linker.o: linker.c $(INCDIR)/bfdlink.h genlink.h
750
751 # IF YOU PUT ANYTHING HERE IT WILL GO AWAY