gdb - Local mods (compile)
[dragonfly.git] / games / fortune / datfiles / Makefile
CommitLineData
984263bc
MD
1# @(#)Makefile 8.2 (Berkeley) 4/19/94
2# $FreeBSD: src/games/fortune/datfiles/Makefile,v 1.24.2.3 2002/02/18 15:03:32 ru Exp $
3
fe76c4fb 4# list of fortunes to be installed
9401d887 5FORTUNES= dragonfly-funny dragonfly-tips fortunes murphy startrek zippy
984263bc 6
9401d887
US
7# TO AVOID INSTALLING THE POTENTIALLY OFFENSIVE FORTUNES, RUN 'make' with
8# "INSTALL_OFFENSIVE_FORTUNES=NO", or set "INSTALL_OFFENSIVE_FORTUNES=NO"
9# IN /etc/make.conf.
984263bc 10
9401d887
US
11INSTALL_OFFENSIVE_FORTUNES?= YES
12.if (${INSTALL_OFFENSIVE_FORTUNES} == "YES")
13FORTUNES+= fortunes-o limerick murphy-o
14.endif
984263bc
MD
15
16FILESDIR= ${SHAREDIR}/games/fortune
17
fe76c4fb
YT
18.for f in ${FORTUNES}
19FILES+= $f $f.dat
a43cb2a1 20CLEANFILES+= $f.dat
fe76c4fb
YT
21.if !(target($f.dat))
22$f.dat: $f
23 PATH=$$PATH:/usr/games:${.OBJDIR}/../strfile \
1465342b 24 strfile -Cs ${.ALLSRC} ${.TARGET}
fe76c4fb
YT
25.endif
26.endfor
27
984263bc 28.include <bsd.prog.mk>