xref: /freebsd/usr.bin/mkimg/Makefile (revision 0572ccaa4543b0abef8ef81e384c1d04de9f3da1)
1# $FreeBSD$
2
3PROG=	mkimg
4SRCS=	format.c image.c mkimg.c scheme.c
5MAN=	mkimg.1
6
7CFLAGS+=-DSPARSE_WRITE
8
9# List of formats to support
10SRCS+= \
11	raw.c \
12	vmdk.c
13
14# List of schemes to support
15SRCS+=	\
16	apm.c \
17	bsd.c \
18	ebr.c \
19	gpt.c \
20	mbr.c \
21	pc98.c \
22	vtoc8.c
23
24BINDIR?=/usr/bin
25
26DPADD=	${LIBUTIL}
27LDADD=	-lutil
28
29WARNS?=	6
30
31.include <bsd.prog.mk>
32