Changeset View
Changeset View
Standalone View
Standalone View
sys/modules/mac_grantbylabel/Makefile
- This file was added.
Property | Old Value | New Value |
---|---|---|
svn:eol-style | null | native \ No newline at end of property |
svn:keywords | null | FreeBSD=%H \ No newline at end of property |
svn:mime-type | null | text/plain \ No newline at end of property |
# | |||||
# $Id: Makefile 472710 2011-10-13 03:43:06Z stevek $ | |||||
# | |||||
# Copyright (c) 2018, Juniper Networks, Inc. | |||||
# All rights reserved. | |||||
# | |||||
.PATH: ${.PARSEDIR:H:H}/security/${.CURDIR:T} | |||||
KMOD = ${.CURDIR:T} | |||||
SRCS = \ | |||||
vnode_if.h | |||||
SRCS += \ | |||||
opt_global.h \ | |||||
opt_mac.h \ | |||||
opt_veriexec.h | |||||
SRCS += \ | |||||
${.CURDIR:T}.c \ | |||||
.if defined(KERNBUILDDIR) | |||||
MKDEP= -include ${KERNBUILDDIR}/opt_global.h | |||||
.else | |||||
CFLAGS+= -include opt_global.h | |||||
MKDEP= -include opt_global.h | |||||
opt_mac.h: | |||||
echo "#define MAC_DEBUG 1" >> ${.TARGET} | |||||
opt_global.h: | |||||
echo "#define MAC 1" > ${.TARGET} | |||||
.endif | |||||
.ifndef WITHOUT_MAC_GRANTBYLABEL_DEBUG | |||||
CFLAGS+= -DMAC_GRANTBYLABEL_DEBUG | |||||
.endif | |||||
.include <bsd.kmod.mk> | |||||