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