* elf64-hppa.c, elf64-hppa.h: New files with PA64 support.
[deliverable/binutils-gdb.git] / bfd / Makefile.in
index 59aebe1e0f5414e34a336037790889e379cb2f5c..360b32d9f2b92e618d7ca5eb94e2e619a9b27a17 100644 (file)
@@ -117,7 +117,7 @@ AUTOMAKE_OPTIONS = cygnus
 
 INCDIR = $(srcdir)/../include
 CSEARCH = -I. -I$(srcdir) -I$(INCDIR)
-MKDEP = mkdep
+MKDEP = gcc -MM
 
 SUBDIRS = doc po
 
@@ -125,6 +125,9 @@ docdir = doc
 
 lib_LTLIBRARIES = libbfd.la
 
+WARN_CFLAGS = @WARN_CFLAGS@
+AM_CFLAGS = $(WARN_CFLAGS)
+
 # bfd.h goes here, for now
 BFD_H = bfd.h
 
@@ -156,12 +159,14 @@ ALL_MACHINES = \
        cpu-alpha.lo \
        cpu-arc.lo \
        cpu-arm.lo \
+       cpu-avr.lo \
        cpu-d10v.lo \
        cpu-d30v.lo \
        cpu-fr30.lo \
        cpu-h8300.lo \
        cpu-h8500.lo \
        cpu-hppa.lo \
+       cpu-ia64.lo \
        cpu-i370.lo \
        cpu-i386.lo \
        cpu-i860.lo \
@@ -180,6 +185,7 @@ ALL_MACHINES = \
        cpu-sh.lo \
        cpu-sparc.lo \
        cpu-tic30.lo \
+       cpu-tic54x.lo \
        cpu-tic80.lo \
        cpu-v850.lo \
        cpu-vax.lo \
@@ -193,12 +199,14 @@ ALL_MACHINES_CFILES = \
        cpu-alpha.c \
        cpu-arc.c \
        cpu-arm.c \
+       cpu-avr.c \
        cpu-d10v.c \
        cpu-d30v.c \
        cpu-fr30.c \
        cpu-h8300.c \
        cpu-h8500.c \
        cpu-hppa.c \
+       cpu-ia64.c \
        cpu-i370.c \
        cpu-i386.c \
        cpu-i860.c \
@@ -217,6 +225,7 @@ ALL_MACHINES_CFILES = \
        cpu-sh.c \
        cpu-sparc.c \
        cpu-tic30.c \
+       cpu-tic54x.c \
        cpu-tic80.c \
        cpu-v850.c \
        cpu-vax.c \
@@ -260,6 +269,7 @@ BFD32_BACKENDS = \
        coff-stgo32.lo \
        coff-svm68k.lo \
        coff-tic30.lo \
+       coff-tic54x.lo \
        coff-tic80.lo \
        coff-u68k.lo \
        coff-we32k.lo \
@@ -274,6 +284,7 @@ BFD32_BACKENDS = \
        elf32-arc.lo \
        elfarm-oabi.lo \
        elfarm-nabi.lo \
+       elf32-avr.lo \
        elf32-d10v.lo \
        elf32-d30v.lo \
        elf32-fr30.lo \
@@ -335,6 +346,10 @@ BFD32_BACKENDS = \
        pei-mcore.lo \
        pe-ppc.lo \
        pei-ppc.lo \
+       pe-sh.lo \
+       pei-sh.lo \
+       pe-mips.lo \
+       pei-mips.lo \
        peigen.lo \
        ppcboot.lo \
        reloc16.lo \
@@ -386,6 +401,7 @@ BFD32_BACKENDS_CFILES = \
        coff-stgo32.c \
        coff-svm68k.c \
        coff-tic30.c \
+       coff-tic54x.c \
        coff-tic80.c \
        coff-u68k.c \
        coff-we32k.c \
@@ -400,6 +416,7 @@ BFD32_BACKENDS_CFILES = \
        elf32-arc.c \
        elfarm-oabi.c \
        elfarm-nabi.c \
+       elf32-avr.c \
        elf32-d10v.c \
        elf32-d30v.c \
        elf32-fr30.c \
@@ -461,6 +478,10 @@ BFD32_BACKENDS_CFILES = \
        pei-mcore.c \
        pe-ppc.c \
        pei-ppc.c \
+       pe-sh.c \
+       pei-sh.c \
+       pe-mips.c \
+       pei-mips.c \
        peigen.c \
        ppcboot.c \
        reloc16.c \
@@ -485,8 +506,10 @@ BFD32_BACKENDS_CFILES = \
 BFD64_BACKENDS = \
        aout64.lo \
        coff-alpha.lo \
