* Makefile.in (SONAME): Remove leading ../bfd/ from $(SHLIB).
This commit is contained in:
parent
1a2f3c3f1f
commit
6d76c71f5e
|
@ -1,3 +1,7 @@
|
||||||
|
Thu Feb 15 14:45:05 1996 Ian Lance Taylor <ian@cygnus.com>
|
||||||
|
|
||||||
|
* Makefile.in (SONAME): Remove leading ../bfd/ from $(SHLIB).
|
||||||
|
|
||||||
Wed Feb 14 19:01:27 1996 Alan Modra <alan@spri.levels.unisa.edu.au>
|
Wed Feb 14 19:01:27 1996 Alan Modra <alan@spri.levels.unisa.edu.au>
|
||||||
|
|
||||||
* i386-dis.c (onebyte_has_modrm): New static array.
|
* i386-dis.c (onebyte_has_modrm): New static array.
|
||||||
|
|
|
@ -21,6 +21,7 @@ srcdir = @srcdir@
|
||||||
|
|
||||||
prefix = @prefix@
|
prefix = @prefix@
|
||||||
|
|
||||||
|
program_transform_name = @program_transform_name@
|
||||||
exec_prefix = @exec_prefix@
|
exec_prefix = @exec_prefix@
|
||||||
bindir = $(exec_prefix)/bin
|
bindir = $(exec_prefix)/bin
|
||||||
libdir = $(exec_prefix)/lib
|
libdir = $(exec_prefix)/lib
|
||||||
|
@ -63,6 +64,8 @@ SHLIB_CFLAGS = @SHLIB_CFLAGS@
|
||||||
COMMON_SHLIB = @COMMON_SHLIB@
|
COMMON_SHLIB = @COMMON_SHLIB@
|
||||||
SHLINK = @SHLINK@
|
SHLINK = @SHLINK@
|
||||||
|
|
||||||
|
SONAME = lib`echo $(SHLIB) | sed -e 's,^\.\./bfd/,,' -e 's/^lib//' | sed '$(program_transform_name)'`
|
||||||
|
|
||||||
INCDIR = $(srcdir)/../include
|
INCDIR = $(srcdir)/../include
|
||||||
BFDDIR = $(srcdir)/../bfd
|
BFDDIR = $(srcdir)/../bfd
|
||||||
CSEARCH = -I. -I$(srcdir) -I../bfd -I$(INCDIR) -I$(BFDDIR)
|
CSEARCH = -I. -I$(srcdir) -I../bfd -I$(INCDIR) -I$(BFDDIR)
|
||||||
|
@ -154,9 +157,37 @@ $(SHLIB): stamp-picdir $(OFILES) piclist
|
||||||
fi
|
fi
|
||||||
|
|
||||||
$(SHLINK): $(SHLIB)
|
$(SHLINK): $(SHLIB)
|
||||||
|
ts=lib`echo $(SHLIB) | sed -e 's,^\.\./bfd/,,' -e 's/^lib//' | sed -e '$(program_transform_name)'`; \
|
||||||
|
if [ "$(COMMON_SHLIB)" = "yes" ]; then \
|
||||||
|
ts=../bfd/$$ts; \
|
||||||
|
fi; \
|
||||||
|
if [ "$$ts" != "$(SHLIB)" ]; then \
|
||||||
|
rm -f $$ts; \
|
||||||
|
ln -sf `echo $(SHLIB) | sed -e 's,^\.\./bfd/,,'` $$ts; \
|
||||||
|
else true; fi
|
||||||
rm -f $(SHLINK)
|
rm -f $(SHLINK)
|
||||||
ln -sf `echo $(SHLIB) | sed -e 's,^\.\./bfd/,,'` $(SHLINK)
|
ln -sf `echo $(SHLIB) | sed -e 's,^\.\./bfd/,,'` $(SHLINK)
|
||||||
|
|
||||||
|
# This target creates libTARGET-opcodes.so.VERSION as a symlink to
|
||||||
|
# libopcodes.so.VERSION. It is used on SunOS, which does not have SONAME.
|
||||||
|
stamp-tshlink: $(SHLIB)
|
||||||
|
tf=lib`echo $(SHLIB) | sed -e 's,\.\./bfd/,,' -e 's/^lib//' | sed '$(program_transform_name)'`; \
|
||||||
|
if [ "$(COMMON_SHLIB)" = "yes" ]; then \
|
||||||
|
tf=../bfd/$$tf; \
|
||||||
|
fi; \
|
||||||
|
if [ "$$tf" != "$(SHLIB)" ]; then \
|
||||||
|
rm -f $$tf; \
|
||||||
|
ln -sf $(SHLIB) $$tf; \
|
||||||
|
else true; fi
|
||||||
|
if [ "$(COMMON_SHLIB)" = "yes" ]; then \
|
||||||
|
tf=lib`echo $(TARGETLIB) | sed -e 's/^lib//' | sed '$(program_transform_name)'`; \
|
||||||
|
if [ "$$tf" != "$(TARGETLIB)" ]; then \
|
||||||
|
rm -f $$tf; \
|
||||||
|
ln -sf $(TARGETLIB) $$tf; \
|
||||||
|
else true; fi; \
|
||||||
|
else true; fi
|
||||||
|
touch stamp-tshlink
|
||||||
|
|
||||||
$(OFILES): stamp-picdir
|
$(OFILES): stamp-picdir
|
||||||
|
|
||||||
disassemble.o: disassemble.c $(INCDIR)/dis-asm.h
|
disassemble.o: disassemble.c $(INCDIR)/dis-asm.h
|
||||||
|
@ -229,16 +260,20 @@ force:
|
||||||
|
|
||||||
install: $(ALLLIBS)
|
install: $(ALLLIBS)
|
||||||
for f in $(ALLLIBS); do \
|
for f in $(ALLLIBS); do \
|
||||||
bf=`echo $$f | sed -e 's,^\.\./bfd/,,'`; \
|
if [ "$$f" = "stamp-tshlink" ]; then \
|
||||||
rm -f $(libdir)/$$bf; \
|
continue; \
|
||||||
|
fi; \
|
||||||
|
tf=lib`echo $$f | sed -e 's,^\.\./bfd/,,' -e 's/^lib//' | sed '$(program_transform_name)'`; \
|
||||||
|
rm -f $(libdir)/$$tf; \
|
||||||
if [ "$$f" = "$(SHLINK)" ]; then \
|
if [ "$$f" = "$(SHLINK)" ]; then \
|
||||||
ln -sf `echo $(SHLIB) | sed -e 's,^\.\./bfd/,,'` $(libdir)/$$bf; \
|
ts=lib`echo $(SHLIB) | sed -e 's,^\.\./bfd/,,' -e 's/^lib//' | sed '$(program_transform_name)'`; \
|
||||||
|
ln -sf $$ts $(libdir)/$$tf; \
|
||||||
elif [ "$$f" = "$(SHLIB)" ]; then \
|
elif [ "$$f" = "$(SHLIB)" ]; then \
|
||||||
$(INSTALL_PROGRAM) $$f $(libdir)/$$bf; \
|
$(INSTALL_PROGRAM) $$f $(libdir)/$$tf; \
|
||||||
else \
|
else \
|
||||||
$(INSTALL_DATA) $$f $(libdir)/$$bf; \
|
$(INSTALL_DATA) $$f $(libdir)/$$tf; \
|
||||||
$(RANLIB) $(libdir)/$$bf; \
|
$(RANLIB) $(libdir)/$$tf; \
|
||||||
chmod a-x $(libdir)/$$bf; \
|
chmod a-x $(libdir)/$$tf; \
|
||||||
fi; \
|
fi; \
|
||||||
done
|
done
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue