xref: /netbsd/external/bsd/libpcap/bin/Makefile (revision 6550d01e)
1#	$NetBSD: Makefile,v 1.2 2010/12/05 09:09:39 mrg Exp $
2
3.include <bsd.own.mk>
4
5.PATH: ${.CURDIR}/../dist
6
7SCRIPTSDIR=/usr/bin
8SCRIPTS=pcap-config
9
10MAN=pcap-config.1
11
12pcap-config: pcap-config.in
13	@rm -f ${.TARGET}
14	${TOOL_SED} -e 's,@libdir@,/usr/lib,g' \
15	    -e 's,@includedir@,/usr/include,g' \
16	    -e 's,@LIBS@,,g' < ${.ALLSRC} > ${.TARGET}
17	chmod a+x ${.TARGET}
18
19CLEANFILES+=	pcap-config
20
21NOPROG=
22
23.include <bsd.prog.mk>
24