+       coff-ia64.lo \
        demo64.lo \
        elf64-alpha.lo \
+       elf64-ia64.lo \
        elf64-gen.lo \
        elf64-mips.lo \
        elf64-sparc.lo \
@@ -498,8 +521,10 @@ BFD64_BACKENDS = \
 BFD64_BACKENDS_CFILES = \
        aout64.c \
        coff-alpha.c \
+       coff-ia64.c \
        demo64.c \
        elf64-alpha.c \
+       elf64-ia64.c \
        elf64-gen.c \
        elf64-mips.c \
        elf64-sparc.c \
@@ -596,7 +621,7 @@ MOSTLYCLEANFILES = elf32-target.h elf64-target.h ofiles stamp-ofiles \
        targmatch.h
 
 
-CLEANFILES = bfd.h dep.sed stmp-bfd-h DEP DEP1 libbfd.a stamp-lib \
+CLEANFILES = bfd.h dep.sed stmp-bfd-h DEP DEP1 DEP2 libbfd.a stamp-lib \
        stmp-bin2-h stmp-lbfd-h stmp-lcoff-h
 
 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
@@ -630,7 +655,7 @@ configure.in
 
 DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
 
-TAR = gtar
+TAR = tar
 GZIP_ENV = --best
 SOURCES = $(libbfd_a_SOURCES) $(libbfd_la_SOURCES)
 OBJECTS = $(libbfd_a_OBJECTS) $(libbfd_la_OBJECTS)
@@ -1023,8 +1048,9 @@ stamp-ofiles: Makefile
 ofiles: stamp-ofiles ; @true
 
 stamp-lib: libbfd.la
-       if [ -f .libs/libbfd.a ]; then \
-         cp .libs/libbfd.a libbfd.tmp; \
+       libtooldir=`$(LIBTOOL) --config | sed -n -e 's/^objdir=//p'`; \
+       if [ -f $$libtooldir/libbfd.a ]; then \
+         cp $$libtooldir/libbfd.a libbfd.tmp; \
          $(SHELL) $(srcdir)/../move-if-change libbfd.tmp libbfd.a; \
        else true; fi
        touch stamp-lib
@@ -1073,22 +1099,15 @@ install-data-local: $(BFD_H)
 # Have to get rid of DEP1 here so that "$?" later includes all of $(CFILES).
 DEP: dep.sed $(CFILES) $(HFILES) bfd.h
        rm -f DEP1
-       $(MAKE) MKDEP=$(MKDEP) DEP1
-       sed -f dep.sed <DEP1 >DEP
-
-# This rule really wants a mkdep that runs "gcc -MM".
-# The NetBSD mkdep overwrites any existing file contents, and doesn't insert
-# the "DO NOT DELETE" line.
-# Other mkdep versions require a file that already exists, and do insert it.
-# Hence the weirdness....
+       $(MAKE) MKDEP="$(MKDEP)" DEP1
+       sed -f dep.sed < DEP1 > $@
+       echo '# IF YOU PUT ANYTHING HERE IT WILL GO AWAY' >> $@
+
 DEP1: $(CFILES)
-       rm -f DEP2 DEP2a
        echo '# DO NOT DELETE THIS LINE -- mkdep uses it.' > DEP2
-       echo > DEP2a
-       $(MKDEP) -f DEP2a $(INCLUDES) $(CFLAGS) $?
-       sed -e '/DO NOT DELETE/d' -e '/^$$/d' < DEP2a >> DEP2
-       rm -f DEP2a
-       $(SHELL) $(srcdir)/../move-if-change DEP2 DEP1
+       echo '# DO NOT PUT ANYTHING AFTER THIS LINE, IT WILL GO AWAY.' >> DEP2
+       $(MKDEP) $(INCLUDES) $(CFLAGS) $? >> DEP2
+       mv -f DEP2 $@
 
 dep.sed: dep-in.sed config.status
        sed <$(srcdir)/dep-in.sed >dep.sed      \
@@ -1167,11 +1186,15 @@ stmp-lcoff-h: $(LIBCOFF_H_FILES)
 config.status: $(srcdir)/configure $(srcdir)/config.bfd $(srcdir)/configure.host
        $(SHELL) ./config.status --recheck
 
