6e628f4e27
mkimg has had a number of functional additions after the last time the version was incremented. Do so now, to r292082's commit date, so that users can determine what is supported. Reviewed by: marcel Approved by: re (gjb) Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D6882
43 lines
501 B
Makefile
43 lines
501 B
Makefile
# $FreeBSD$
|
|
|
|
.include <src.opts.mk>
|
|
|
|
PROG= mkimg
|
|
SRCS= format.c image.c mkimg.c scheme.c
|
|
MAN= mkimg.1
|
|
|
|
MKIMG_VERSION=20151211
|
|
mkimg.o: Makefile
|
|
|
|
CFLAGS+=-DMKIMG_VERSION=${MKIMG_VERSION}
|
|
CFLAGS+=-DSPARSE_WRITE
|
|
|
|
# List of formats to support
|
|
SRCS+= \
|
|
qcow.c \
|
|
raw.c \
|
|
vhd.c \
|
|
vmdk.c
|
|
|
|
# List of schemes to support
|
|
SRCS+= \
|
|
apm.c \
|
|
bsd.c \
|
|
ebr.c \
|
|
gpt.c \
|
|
mbr.c \
|
|
pc98.c \
|
|
vtoc8.c
|
|
|
|
BINDIR?=/usr/bin
|
|
|
|
LIBADD= util
|
|
|
|
WARNS?= 6
|
|
|
|
.if ${MK_TESTS} != "no"
|
|
SUBDIR+= tests
|
|
.endif
|
|
|
|
.include <bsd.prog.mk>
|