Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 2 Dec 2008 18:03:45 -0500
From:      John Baldwin <jhb@freebsd.org>
To:        Poul-Henning Kamp <phk@freebsd.org>
Cc:        svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org
Subject:   Re: svn commit: r185568 - head/lib/libmd
Message-ID:  <200812021803.46021.jhb@freebsd.org>
In-Reply-To: <200812021949.mB2JnfZr069753@svn.freebsd.org>
References:  <200812021949.mB2JnfZr069753@svn.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tuesday 02 December 2008 02:49:41 pm Poul-Henning Kamp wrote:
> Author: phk
> Date: Tue Dec  2 19:49:41 2008
> New Revision: 185568
> URL: http://svn.freebsd.org/changeset/base/185568
> 
> Log:
>   Make the "test" target test the compiled version, instead of the
>   installed version of the md library.

Perhaps use "${.OBJDIR}/libmd.a" rather than "./libmd.a" to be 'make obj' 
friendly (e.g. buildworld).  You could even do something like this:

.if exists(${.OBJDIR}/libmd.a)
LIBMD=	${.OBJDIR}/libmd.a
.else
LIBMD=	-lmd
.endif

so it falls back to the system library if you don't have one built (in case 
you want to test the system library for some reason).

-- 
John Baldwin



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