Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 13 Feb 2009 16:51:36 +0000 (UTC)
From:      Jung-uk Kim <jkim@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r188583 - in head: gnu/lib/libgcc lib/libc_r lib/libkse lib/libthr
Message-ID:  <200902131651.n1DGpa2H093815@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: jkim
Date: Fri Feb 13 16:51:36 2009
New Revision: 188583
URL: http://svn.freebsd.org/changeset/base/188583

Log:
  Honor WITHOUT_INSTALLLIB in some places.

Modified:
  head/gnu/lib/libgcc/Makefile
  head/lib/libc_r/Makefile
  head/lib/libkse/Makefile
  head/lib/libthr/Makefile

Modified: head/gnu/lib/libgcc/Makefile
==============================================================================
--- head/gnu/lib/libgcc/Makefile	Fri Feb 13 16:17:05 2009	(r188582)
+++ head/gnu/lib/libgcc/Makefile	Fri Feb 13 16:51:36 2009	(r188583)
@@ -332,8 +332,10 @@ all:	lib${LIB}_eh_p.a
 _libinstall: _lib-eh-install
 
 _lib-eh-install:
+.if ${MK_INSTALLLIB} != "no"
 	${INSTALL} -C -o ${LIBOWN} -g ${LIBGRP} -m ${LIBMODE} \
 		${_INSTALLFLAGS} lib${LIB}_eh.a ${DESTDIR}${LIBDIR}
+.endif
 .if ${MK_PROFILE} != "no"
 	${INSTALL} -C -o ${LIBOWN} -g ${LIBGRP} -m ${LIBMODE} \
 		${_INSTALLFLAGS} lib${LIB}_eh_p.a ${DESTDIR}${LIBDIR}

Modified: head/lib/libc_r/Makefile
==============================================================================
--- head/lib/libc_r/Makefile	Fri Feb 13 16:17:05 2009	(r188582)
+++ head/lib/libc_r/Makefile	Fri Feb 13 16:51:36 2009	(r188583)
@@ -33,7 +33,9 @@ PRECIOUSLIB=
 .include "${.CURDIR}/sys/Makefile.inc"
 
 .if ${DEFAULT_THREAD_LIB} == "libc_r"
+.if ${MK_INSTALLLIB} != "no"
 SYMLINKS+=lib${LIB}.a ${LIBDIR}/libpthread.a
+.endif
 .if !defined(NO_PIC)
 SYMLINKS+=lib${LIB}.so ${LIBDIR}/libpthread.so
 .endif

Modified: head/lib/libkse/Makefile
==============================================================================
--- head/lib/libkse/Makefile	Fri Feb 13 16:17:05 2009	(r188582)
+++ head/lib/libkse/Makefile	Fri Feb 13 16:51:36 2009	(r188583)
@@ -52,7 +52,9 @@ PRECIOUSLIB=
 .include "${.CURDIR}/thread/Makefile.inc"
 
 .if ${DEFAULT_THREAD_LIB} == "libkse" || ${MK_LIBTHR} == "no"
+.if ${MK_INSTALLLIB} != "no"
 SYMLINKS+=lib${LIB}.a ${LIBDIR}/libpthread.a
+.endif
 .if !defined(NO_PIC)
 SYMLINKS+=lib${LIB}.so ${LIBDIR}/libpthread.so
 .endif

Modified: head/lib/libthr/Makefile
==============================================================================
--- head/lib/libthr/Makefile	Fri Feb 13 16:17:05 2009	(r188582)
+++ head/lib/libthr/Makefile	Fri Feb 13 16:51:36 2009	(r188583)
@@ -44,7 +44,9 @@ PRECIOUSLIB=
 .include "${.CURDIR}/sys/Makefile.inc"
 .include "${.CURDIR}/thread/Makefile.inc"
 
+.if ${MK_INSTALLLIB} != "no"
 SYMLINKS+=lib${LIB}.a ${LIBDIR}/libpthread.a
+.endif
 .if !defined(NO_PIC)
 SYMLINKS+=lib${LIB}.so ${LIBDIR}/libpthread.so
 .endif



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200902131651.n1DGpa2H093815>