From owner-svn-src-head@freebsd.org Thu Sep 24 00:22:49 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 99394A0563F; Thu, 24 Sep 2015 00:22:49 +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 8954E1811; Thu, 24 Sep 2015 00:22:49 +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 t8O0Mns6024077; Thu, 24 Sep 2015 00:22:49 GMT (envelope-from bdrewery@FreeBSD.org) Received: (from bdrewery@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id t8O0MnMN024076; Thu, 24 Sep 2015 00:22:49 GMT (envelope-from bdrewery@FreeBSD.org) Message-Id: <201509240022.t8O0MnMN024076@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:22:49 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r288162 - 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:22:49 -0000 Author: bdrewery Date: Thu Sep 24 00:22:48 2015 New Revision: 288162 URL: https://svnweb.freebsd.org/changeset/base/288162 Log: Note that LIBADD is only valid in /usr/src. 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:20:34 2015 (r288161) +++ head/share/mk/bsd.README Thu Sep 24 00:22:48 2015 (r288162) @@ -270,7 +270,8 @@ LDADD Additional loader objects. Usual LDADD=-lutil -lcompat -LIBADD Additional libraries. This is for base system libraries. +LIBADD Additional libraries. This is for base system libraries + and is only valid inside of the /usr/src tree. Rather than use LDADD=-lname use LIBADD=name. LDFLAGS Additional loader flags. Passed to the loader via CC, @@ -302,7 +303,7 @@ PROGS_CXX PROG and PROGS_CXX in one Make PROGS= foo bar SRCS.foo= foo_src.c - LIBADD.foo= util + LDADD.foo= -lutil SRCS.bar= bar_src.c The supported variables are BINDIR BINGRP BINMODE BINOWN @@ -411,7 +412,8 @@ LIBMODE Library mode. LDADD Additional loader objects. -LIBADD Additional libraries. This is for base system libraries. +LIBADD Additional libraries. This is for base system libraries + and is only valid inside of the /usr/src tree. Rather than use LDADD=-lname use LIBADD=name. MAN The manual pages to be installed (use a .1 - .9 suffix).