Makefile.in bug fixes and sparc-opc.c addition

This commit is contained in:
Ken Raeburn 1992-09-08 21:12:26 +00:00
parent 8ec1b2a188
commit 794a16b09d
3 changed files with 1853 additions and 11 deletions

View File

@ -1,3 +1,21 @@
Tue Sep 8 17:02:58 1992 Ken Raeburn (raeburn@cambridge.cygnus.com)
* Makefile.in (install): Get the library name right here too.
Don't install bfd.h, since it's unrelated to this library. No
subdirs to recurse into, either.
(CFILES): The source file has a .c suffix, not .o.
* sparc-opc.c: New file, moved from BFD.
* Makefile.in (OFILES): Build it.
Thu Sep 3 16:59:20 1992 Michael Werner (mtw@cygnus.com)
* z8k-dis.c: fixed forward refferences of some declarations.
Mon Aug 31 16:09:45 1992 Michael Werner (mtw@cygnus.com)
* Makefile.in: get the name of the library right
Mon Aug 31 13:47:35 1992 Steve Chamberlain (sac@thepub.cygnus.com)
* z8k-dis.c: knows how to disassemble z8k stuff

View File

@ -58,12 +58,12 @@ CSEARCH = -I. -I$(srcdir) -I$(INCDIR)
DEP = mkdep
TARGETLIB = libopcode.a
TARGETLIB = libopcodes.a
DIS_LIBS = z8k-dis.o
OFILES = $(DIS_LIBS)
OFILES = $(DIS_LIBS) sparc-opc.o
#### host and target dependent Makefile fragments come in here.
###
@ -85,7 +85,7 @@ FLAGS_TO_PASS = \
# C source files that correspond to .o's.
CFILES = z8k-dis.o
CFILES = z8k-dis.c
STAGESTUFF = $(TARGETLIB) $(OFILES)
@ -166,14 +166,15 @@ install:
-parent=`echo $(libdir)|sed -e 's@/[^/]*$$@@'`; \
if [ -d $$parent ] ; then true ; else mkdir $$parent ; fi
-if [ -d $(libdir) ] ; then true ; else mkdir $(libdir) ; fi
$(INSTALL_DATA) libbfd.a $(libdir)/libbfd.a
$(RANLIB) $(libdir)/libbfd.a
-parent=`echo $(includedir)|sed -e 's@/[^/]*$$@@'`; \
if [ -d $$parent ] ; then true ; else mkdir $$parent ; fi
-if [ -d $(includedir) ] ; then true ; else mkdir $(includedir) ; fi
$(INSTALL_DATA) $(INCDIR)/bfd.h $(includedir)/bfd.h
-if [ -z "$(oldincludedir)" ] ; then true ; else if [ -d $(oldincludedir) ] ; then true ; else mkdir $(oldincludedir) ; fi ; $(INSTALL_DATA) $(INCDIR)/bfd.h $(oldincludedir)/bfd.h ; fi
@$(MAKE) subdir_do DO=install "DODIRS=$(SUBDIRS)" $(FLAGS_TO_PASS)
$(INSTALL_DATA) $(TARGET_LIB) $(libdir)/libopcodes.a
$(RANLIB) $(libdir)/libopcodes.a
# -parent=`echo $(includedir)|sed -e 's@/[^/]*$$@@'`; \
# if [ -d $$parent ] ; then true ; else mkdir $$parent ; fi
# -if [ -d $(includedir) ] ; then true ; else mkdir $(includedir) ; fi
# $(INSTALL_DATA) $(INCDIR)/bfd.h $(includedir)/bfd.h
# -if [ -z "$(oldincludedir)" ] ; then true ; else if [ -d $(oldincludedir) ] ; then true ; else mkdir $(oldincludedir) ; fi ; $(INSTALL_DATA) $(INCDIR)/bfd.h $(oldincludedir)/bfd.h ; fi
# @$(MAKE) subdir_do DO=install "DODIRS=$(SUBDIRS)" $(FLAGS_TO_PASS)
# Target to uncomment host-specific lines in this makefile. Such lines must
# have the following string beginning in column 1: #__<hostname>__#

1823
opcodes/sparc-opc.c Normal file

File diff suppressed because it is too large Load Diff