1.include <src.opts.mk> 2 3.PATH: ${.CURDIR}/${MACHINE_CPUARCH} 4 5PROG= bhyvectl 6SRCS= bhyvectl.c 7PACKAGE= bhyve 8 9.include "${MACHINE_CPUARCH}/Makefile.inc" 10 11MAN= bhyvectl.8 12 13LIBADD= vmmapi util 14 15CFLAGS+= -I${.CURDIR} -I${SRCTOP}/sys/amd64/vmm 16 17.if ${MK_BHYVE_SNAPSHOT} != "no" 18LIBADD+= nv 19CFLAGS+= -DBHYVE_SNAPSHOT 20 21# usr.sbin/bhyve/snapshot.h needs ucl header 22CFLAGS+= -I${SRCTOP}/contrib/libucl/include 23CFLAGS+= -I${SRCTOP}/usr.sbin/bhyve 24.endif 25 26.include <bsd.prog.mk> 27