diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2012-08-31 00:11:28 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2012-08-31 00:11:28 +0000 |
commit | 901a643d4e3930bf1162450269e62665e1de1e7a (patch) | |
tree | fe3361f9562288a30264bf68347c5e0c0c75d39b /share | |
parent | 64d35d175427039cad9f464d106f9293e94ceabf (diff) |
No longer create lib*_pic.a files. Nothing uses them anymore.
grep help from sthen; discussion with brad
ok guenther pascal
Diffstat (limited to 'share')
-rw-r--r-- | share/mk/bsd.lib.mk | 22 |
1 files changed, 2 insertions, 20 deletions
diff --git a/share/mk/bsd.lib.mk b/share/mk/bsd.lib.mk index 3bfb1ac75cb..53d8b7d5829 100644 --- a/share/mk/bsd.lib.mk +++ b/share/mk/bsd.lib.mk @@ -1,4 +1,4 @@ -# $OpenBSD: bsd.lib.mk,v 1.65 2012/08/22 17:19:34 pascal Exp $ +# $OpenBSD: bsd.lib.mk,v 1.66 2012/08/31 00:11:26 deraadt Exp $ # $NetBSD: bsd.lib.mk,v 1.67 1996/01/17 20:39:26 mycroft Exp $ # @(#)bsd.lib.mk 5.26 (Berkeley) 5/2/91 @@ -148,9 +148,6 @@ _LIBS+=lib${LIB}_p.a .endif .if !defined(NOPIC) -.if (${MACHINE_CPU} != "mips64") -_LIBS+=lib${LIB}_pic.a -.endif .if defined(SHLIB_MAJOR) && defined(SHLIB_MINOR) _LIBS+=lib${LIB}.so.${SHLIB_MAJOR}.${SHLIB_MINOR} .endif @@ -181,12 +178,6 @@ lib${LIB}_p.a: ${POBJS} ${RANLIB} lib${LIB}_p.a SOBJS+= ${OBJS:.o=.so} -lib${LIB}_pic.a: ${SOBJS} - @echo building shared object ${LIB} library - @rm -f lib${LIB}_pic.a - @${AR} cq lib${LIB}_pic.a `${LORDER} ${SOBJS} | tsort -q` - ${RANLIB} lib${LIB}_pic.a - lib${LIB}.so.${SHLIB_MAJOR}.${SHLIB_MINOR}: ${SOBJS} ${DPADD} @echo building shared ${LIB} library \(version ${SHLIB_MAJOR}.${SHLIB_MINOR}\) @rm -f lib${LIB}.so.${SHLIB_MAJOR}.${SHLIB_MINOR} @@ -200,7 +191,7 @@ clean: _SUBDIRUSE rm -f lib${LIB}.a ${OBJS} rm -f lib${LIB}_g.a ${GOBJS} rm -f lib${LIB}_p.a ${POBJS} - rm -f lib${LIB}_pic.a lib${LIB}.so.*.* ${SOBJS} + rm -f lib${LIB}.so.*.* ${SOBJS} .endif cleandir: _SUBDIRUSE clean @@ -248,15 +239,6 @@ realinstall: .endif chmod ${LIBMODE} ${DESTDIR}${LIBDIR}/lib${LIB}_p.a .endif -.if !defined(NOPIC) && (${MACHINE_CPU} != "mips64") -# ranlib lib${LIB}_pic.a - ${INSTALL} ${INSTALL_COPY} -S -o ${LIBOWN} -g ${LIBGRP} -m 600 \ - lib${LIB}_pic.a ${DESTDIR}${LIBDIR} -.if (${INSTALL_COPY} != "-p") - ${RANLIB} -t ${DESTDIR}${LIBDIR}/lib${LIB}_pic.a -.endif - chmod ${LIBMODE} ${DESTDIR}${LIBDIR}/lib${LIB}_pic.a -.endif .if !defined(NOPIC) && defined(SHLIB_MAJOR) && defined(SHLIB_MINOR) ${INSTALL} ${INSTALL_COPY} -S -o ${LIBOWN} -g ${LIBGRP} -m ${LIBMODE} \ lib${LIB}.so.${SHLIB_MAJOR}.${SHLIB_MINOR} ${DESTDIR}${LIBDIR} |