If we're on ELF platforms, modify the Makefile to install the

symlinks necessary: libe{stdio,sfio}.so{,.1}

Recalculate patch checksum
This commit is contained in:
agc 2001-02-05 13:54:19 +00:00
parent f2d262e0be
commit 5dbe138ecf
2 changed files with 19 additions and 7 deletions

View file

@ -1,7 +1,7 @@
$NetBSD: patch-sum,v 1.3 2000/08/13 17:42:24 itojun Exp $
$NetBSD: patch-sum,v 1.4 2001/02/05 13:54:19 agc Exp $
MD5 (patch-aa) = 4449fb1b5ab8ca99accd5a66238c95a6
MD5 (patch-ab) = 76ec6036d1f179f860e2ae1283ad1f84
MD5 (patch-ab) = 0019ef2a0ccaa5e641bade2c8216b5e7
MD5 (patch-ac) = ae401655a9302eca8385473fede84b1d
MD5 (patch-ad) = 5c8a8f8bd5b327e30fdd782d07a0ee47
MD5 (patch-ae) = 1cab2e7b0c236b00e24bca04fe2d32c5

View file

@ -1,10 +1,10 @@
$NetBSD: patch-ab,v 1.3 2000/08/11 14:03:23 itojun Exp $
$NetBSD: patch-ab,v 1.4 2001/02/05 13:54:19 agc Exp $
Build and installation commands.
Build and installation commands
--- /dev/null Tue Oct 27 17:12:04 1998
+++ Makefile Tue Oct 27 17:16:13 1998
@@ -0,0 +1,25 @@
--- /dev/null Mon Feb 5 13:45:25 2001
+++ Makefile Mon Feb 5 13:44:36 2001
@@ -0,0 +1,37 @@
+all:
+ cd src/lib/sfio; make -f sfio.mk
+ cd src/lib/sfio/Stdio_b; make -f stdio.mk FEATURE/stdio must; make -f stdio.mk
@ -14,6 +14,11 @@ Build and installation commands.
+ ${INSTALL} -c -m 0644 src/lib/sfio/libsfio_p.a ${PREFIX}/lib
+ ${INSTALL} -c -m 0644 src/lib/sfio/libsfio_pic.a ${PREFIX}/lib
+ ${INSTALL} -c -m 0644 src/lib/sfio/libsfio.so.1.0 ${PREFIX}/lib
+ if [ "${OBJECT_FMT}" = "ELF" ]; then \
+ (cd ${PREFIX}/lib; rm -f libsfio.so libsfio.so.1; \
+ ln -s libsfio.so.1.0 libsfio.so; \
+ ln -s libsfio.so.1.0 libsfio.so.1) \
+ fi
+ ${RANLIB} ${PREFIX}/lib/libsfio.a
+ ${RANLIB} ${PREFIX}/lib/libsfio_p.a
+ ${RANLIB} ${PREFIX}/lib/libsfio_pic.a
@ -21,6 +26,11 @@ Build and installation commands.
+ ${INSTALL} -c -m 0644 src/lib/sfio/Stdio_b/libstdio_p.a ${PREFIX}/lib
+ ${INSTALL} -c -m 0644 src/lib/sfio/Stdio_b/libstdio_pic.a ${PREFIX}/lib
+ ${INSTALL} -c -m 0644 src/lib/sfio/Stdio_b/libstdio.so.1.0 ${PREFIX}/lib
+ if [ "${OBJECT_FMT}" = "ELF" ]; then \
+ (cd ${PREFIX}/lib; rm -f libstdio.so libstdio.so.1; \
+ ln -s libstdio.so.1.0 libstdio.so; \
+ ln -s libstdio.so.1.0 libstdio.so.1) \
+ fi
+ ${RANLIB} ${PREFIX}/lib/libstdio.a
+ ${RANLIB} ${PREFIX}/lib/libstdio_p.a
+ ${RANLIB} ${PREFIX}/lib/libstdio_pic.a
@ -30,3 +40,5 @@ Build and installation commands.
+ ${INSTALL} -c -m 0644 src/lib/sfio/$$f ${PREFIX}/include/sfio/$$f; \
+ done
+ ${INSTALL} -c -m 0644 src/lib/sfio/Stdio_s/stdio.h ${PREFIX}/include/sfio/stdio.h
+
+.include <bsd.own.mk>