Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/external/cddl/osnet/lib/libnvpair Fix build issue with our m...
details: https://anonhg.NetBSD.org/src/rev/f87adefc47ab
branches: trunk
changeset: 752166:f87adefc47ab
user: christos <christos%NetBSD.org@localhost>
date: Wed Feb 17 17:36:32 2010 +0000
description:
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
diffstat:
external/cddl/osnet/lib/libnvpair/Makefile | 10 ++++++++--
1 files changed, 8 insertions(+), 2 deletions(-)
diffs (23 lines):
diff -r 5d17be3938ca -r f87adefc47ab external/cddl/osnet/lib/libnvpair/Makefile
--- a/external/cddl/osnet/lib/libnvpair/Makefile Wed Feb 17 17:25:55 2010 +0000
+++ b/external/cddl/osnet/lib/libnvpair/Makefile Wed Feb 17 17:36:32 2010 +0000
@@ -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>
Home |
Main Index |
Thread Index |
Old Index