1.include <src.opts.mk> 2 3PROG= mkimg 4SRCS+= format.c image.c mkimg.c scheme.c uuid.c 5MAN= mkimg.1 6 7MKIMG_VERSION=20161016 8mkimg.o: Makefile 9 10CFLAGS+=-DMKIMG_VERSION=${MKIMG_VERSION} 11CFLAGS+=-DSPARSE_WRITE 12CFLAGS+=-I${SRCTOP}/sys/sys/disk 13 14# List of formats to support 15SRCS+= \ 16 qcow.c \ 17 raw.c \ 18 vhd.c \ 19 vhdx.c \ 20 vmdk.c 21 22# List of schemes to support 23SRCS+= \ 24 apm.c \ 25 bsd.c \ 26 ebr.c \ 27 gpt.c \ 28 mbr.c 29 30BINDIR?=/usr/bin 31 32LIBADD= util 33 34HAS_TESTS= 35SUBDIR.${MK_TESTS}+= tests 36 37.include <bsd.prog.mk> 38