Pull WARNS6 into usr.bin/Makefile.inc.
[dragonfly.git] / usr.bin / locate / locate / Makefile
1 #       @(#)Makefile    8.1 (Berkeley) 6/6/93
2 # $FreeBSD: src/usr.bin/locate/locate/Makefile,v 1.11.2.4 2002/08/07 16:32:01 ru Exp $
3 # $DragonFly: src/usr.bin/locate/locate/Makefile,v 1.3 2007/08/27 16:50:55 pavalos Exp $
4
5 PROG=   locate
6 SRCS=   util.c locate.c
7 CFLAGS+= -I${.CURDIR} -DMMAP # -DDEBUG (print time) -O2 (10% faster)
8 SCRIPTS=updatedb.sh mklocatedb.sh concatdb.sh
9 MAN=    locate.1 locate.updatedb.8
10 WARNS?= 1
11
12 SCRIPTSDIR=     ${LIBEXECDIR}
13 .for script in ${SCRIPTS}
14 SCRIPTSNAME_${script}=  locate.${script:R}
15 .endfor
16 MLINKS+= locate.updatedb.8 updatedb.8
17
18 # only /usr/src/etc/Makefile install files in /etc
19 #       ${INSTALL} -o root -g wheel -m 644 \
20 #               ${.CURDIR}/locate.rc ${DESTDIR}/etc
21
22 .include "../../Makefile.inc"
23 .include <bsd.prog.mk>