mirror of
https://github.com/freebsd/freebsd-src.git
synced 2024-11-30 04:22:44 +00:00
1c4ee7dfb8
Move MD code into a separate directory and add a simple interface which lets the MD bits register options and handle them. No functional change intended. Reviewed by: jhb Sponsored by: Innovate UK Differential Revision: https://reviews.freebsd.org/D44932
27 lines
469 B
Makefile
27 lines
469 B
Makefile
.include <src.opts.mk>
|
|
|
|
.PATH: ${.CURDIR}/${MACHINE_CPUARCH}
|
|
|
|
PROG= bhyvectl
|
|
SRCS= bhyvectl.c
|
|
PACKAGE= bhyve
|
|
|
|
.include "${MACHINE_CPUARCH}/Makefile.inc"
|
|
|
|
MAN= bhyvectl.8
|
|
|
|
LIBADD= vmmapi util
|
|
|
|
CFLAGS+= -I${.CURDIR} -I${SRCTOP}/sys/amd64/vmm
|
|
|
|
.if ${MK_BHYVE_SNAPSHOT} != "no"
|
|
LIBADD+= nv
|
|
CFLAGS+= -DBHYVE_SNAPSHOT
|
|
|
|
# usr.sbin/bhyve/snapshot.h needs ucl header
|
|
CFLAGS+= -I${SRCTOP}/contrib/libucl/include
|
|
CFLAGS+= -I${SRCTOP}/usr.sbin/bhyve
|
|
.endif
|
|
|
|
.include <bsd.prog.mk>
|