aboutsummaryrefslogtreecommitdiff
path: root/ld/Makefile.am
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>2007-07-13 10:44:28 +0000
committerRoland McGrath <roland@gnu.org>2007-07-13 10:44:28 +0000
commit5586bca14db58e34f231f8f69873dcb45ff2ccd1 (patch)
treee80a283972d631c4bdc4d6971f6a48b07a7af361 /ld/Makefile.am
parent24382dca6c0a77fd3b53972b3b3a3b483ae26c9e (diff)
downloadgdb-5586bca14db58e34f231f8f69873dcb45ff2ccd1.zip
gdb-5586bca14db58e34f231f8f69873dcb45ff2ccd1.tar.gz
gdb-5586bca14db58e34f231f8f69873dcb45ff2ccd1.tar.bz2
2007-07-13 Roland McGrath <roland@redhat.com>
* sha1.h: New file (from gnulib). * sha1.c: New file (from gnulib). * Makefile.am (CFILES, HFILES, OFILES, ld_new_SOURCES): Add them. (sha1.o): New target. * Makefile.in: Regenerated.
Diffstat (limited to 'ld/Makefile.am')
-rw-r--r--ld/Makefile.am17
1 files changed, 9 insertions, 8 deletions
diff --git a/ld/Makefile.am b/ld/Makefile.am
index 72dd649..1f019b0 100644
--- a/ld/Makefile.am
+++ b/ld/Makefile.am
@@ -428,23 +428,23 @@ ALL_EMUL_EXTRA_OFILES = \
CFILES = ldctor.c ldemul.c ldexp.c ldfile.c ldlang.c \
ldmain.c ldmisc.c ldver.c ldwrite.c lexsup.c \
- mri.c ldcref.c pe-dll.c pep-dll.c
+ mri.c ldcref.c pe-dll.c pep-dll.c sha1.c
HFILES = ld.h ldctor.h ldemul.h ldexp.h ldfile.h \
ldlang.h ldlex.h ldmain.h ldmisc.h ldver.h \
- ldwrite.h mri.h deffile.h pe-dll.h pep-dll.h elf-hints-local.h
+ ldwrite.h mri.h deffile.h pe-dll.h pep-dll.h elf-hints-local.h sha1.h
GENERATED_CFILES = ldgram.c ldlex.c deffilep.c
GENERATED_HFILES = ldgram.h ldemul-list.h deffilep.h
OFILES = ldgram.o ldlex.o lexsup.o ldlang.o mri.o ldctor.o ldmain.o \
ldwrite.o ldexp.o ldemul.o ldver.o ldmisc.o \
- ldfile.o ldcref.o ${EMULATION_OFILES} ${EMUL_EXTRA_OFILES}
+ ldfile.o ldcref.o sha1.o ${EMULATION_OFILES} ${EMUL_EXTRA_OFILES}
STAGESTUFF = *.o ldscripts/* e*.c
# Disable -Werror, if it has been enabled, since old versions of bison/
-# yacc will produce working code which contain compile time warnings.
+# yacc will produce working code which contain compile time warnings.
ldgram.o:
$(COMPILE) -c $< $(NO_WERROR)
ldlex.o:
@@ -674,7 +674,7 @@ eelf32xc16xl.c: $(srcdir)/emulparams/elf32xc16xl.sh \
eelf32xc16xs.c: $(srcdir)/emulparams/elf32xc16xs.sh \
$(ELF_DEPS) $(srcdir)/emultempl/needrelax.em \
$(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
- ${GENSCRIPTS} elf32xc16xs "$(tdir_xc16xs)"
+ ${GENSCRIPTS} elf32xc16xs "$(tdir_xc16xs)"
eelf32xstormy16.c: $(srcdir)/emulparams/elf32xstormy16.sh \
$(ELF_DEPS) $(srcdir)/emultempl/needrelax.em \
$(srcdir)/scripttempl/xstormy16.sc ${GEN_DEPENDS}
@@ -749,7 +749,7 @@ eelf32b4300.c: $(srcdir)/emulparams/elf32b4300.sh \
${GENSCRIPTS} elf32b4300 "$(tdir_elf32b4300)"
eelf32cr16.c: $(srcdir)/emulparams/elf32cr16.sh \
$(srcdir)/emultempl/elf32.em $(srcdir)/emultempl/cr16elf.em \
- $(srcdir)/scripttempl/elf32cr16.sc ${GEN_DEPENDS}
+ $(srcdir)/scripttempl/elf32cr16.sc ${GEN_DEPENDS}
${GENSCRIPTS} elf32cr16 "$(tdir_elf32crx)"
eelf32cr16c.c: $(srcdir)/emulparams/elf32cr16c.sh \
$(ELF_DEPS) \
@@ -768,7 +768,7 @@ eelf32btsmip.c: $(srcdir)/emulparams/elf32btsmip.sh \
${GENSCRIPTS} elf32btsmip "$(tdir_elf32btsmip)"
eelf32crx.c: $(srcdir)/emulparams/elf32crx.sh \
$(ELF_DEPS) $(srcdir)/emultempl/crxelf.em \
- $(srcdir)/scripttempl/elf32crx.sc ${GEN_DEPENDS}
+ $(srcdir)/scripttempl/elf32crx.sc ${GEN_DEPENDS}
${GENSCRIPTS} elf32crx "$(tdir_elf32crx)"
eelf32btsmipn32.c: $(srcdir)/emulparams/elf32btsmipn32.sh \
$(srcdir)/emulparams/elf32bmipn32-defs.sh $(ELF_DEPS) \
@@ -1696,7 +1696,7 @@ ez8002.c: $(srcdir)/emulparams/z8002.sh \
EXTRA_ld_new_SOURCES = deffilep.y
ld_new_SOURCES = ldgram.y ldlex.l lexsup.c ldlang.c mri.c ldctor.c ldmain.c \
- ldwrite.c ldexp.c ldemul.c ldver.c ldmisc.c ldfile.c ldcref.c
+ ldwrite.c ldexp.c ldemul.c ldver.c ldmisc.c ldfile.c ldcref.c sha1.c
ld_new_DEPENDENCIES = $(EMULATION_OFILES) $(EMUL_EXTRA_OFILES) $(BFDLIB) $(LIBIBERTY) $(LIBINTL_DEP)
ld_new_LDADD = $(EMULATION_OFILES) $(EMUL_EXTRA_OFILES) $(BFDLIB) $(LIBIBERTY) $(LIBINTL)
@@ -2047,4 +2047,5 @@ deffilep.o: deffilep.c sysdep.h config.h $(INCDIR)/fopen-same.h \
$(INCDIR)/libiberty.h $(INCDIR)/ansidecl.h $(INCDIR)/safe-ctype.h \
../bfd/bfd.h $(INCDIR)/ansidecl.h $(INCDIR)/symcat.h \
ld.h ldmisc.h deffile.h
+sha1.o: sha1.c config.h sha1.h
# IF YOU PUT ANYTHING HERE IT WILL GO AWAY