summaryrefslogtreecommitdiffstats
path: root/sbin/vinum/Makefile
blob: 7d0a0c285c932628548169313624e7faa084e43b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
PROG=	vinum
SRCS=	v.c list.c parser.c util.c vext.h commands.c
MAN8=	vinum.8

CFLAGS=	-I${.CURDIR}/../../lkm/vinum -g -Wall -DDEBUG -DRAID5

LDADD+=		-lutil -lreadline -ltermcap
# DPADD+=		${LIBKVM}
BINGRP=		kmem
BINMODE=	2555

parser.c:
	rm -f $@
	ln -s ${.CURDIR}/../../lkm/vinum/$@ .

util.c:	statetexts.h
	rm -f $@
	ln -s ${.CURDIR}/../../lkm/vinum/$@ .

statetexts.h:
	(cd ${.CURDIR}/../../lkm/vinum; make $@)

.include <bsd.prog.mk>
OpenPOWER on IntegriCloud