f0e9dced5c
Add support for different output formats: 1. The output file that was previously written is now called the raw format. 2. Add the vmdk output format to create VMDK images. When the format is not given, the raw output format is assumed.
32 lines
347 B
Makefile
32 lines
347 B
Makefile
# $FreeBSD$
|
|
|
|
PROG= mkimg
|
|
SRCS= format.c image.c mkimg.c scheme.c
|
|
MAN= mkimg.1
|
|
|
|
CFLAGS+=-DSPARSE_WRITE
|
|
|
|
# List of formats to support
|
|
SRCS+= \
|
|
raw.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
|
|
|
|
DPADD= ${LIBUTIL}
|
|
LDADD= -lutil
|
|
|
|
WARNS?= 6
|
|
|
|
.include <bsd.prog.mk>
|