Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/tests/kernel CPPFLAGS.* is per *.c, not per ${PROG} or ${LIB}.



details:   https://anonhg.NetBSD.org/src/rev/4ca0385588be
branches:  trunk
changeset: 749793:4ca0385588be
user:      uebayasi <uebayasi%NetBSD.org@localhost>
date:      Tue Dec 08 15:20:20 2009 +0000

description:
CPPFLAGS.* is per *.c, not per ${PROG} or ${LIB}.

diffstat:

 tests/kernel/Makefile |  5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diffs (19 lines):

diff -r c65f5d495684 -r 4ca0385588be tests/kernel/Makefile
--- a/tests/kernel/Makefile     Tue Dec 08 15:18:42 2009 +0000
+++ b/tests/kernel/Makefile     Tue Dec 08 15:20:20 2009 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.2 2009/09/08 20:37:45 pooka Exp $
+# $NetBSD: Makefile,v 1.3 2009/12/08 15:20:20 uebayasi Exp $
 
 NOMAN=         # defined
 
@@ -26,7 +26,8 @@
 .PATH:                 ${NETBSDSRCDIR}/sys/kern
 TESTS_C+=              t_extent
 SRCS.t_extent=         t_extent.c subr_extent.c
-CPPFLAGS.t_extent+=    -D_EXTENT_TESTING -D__POOL_EXPOSE
+CPPFLAGS.t_extent.c=   -D_EXTENT_TESTING -D__POOL_EXPOSE
+CPPFLAGS.subr_extent.c=        -D_EXTENT_TESTING -D__POOL_EXPOSE
 
 .include <bsd.test.mk>
 .include <bsd.subdir.mk>



Home | Main Index | Thread Index | Old Index