freebsd-dev/usr.bin/mkimg/Makefile

43 lines
501 B
Makefile
Raw Normal View History

# $FreeBSD$
2014-09-20 21:02:54 +00:00
.include <src.opts.mk>
PROG= mkimg
SRCS= format.c image.c mkimg.c scheme.c
MAN= mkimg.1
MKIMG_VERSION=20141211
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
2014-09-20 21:02:54 +00:00
.if ${MK_TESTS} != "no"
SUBDIR+= tests
.endif
.include <bsd.prog.mk>