# $FreeBSD$ .include PROG= mkimg SRCS+= format.c image.c mkimg.c scheme.c uuid.c MAN= mkimg.1 MKIMG_VERSION=20161016 mkimg.o: Makefile CFLAGS+=-DMKIMG_VERSION=${MKIMG_VERSION} CFLAGS+=-DSPARSE_WRITE CFLAGS+=-I${SRCTOP}/sys/sys/disk # List of formats to support SRCS+= \ qcow.c \ raw.c \ vhd.c \ vhdx.c \ vmdk.c # List of schemes to support SRCS+= \ apm.c \ bsd.c \ ebr.c \ gpt.c \ mbr.c BINDIR?=/usr/bin LIBADD= util HAS_TESTS= SUBDIR.${MK_TESTS}+= tests .include