svn commit: r185568 - head/lib/libmd
John Baldwin
jhb at freebsd.org
Tue Dec 2 15:04:04 PST 2008
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
More information about the svn-src-all
mailing list