-D flags belong in CPPFLAGS

This commit is contained in:
christos 2012-02-05 18:46:04 +00:00
parent a99c34e987
commit 8364b8d242
5 changed files with 10 additions and 10 deletions

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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+= -std=c99
CPPFLAGS+= -D_NFS_NFS_H_
CPPFLAGS+= -D_PROPLIB_ZFS_CONFLICT
CFLAGS+= -DDIAGNOSTIC
CPPFLAGS+= -DDIAGNOSTIC
# -DZFS_DEBUG