This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
A patch to opcodes/Makefile.am for ia64-asmtab.c
- To: binutils at sourceware dot cygnus dot com
- Subject: A patch to opcodes/Makefile.am for ia64-asmtab.c
- From: "H . J . Lu" <hjl at valinux dot com>
- Date: Fri, 16 Feb 2001 12:27:31 -0800
ia64-asmtab.c update is kind of awkward when build dir != source dir. This
patch cleans it up.
--
H.J. Lu (hjl@valinux.com)
--
2001-02-16 H.J. Lu <hjl@gnu.org>
* Makefile.am (ia64-ic.tbl): Remove the target.
(ia64-raw.tbl): Likewise.
(ia64-waw.tbl): Likewise.
(ia64-war.tbl): Likewise.
(ia64-asmtab.c): Generate it in the source directory.
* Makefile.in: Regenerated.
Index: Makefile.am
===================================================================
RCS file: /work/cvs/gnu/binutils/opcodes/Makefile.am,v
retrieving revision 1.25
diff -u -p -r1.25 Makefile.am
--- Makefile.am 2001/02/12 00:48:25 1.25
+++ Makefile.am 2001/02/16 20:20:42
@@ -273,16 +273,6 @@ $(srcdir)/fr30-desc.h $(srcdir)/fr30-des
stamp-fr30: $(CGENDEPS) $(CGENDIR)/fr30.cpu $(CGENDIR)/fr30.opc
$(MAKE) run-cgen arch=fr30 prefix=fr30 options= extrafiles=
-
-ia64-ic.tbl: $(srcdir)/ia64-ic.tbl
- $(LN_S) -f $(srcdir)/ia64-ic.tbl
-ia64-raw.tbl: $(srcdir)/ia64-raw.tbl
- $(LN_S) -f $(srcdir)/ia64-raw.tbl
-ia64-waw.tbl: $(srcdir)/ia64-waw.tbl
- $(LN_S) -f $(srcdir)/ia64-waw.tbl
-ia64-war.tbl: $(srcdir)/ia64-war.tbl
- $(LN_S) -f $(srcdir)/ia64-war.tbl
-
ia64-gen: ia64-gen.o
$(LINK) ia64-gen.o $(LIBIBERTY)
@@ -290,7 +280,7 @@ ia64-gen.o: ia64-gen.c ia64-opc.c ia64-o
ia64-opc-i.c ia64-opc-m.c ia64-opc-d.c ia64-opc.h
ia64-asmtab.c: @MAINT@ ia64-gen ia64-ic.tbl ia64-raw.tbl ia64-waw.tbl ia64-war.tbl
- ./ia64-gen > $(srcdir)/ia64-asmtab.c
+ here=`pwd`; cd $(srcdir); $$here/ia64-gen > ia64-asmtab.c
# This dependency stuff is copied from BFD.
Index: Makefile.in
===================================================================
RCS file: /work/cvs/gnu/binutils/opcodes/Makefile.in,v
retrieving revision 1.29
diff -u -p -r1.29 Makefile.in
--- Makefile.in 2001/02/12 00:48:25 1.29
+++ Makefile.in 2001/02/16 20:24:07
@@ -784,15 +784,6 @@ $(srcdir)/fr30-desc.h $(srcdir)/fr30-des
stamp-fr30: $(CGENDEPS) $(CGENDIR)/fr30.cpu $(CGENDIR)/fr30.opc
$(MAKE) run-cgen arch=fr30 prefix=fr30 options= extrafiles=
-ia64-ic.tbl: $(srcdir)/ia64-ic.tbl
- $(LN_S) -f $(srcdir)/ia64-ic.tbl
-ia64-raw.tbl: $(srcdir)/ia64-raw.tbl
- $(LN_S) -f $(srcdir)/ia64-raw.tbl
-ia64-waw.tbl: $(srcdir)/ia64-waw.tbl
- $(LN_S) -f $(srcdir)/ia64-waw.tbl
-ia64-war.tbl: $(srcdir)/ia64-war.tbl
- $(LN_S) -f $(srcdir)/ia64-war.tbl
-
ia64-gen: ia64-gen.o
$(LINK) ia64-gen.o $(LIBIBERTY)
@@ -800,7 +791,7 @@ ia64-gen.o: ia64-gen.c ia64-opc.c ia64-o
ia64-opc-i.c ia64-opc-m.c ia64-opc-d.c ia64-opc.h
ia64-asmtab.c: @MAINT@ ia64-gen ia64-ic.tbl ia64-raw.tbl ia64-waw.tbl ia64-war.tbl
- ./ia64-gen > $(srcdir)/ia64-asmtab.c
+ here=`pwd`; cd $(srcdir); $$here/ia64-gen > ia64-asmtab.c
# This dependency stuff is copied from BFD.