Add WinCE support.
[deliverable/binutils-gdb.git] / bfd / Makefile.in
index 72b5e81e056dc2c444e76ccbd62d55cec65f393e..39b506f2005496dd07e8fec429e57dbe079a00e8 100644 (file)
@@ -89,14 +89,13 @@ INSTOBJEXT = @INSTOBJEXT@
 INTLDEPS = @INTLDEPS@
 INTLLIBS = @INTLLIBS@
 INTLOBJS = @INTLOBJS@
-LD = @LD@
 LIBTOOL = @LIBTOOL@
 LN_S = @LN_S@
 MAINT = @MAINT@
 MAKEINFO = @MAKEINFO@
 MKINSTALLDIRS = @MKINSTALLDIRS@
 MSGFMT = @MSGFMT@
-NM = @NM@
+OBJDUMP = @OBJDUMP@
 PACKAGE = @PACKAGE@
 POFILES = @POFILES@
 POSUB = @POSUB@
@@ -104,7 +103,6 @@ RANLIB = @RANLIB@
 TDEFINES = @TDEFINES@
 USE_INCLUDED_LIBINTL = @USE_INCLUDED_LIBINTL@
 USE_NLS = @USE_NLS@
-USE_SYMBOL_UNDERSCORE = @USE_SYMBOL_UNDERSCORE@
 VERSION = @VERSION@
 WIN32LDFLAGS = @WIN32LDFLAGS@
 WIN32LIBADD = @WIN32LIBADD@
@@ -119,7 +117,7 @@ AUTOMAKE_OPTIONS = cygnus
 
 INCDIR = $(srcdir)/../include
 CSEARCH = -I. -I$(srcdir) -I$(INCDIR)
-DEP = mkdep
+MKDEP = mkdep
 
 SUBDIRS = doc po
 
@@ -164,6 +162,7 @@ ALL_MACHINES = \
        cpu-h8300.lo \
        cpu-h8500.lo \
        cpu-hppa.lo \
+       cpu-i370.lo \
        cpu-i386.lo \
        cpu-i860.lo \
        cpu-i960.lo \
@@ -175,6 +174,7 @@ ALL_MACHINES = \
        cpu-mcore.lo \
        cpu-mips.lo \
        cpu-ns32k.lo \
+       cpu-pj.lo \
        cpu-powerpc.lo \
        cpu-rs6000.lo \
        cpu-sh.lo \
@@ -199,6 +199,7 @@ ALL_MACHINES_CFILES = \
        cpu-h8300.c \
        cpu-h8500.c \
        cpu-hppa.c \
+       cpu-i370.c \
        cpu-i386.c \
        cpu-i860.c \
        cpu-i960.c \
@@ -210,6 +211,7 @@ ALL_MACHINES_CFILES = \
        cpu-mcore.c \
        cpu-mips.c \
        cpu-ns32k.c \
+       cpu-pj.c \
        cpu-powerpc.c \
        cpu-rs6000.c \
        cpu-sh.c \
@@ -233,6 +235,7 @@ BFD32_BACKENDS = \
        aout-tic30.lo \
        aout0.lo \
        aout32.lo \
+       armnetbsd.lo \
        bout.lo \
        cf-i386lynx.lo \
        cf-m68klynx.lo \
@@ -275,7 +278,7 @@ BFD32_BACKENDS = \
        elf32-d30v.lo \
        elf32-fr30.lo \
        elf32-gen.lo \
-       elf32-hppa.lo \
+       elf32-i370.lo \
        elf32-i386.lo \
        elf32-i860.lo \
        elf32-i960.lo \
@@ -286,6 +289,7 @@ BFD32_BACKENDS = \
        elf-m10300.lo \
        elf32-mcore.lo \
        elf32-mips.lo \
+       elf32-pj.lo \
        elf32-ppc.lo \
        elf32-sh.lo \
        elf32-sparc.lo \
@@ -331,6 +335,11 @@ 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 \
        riscix.lo \
@@ -356,6 +365,7 @@ BFD32_BACKENDS_CFILES = \
        aout-tic30.c \
        aout0.c \
        aout32.c \
+       armnetbsd.c \
        bout.c \
        cf-i386lynx.c \
        cf-m68klynx.c \
@@ -398,7 +408,7 @@ BFD32_BACKENDS_CFILES = \
        elf32-d30v.c \
        elf32-fr30.c \
        elf32-gen.c \
-       elf32-hppa.c \
+       elf32-i370.c \
        elf32-i386.c \
        elf32-i860.c \
        elf32-i960.c \
@@ -409,6 +419,7 @@ BFD32_BACKENDS_CFILES = \
        elf-m10300.c \
        elf32-mcore.c \
        elf32-mips.c \
+       elf32-pj.c \
        elf32-ppc.c \
        elf32-sh.c \
        elf32-sparc.c \
@@ -454,6 +465,11 @@ 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 \
        riscix.c \
@@ -542,11 +558,11 @@ CFILES = \
 
 SOURCE_HFILES = \
        aout-target.h aoutf1.h aoutx.h coffcode.h coffswap.h \
