Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/modules -D flags belong in CPPFLAGS
details: https://anonhg.NetBSD.org/src/rev/876cb394ea80
branches: trunk
changeset: 773553:876cb394ea80
user: christos <christos%NetBSD.org@localhost>
date: Sun Feb 05 18:46:04 2012 +0000
description:
-D flags belong in CPPFLAGS
diffstat:
sys/modules/dm/dm_target_error/Makefile | 4 ++--
sys/modules/dm/dm_target_mirror/Makefile | 4 ++--
sys/modules/dm/dm_target_snapshot/Makefile | 4 ++--
sys/modules/dm/dm_target_zero/Makefile | 4 ++--
sys/modules/zfs/Makefile.zfsmod | 4 ++--
5 files changed, 10 insertions(+), 10 deletions(-)
diffs (84 lines):
diff -r 7aa5f8fcf80a -r 876cb394ea80 sys/modules/dm/dm_target_error/Makefile
--- a/sys/modules/dm/dm_target_error/Makefile Sun Feb 05 17:57:17 2012 +0000
+++ b/sys/modules/dm/dm_target_error/Makefile Sun Feb 05 18:46:04 2012 +0000
@@ -1,11 +1,11 @@
-#$NetBSD: Makefile,v 1.1 2009/01/02 01:06:16 haad Exp $
+#$NetBSD: Makefile,v 1.2 2012/02/05 18:46:04 christos Exp $
.include "../../Makefile.inc"
S!= cd ${.CURDIR}/../../..;pwd
.PATH: ${S}/dev/dm
-CFLAGS += -DDM_TARGET_MODULE
+CPPFLAGS += -DDM_TARGET_MODULE
KMOD= dm_target_error
SRCS= dm_target_error.c
diff -r 7aa5f8fcf80a -r 876cb394ea80 sys/modules/dm/dm_target_mirror/Makefile
--- a/sys/modules/dm/dm_target_mirror/Makefile Sun Feb 05 17:57:17 2012 +0000
+++ b/sys/modules/dm/dm_target_mirror/Makefile Sun Feb 05 18:46:04 2012 +0000
@@ -1,11 +1,11 @@
-#$NetBSD: Makefile,v 1.1 2009/01/02 11:03:24 haad Exp $
+#$NetBSD: Makefile,v 1.2 2012/02/05 18:46:05 christos Exp $
.include "../../Makefile.inc"
S!= cd ${.CURDIR}/../../..;pwd
.PATH: ${S}/dev/dm
-CFLAGS += -DDM_TARGET_MODULE
+CPPFLAGS += -DDM_TARGET_MODULE
KMOD= dm_target_mirror
SRCS= dm_target_mirror.c
diff -r 7aa5f8fcf80a -r 876cb394ea80 sys/modules/dm/dm_target_snapshot/Makefile
--- a/sys/modules/dm/dm_target_snapshot/Makefile Sun Feb 05 17:57:17 2012 +0000
+++ b/sys/modules/dm/dm_target_snapshot/Makefile Sun Feb 05 18:46:04 2012 +0000
@@ -1,11 +1,11 @@
-#$NetBSD: Makefile,v 1.1 2009/01/02 01:06:16 haad Exp $
+#$NetBSD: Makefile,v 1.2 2012/02/05 18:46:05 christos Exp $
.include "../../Makefile.inc"
S!= cd ${.CURDIR}/../../..;pwd
.PATH: ${S}/dev/dm
-CFLAGS += -DDM_TARGET_MODULE
+CPPFLAGS += -DDM_TARGET_MODULE
KMOD= dm_target_snapshot
SRCS= dm_target_snapshot.c
diff -r 7aa5f8fcf80a -r 876cb394ea80 sys/modules/dm/dm_target_zero/Makefile
--- a/sys/modules/dm/dm_target_zero/Makefile Sun Feb 05 17:57:17 2012 +0000
+++ b/sys/modules/dm/dm_target_zero/Makefile Sun Feb 05 18:46:04 2012 +0000
@@ -1,11 +1,11 @@
-#$NetBSD: Makefile,v 1.1 2009/01/02 01:06:16 haad Exp $
+#$NetBSD: Makefile,v 1.2 2012/02/05 18:46:05 christos Exp $
.include "../../Makefile.inc"
S!= cd ${.CURDIR}/../../..;pwd
.PATH: ${S}/dev/dm
-CFLAGS += -DDM_TARGET_MODULE
+CPPFLAGS += -DDM_TARGET_MODULE
KMOD= dm_target_zero
SRCS= dm_target_zero.c
diff -r 7aa5f8fcf80a -r 876cb394ea80 sys/modules/zfs/Makefile.zfsmod
--- a/sys/modules/zfs/Makefile.zfsmod Sun Feb 05 17:57:17 2012 +0000
+++ b/sys/modules/zfs/Makefile.zfsmod Sun Feb 05 18:46:04 2012 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.zfsmod,v 1.2 2012/02/04 18:28:53 christos Exp $
+# $NetBSD: Makefile.zfsmod,v 1.3 2012/02/05 18:46:05 christos Exp $
ZFSDIR= ${S}/../external/cddl/osnet
@@ -126,5 +126,5 @@
CPPFLAGS+= -D_NFS_NFS_H_
CPPFLAGS+= -D_PROPLIB_ZFS_CONFLICT
-CFLAGS+= -DDIAGNOSTIC
+CPPFLAGS+= -DDIAGNOSTIC
# -DZFS_DEBUG
Home |
Main Index |
Thread Index |
Old Index