aboutsummaryrefslogtreecommitdiffstats
path: root/sbin/veriexec/Makefile
diff options
context:
space:
mode:
authorSimon J. Gerraty <sjg@FreeBSD.org>2019-02-26 06:17:23 +0000
committerSimon J. Gerraty <sjg@FreeBSD.org>2019-02-26 06:17:23 +0000
commiteb12b8ea5e7fd3b2dd6386de0e96185d94f57249 (patch)
treee614b2d413571542229308b35adc3e5df66786a3 /sbin/veriexec/Makefile
parenta92958df34df88e384374699c817f4a015c5b40d (diff)
downloadsrc-eb12b8ea5e7fd3b2dd6386de0e96185d94f57249.tar.gz
src-eb12b8ea5e7fd3b2dd6386de0e96185d94f57249.zip
Add verifying manifest loader for mac_veriexec
This tool will verify a signed manifest and load contents into mac_veriexec for storage Sponsored by: Juniper Networks Differential Revision: D16575
Notes
Notes: svn path=/head/; revision=344567
Diffstat (limited to 'sbin/veriexec/Makefile')
-rw-r--r--sbin/veriexec/Makefile20
1 files changed, 20 insertions, 0 deletions
diff --git a/sbin/veriexec/Makefile b/sbin/veriexec/Makefile
new file mode 100644
index 000000000000..8039a8295ccd
--- /dev/null
+++ b/sbin/veriexec/Makefile
@@ -0,0 +1,20 @@
+# $FreeBSD$
+
+PROG= veriexec
+MAN= veriexec.8
+SRCS= \
+ veriexec.c \
+ manifest_parser.y \
+ manifest_lexer.l
+
+LIBADD+= veriexec secureboot bearssl
+
+NO_SHARED=
+
+.include <bsd.prog.mk>
+
+CFLAGS+= -I${.CURDIR} ${XCFLAGS.${.TARGET:T:R}:U}
+
+XCFLAGS.manifest_lexer+= -Wno-missing-variable-declarations \
+ -Wno-unneeded-internal-declaration
+XCFLAGS.manifest_parser+= -Wno-missing-variable-declarations