Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/tests/fs Need to use the ${PRINTOBJDIR} trick for LIBISPRIVA...
details: https://anonhg.NetBSD.org/src/rev/b58b949ce5c5
branches: trunk
changeset: 756493:b58b949ce5c5
user: pooka <pooka%NetBSD.org@localhost>
date: Mon Jul 19 16:32:01 2010 +0000
description:
Need to use the ${PRINTOBJDIR} trick for LIBISPRIVATE ...
diffstat:
tests/fs/ffs/Makefile | 8 +++++---
tests/fs/vfs/Makefile | 8 +++++---
2 files changed, 10 insertions(+), 6 deletions(-)
diffs (46 lines):
diff -r cae8d0009109 -r b58b949ce5c5 tests/fs/ffs/Makefile
--- a/tests/fs/ffs/Makefile Mon Jul 19 16:22:05 2010 +0000
+++ b/tests/fs/ffs/Makefile Mon Jul 19 16:32:01 2010 +0000
@@ -1,6 +1,8 @@
-# $NetBSD: Makefile,v 1.10 2010/07/19 16:22:05 pooka Exp $
+# $NetBSD: Makefile,v 1.11 2010/07/19 16:32:01 pooka Exp $
#
+.include <bsd.own.mk>
+
TESTSDIR= ${TESTSBASE}/fs/ffs
WARNS= 4
@@ -14,7 +16,7 @@
LDADD+=-lrumpvfs_fifofs -lrumpnet_local -lrumpnet_net -lrumpnet # fifos
LDADD+=-lrumpvfs -lrump -lrumpuser -lpthread # base
-LDFLAGS+=-L${.CURDIR}/../common
-LDADD+=-lvfstest
+VFSTESTDIR != cd ${.CURDIR}/../common && ${PRINTOBJDIR}
+LDADD+=-L${VFSTESTDIR} -lvfstest
.include <bsd.test.mk>
diff -r cae8d0009109 -r b58b949ce5c5 tests/fs/vfs/Makefile
--- a/tests/fs/vfs/Makefile Mon Jul 19 16:22:05 2010 +0000
+++ b/tests/fs/vfs/Makefile Mon Jul 19 16:32:01 2010 +0000
@@ -1,6 +1,8 @@
-# $NetBSD: Makefile,v 1.7 2010/07/19 16:09:08 pooka Exp $
+# $NetBSD: Makefile,v 1.8 2010/07/19 16:32:01 pooka Exp $
#
+.include <bsd.own.mk>
+
TESTSDIR= ${TESTSBASE}/fs/vfs
WARNS= 4
@@ -20,7 +22,7 @@
LDADD+=-lrumpdev_disk -lrumpdev # disk device
LDADD+=-lrumpvfs -lrump -lrumpuser -lpthread # base
-LDFLAGS+=-L${.CURDIR}/../common
-LDADD+=-lvfstest
+VFSTESTDIR != cd ${.CURDIR}/../common && ${PRINTOBJDIR}
+LDADD+=-L${VFSTESTDIR} -lvfstest
.include <bsd.test.mk>
Home |
Main Index |
Thread Index |
Old Index