diff --git a/external/cddl/osnet/lib/libnvpair/Makefile b/external/cddl/osnet/lib/libnvpair/Makefile index 3eb5e8b80bc8..4d00d4ba739b 100644 --- a/external/cddl/osnet/lib/libnvpair/Makefile +++ b/external/cddl/osnet/lib/libnvpair/Makefile @@ -1,11 +1,17 @@ -# $NetBSD: Makefile,v 1.1 2009/08/07 20:57:56 haad Exp $ +# $NetBSD: Makefile,v 1.2 2010/02/17 17:36:32 christos Exp $ .PATH: ${.CURDIR}/../../dist/lib/libnvpair .PATH: ${.CURDIR}/../../dist/common/nvpair LIB= nvpair -SRCS= libnvpair.c nvpair_alloc_system.c nvpair_alloc_fixed.c nvpair.c +SRCS= lib_nvpair.c nvpair_alloc_system.c nvpair_alloc_fixed.c nvpair.c + +lib_nvpair.c: libnvpair.c + @rm -f ${.TARGET} + @ln -s ${.ALLSRC} ${.TARGET} + +CLEANFILES+=lib_nvpair.c .include "../../Makefile.zfs" .include