summaryrefslogtreecommitdiff
path: root/usr.sbin/named/nslookup/Makefile
blob: 3ab1f833a160ce63bd6748c7c4261c7b7284ad69 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#	$OpenBSD: Makefile,v 1.4 1997/04/27 20:57:03 millert Exp $
#	$NetBSD: Makefile,v 1.1 1996/02/02 15:29:56 mrg Exp $
# from: $Id: Makefile,v 8.1 1994/12/15 06:23:48 vixie Exp 

.PATH:	${.CURDIR}/../nslookup \
	${.CURDIR}/../man

PROG=	nslookup
SRCS=	main.c getinfo.c debug.c send.c skip.c list.c subr.c commands.l
CFLAGS+= ${INCLUDE} ${CONFIG}
DPADD=	${LIBL}
LDADD=	${LIBRESOLV} -ll
CLEANFILES+=	commands.c lex.yy.c lex.yy.o
MAN=	nslookup.8

beforeinstall:
	${INSTALL} ${INSTALL_COPY} -o ${BINOWN} -g ${BINGRP} -m 444 \
		${.CURDIR}/../nslookup/nslookup.help \
		${DESTDIR}/usr/share/misc/nslookup.help

.include <bsd.prog.mk>
.include "../Makefile.inc"
.include "../../Makefile.inc"