summaryrefslogtreecommitdiff
path: root/security/ipv6toolkit/files/Makefile.in
blob: 795fdc91ae4ccb13a794315a0445241f4a154ff9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
PREFIX?=	/usr/local
LOCALBASE?=	/usr/local
.if ${.CURDIR:T} == addr6
BINDIR?=	${PREFIX}/bin
.else
BINDIR?=	${PREFIX}/sbin
.endif
MANDIR?=	${PREFIX}/man/man

.PATH: ${.CURDIR}/../tools ${.CURDIR}/../manuals

PROG=	${.CURDIR:T}
MAN=	${PROG}.1
LDADD=	-lpcap -lm ${WRKSRC}/libipv6/libipv6.a
CFLAGS+=-I${.CURDIR}/../tools \
	-DIPV6TOOLKITCONF=\"${PREFIX}/etc/ipv6toolkit.conf\"

.include <bsd.prog.mk>