1# $FreeBSD$ 2 3.include <src.opts.mk> 4 5PROG= mkimg 6SRCS= format.c image.c mkimg.c scheme.c 7MAN= mkimg.1 8 9CFLAGS+=-DSPARSE_WRITE 10 11# List of formats to support 12SRCS+= \ 13 qcow.c \ 14 raw.c \ 15 vhd.c \ 16 vmdk.c 17 18# List of schemes to support 19SRCS+= \ 20 apm.c \ 21 bsd.c \ 22 ebr.c \ 23 gpt.c \ 24 mbr.c \ 25 pc98.c \ 26 vtoc8.c 27 28BINDIR?=/usr/bin 29 30DPADD= ${LIBUTIL} 31LDADD= -lutil 32 33WARNS?= 6 34 35.if ${MK_TESTS} != "no" 36SUBDIR+= tests 37.endif 38 39.include <bsd.prog.mk> 40