# Makefile template for Configure for the BFD library.
-# Copyright (C) 1990, 1991, 1992, 1993 Free Software Foundation, Inc.
+# Copyright (C) 1990, 91, 92, 93, 94, 1995 Free Software Foundation, Inc.
# Written by Cygnus Support.
#
# This file is part of BFD, the Binary File Descriptor library.
SHELL = /bin/sh
-INSTALL = install -c
+INSTALL = `cd $(srcdir)/..; pwd`/install.sh -c
INSTALL_PROGRAM = $(INSTALL)
INSTALL_DATA = $(INSTALL)
archive.o archures.o bfd.o cache.o coffgen.o core.o \
format.o init.o libbfd.o opncls.o reloc.o \
section.o syms.o targets.o hash.o linker.o \
- elf.o srec.o
+ elf.o srec.o binary.o
# This list is alphabetized to make it easier to keep in sync
# with the decls and initializer in archures.c.
ALL_MACHINES = \
cpu-a29k.o \
cpu-alpha.o \
+ $(start-sanitize-arc) \
+ cpu-arc.o \
+ $(end-sanitize-arc) \
cpu-arm.o \
cpu-h8300.o \
cpu-h8500.o \
cpu-mips.o \
cpu-ns32k.o \
cpu-powerpc.o \
+ $(start-sanitize-rce) \
+ cpu-rce.o \
+ $(end-sanitize-rce) \
cpu-rs6000.o \
cpu-sh.o \
cpu-sparc.o \
cpu-vax.o \
cpu-we32k.o \
+ cpu-w65.o \
cpu-z8k.o
# The .o files needed by all of the 32 bit vectors that are configured into
BFD32_BACKENDS = \
aout-adobe.o \
aout-ns32k.o \
+ $(start-sanitize-rce) \
+ aout-rce.o \
+ $(end-sanitize-rce) \
aout0.o \
aout32.o \
bout.o \
coff-sparc.o \
coff-u68k.o \
coff-we32k.o \
+ coff-w65.o \
coff-z8k.o \
cofflink.o \
ecoff.o \
ecofflink.o \
+ $(start-sanitize-arc) \
+ elf32-arc.o \
+ $(end-sanitize-arc) \
elf32-gen.o \
elf32-hppa.o \
elf32-i386.o \
i386os9k.o \
ieee.o \
m68klynx.o \
+ m68knetbsd.o \
m88kmach3.o \
mipsbsd.o \
newsos3.o \
pc532-mach.o \
reloc16.o \
sparclynx.o \
+ sparcnetbsd.o \
stab-syms.o \
- sunos.o
+ sunos.o \
+ tekhex.o
# The .o files needed by all of the 64 bit vectors that are configured into
# target_vector in targets.c if configured with --enable-targets=all
# C source files that correspond to .o's.
CFILES = libbfd.c opncls.c bfd.c archive.c targets.c cache.c \
archures.c coff-i386.c coff-go32.c aout64.c aout32.c sunos.c demo64.c \
- coff-i960.c srec.c tekhex.c oasys.c ieee.c aout0.c \
+ coff-i960.c srec.c binary.c tekhex.c oasys.c ieee.c aout0.c \
ecoff.c ecofflink.c coff-m68k.c coff-u68k.c coff-apollo.c \
coff-a29k.c coff-rs6000.c coff-sparc.c coffgen.c format.c \
section.c core.c syms.c stab-syms.c reloc.c init.c \
coff-m88k.c coff-mips.c coff-sh.c trad-core.c cisco-core.c newsos3.c \
i386aout.c i386linux.c i386mach3.c i386netbsd.c i386os9k.c \
- bout.c aout-adobe.c coff-we32k.c \
+ bout.c aout-adobe.c coff-we32k.c coff-w65.c \
i386bsd.c i386dynix.c cpu-h8300.c cpu-i960.c cpu-sparc.c cpu-m68k.c \
- cpu-m88k.c cpu-vax.c cpu-mips.c cpu-a29k.c cpu-i386.c cpu-powerpc.c \
+ cpu-m88k.c cpu-vax.c cpu-mips.c cpu-a29k.c cpu-i386.c cpu-powerpc.c cpu-w65.c \
cpu-rs6000.c coff-h8300.c som.c cpu-hppa.c cpu-we32k.c reloc16.c \
mipsbsd.c cpu-sh.c \
elf.c elf32.c elf32-sparc.c elf32-i386.c elf32-i860.c elf32-m68k.c \
hp300bsd.c hp300hpux.c \
i386lynx.c cf-i386lynx.c m68klynx.c cf-m68klynx.c \
sparclynx.c cf-sparclynx.c aix386-core.c hpux-core.c \
- irix-core.c lynx-core.c osf-core.c hash.c linker.c cofflink.c
+ irix-core.c lynx-core.c osf-core.c hash.c linker.c cofflink.c \
+ m68knetbsd.c ns32knetbsd.c sparcnetbsd.c
HFILES = aout-target.h aoutf1.h aoutx.h coffcode.h \
coffswap.h ecoffswap.h elf32-hppa.h elf32-target.h elf64-target.h \
elfcode.h hppa_stubs.h libaout.h libbfd.h \
libcoff.h libecoff.h libelf.h libhppa.h libieee.h libnlm.h \
- liboasys.h nlm-target.h nlmcode.h som.h genlink.h
+ liboasys.h nlm-target.h nlmcode.h som.h genlink.h netbsd.h
STAGESTUFF = $(TARGETLIB) $(OFILES)
install-info: force
@$(MAKE) subdir_do DO=install-info "DODIRS=$(SUBDIRS)" $(FLAGS_TO_PASS)
-diststuff: info
+diststuff: info headers
# Various kinds of .o files to put in libbfd.a:
# BFD_LIBS Generic routines, always needed.
archures.o: archures.c
coff-i386.o: coff-i386.c $(INCDIR)/coff/i386.h $(INCDIR)/coff/internal.h \
libcoff.h $(INCDIR)/bfdlink.h coffcode.h coffswap.h
-coff-go32.o: coff-go32.c $(INCDIR)/coff/i386.h $(INCDIR)/coff/internal.h \
- libcoff.h $(INCDIR)/bfdlink.h coffcode.h coffswap.h
+coff-go32.o: coff-go32.c coff-i386.c $(INCDIR)/coff/i386.h \
+ $(INCDIR)/coff/internal.h libcoff.h $(INCDIR)/bfdlink.h \
+ coffcode.h coffswap.h
aout64.o: aout64.c aoutx.h $(INCDIR)/bfdlink.h libaout.h \
$(INCDIR)/aout/aout64.h $(INCDIR)/aout/stab_gnu.h $(INCDIR)/aout/stab.def \
$(INCDIR)/aout/ar.h
$(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h aout-target.h
coff-i960.o: coff-i960.c $(INCDIR)/coff/i960.h $(INCDIR)/coff/internal.h \
libcoff.h $(INCDIR)/bfdlink.h coffcode.h coffswap.h
-srec.o: srec.c
-tekhex.o: tekhex.c
+srec.o: srec.c $(INCDIR)/libiberty.h
+binary.o: binary.c
+tekhex.o: tekhex.c $(INCDIR)/libiberty.h
oasys.o: oasys.c $(INCDIR)/oasys.h liboasys.h
ieee.o: ieee.c $(INCDIR)/ieee.h libieee.h
aout0.o: aout0.c aoutf1.h $(INCDIR)/aout/sun4.h libaout.h \
$(INCDIR)/bfdlink.h $(INCDIR)/aout/aout64.h $(INCDIR)/aout/stab_gnu.h \
$(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h aout-target.h
ecoff.o: ecoff.c $(INCDIR)/bfdlink.h $(INCDIR)/aout/ar.h \
- $(INCDIR)/aout/ranlib.h libaout.h $(INCDIR)/aout/aout64.h \
- $(INCDIR)/coff/internal.h $(INCDIR)/coff/sym.h $(INCDIR)/coff/symconst.h \
- $(INCDIR)/coff/ecoff.h libcoff.h libecoff.h
+ $(INCDIR)/aout/ranlib.h $(INCDIR)/aout/stab_gnu.h $(INCDIR)/aout/stab.def \
+ libaout.h $(INCDIR)/aout/aout64.h $(INCDIR)/coff/internal.h \
+ $(INCDIR)/coff/sym.h $(INCDIR)/coff/symconst.h $(INCDIR)/coff/ecoff.h \
+ libcoff.h libecoff.h
ecofflink.o: ecofflink.c $(INCDIR)/bfdlink.h $(INCDIR)/coff/internal.h \
$(INCDIR)/coff/sym.h $(INCDIR)/coff/symconst.h $(INCDIR)/coff/ecoff.h
coff-m68k.o: coff-m68k.c $(INCDIR)/coff/m68k.h $(INCDIR)/coff/internal.h \
i386mach3.o: i386mach3.c $(INCDIR)/aout/aout64.h $(INCDIR)/aout/stab_gnu.h \
$(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h libaout.h \
$(INCDIR)/bfdlink.h aout-target.h
-i386netbsd.o: i386netbsd.c libaout.h $(INCDIR)/bfdlink.h \
+i386netbsd.o: i386netbsd.c netbsd.h libaout.h $(INCDIR)/bfdlink.h \
aout-target.h $(INCDIR)/aout/aout64.h $(INCDIR)/aout/stab_gnu.h \
$(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h
i386os9k.o: i386os9k.c $(INCDIR)/bfdlink.h libaout.h \
$(INCDIR)/aout/stab.def libaout.h $(INCDIR)/bfdlink.h
coff-we32k.o: coff-we32k.c $(INCDIR)/coff/we32k.h $(INCDIR)/coff/internal.h \
libcoff.h $(INCDIR)/bfdlink.h coffcode.h coffswap.h
+coff-w65.o: coff-w65.c $(INCDIR)/bfdlink.h $(INCDIR)/coff/w65.h \
+ $(INCDIR)/coff/internal.h libcoff.h coffcode.h coffswap.h
i386bsd.o: i386bsd.c libaout.h $(INCDIR)/bfdlink.h \
aout-target.h $(INCDIR)/aout/aout64.h $(INCDIR)/aout/stab_gnu.h \
$(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h
-i386dynix.o: i386dynix.c $(INCDIR)/aout/dynix3.h libaout.h \
- $(INCDIR)/bfdlink.h aout-target.h $(INCDIR)/aout/aout64.h \
- $(INCDIR)/aout/stab_gnu.h $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h
+i386dynix.o: i386dynix.c $(INCDIR)/aout/dynix3.h aoutx.h \
+ $(INCDIR)/bfdlink.h libaout.h $(INCDIR)/aout/aout64.h \
+ $(INCDIR)/aout/stab_gnu.h $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h \
+ aout-target.h
cpu-h8300.o: cpu-h8300.c
cpu-i960.o: cpu-i960.c
cpu-sparc.o: cpu-sparc.c
cpu-a29k.o: cpu-a29k.c
cpu-i386.o: cpu-i386.c
cpu-powerpc.o: cpu-powerpc.c
+cpu-w65.o: cpu-w65.c
cpu-rs6000.o: cpu-rs6000.c
coff-h8300.o: coff-h8300.c $(INCDIR)/bfdlink.h $(INCDIR)/coff/h8300.h \
$(INCDIR)/coff/internal.h libcoff.h coffcode.h coffswap.h
linker.o: linker.c $(INCDIR)/bfdlink.h genlink.h
cofflink.o: cofflink.c $(INCDIR)/bfdlink.h $(INCDIR)/coff/internal.h \
libcoff.h
+m68knetbsd.o: m68knetbsd.c netbsd.h libaout.h $(INCDIR)/bfdlink.h \
+ aout-target.h $(INCDIR)/aout/aout64.h $(INCDIR)/aout/stab_gnu.h \
+ $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h
+ns32knetbsd.o: ns32knetbsd.c netbsd.h libaout.h $(INCDIR)/bfdlink.h \
+ aout-target.h $(INCDIR)/aout/aout64.h $(INCDIR)/aout/stab_gnu.h \
+ $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h
+sparcnetbsd.o: sparcnetbsd.c netbsd.h libaout.h $(INCDIR)/bfdlink.h \
+ aout-target.h $(INCDIR)/aout/aout64.h $(INCDIR)/aout/stab_gnu.h \
+ $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h
# IF YOU PUT ANYTHING HERE IT WILL GO AWAY