]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - usr.bin/mkimg/Makefile
MFV ntp 4.2.8p2 (r281348)
[FreeBSD/FreeBSD.git] / usr.bin / mkimg / Makefile
1 # $FreeBSD$
2
3 .include <src.opts.mk>
4
5 PROG=   mkimg
6 SRCS=   format.c image.c mkimg.c scheme.c
7 MAN=    mkimg.1
8
9 MKIMG_VERSION=20150222
10 mkimg.o: Makefile
11
12 CFLAGS+=-DMKIMG_VERSION=${MKIMG_VERSION}
13 CFLAGS+=-DSPARSE_WRITE
14
15 # List of formats to support
16 SRCS+= \
17         qcow.c \
18         raw.c \
19         vhd.c \
20         vmdk.c
21
22 # List of schemes to support
23 SRCS+=  \
24         apm.c \
25         bsd.c \
26         ebr.c \
27         gpt.c \
28         mbr.c \
29         pc98.c \
30         vtoc8.c
31
32 BINDIR?=/usr/bin
33
34 LIBADD= util
35
36 WARNS?= 6
37
38 .if ${MK_TESTS} != "no"
39 SUBDIR+= tests
40 .endif
41
42 .include <bsd.prog.mk>