1 # Makefile template for Configure for the BFD library.
2 # Copyright (C) 1990, 91, 92, 93, 94, 1995 Free Software Foundation, Inc.
3 # Written by Cygnus Support.
5 # This file is part of BFD, the Binary File Descriptor library.
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.
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.
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., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
26 exec_prefix = @exec_prefix@
27 bindir = $(exec_prefix)/bin
28 libdir = $(exec_prefix)/lib
30 datadir = $(prefix)/lib
31 mandir = $(prefix)/man
32 man1dir = $(mandir)/man1
33 man2dir = $(mandir)/man2
34 man3dir = $(mandir)/man3
35 man4dir = $(mandir)/man4
36 man5dir = $(mandir)/man5
37 man6dir = $(mandir)/man6
38 man7dir = $(mandir)/man7
39 man8dir = $(mandir)/man8
40 man9dir = $(mandir)/man9
41 infodir = $(prefix)/info
42 includedir = $(prefix)/include
49 INSTALL_PROGRAM = @INSTALL_PROGRAM@
50 INSTALL_DATA = @INSTALL_DATA@
59 CC_FOR_BUILD = @CC_FOR_BUILD@
61 INCDIR = $(srcdir)/../include
62 CSEARCH = -I. -I$(srcdir) -I$(INCDIR)
69 # bfd.h goes here, for now
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.
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
86 archive.o archures.o bfd.o cache.o coffgen.o core.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 binary.o tekhex.o
91 # This list is alphabetized to make it easier to keep in sync
92 # with the decls and initializer in archures.c.
96 $(start-sanitize-arc) \
110 $(start-sanitize-rce) \
112 $(end-sanitize-rce) \
121 # The .o files needed by all of the 32 bit vectors that are configured into
122 # target_vector in targets.c if configured with --enable-targets=all.
126 $(start-sanitize-rce) \
128 $(end-sanitize-rce) \
157 $(start-sanitize-arc) \
159 $(end-sanitize-arc) \
210 # The .o files needed by all of the 64 bit vectors that are configured into
211 # target_vector in targets.c if configured with --enable-targets=all
212 # and --enable-64-bit-bfd.
223 OPTIONAL_BACKENDS = \
232 # These are defined by configure.in:
233 WORDSIZE = @wordsize@
234 ALL_BACKENDS = @all_backends@
235 BFD_BACKENDS = @bfd_backends@
236 BFD_MACHINES = @bfd_machines@
237 TDEFAULTS = @tdefaults@
243 "exec_prefix=$(exec_prefix)" \
244 "against=$(against)" \
246 "AR_FLAGS=$(AR_FLAGS)" \
248 "CC_FOR_BUILD=$(CC_FOR_BUILD)" \
251 "MAKEINFO=$(MAKEINFO)" \
252 "INSTALL=$(INSTALL)" \
253 "INSTALL_DATA=$(INSTALL_DATA)" \
254 "INSTALL_PROGRAM=$(INSTALL_PROGRAM)"
256 ALL_CFLAGS=@HDEFINES@ @COREFLAG@ @TDEFINES@ $(CSEARCH) $(CSWITCHES) $(CFLAGS)
258 $(CC) -c $(ALL_CFLAGS) $<
260 # C source files that correspond to .o's.
261 CFILES = libbfd.c opncls.c bfd.c archive.c targets.c cache.c \
262 archures.c coff-i386.c coff-go32.c aout64.c aout32.c sunos.c demo64.c \
263 coff-i960.c srec.c binary.c tekhex.c oasys.c ieee.c aout0.c \
264 ecoff.c ecofflink.c coff-m68k.c coff-u68k.c coff-apollo.c \
265 coff-a29k.c coff-pmac.c coff-rs6000.c coff-sparc.c coffgen.c \
266 format.c section.c core.c syms.c stab-syms.c reloc.c init.c \
267 coff-m88k.c coff-mips.c coff-sh.c trad-core.c cisco-core.c newsos3.c \
268 i386aout.c i386linux.c i386mach3.c i386netbsd.c i386os9k.c \
269 bout.c aout-adobe.c coff-we32k.c coff-w65.c \
270 i386bsd.c i386dynix.c cpu-h8300.c cpu-i960.c cpu-sparc.c cpu-m68k.c \
271 cpu-m88k.c cpu-vax.c cpu-mips.c cpu-a29k.c cpu-i386.c cpu-powerpc.c cpu-w65.c \
272 cpu-rs6000.c coff-h8300.c som.c cpu-hppa.c cpu-we32k.c reloc16.c \
274 elf.c elflink.c elf32.c elf32-sparc.c elf32-i386.c elf32-i860.c \
275 elf32-m68k.c elf32-hppa.c elf32-m88k.c elf32-mips.c elf32-gen.c \
276 elf32-ppc.c elf64.c elf64-gen.c elf64-sparc.c \
277 nlm.c nlm32.c nlm32-i386.c nlm32-sparc.c nlm32-alpha.c \
278 nlm64.c coff-alpha.c cpu-alpha.c nlm32-ppc.c \
279 hp300bsd.c hp300hpux.c \
280 i386lynx.c cf-i386lynx.c m68klynx.c cf-m68klynx.c \
281 sparclynx.c cf-sparclynx.c aix386-core.c hpux-core.c \
282 irix-core.c lynx-core.c osf-core.c hash.c linker.c cofflink.c \
283 m68knetbsd.c ns32knetbsd.c sparcnetbsd.c pe-i386.c pei-i386.c \
284 versados.c coff-arm.c pe-arm.c pei-arm.c pe-ppc.c pei-ppc.c \
287 HFILES = aout-target.h aoutf1.h aoutx.h coffcode.h \
288 coffswap.h ecoffswap.h elf32-hppa.h elf32-target.h elf64-target.h \
289 elfcode.h hppa_stubs.h libaout.h libbfd.h \
290 libcoff.h libecoff.h libelf.h libhppa.h libieee.h libnlm.h \
291 liboasys.h nlm-target.h nlmcode.h som.h genlink.h netbsd.h
293 STAGESTUFF = $(TARGETLIB) $(OFILES)
295 all: Makefile $(TARGETLIB)
296 @$(MAKE) subdir_do DO=all "DODIRS=$(SUBDIRS)" $(FLAGS_TO_PASS)
301 .PHONY: check installcheck
303 @echo No testsuites exist for the BFD library. Nothing to check.
306 @echo No testsuites exist for the BFD library. Nothing to check.
309 @$(MAKE) subdir_do DO=$@ "DODIRS=$(SUBDIRS)" $(FLAGS_TO_PASS)
312 @$(MAKE) subdir_do DO=clean-info "DODIRS=$(SUBDIRS)" $(FLAGS_TO_PASS)
315 @$(MAKE) subdir_do DO=install-info "DODIRS=$(SUBDIRS)" $(FLAGS_TO_PASS)
319 # Various kinds of .o files to put in libbfd.a:
320 # BFD_LIBS Generic routines, always needed.
321 # BFD_BACKENDS Routines the configured targets need.
322 # BFD_MACHINES Architecture-specific routines the configured targets need.
323 # COREFILE Core file routines for a native configuration
324 OFILES = $(BFD_LIBS) $(BFD_BACKENDS) $(BFD_MACHINES) @COREFILE@
329 for i in $(OFILES) ; do \
337 $(TARGETLIB): $(OFILES) ofiles
339 @echo ofiles = `cat ofiles`
340 $(AR) $(AR_FLAGS) $(TARGETLIB) `cat ofiles`
341 $(RANLIB) $(TARGETLIB)
343 # When compiling archures.c and targets.c, supply the default target
344 # info from configure.
346 targets.o: targets.c Makefile
347 $(CC) -c $(ALL_CFLAGS) $(TDEFAULTS) $<
349 archures.o: archures.c Makefile
350 $(CC) -c $(ALL_CFLAGS) $(TDEFAULTS) $<
352 elf32-target.h : elfxx-target.h
354 sed -e s/NN/32/g < $(srcdir)/elfxx-target.h > elf32-target.new
355 mv -f elf32-target.new elf32-target.h
357 elf64-target.h : elfxx-target.h
359 sed -e s/NN/64/g < $(srcdir)/elfxx-target.h > elf64-target.new
360 mv -f elf64-target.new elf64-target.h
363 @for i in $(DODIRS); do \
364 if [ -d ./$$i ] ; then \
366 $(MAKE) $(FLAGS_TO_PASS) $(DO)) ; then true ; \
374 etags $(INCDIR)/*.h $(srcdir)/*.h $(srcdir)/*.c
377 rm -f *.o *~ core *.E *.p *.ip aout-params.h gen-aout config.log
378 do_clean: do_mostlyclean
379 rm -f libbfd.a TAGS bfd.h stmp-bfd.h ofiles \
380 elf32-target.h elf64-target.h
381 do_distclean: do_clean
382 rm -f Makefile config.status config.cache config.h stamp-h
384 # Should we remove $(srcdir)/libcoff.h $(srcdir)/libbfd.h $(srcdir)/bfd-in2.h?
385 # make-stds.texi says it depends on whether they can be regenerated using
386 # this makefile. Well, they can, but only via an explicit "make headers";
387 # the makefile does not regenerate them as needed. So I guess we should not
388 # remove them in realclean.
389 do_maintainer_clean: do_distclean
391 mostlyclean: do_mostlyclean
392 $(MAKE) subdir_do DO=mostlyclean "DODIRS=$(SUBDIRS)" $(FLAGS_TO_PASS)
394 $(MAKE) subdir_do DO=clean "DODIRS=$(SUBDIRS)" $(FLAGS_TO_PASS)
396 $(MAKE) subdir_do DO=distclean "DODIRS=$(SUBDIRS)" $(FLAGS_TO_PASS)
398 clobber maintainer-clean realclean:
399 $(MAKE) subdir_do DO=maintainer-clean "DODIRS=$(SUBDIRS)" $(FLAGS_TO_PASS)
400 $(MAKE) do_maintainer_clean
402 BFD_H_DEPS= $(INCDIR)/ansidecl.h $(INCDIR)/obstack.h
403 LOCAL_H_DEPS= libbfd.h sysdep.h config.h
404 $(BFD_LIBS): $(BFD_H) $(BFD_H_DEPS) $(LOCAL_H_DEPS)
405 $(BFD_MACHINES): $(BFD_H) $(BFD_H_DEPS) $(LOCAL_H_DEPS)
406 $(BFD_BACKENDS): $(BFD_H) $(BFD_H_DEPS) $(LOCAL_H_DEPS)
407 $(OPTIONAL_BACKENDS): $(BFD_H) $(BFD_H_DEPS) $(LOCAL_H_DEPS)
409 # Get around a Sun Make bug in SunOS 4.1.1 with VPATH
410 cpu-i386.o:cpu-i386.c
412 cpu-h8500.o: cpu-h8500.c
413 cpu-we32k.o: cpu-we32k.c
416 #suppress 65 on bfd_map_over_sections
417 #suppress 66 on bfd_map_over_sections
418 #suppress 67 on bfd_map_over_sections
419 #suppress 68 on bfd_map_over_sections
420 #suppress 69 on bfd_map_over_sections
421 #suppress 70 on bfd_map_over_sections
422 #suppress 110 in bfd_map_over_sections
423 #suppress 112 in bfd_map_over_sections
425 #suppress 590 in swap_exec_header
426 #suppress 590 in _bfd_dummy_core_file_matches_executable_p
427 #suppress 590 in bfd_dont_truncate_arname
428 #suppress 590 on ignore
429 #suppress 590 on abfd
430 #setopt load_flags $(CFLAGS)
434 #-----------------------------------------------------------------------------
435 # 'STANDARD' GNU/960 TARGETS BELOW THIS POINT
437 # 'VERSION' file must be present and contain a string of the form "x.y"
438 #-----------------------------------------------------------------------------
442 echo "char ${TARG}_ver[]= \"${TARG} `cat VERSION`, `date`\";" > ver960.c
445 # This target should be invoked before building a new release.
446 # 'VERSION' file must be present and contain a string of the form "x.y"
450 MAJ=`sed 's/\..*//' VERSION` ; \
451 MIN=`sed 's/.*\.//' VERSION` ; \
452 V=$$MAJ.`expr $$MIN + 1` ; \
454 echo $$V >VERSION ; \
457 # Dummy target to force execution of dependent targets.
462 $(INSTALL_DATA) libbfd.a $(libdir)/libbfd.a
463 $(RANLIB) $(libdir)/libbfd.a
464 # Install BFD include file, and others that it needs. Install them
465 # both in GCC's include directory, and in the system include dir
466 # if configured as $(oldincludedir) -- which it usually isnt.
467 $(INSTALL_DATA) $(BFD_H) $(includedir)/bfd.h
468 $(INSTALL_DATA) $(INCDIR)/ansidecl.h $(includedir)/ansidecl.h
469 $(INSTALL_DATA) $(INCDIR)/bfdlink.h $(includedir)/bfdlink.h
470 $(INSTALL_DATA) $(INCDIR)/obstack.h $(includedir)/obstack.h
471 -if test -z "$(oldincludedir)"; then true; else \
472 test -d $(oldincludedir) || mkdir $(oldincludedir); \
473 $(INSTALL_DATA) $(BFD_H) $(oldincludedir)/bfd.h; \
474 $(INSTALL_DATA) $(INCDIR)/ansidecl.h $(oldincludedir)/ansidecl.h; \
475 $(INSTALL_DATA) $(INCDIR)/bfdlink.h $(oldincludedir)/bfdlink.h; \
476 $(INSTALL_DATA) $(INCDIR)/obstack.h $(oldincludedir)/obstack.h; \
477 $(MAKE) subdir_do DO=install "DODIRS=$(SUBDIRS)" $(FLAGS_TO_PASS); \
480 Makefile: Makefile.in config.status
481 CONFIG_FILES=Makefile CONFIG_HEADERS= $(SHELL) ./config.status
483 config.h: stamp-h ; @true
484 stamp-h: config.in config.status
485 CONFIG_FILES= CONFIG_HEADERS=config.h:config.in $(SHELL) ./config.status
487 config.status: configure configure.host config.bfd
488 $(SHELL) config.status --recheck
490 # Have to get rid of .dep1 here so that "$?" later includes all of $(CFILES).
491 .dep: dep.sed $(CFILES) $(HFILES) bfd.h
493 $(MAKE) DEP=$(DEP) .dep1
494 sed -f dep.sed <.dep1 >.dep
496 # This rule really wants a mkdep that runs "gcc -MM".
499 echo '# DO NOT DELETE THIS LINE -- mkdep uses it.' > .dep2
500 $(DEP) -f .dep2 $(ALL_CFLAGS) $?
501 $(srcdir)/../move-if-change .dep2 .dep1
503 dep.sed: dep-in.sed config.status
504 sed <$(srcdir)/dep-in.sed >dep.sed \
505 -e 's!@BFD_H@!$(BFD_H)!' \
506 -e 's!@INCDIR@!$(INCDIR)!' \
507 -e 's!@SRCDIR@!$(srcdir)!'
510 sed -e '/^..DO NOT DELETE THIS LINE/,$$d' < Makefile > tmp-Makefile
511 cat .dep >> tmp-Makefile
512 $(srcdir)/../move-if-change tmp-Makefile Makefile
515 sed -e '/^..DO NOT DELETE THIS LINE/,$$d' < $(srcdir)/Makefile.in > tmp-Makefile.in
516 cat .dep >> tmp-Makefile.in
517 $(srcdir)/../move-if-change tmp-Makefile.in $(srcdir)/Makefile.in
519 host-aout.o: Makefile
521 # The following program can be used to generate a simple config file
522 # which can be folded into an h-XXX file for a new host, with some editing.
523 aout-params.h: gen-aout
524 ./gen-aout host > aout-params.h
525 gen-aout: $(srcdir)/gen-aout.c Makefile
526 $(CC) -o gen-aout $(CFLAGS) $(LFLAGS) $(srcdir)/gen-aout.c
528 BFDIN_H= $(srcdir)/bfd-in2.h
530 $(BFD_H): stmp-bfd.h ; @true
532 stmp-bfd.h : $(srcdir)/bfd-in2.h Makefile
534 sed -e 's/@WORDSIZE@/$(WORDSIZE)/' \
535 -e "s/@VERSION@/`cat $(srcdir)/VERSION`/" \
536 -e 's/@BFD_HOST_64BIT_LONG@/@HOST_64BIT_LONG@/' \
537 < $(srcdir)/bfd-in2.h \
539 $(srcdir)/../move-if-change bfd.h-new $(BFD_H)
542 # Could really use a "copy-if-change"...
544 (cd $(docdir); $(MAKE) protos $(FLAGS_TO_PASS))
545 cp $(docdir)/bfd.h bfd-in2.h-new
546 $(srcdir)/../move-if-change bfd-in2.h-new $(srcdir)/bfd-in2.h
547 cp $(docdir)/libbfd.h libbfd.h-new
548 $(srcdir)/../move-if-change libbfd.h-new $(srcdir)/libbfd.h
549 cp $(docdir)/libcoff.h libcoff.h-new
550 $(srcdir)/../move-if-change libcoff.h-new $(srcdir)/libcoff.h
553 (cd $(docdir); $(MAKE) bfd.info $(FLAGS_TO_PASS))
556 (cd $(docdir); $(MAKE) bfd.dvi $(FLAGS_TO_PASS))
559 (cd $(docdir); $(MAKE) bfd.ps $(FLAGS_TO_PASS))
562 elf32-arc.o: elf32-arc.c libelf.h $(INCDIR)/elf/common.h \
563 $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h $(INCDIR)/bfdlink.h \
564 $(INCDIR)/elf/arc.h elf32-target.h
567 # What appears below is generated by a hacked mkdep using gcc -MM.
569 # DO NOT DELETE THIS LINE -- mkdep uses it.
570 # DO NOT PUT ANYTHING AFTER THIS LINE, IT WILL GO AWAY.
574 bfd.o: bfd.c $(INCDIR)/bfdlink.h $(INCDIR)/coff/internal.h \
575 $(INCDIR)/coff/sym.h libcoff.h libecoff.h $(INCDIR)/coff/ecoff.h \
576 libelf.h $(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h \
577 $(INCDIR)/elf/external.h
578 archive.o: archive.c $(INCDIR)/aout/ar.h $(INCDIR)/aout/ranlib.h
581 archures.o: archures.c
582 coff-i386.o: coff-i386.c $(INCDIR)/coff/i386.h $(INCDIR)/coff/internal.h \
583 libcoff.h $(INCDIR)/bfdlink.h coffcode.h coffswap.h
584 coff-go32.o: coff-go32.c coff-i386.c $(INCDIR)/coff/i386.h \
585 $(INCDIR)/coff/internal.h libcoff.h $(INCDIR)/bfdlink.h \
586 coffcode.h coffswap.h
587 aout64.o: aout64.c aoutx.h $(INCDIR)/bfdlink.h libaout.h \
588 $(INCDIR)/aout/aout64.h $(INCDIR)/aout/stab_gnu.h $(INCDIR)/aout/stab.def \
590 aout32.o: aout32.c aoutx.h $(INCDIR)/bfdlink.h libaout.h \
591 $(INCDIR)/aout/aout64.h $(INCDIR)/aout/stab_gnu.h $(INCDIR)/aout/stab.def \
593 sunos.o: sunos.c $(INCDIR)/bfdlink.h libaout.h aoutf1.h \
594 $(INCDIR)/aout/sun4.h $(INCDIR)/aout/aout64.h $(INCDIR)/aout/stab_gnu.h \
595 $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h aout-target.h
596 demo64.o: demo64.c aoutf1.h $(INCDIR)/aout/sun4.h libaout.h \
597 $(INCDIR)/bfdlink.h $(INCDIR)/aout/aout64.h $(INCDIR)/aout/stab_gnu.h \
598 $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h aout-target.h
599 coff-i960.o: coff-i960.c $(INCDIR)/coff/i960.h $(INCDIR)/coff/internal.h \
600 libcoff.h $(INCDIR)/bfdlink.h coffcode.h coffswap.h
601 srec.o: srec.c $(INCDIR)/libiberty.h
603 tekhex.o: tekhex.c $(INCDIR)/libiberty.h
604 oasys.o: oasys.c $(INCDIR)/oasys.h liboasys.h
605 ieee.o: ieee.c $(INCDIR)/ieee.h libieee.h
606 aout0.o: aout0.c aoutf1.h $(INCDIR)/aout/sun4.h libaout.h \
607 $(INCDIR)/bfdlink.h $(INCDIR)/aout/aout64.h $(INCDIR)/aout/stab_gnu.h \
608 $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h aout-target.h
609 ecoff.o: ecoff.c $(INCDIR)/bfdlink.h $(INCDIR)/aout/ar.h \
610 $(INCDIR)/aout/ranlib.h $(INCDIR)/aout/stab_gnu.h $(INCDIR)/aout/stab.def \
611 libaout.h $(INCDIR)/aout/aout64.h $(INCDIR)/coff/internal.h \
612 $(INCDIR)/coff/sym.h $(INCDIR)/coff/symconst.h $(INCDIR)/coff/ecoff.h \
614 ecofflink.o: ecofflink.c $(INCDIR)/bfdlink.h $(INCDIR)/aout/stab_gnu.h \
615 $(INCDIR)/aout/stab.def $(INCDIR)/coff/internal.h $(INCDIR)/coff/sym.h \
616 $(INCDIR)/coff/symconst.h $(INCDIR)/coff/ecoff.h
617 coff-m68k.o: coff-m68k.c $(INCDIR)/coff/m68k.h $(INCDIR)/coff/internal.h \
618 libcoff.h $(INCDIR)/bfdlink.h coffcode.h coffswap.h
619 coff-u68k.o: coff-u68k.c coff-m68k.c $(INCDIR)/coff/m68k.h \
620 $(INCDIR)/coff/internal.h libcoff.h $(INCDIR)/bfdlink.h \
621 coffcode.h coffswap.h
622 coff-apollo.o: coff-apollo.c $(INCDIR)/coff/apollo.h \
623 $(INCDIR)/coff/internal.h libcoff.h $(INCDIR)/bfdlink.h \
624 coffcode.h coffswap.h
625 coff-a29k.o: coff-a29k.c $(INCDIR)/coff/a29k.h $(INCDIR)/coff/internal.h \
626 libcoff.h $(INCDIR)/bfdlink.h coffcode.h coffswap.h
627 coff-pmac.o: coff-pmac.c coff-rs6000.c $(INCDIR)/coff/internal.h \
628 $(INCDIR)/coff/rs6000.h libcoff.h $(INCDIR)/bfdlink.h \
629 coffcode.h coffswap.h
630 coff-rs6000.o: coff-rs6000.c $(INCDIR)/coff/internal.h \
631 $(INCDIR)/coff/rs6000.h libcoff.h $(INCDIR)/bfdlink.h \
632 coffcode.h coffswap.h
633 coff-sparc.o: coff-sparc.c $(INCDIR)/coff/sparc.h $(INCDIR)/coff/internal.h \
634 libcoff.h $(INCDIR)/bfdlink.h coffcode.h coffswap.h
635 coffgen.o: coffgen.c $(INCDIR)/coff/internal.h libcoff.h \
640 syms.o: syms.c $(INCDIR)/aout/stab_gnu.h $(INCDIR)/aout/stab.def
641 stab-syms.o: stab-syms.c libaout.h $(INCDIR)/bfdlink.h \
642 $(INCDIR)/aout/aout64.h $(INCDIR)/aout/stab.def
643 reloc.o: reloc.c $(INCDIR)/bfdlink.h
645 coff-m88k.o: coff-m88k.c $(INCDIR)/coff/m88k.h $(INCDIR)/coff/internal.h \
646 libcoff.h $(INCDIR)/bfdlink.h coffcode.h coffswap.h
647 coff-mips.o: coff-mips.c $(INCDIR)/bfdlink.h $(INCDIR)/coff/internal.h \
648 $(INCDIR)/coff/sym.h $(INCDIR)/coff/symconst.h $(INCDIR)/coff/ecoff.h \
649 $(INCDIR)/coff/mips.h libcoff.h libecoff.h coffswap.h \
651 coff-sh.o: coff-sh.c $(INCDIR)/bfdlink.h $(INCDIR)/coff/sh.h \
652 $(INCDIR)/coff/internal.h libcoff.h coffcode.h coffswap.h
653 trad-core.o: trad-core.c libaout.h $(INCDIR)/bfdlink.h
654 cisco-core.o: cisco-core.c
655 newsos3.o: newsos3.c $(INCDIR)/aout/aout64.h $(INCDIR)/aout/stab_gnu.h \
656 $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h libaout.h \
657 $(INCDIR)/bfdlink.h aout-target.h
658 i386aout.o: i386aout.c libaout.h $(INCDIR)/bfdlink.h \
659 aout-target.h $(INCDIR)/aout/aout64.h $(INCDIR)/aout/stab_gnu.h \
660 $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h
661 i386linux.o: i386linux.c $(INCDIR)/aout/aout64.h $(INCDIR)/aout/stab_gnu.h \
662 $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h libaout.h \
663 $(INCDIR)/bfdlink.h aout-target.h
664 i386mach3.o: i386mach3.c $(INCDIR)/aout/aout64.h $(INCDIR)/aout/stab_gnu.h \
665 $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h libaout.h \
666 $(INCDIR)/bfdlink.h aout-target.h
667 i386netbsd.o: i386netbsd.c netbsd.h libaout.h $(INCDIR)/bfdlink.h \
668 aout-target.h $(INCDIR)/aout/aout64.h $(INCDIR)/aout/stab_gnu.h \
669 $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h
670 i386os9k.o: i386os9k.c $(INCDIR)/bfdlink.h libaout.h \
672 bout.o: bout.c $(INCDIR)/bfdlink.h genlink.h $(INCDIR)/bout.h \
673 $(INCDIR)/aout/stab_gnu.h $(INCDIR)/aout/stab.def libaout.h
674 aout-adobe.o: aout-adobe.c $(INCDIR)/aout/adobe.h $(INCDIR)/aout/stab_gnu.h \
675 $(INCDIR)/aout/stab.def libaout.h $(INCDIR)/bfdlink.h
676 coff-we32k.o: coff-we32k.c $(INCDIR)/coff/we32k.h $(INCDIR)/coff/internal.h \
677 libcoff.h $(INCDIR)/bfdlink.h coffcode.h coffswap.h
678 coff-w65.o: coff-w65.c $(INCDIR)/bfdlink.h $(INCDIR)/coff/w65.h \
679 $(INCDIR)/coff/internal.h libcoff.h coffcode.h coffswap.h
680 i386bsd.o: i386bsd.c libaout.h $(INCDIR)/bfdlink.h \
681 aout-target.h $(INCDIR)/aout/aout64.h $(INCDIR)/aout/stab_gnu.h \
682 $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h
683 i386dynix.o: i386dynix.c $(INCDIR)/aout/dynix3.h aoutx.h \
684 $(INCDIR)/bfdlink.h libaout.h $(INCDIR)/aout/aout64.h \
685 $(INCDIR)/aout/stab_gnu.h $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h \
687 cpu-h8300.o: cpu-h8300.c
688 cpu-i960.o: cpu-i960.c
689 cpu-sparc.o: cpu-sparc.c
690 cpu-m68k.o: cpu-m68k.c
691 cpu-m88k.o: cpu-m88k.c
693 cpu-mips.o: cpu-mips.c
694 cpu-a29k.o: cpu-a29k.c
695 cpu-i386.o: cpu-i386.c
696 cpu-powerpc.o: cpu-powerpc.c
698 cpu-rs6000.o: cpu-rs6000.c
699 coff-h8300.o: coff-h8300.c $(INCDIR)/bfdlink.h $(INCDIR)/coff/h8300.h \
700 $(INCDIR)/coff/internal.h libcoff.h coffcode.h coffswap.h
702 cpu-hppa.o: cpu-hppa.c
703 cpu-we32k.o: cpu-we32k.c
704 reloc16.o: reloc16.c $(INCDIR)/bfdlink.h genlink.h \
705 $(INCDIR)/coff/internal.h libcoff.h
706 mipsbsd.o: mipsbsd.c libaout.h $(INCDIR)/bfdlink.h \
707 aout-target.h $(INCDIR)/aout/aout64.h $(INCDIR)/aout/stab_gnu.h \
708 $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h
710 elf.o: elf.c $(INCDIR)/bfdlink.h libelf.h $(INCDIR)/elf/common.h \
711 $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h
712 elflink.o: elflink.c $(INCDIR)/bfdlink.h libelf.h $(INCDIR)/elf/common.h \
713 $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h
714 elf32.o: elf32.c elfcode.h $(INCDIR)/bfdlink.h libelf.h \
715 $(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h \
717 elf32-sparc.o: elf32-sparc.c $(INCDIR)/bfdlink.h libelf.h \
718 $(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h \
720 elf32-i386.o: elf32-i386.c $(INCDIR)/bfdlink.h libelf.h \
721 $(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h \
723 elf32-i860.o: elf32-i860.c libelf.h $(INCDIR)/elf/common.h \
724 $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h $(INCDIR)/bfdlink.h \
726 elf32-m68k.o: elf32-m68k.c $(INCDIR)/bfdlink.h libelf.h \
727 $(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h \
729 elf32-hppa.o: elf32-hppa.c $(INCDIR)/bfdlink.h libelf.h \
730 $(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h \
731 elf32-hppa.h libhppa.h $(INCDIR)/elf/hppa.h hppa_stubs.h \
733 elf32-m88k.o: elf32-m88k.c libelf.h $(INCDIR)/elf/common.h \
734 $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h $(INCDIR)/bfdlink.h \
736 elf32-mips.o: elf32-mips.c $(INCDIR)/bfdlink.h genlink.h \
737 libelf.h $(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h \
738 $(INCDIR)/elf/external.h $(INCDIR)/elf/mips.h $(INCDIR)/coff/sym.h \
739 $(INCDIR)/coff/symconst.h $(INCDIR)/coff/internal.h \
740 $(INCDIR)/coff/ecoff.h $(INCDIR)/coff/mips.h ecoffswap.h \
742 elf32-gen.o: elf32-gen.c libelf.h $(INCDIR)/elf/common.h \
743 $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h $(INCDIR)/bfdlink.h \
745 elf32-ppc.o: elf32-ppc.c $(INCDIR)/bfdlink.h libelf.h \
746 $(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h \
747 $(INCDIR)/elf/ppc.h elf32-target.h
748 elf64.o: elf64.c elfcode.h $(INCDIR)/bfdlink.h libelf.h \
749 $(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h \
751 elf64-gen.o: elf64-gen.c libelf.h $(INCDIR)/elf/common.h \
752 $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h $(INCDIR)/bfdlink.h \
754 elf64-sparc.o: elf64-sparc.c libelf.h $(INCDIR)/elf/common.h \
755 $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h $(INCDIR)/bfdlink.h \
757 nlm.o: nlm.c libnlm.h $(INCDIR)/nlm/common.h $(INCDIR)/nlm/internal.h \
758 $(INCDIR)/nlm/external.h
759 nlm32.o: nlm32.c nlmcode.h libnlm.h $(INCDIR)/nlm/common.h \
760 $(INCDIR)/nlm/internal.h $(INCDIR)/nlm/external.h
761 nlm32-i386.o: nlm32-i386.c $(INCDIR)/nlm/i386-ext.h \
762 libnlm.h $(INCDIR)/nlm/common.h $(INCDIR)/nlm/internal.h \
763 $(INCDIR)/nlm/external.h nlmswap.h nlm-target.h
764 nlm32-sparc.o: nlm32-sparc.c $(INCDIR)/nlm/sparc32-ext.h \
765 libnlm.h $(INCDIR)/nlm/common.h $(INCDIR)/nlm/internal.h \
766 $(INCDIR)/nlm/external.h nlmswap.h nlm-target.h
767 nlm32-alpha.o: nlm32-alpha.c $(INCDIR)/nlm/alpha-ext.h \
768 libnlm.h $(INCDIR)/nlm/common.h $(INCDIR)/nlm/internal.h \
769 $(INCDIR)/nlm/external.h nlmswap.h nlm-target.h
770 nlm64.o: nlm64.c nlmcode.h libnlm.h $(INCDIR)/nlm/common.h \
771 $(INCDIR)/nlm/internal.h $(INCDIR)/nlm/external.h
772 coff-alpha.o: coff-alpha.c $(INCDIR)/bfdlink.h $(INCDIR)/coff/internal.h \
773 $(INCDIR)/coff/sym.h $(INCDIR)/coff/symconst.h $(INCDIR)/coff/ecoff.h \
774 $(INCDIR)/coff/alpha.h libcoff.h libecoff.h coffswap.h \
776 cpu-alpha.o: cpu-alpha.c
777 nlm32-ppc.o: nlm32-ppc.c $(INCDIR)/nlm/ppc-ext.h libnlm.h \
778 $(INCDIR)/nlm/common.h $(INCDIR)/nlm/internal.h $(INCDIR)/nlm/external.h \
779 nlmswap.h nlm-target.h
780 hp300bsd.o: hp300bsd.c libaout.h $(INCDIR)/bfdlink.h \
781 aout-target.h $(INCDIR)/aout/aout64.h $(INCDIR)/aout/stab_gnu.h \
782 $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h
783 hp300hpux.o: hp300hpux.c $(INCDIR)/aout/hp300hpux.h \
784 aoutx.h $(INCDIR)/bfdlink.h libaout.h $(INCDIR)/aout/aout64.h \
785 $(INCDIR)/aout/stab_gnu.h $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h \
787 i386lynx.o: i386lynx.c libaout.h $(INCDIR)/bfdlink.h \
788 $(INCDIR)/aout/aout64.h aout-target.h $(INCDIR)/aout/stab_gnu.h \
789 $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h
790 cf-i386lynx.o: cf-i386lynx.c coff-i386.c $(INCDIR)/coff/i386.h \
791 $(INCDIR)/coff/internal.h libcoff.h $(INCDIR)/bfdlink.h \
792 coffcode.h coffswap.h
793 m68klynx.o: m68klynx.c libaout.h $(INCDIR)/bfdlink.h \
794 $(INCDIR)/aout/aout64.h aout-target.h $(INCDIR)/aout/stab_gnu.h \
795 $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h
796 cf-m68klynx.o: cf-m68klynx.c coff-m68k.c $(INCDIR)/coff/m68k.h \
797 $(INCDIR)/coff/internal.h libcoff.h $(INCDIR)/bfdlink.h \
798 coffcode.h coffswap.h
799 sparclynx.o: sparclynx.c $(INCDIR)/aout/sun4.h libaout.h \
800 $(INCDIR)/bfdlink.h $(INCDIR)/aout/aout64.h $(INCDIR)/aout/stab_gnu.h \
801 $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h aout-target.h
802 cf-sparclynx.o: cf-sparclynx.c coff-sparc.c $(INCDIR)/coff/sparc.h \
803 $(INCDIR)/coff/internal.h libcoff.h $(INCDIR)/bfdlink.h \
804 coffcode.h coffswap.h
805 aix386-core.o: aix386-core.c $(INCDIR)/coff/i386.h \
806 $(INCDIR)/coff/internal.h libcoff.h $(INCDIR)/bfdlink.h
807 hpux-core.o: hpux-core.c
808 irix-core.o: irix-core.c
809 lynx-core.o: lynx-core.c
810 osf-core.o: osf-core.c
812 linker.o: linker.c $(INCDIR)/bfdlink.h genlink.h
813 cofflink.o: cofflink.c $(INCDIR)/bfdlink.h $(INCDIR)/coff/internal.h \
815 m68knetbsd.o: m68knetbsd.c netbsd.h libaout.h $(INCDIR)/bfdlink.h \
816 aout-target.h $(INCDIR)/aout/aout64.h $(INCDIR)/aout/stab_gnu.h \
817 $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h
818 ns32knetbsd.o: ns32knetbsd.c netbsd.h libaout.h $(INCDIR)/bfdlink.h \
819 aout-target.h $(INCDIR)/aout/aout64.h $(INCDIR)/aout/stab_gnu.h \
820 $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h
821 sparcnetbsd.o: sparcnetbsd.c netbsd.h libaout.h $(INCDIR)/bfdlink.h \
822 aout-target.h $(INCDIR)/aout/aout64.h $(INCDIR)/aout/stab_gnu.h \
823 $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h
824 pe-i386.o: pe-i386.c coff-i386.c $(INCDIR)/coff/i386.h \
825 $(INCDIR)/coff/internal.h $(INCDIR)/coff/pe.h libcoff.h \
826 $(INCDIR)/bfdlink.h coffcode.h peicode.h
827 pei-i386.o: pei-i386.c coff-i386.c $(INCDIR)/coff/i386.h \
828 $(INCDIR)/coff/internal.h $(INCDIR)/coff/pe.h libcoff.h \
829 $(INCDIR)/bfdlink.h coffcode.h peicode.h
830 versados.o: versados.c $(INCDIR)/libiberty.h
831 coff-arm.o: coff-arm.c $(INCDIR)/coff/arm.h $(INCDIR)/coff/internal.h \
832 libcoff.h $(INCDIR)/bfdlink.h coffcode.h coffswap.h
833 pe-arm.o: pe-arm.c coff-arm.c $(INCDIR)/coff/arm.h \
834 $(INCDIR)/coff/internal.h $(INCDIR)/coff/pe.h libcoff.h \
835 $(INCDIR)/bfdlink.h coffcode.h peicode.h
836 pei-arm.o: pei-arm.c coff-arm.c $(INCDIR)/coff/arm.h \
837 $(INCDIR)/coff/internal.h $(INCDIR)/coff/pe.h libcoff.h \
838 $(INCDIR)/bfdlink.h coffcode.h peicode.h
839 pe-ppc.o: pe-ppc.c coff-ppc.c $(INCDIR)/coff/powerpc.h \
840 $(INCDIR)/coff/internal.h $(INCDIR)/coff/pe.h libcoff.h \
841 $(INCDIR)/bfdlink.h coffcode.h peicode.h
842 pei-ppc.o: pei-ppc.c coff-ppc.c $(INCDIR)/coff/powerpc.h \
843 $(INCDIR)/coff/internal.h $(INCDIR)/coff/pe.h libcoff.h \
844 $(INCDIR)/bfdlink.h coffcode.h peicode.h
845 xcofflink.o: xcofflink.c $(INCDIR)/bfdlink.h $(INCDIR)/coff/internal.h \
848 # IF YOU PUT ANYTHING HERE IT WILL GO AWAY