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.
_______________________________________________
svn-src-head@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to