From owner-svn-src-head@freebsd.org Thu Sep 24 00:20:35 2015 Return-Path: Delivered-To: svn-src-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 7B5F4A0550B; Thu, 24 Sep 2015 00:20:35 +0000 (UTC) (envelope-from bdrewery@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 6BBA8133D; Thu, 24 Sep 2015 00:20:35 +0000 (UTC) (envelope-from bdrewery@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.70]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id t8O0KZVF020345; Thu, 24 Sep 2015 00:20:35 GMT (envelope-from bdrewery@FreeBSD.org) Received: (from bdrewery@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id t8O0KZG9020344; Thu, 24 Sep 2015 00:20:35 GMT (envelope-from bdrewery@FreeBSD.org) Message-Id: <201509240020.t8O0KZG9020344@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: bdrewery set sender to bdrewery@FreeBSD.org using -f From: Bryan Drewery Date: Thu, 24 Sep 2015 00:20:35 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r288161 - head/share/mk X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 24 Sep 2015 00:20:35 -0000 Author: bdrewery Date: Thu Sep 24 00:20:34 2015 New Revision: 288161 URL: https://svnweb.freebsd.org/changeset/base/288161 Log: Add very basic LIBADD documentation. Sponsored by: EMC / Isilon Storage Division Modified: head/share/mk/bsd.README Modified: head/share/mk/bsd.README ============================================================================== --- head/share/mk/bsd.README Thu Sep 24 00:17:00 2015 (r288160) +++ head/share/mk/bsd.README Thu Sep 24 00:20:34 2015 (r288161) @@ -270,6 +270,9 @@ LDADD Additional loader objects. Usual LDADD=-lutil -lcompat +LIBADD Additional libraries. This is for base system libraries. + Rather than use LDADD=-lname use LIBADD=name. + LDFLAGS Additional loader flags. Passed to the loader via CC, since that's used to link programs as well, so loader specific flags need to be prefixed with -Wl, to work. @@ -408,6 +411,9 @@ LIBMODE Library mode. LDADD Additional loader objects. +LIBADD Additional libraries. This is for base system libraries. + Rather than use LDADD=-lname use LIBADD=name. + MAN The manual pages to be installed (use a .1 - .9 suffix). SRCS List of source files to build the library. Suffix types