Fix build issue with our make system building libnvpair.so from libnvpair.c

and libnvpair.so from *.so by renaming libnvpair.c to lib_nvpair.c
This commit is contained in:
christos 2010-02-17 17:36:32 +00:00
parent 48bf0eec29
commit 0f0ea55dc4

View File

@ -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 <bsd.lib.mk>