-       ecoffswap.h elf32-arm.h elf32-hppa.h elfcode.h elfcore.h \
-       elflink.h freebsd.h genlink.h go32stub.h hppa_stubs.h libaout.h \
+       ecoffswap.h elf32-arm.h elfcode.h elfcore.h \
+       elflink.h freebsd.h genlink.h go32stub.h libaout.h \
        libbfd.h libcoff.h libecoff.h elf-bfd.h libhppa.h libieee.h \
-       libnlm.h liboasys.h netbsd.h nlm-target.h nlmcode.h nlmswap.h \
-       ns32k.h peicode.h som.h vms.h
+       libnlm.h liboasys.h libpei.h netbsd.h nlm-target.h nlmcode.h \
+       nlmswap.h ns32k.h peicode.h som.h vms.h
 
 
 HFILES = \
@@ -588,7 +604,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 libbfd.a stamp-lib \
        stmp-bin2-h stmp-lbfd-h stmp-lcoff-h
 
 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
@@ -877,7 +893,7 @@ distdir: $(DISTFILES)
        @for file in $(DISTFILES); do \
          if test -f $$file; then d=.; else d=$(srcdir); fi; \
          if test -d $$d/$$file; then \
-           cp -pr $$/$$file $(distdir)/$$file; \
+           cp -pr $$d/$$file $(distdir)/$$file; \
          else \
            test -f $(distdir)/$$file \
            || ln $$d/$$file $(distdir)/$$file 2> /dev/null \
@@ -1015,8 +1031,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
@@ -1062,25 +1079,25 @@ install-data-local: $(BFD_H)
        $(INSTALL_DATA) $(INCDIR)/ansidecl.h $(includedir)/ansidecl.h
        $(INSTALL_DATA) $(INCDIR)/bfdlink.h $(includedir)/bfdlink.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) DEP=$(DEP) .dep1
-       sed -f dep.sed <.dep1 >.dep
+# 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....
-.dep1: $(CFILES)
-       rm -f .dep2 .dep2a
-       echo '# DO NOT DELETE THIS LINE -- mkdep uses it.' > .dep2
-       echo > .dep2a
-       $(DEP) -f .dep2a $(INCLUDES) $(CFLAGS) $?
-       sed -e '/DO NOT DELETE/d' -e '/^$$/d' < .dep2a >> .dep2
-       rm -f .dep2a
-       $(SHELL) $(srcdir)/../move-if-change .dep2 .dep1
+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
 
 dep.sed: dep-in.sed config.status
        sed <$(srcdir)/dep-in.sed >dep.sed      \
@@ -1088,19 +1105,19 @@ dep.sed: dep-in.sed config.status
                -e 's!@INCDIR@!$(INCDIR)!'      \
                -e 's!@SRCDIR@!$(srcdir)!'
 
-dep: .dep
+dep: DEP
        sed -e '/^..DO NOT DELETE THIS LINE/,$$d' < Makefile > tmp-Makefile
-       cat .dep >> tmp-Makefile
+       cat DEP >> tmp-Makefile
        $(SHELL) $(srcdir)/../move-if-change tmp-Makefile Makefile
 
-dep-in: .dep
+dep-in: DEP
        sed -e '/^..DO NOT DELETE THIS LINE/,$$d' < $(srcdir)/Makefile.in > tmp-Makefile.in
-       cat .dep >> tmp-Makefile.in
+       cat DEP >> tmp-Makefile.in
        $(SHELL) $(srcdir)/../move-if-change tmp-Makefile.in $(srcdir)/Makefile.in
 
-dep-am: .dep
+dep-am: DEP
        sed -e '/^..DO NOT DELETE THIS LINE/,$$d' < $(srcdir)/Makefile.am > tmp-Makefile.am
-       cat .dep >> tmp-Makefile.am
+       cat DEP >> tmp-Makefile.am
        $(SHELL) $(srcdir)/../move-if-change tmp-Makefile.am $(srcdir)/Makefile.am
 
 host-aout.lo: Makefile
@@ -1221,6 +1238,7 @@ cpu-m10300.lo: cpu-m10300.c
 cpu-mcore.lo: cpu-mcore.c
 cpu-mips.lo: cpu-mips.c
 cpu-ns32k.lo: cpu-ns32k.c ns32k.h
+cpu-pj.lo: cpu-pj.c
 cpu-powerpc.lo: cpu-powerpc.c
 cpu-rs6000.lo: cpu-rs6000.c
 cpu-sh.lo: cpu-sh.c
@@ -1253,6 +1271,9 @@ aout0.lo: aout0.c aoutf1.h $(INCDIR)/aout/sun4.h libaout.h \
 aout32.lo: aout32.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
+armnetbsd.lo: armnetbsd.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
 bout.lo: bout.c $(INCDIR)/bfdlink.h genlink.h $(INCDIR)/bout.h \
   $(INCDIR)/aout/stab_gnu.h $(INCDIR)/aout/stab.def libaout.h
 cf-i386lynx.lo: cf-i386lynx.c coff-i386.c $(INCDIR)/coff/i386.h \
