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
_______________________________________________
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to