+cpu-ia64.lo: cpu-ia64.c cpu-ia64-opc.c $(srcdir)/../opcodes/ia64-opc.h
+elf64-ia64.lo: elf64-ia64.c elf-bfd.h $(INCDIR)/opcode/ia64.h \
+  $(INCDIR)/elf/ia64.h $(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h \
+  $(INCDIR)/elf/external.h $(INCDIR)/bfdlink.h $(INCDIR)/elf/reloc-macros.h \
+  elf64-target.h
 elfarm-oabi.lo: elfarm-oabi.c elf32-arm.h elf-bfd.h $(INCDIR)/elf/common.h \
   $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h $(INCDIR)/bfdlink.h \
   $(INCDIR)/elf/arm.h $(INCDIR)/elf/reloc-macros.h elf32-target.h
 
-# What appears below is generated by a hacked mkdep using gcc -MM.
 elfarm-nabi.lo: elfarm-nabi.c elf32-arm.h elf-bfd.h $(INCDIR)/elf/common.h \
   $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h $(INCDIR)/bfdlink.h \
   $(INCDIR)/elf/arm.h $(INCDIR)/elf/reloc-macros.h elf32-target.h
@@ -1212,12 +1235,14 @@ cpu-a29k.lo: cpu-a29k.c
 cpu-alpha.lo: cpu-alpha.c
 cpu-arc.lo: cpu-arc.c
 cpu-arm.lo: cpu-arm.c
+cpu-avr.lo: cpu-avr.c
 cpu-d10v.lo: cpu-d10v.c
 cpu-d30v.lo: cpu-d30v.c
 cpu-fr30.lo: cpu-fr30.c
 cpu-h8300.lo: cpu-h8300.c
 cpu-h8500.lo: cpu-h8500.c
 cpu-hppa.lo: cpu-hppa.c
+cpu-i370.lo: cpu-i370.c
 cpu-i386.lo: cpu-i386.c
 cpu-i860.lo: cpu-i860.c
 cpu-i960.lo: cpu-i960.c
@@ -1235,6 +1260,7 @@ cpu-rs6000.lo: cpu-rs6000.c
 cpu-sh.lo: cpu-sh.c
 cpu-sparc.lo: cpu-sparc.c
 cpu-tic30.lo: cpu-tic30.c
+cpu-tic54x.lo: cpu-tic54x.c
 cpu-tic80.lo: cpu-tic80.c
 cpu-v850.lo: cpu-v850.c
 cpu-vax.lo: cpu-vax.c
@@ -1328,6 +1354,9 @@ coff-svm68k.lo: coff-svm68k.c coff-m68k.c $(INCDIR)/coff/m68k.h \
   coffcode.h coffswap.h
 coff-tic30.lo: coff-tic30.c $(INCDIR)/bfdlink.h $(INCDIR)/coff/tic30.h \
   $(INCDIR)/coff/internal.h libcoff.h coffcode.h coffswap.h
+coff-tic54x.lo: coff-tic54x.c $(INCDIR)/bfdlink.h $(INCDIR)/coff/tic54x.h \
+  $(INCDIR)/coff/ti.h $(INCDIR)/coff/internal.h libcoff.h \
+  coffcode.h coffswap.h
 coff-tic80.lo: coff-tic80.c $(INCDIR)/bfdlink.h $(INCDIR)/coff/tic80.h \
   $(INCDIR)/coff/internal.h libcoff.h coffcode.h coffswap.h
 coff-u68k.lo: coff-u68k.c coff-m68k.c $(INCDIR)/coff/m68k.h \
@@ -1362,14 +1391,17 @@ elf.lo: elf.c $(INCDIR)/bfdlink.h elf-bfd.h $(INCDIR)/elf/common.h \
 elf32-arc.lo: elf32-arc.c elf-bfd.h $(INCDIR)/elf/common.h \
   $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h $(INCDIR)/bfdlink.h \
   $(INCDIR)/elf/arc.h $(INCDIR)/elf/reloc-macros.h elf32-target.h
-elfarm-oabi.lo: elfarm-oabi.c $(INCDIR)/elf/arm-oabi.h \
-  $(INCDIR)/elf/reloc-macros.h elf-bfd.h $(INCDIR)/elf/common.h \
-  $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h $(INCDIR)/bfdlink.h \
-  elf32-arm.h elf32-target.h
+elfarm-oabi.lo: elfarm-oabi.c $(INCDIR)/elf/arm.h $(INCDIR)/elf/reloc-macros.h \
+  elf-bfd.h $(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h \
+  $(INCDIR)/elf/external.h $(INCDIR)/bfdlink.h elf32-arm.h \
+  elf32-target.h
 elfarm-nabi.lo: elfarm-nabi.c $(INCDIR)/elf/arm.h $(INCDIR)/elf/reloc-macros.h \
   elf-bfd.h $(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h \
   $(INCDIR)/elf/external.h $(INCDIR)/bfdlink.h elf32-arm.h \
   elf32-target.h
+elf32-avr.lo: elf32-avr.c elf-bfd.h $(INCDIR)/elf/common.h \
+  $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h $(INCDIR)/bfdlink.h \
+  $(INCDIR)/elf/avr.h $(INCDIR)/elf/reloc-macros.h elf32-target.h
 elf32-d10v.lo: elf32-d10v.c elf-bfd.h $(INCDIR)/elf/common.h \
   $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h $(INCDIR)/bfdlink.h \
   elf32-target.h
@@ -1382,9 +1414,9 @@ elf32-fr30.lo: elf32-fr30.c elf-bfd.h $(INCDIR)/elf/common.h \
 elf32-gen.lo: elf32-gen.c elf-bfd.h $(INCDIR)/elf/common.h \
   $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h $(INCDIR)/bfdlink.h \
   elf32-target.h
-elf32-i370.lo: elf32-i370.c elf-bfd.h $(INCDIR)/elf/common.h \
-  $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h $(INCDIR)/bfdlink.h \
-  elf32-target.h
+elf32-i370.lo: elf32-i370.c $(INCDIR)/bfdlink.h elf-bfd.h \
+  $(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h \
+  $(INCDIR)/elf/i370.h elf32-target.h
 elf32-i386.lo: elf32-i386.c $(INCDIR)/bfdlink.h elf-bfd.h \
   $(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h \
   $(INCDIR)/elf/i386.h $(INCDIR)/elf/reloc-macros.h elf32-target.h
@@ -1550,6 +1582,18 @@ pe-ppc.lo: pe-ppc.c coff-ppc.c $(INCDIR)/coff/powerpc.h \
 pei-ppc.lo: pei-ppc.c coff-ppc.c $(INCDIR)/coff/powerpc.h \
   $(INCDIR)/coff/internal.h $(INCDIR)/coff/pe.h libcoff.h \
   $(INCDIR)/bfdlink.h coffcode.h peicode.h libpei.h
+pe-sh.lo: pe-sh.c coff-sh.c $(INCDIR)/bfdlink.h $(INCDIR)/coff/sh.h \
+  $(INCDIR)/coff/internal.h $(INCDIR)/coff/pe.h libcoff.h \
+  coffcode.h peicode.h libpei.h
+pei-sh.lo: pei-sh.c coff-sh.c $(INCDIR)/bfdlink.h $(INCDIR)/coff/sh.h \
+  $(INCDIR)/coff/internal.h $(INCDIR)/coff/pe.h libcoff.h \
+  coffcode.h peicode.h libpei.h
+pe-mips.lo: pe-mips.c $(INCDIR)/coff/mipspe.h $(INCDIR)/coff/internal.h \
+  $(INCDIR)/coff/pe.h libcoff.h $(INCDIR)/bfdlink.h coffcode.h \
+  peicode.h libpei.h
+pei-mips.lo: pei-mips.c pe-mips.c $(INCDIR)/coff/mipspe.h \
+  $(INCDIR)/coff/internal.h $(INCDIR)/coff/pe.h libcoff.h \
+  $(INCDIR)/bfdlink.h coffcode.h peicode.h libpei.h
 peigen.lo: peigen.c $(INCDIR)/coff/internal.h $(INCDIR)/coff/i386.h \
   $(INCDIR)/coff/pe.h libcoff.h $(INCDIR)/bfdlink.h libpei.h
 ppcboot.lo: ppcboot.c
@@ -1588,6 +1632,8 @@ coff-alpha.lo: coff-alpha.c $(INCDIR)/bfdlink.h $(INCDIR)/coff/internal.h \
   $(INCDIR)/coff/sym.h $(INCDIR)/coff/symconst.h $(INCDIR)/coff/ecoff.h \
   $(INCDIR)/coff/alpha.h $(INCDIR)/aout/ar.h libcoff.h \
   libecoff.h coffswap.h ecoffswap.h
+coff-ia64.lo: coff-ia64.c $(INCDIR)/coff/ia64.h $(INCDIR)/coff/internal.h \
+  $(INCDIR)/coff/pe.h libcoff.h $(INCDIR)/bfdlink.h coffcode.h coffswap.h
 demo64.lo: demo64.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 \
@@ -1626,8 +1672,7 @@ irix-core.lo: irix-core.c
 lynx-core.lo: lynx-core.c
 osf-core.lo: osf-core.c
 sco5-core.lo: sco5-core.c libaout.h $(INCDIR)/bfdlink.h
-trad-core.lo: trad-core.c libaout.h $(INCDIR)/bfdlink.h \
-  hosts/i386linux.h
+trad-core.lo: trad-core.c libaout.h $(INCDIR)/bfdlink.h
 cisco-core.lo: cisco-core.c
 # IF YOU PUT ANYTHING HERE IT WILL GO AWAY
 
This page took 0.027401 seconds and 4 git commands to generate.