xref: /freebsd-12.1/sys/modules/mac_veriexec/Makefile (revision fb47a376)
  • Home
  • History
  • Annotate
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# $FreeBSD$
2
3.PATH: ${.PARSEDIR:H:H}/security/mac_veriexec
4
5KMOD = mac_veriexec
6SRCS = \
7	bus_if.h \
8	device_if.h \
9	vnode_if.h
10SRCS += \
11	opt_capsicum.h \
12	opt_global.h \
13	opt_mac.h \
14	opt_veriexec.h
15SRCS += \
16	mac_veriexec.c \
17	veriexec_fingerprint.c \
18	veriexec_metadata.c
19
20EXPORT_SYMS+= ve_mutex \
21	mac_veriexec_in_state \
22	mac_veriexec_get_executable_flags
23
24.if defined(KERNBUILDDIR)
25MKDEP=		-include ${KERNBUILDDIR}/opt_global.h
26.else
27CFLAGS+=	-include opt_global.h
28MKDEP=		-include opt_global.h
29opt_mac.h:
30	echo "#define MAC_DEBUG 1" >> ${.TARGET}
31opt_global.h:
32	echo "#define MAC 1" > ${.TARGET}
33.endif
34
35.ifndef WITHOUT_VERIEXEC_DEBUG
36CFLAGS+= -DVERIFIED_EXEC_DEBUG
37.endif
38
39.include <bsd.kmod.mk>
40
41

served by {OpenGrok

Last Index Update: Tue Oct 21 18:42:31 GMT 2025