Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 15 Apr 2016 18:49:26 +0000 (UTC)
From:      Bryan Drewery <bdrewery@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r298084 - head/share/mk
Message-ID:  <201604151849.u3FInQxv041204@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: bdrewery
Date: Fri Apr 15 18:49:26 2016
New Revision: 298084
URL: https://svnweb.freebsd.org/changeset/base/298084

Log:
  Document SHLIB/SHLIB_CXX/NO_PIC.
  
  Sponsored by:	EMC / Isilon Storage Division

Modified:
  head/share/mk/bsd.README

Modified: head/share/mk/bsd.README
==============================================================================
--- head/share/mk/bsd.README	Fri Apr 15 18:46:15 2016	(r298083)
+++ head/share/mk/bsd.README	Fri Apr 15 18:49:26 2016	(r298084)
@@ -419,12 +419,16 @@ with the current needs of the BSD tree.
 
 It sets/uses the following variables:
 
-LIB		The name of the library to build.
+LIB		The name of the library to build.  Both a shared and static
+		library will be built.  NO_PIC can be set to only build a
+		static library.
 
 LIB_CXX		The name of the library to build. It also causes
 		<bsd.lib.mk> to link the library with the
 		standard C++ library.  LIB_CXX overrides the value
-		of LIB if LIB is also set.
+		of LIB if LIB is also set.  Both a shared and static library
+		will be built.  NO_PIC can be set to only build a static
+		library.
 
 LIBDIR		Target directory for libraries.
 
@@ -449,6 +453,10 @@ SRCS		List of source files to build the 
 		to .c files of the same name.  (This is not the default for
 		versions of make.)
 
+SHLIB		Like LIB but only builds a shared library.
+
+SHLIB_CXX	Like LIB_CXX but only builds a shared library.
+
 SHLIB_LDSCRIPT	Template file to generate shared library linker script.
 		Unless used, a simple symlink is created to the real
 		shared object.



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