freebsd-src/lib/libvmmapi/Makefile
Mark Johnston 56a26fc1af libvmmapi: Conditionalize compilation of some functions
Hide definitions of several functions that currently don't have
implementatations in the arm64 vmm port.  In particular, add a
WITH_VMMAPI_SNAPSHOT preprocessor variable that can be used to enable
compilation of save/restore functions, and conditionalize compilation of
some functions only used by amd64 bhyve.  If in the long term they
remain amd64-only, they can move to vmmapi_machdep.c, but for now it's
not clear to me that that's the right thing to do.

MFC after:	2 weeks
Sponsored by:	Innovate UK
2024-04-10 11:17:56 -04:00

16 lines
217 B
Makefile

PACKAGE=lib${LIB}
LIB= vmmapi
SHLIB_MAJOR= 6
SRCS= vmmapi.c
INCS= vmmapi.h
CFLAGS+= -I${.CURDIR}
.PATH: ${.CURDIR}/${MACHINE_CPUARCH}
.include "${MACHINE_CPUARCH}/Makefile.inc"
LIBADD= util
.include <bsd.lib.mk>