From 3df5879c313530d0d2b97349c676b69f2f216b95 Mon Sep 17 00:00:00 2001 From: Dave Korn Date: Thu, 3 Sep 2009 04:47:46 +0000 Subject: [PATCH] * Makefile.am (BUILD_LIBINTL): New variable. (i386-gen$(EXEEXT_FOR_BUILD)): Use it. (ia64-gen$(EXEEXT_FOR_BUILD)): And here. (z8kgen$(EXEEXT_FOR_BUILD)): And here. * Makefile.in: Regenerate. --- opcodes/ChangeLog | 8 ++++++++ opcodes/Makefile.am | 14 ++++++++------ opcodes/Makefile.in | 14 ++++++++------ 3 files changed, 24 insertions(+), 12 deletions(-) diff --git a/opcodes/ChangeLog b/opcodes/ChangeLog index 975452afc87..de8083c0a63 100644 --- a/opcodes/ChangeLog +++ b/opcodes/ChangeLog @@ -1,3 +1,11 @@ +2009-09-03 Dave Korn + + * Makefile.am (BUILD_LIBINTL): New variable. + (i386-gen$(EXEEXT_FOR_BUILD)): Use it. + (ia64-gen$(EXEEXT_FOR_BUILD)): And here. + (z8kgen$(EXEEXT_FOR_BUILD)): And here. + * Makefile.in: Regenerate. + 2009-09-01 DJ Delorie * mep-asm.c: Regenerate. diff --git a/opcodes/Makefile.am b/opcodes/Makefile.am index 7b8bc12a194..76eccbad7f8 100644 --- a/opcodes/Makefile.am +++ b/opcodes/Makefile.am @@ -40,6 +40,8 @@ BFD_H = ../bfd/bfd.h LIBIBERTY = ../libiberty/libiberty.a # This is only true when not cross-compiling. BUILD_LIBIBERTY = $(LIBIBERTY) +# And so is this. +BUILD_LIBINTL = $(LIBINTL) # Header files. HFILES = \ @@ -455,8 +457,8 @@ MOSTLYCLEANFILES = i386-gen$(EXEEXT_FOR_BUILD) ia64-gen$(EXEEXT_FOR_BUILD) \ MAINTAINERCLEANFILES = $(srcdir)/i386-tbl.h $(srcdir)/i386-init.h \ $(srcdir)/ia64-asmtab.c s390-opc.tab $(srcdir)/z8k-opc.h -i386-gen$(EXEEXT_FOR_BUILD): i386-gen.o $(BUILD_LIBIBERTY) - $(LINK_FOR_BUILD) i386-gen.o $(BUILD_LIBIBERTY) +i386-gen$(EXEEXT_FOR_BUILD): i386-gen.o $(BUILD_LIBIBERTY) $(BUILD_LIBINTL) + $(LINK_FOR_BUILD) i386-gen.o $(BUILD_LIBIBERTY) $(BUILD_LIBINTL) i386-gen.o: i386-gen.c i386-opc.h $(srcdir)/../include/opcode/i386.h \ $(INCDIR)/ansidecl.h $(INCDIR)/getopt.h $(INCDIR)/hashtab.h \ @@ -472,8 +474,8 @@ $(srcdir)/i386-init.h: @MAINT@ i386-gen$(EXEEXT_FOR_BUILD) i386-opc.tbl i386-reg i386-opc.lo: $(srcdir)/i386-tbl.h -ia64-gen$(EXEEXT_FOR_BUILD): ia64-gen.o $(BUILD_LIBIBERTY) - $(LINK_FOR_BUILD) ia64-gen.o $(BUILD_LIBIBERTY) +ia64-gen$(EXEEXT_FOR_BUILD): ia64-gen.o $(BUILD_LIBIBERTY) $(BUILD_LIBINTL) + $(LINK_FOR_BUILD) ia64-gen.o $(BUILD_LIBIBERTY) $(BUILD_LIBINTL) ia64-gen.o: ia64-gen.c $(BFD_H) $(INCDIR)/ansidecl.h $(INCDIR)/getopt.h \ $(INCDIR)/libiberty.h $(INCDIR)/opcode/ia64.h $(INCDIR)/safe-ctype.h \ @@ -499,8 +501,8 @@ s390-opc.tab: s390-mkopc$(EXEEXT_FOR_BUILD) s390-opc.txt s390-opc.lo: s390-opc.tab -z8kgen$(EXEEXT_FOR_BUILD): z8kgen.o $(BUILD_LIBIBERTY) - $(LINK_FOR_BUILD) z8kgen.o $(BUILD_LIBIBERTY) +z8kgen$(EXEEXT_FOR_BUILD): z8kgen.o $(BUILD_LIBIBERTY) $(BUILD_LIBINTL) + $(LINK_FOR_BUILD) z8kgen.o $(BUILD_LIBIBERTY) $(BUILD_LIBINTL) z8kgen.o: z8kgen.c $(COMPILE_FOR_BUILD) -c $(srcdir)/z8kgen.c diff --git a/opcodes/Makefile.in b/opcodes/Makefile.in index 09a10c70d20..bce410deb1b 100644 --- a/opcodes/Makefile.in +++ b/opcodes/Makefile.in @@ -310,6 +310,8 @@ BFD_H = ../bfd/bfd.h LIBIBERTY = ../libiberty/libiberty.a # This is only true when not cross-compiling. BUILD_LIBIBERTY = $(LIBIBERTY) +# And so is this. +BUILD_LIBINTL = $(LIBINTL) # Header files. HFILES = \ @@ -1295,8 +1297,8 @@ stamp-xc16x: $(CGENDEPS) $(CPUDIR)/xc16x.cpu $(CPUDIR)/xc16x.opc $(MAKE) run-cgen arch=xc16x prefix=xc16x options= \ archfile=$(CPUDIR)/xc16x.cpu opcfile=$(CPUDIR)/xc16x.opc extrafiles= -i386-gen$(EXEEXT_FOR_BUILD): i386-gen.o $(BUILD_LIBIBERTY) - $(LINK_FOR_BUILD) i386-gen.o $(BUILD_LIBIBERTY) +i386-gen$(EXEEXT_FOR_BUILD): i386-gen.o $(BUILD_LIBIBERTY) $(BUILD_LIBINTL) + $(LINK_FOR_BUILD) i386-gen.o $(BUILD_LIBIBERTY) $(BUILD_LIBINTL) i386-gen.o: i386-gen.c i386-opc.h $(srcdir)/../include/opcode/i386.h \ $(INCDIR)/ansidecl.h $(INCDIR)/getopt.h $(INCDIR)/hashtab.h \ @@ -1312,8 +1314,8 @@ $(srcdir)/i386-init.h: @MAINT@ i386-gen$(EXEEXT_FOR_BUILD) i386-opc.tbl i386-reg i386-opc.lo: $(srcdir)/i386-tbl.h -ia64-gen$(EXEEXT_FOR_BUILD): ia64-gen.o $(BUILD_LIBIBERTY) - $(LINK_FOR_BUILD) ia64-gen.o $(BUILD_LIBIBERTY) +ia64-gen$(EXEEXT_FOR_BUILD): ia64-gen.o $(BUILD_LIBIBERTY) $(BUILD_LIBINTL) + $(LINK_FOR_BUILD) ia64-gen.o $(BUILD_LIBIBERTY) $(BUILD_LIBINTL) ia64-gen.o: ia64-gen.c $(BFD_H) $(INCDIR)/ansidecl.h $(INCDIR)/getopt.h \ $(INCDIR)/libiberty.h $(INCDIR)/opcode/ia64.h $(INCDIR)/safe-ctype.h \ @@ -1334,8 +1336,8 @@ s390-opc.tab: s390-mkopc$(EXEEXT_FOR_BUILD) s390-opc.txt s390-opc.lo: s390-opc.tab -z8kgen$(EXEEXT_FOR_BUILD): z8kgen.o $(BUILD_LIBIBERTY) - $(LINK_FOR_BUILD) z8kgen.o $(BUILD_LIBIBERTY) +z8kgen$(EXEEXT_FOR_BUILD): z8kgen.o $(BUILD_LIBIBERTY) $(BUILD_LIBINTL) + $(LINK_FOR_BUILD) z8kgen.o $(BUILD_LIBIBERTY) $(BUILD_LIBINTL) z8kgen.o: z8kgen.c $(COMPILE_FOR_BUILD) -c $(srcdir)/z8kgen.c -- 2.30.2