This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Patch]: Fix dependencies in opcodes/Makefile.am


Hi,

while trying to regenerate files for the release, I got a failure in opcodes:
On my system (Darwin), LIBINTL is defined as '.../libintl.a -liconv' and
therefore can't be used as a dependency.  Looks like LIBINTL_DEP is the
right macro for that.

Ok for mainline ?  (Will backport to the branch).

Tristan.

opcodes/
2009-09-04  Tristan Gingold  <gingold@adacore.com>

	* Makefile.am (i386-gen): Use LIBINTL_DEP for dependency instead
	of BUILD_LIBINTL.
	(ia64-gen): Ditto.
	(z8kgen$): Ditto.
	* Makefile: Regenerate.


Index: Makefile.am
===================================================================
RCS file: /cvs/src/src/opcodes/Makefile.am,v
retrieving revision 1.148
diff -c -r1.148 Makefile.am
*** Makefile.am	3 Sep 2009 04:47:46 -0000	1.148
--- Makefile.am	4 Sep 2009 12:54:49 -0000
***************
*** 457,463 ****
  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) $(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 \
--- 457,463 ----
  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) $(LIBINTL_DEP)
  	$(LINK_FOR_BUILD) i386-gen.o $(BUILD_LIBIBERTY) $(BUILD_LIBINTL)
  
  i386-gen.o: i386-gen.c i386-opc.h $(srcdir)/../include/opcode/i386.h \
***************
*** 474,480 ****
  
  i386-opc.lo: $(srcdir)/i386-tbl.h
  
! 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 \
--- 474,480 ----
  
  i386-opc.lo: $(srcdir)/i386-tbl.h
  
! ia64-gen$(EXEEXT_FOR_BUILD): ia64-gen.o $(BUILD_LIBIBERTY) $(LIBINTL_DEP)
  	$(LINK_FOR_BUILD) ia64-gen.o $(BUILD_LIBIBERTY) $(BUILD_LIBINTL)
  
  ia64-gen.o: ia64-gen.c $(BFD_H) $(INCDIR)/ansidecl.h $(INCDIR)/getopt.h \
***************
*** 501,507 ****
  
  s390-opc.lo: s390-opc.tab
  
! z8kgen$(EXEEXT_FOR_BUILD): z8kgen.o $(BUILD_LIBIBERTY) $(BUILD_LIBINTL)
  	$(LINK_FOR_BUILD) z8kgen.o $(BUILD_LIBIBERTY) $(BUILD_LIBINTL)
  
  z8kgen.o: z8kgen.c
--- 501,507 ----
  
  s390-opc.lo: s390-opc.tab
  
! z8kgen$(EXEEXT_FOR_BUILD): z8kgen.o $(BUILD_LIBIBERTY) $(LIBINTL_DEP)
  	$(LINK_FOR_BUILD) z8kgen.o $(BUILD_LIBIBERTY) $(BUILD_LIBINTL)
  
  z8kgen.o: z8kgen.c


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]