1# $FreeBSD$ 2 3.include <src.opts.mk> 4 5PROG= mkimg 6SRCS= format.c image.c mkimg.c scheme.c 7MAN= mkimg.1 8 9MKIMG_VERSION=20141003 10mkimg.o: Makefile 11 12CFLAGS+=-DMKIMG_VERSION=${MKIMG_VERSION} 13CFLAGS+=-DSPARSE_WRITE 14 15# List of formats to support 16SRCS+= \ 17 qcow.c \ 18 raw.c \ 19 vhd.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 pc98.c \ 30 vtoc8.c 31 32BINDIR?=/usr/bin 33 34LIBADD= util 35 36WARNS?= 6 37 38.if ${MK_TESTS} != "no" 39SUBDIR+= tests 40.endif 41 42.include <bsd.prog.mk> 43