mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-20 11:11:24 +00:00
d511b20a69
`SUBDIR.${MK_TESTS}+= tests` idiom. This is a follow up to r321912.
42 lines
524 B
Makefile
42 lines
524 B
Makefile
# $FreeBSD$
|
|
|
|
.include <src.opts.mk>
|
|
|
|
PROG= mkimg
|
|
SRCS+= format.c image.c mkimg.c scheme.c uuid.c
|
|
MAN= mkimg.1
|
|
|
|
MKIMG_VERSION=20161016
|
|
mkimg.o: Makefile
|
|
|
|
CFLAGS+=-DMKIMG_VERSION=${MKIMG_VERSION}
|
|
CFLAGS+=-DSPARSE_WRITE
|
|
CFLAGS+=-I${SRCTOP}/sys/sys/disk
|
|
|
|
# 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 \
|
|
vtoc8.c
|
|
|
|
BINDIR?=/usr/bin
|
|
|
|
LIBADD= util
|
|
|
|
WARNS?= 6
|
|
|
|
HAS_TESTS=
|
|
SUBDIR.${MK_TESTS}+= tests
|
|
|
|
.include <bsd.prog.mk>
|