@@ -1370,10 +1391,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-hppa.lo: elf32-hppa.c elf-bfd.h $(INCDIR)/elf/common.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 \
-  $(INCDIR)/elf/hppa.h $(INCDIR)/elf/reloc-macros.h libhppa.h \
-  elf32-hppa.h elf-hppa.h hppa_stubs.h elf32-target.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
@@ -1409,6 +1429,9 @@ elf32-mips.lo: elf32-mips.c $(INCDIR)/bfdlink.h genlink.h \
   $(INCDIR)/coff/sym.h $(INCDIR)/coff/symconst.h $(INCDIR)/coff/internal.h \
   $(INCDIR)/coff/ecoff.h $(INCDIR)/coff/mips.h ecoffswap.h \
   elf32-target.h
+elf32-pj.lo: elf32-pj.c $(INCDIR)/bfdlink.h elf-bfd.h \
+  $(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h \
+  $(INCDIR)/elf/pj.h $(INCDIR)/elf/reloc-macros.h elf32-target.h
 elf32-ppc.lo: elf32-ppc.c $(INCDIR)/bfdlink.h elf-bfd.h \
   $(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h \
   $(INCDIR)/elf/ppc.h $(INCDIR)/elf/reloc-macros.h elf32-target.h
@@ -1429,10 +1452,11 @@ elflink.lo: elflink.c $(INCDIR)/bfdlink.h elf-bfd.h \
   $(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h
 epoc-pe-arm.lo: epoc-pe-arm.c pe-arm.c coff-arm.c $(INCDIR)/coff/arm.h \
   $(INCDIR)/coff/internal.h $(INCDIR)/coff/pe.h libcoff.h \
-  $(INCDIR)/bfdlink.h coffcode.h peicode.h
+  $(INCDIR)/bfdlink.h coffcode.h peicode.h libpei.h
 epoc-pei-arm.lo: epoc-pei-arm.c pei-arm.c coff-arm.c \
   $(INCDIR)/coff/arm.h $(INCDIR)/coff/internal.h $(INCDIR)/coff/pe.h \
-  libcoff.h $(INCDIR)/bfdlink.h coffcode.h peicode.h
+  libcoff.h $(INCDIR)/bfdlink.h coffcode.h peicode.h \
+  libpei.h
 hp300bsd.lo: hp300bsd.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
@@ -1513,28 +1537,42 @@ pc532-mach.lo: pc532-mach.c libaout.h $(INCDIR)/bfdlink.h \
   $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h
 pe-arm.lo: pe-arm.c coff-arm.c $(INCDIR)/coff/arm.h \
   $(INCDIR)/coff/internal.h $(INCDIR)/coff/pe.h libcoff.h \
-  $(INCDIR)/bfdlink.h coffcode.h peicode.h
+  $(INCDIR)/bfdlink.h coffcode.h peicode.h libpei.h
 pei-arm.lo: pei-arm.c coff-arm.c $(INCDIR)/coff/arm.h \
   $(INCDIR)/coff/internal.h $(INCDIR)/coff/pe.h libcoff.h \
-  $(INCDIR)/bfdlink.h coffcode.h peicode.h
+  $(INCDIR)/bfdlink.h coffcode.h peicode.h libpei.h
 pe-i386.lo: pe-i386.c coff-i386.c $(INCDIR)/coff/i386.h \
   $(INCDIR)/coff/internal.h $(INCDIR)/coff/pe.h libcoff.h \
-  $(INCDIR)/bfdlink.h coffcode.h peicode.h
+  $(INCDIR)/bfdlink.h coffcode.h peicode.h libpei.h
 pei-i386.lo: pei-i386.c coff-i386.c $(INCDIR)/coff/i386.h \
+  $(INCDIR)/coff/internal.h $(INCDIR)/coff/pe.h libcoff.h \
+  $(INCDIR)/bfdlink.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
+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
 pe-mcore.lo: pe-mcore.c coff-mcore.c $(INCDIR)/coff/mcore.h \
   $(INCDIR)/coff/internal.h $(INCDIR)/coff/pe.h libcoff.h \
-  $(INCDIR)/bfdlink.h coffcode.h peicode.h
+  $(INCDIR)/bfdlink.h coffcode.h peicode.h libpei.h
 pei-mcore.lo: pei-mcore.c coff-mcore.c $(INCDIR)/coff/mcore.h \
   $(INCDIR)/coff/internal.h $(INCDIR)/coff/pe.h libcoff.h \
-  $(INCDIR)/bfdlink.h coffcode.h peicode.h
+  $(INCDIR)/bfdlink.h coffcode.h peicode.h libpei.h
 pe-ppc.lo: pe-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
+  $(INCDIR)/bfdlink.h coffcode.h peicode.h libpei.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
+  $(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
+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
+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
 reloc16.lo: reloc16.c $(INCDIR)/bfdlink.h genlink.h \
   $(INCDIR)/coff/internal.h libcoff.h
This page took 0.028806 seconds and 4 git commands to generate.