Makefile revision 50477
1#	@(#)Makefile	8.1 (Berkeley) 6/6/93
2# $FreeBSD: head/usr.bin/locate/locate/Makefile 50477 1999-08-28 01:08:13Z peter $
3
4PROG=	locate
5SRCS=	util.c locate.c
6CFLAGS+= -I${.CURDIR} -DMMAP # -DDEBUG (print time) -O2 (10% faster)
7MAN1=	locate.1
8MAN8=	locate.updatedb.8
9SCRIPTS= updatedb mklocatedb concatdb
10MLINKS+= locate.updatedb.8 updatedb.8
11
12
13beforeinstall:
14.for script in ${SCRIPTS}
15	${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m ${BINMODE} \
16    	${.CURDIR}/${script}.sh ${DESTDIR}${LIBEXECDIR}/locate.${script}
17.endfor
18
19# only /usr/src/etc/Makefile install files in /etc
20#	${INSTALL} -c -o root -g wheel -m 644 \
21#		${.CURDIR}/locate.rc ${DESTDIR}/etc
22
23.include "../../Makefile.inc"
24.include <bsd.prog.mk>
25