1 # @(#)Makefile 8.2 (Berkeley) 4/19/94
3 FILES= fortunes fortunes2 startrek zippy
4 BLDS= fortunes.dat fortunes2.dat startrek.dat zippy.dat \
5 fortunes-o fortunes-o.dat
7 # TO INSTALL THE POTENTIALLY OFFENSIVE FORTUNES, UNCOMMENT THE THREE
8 # LINES AND COMMENT OUT THE FOURTH LINE.
11 FILES+= fortunes2-o limerick
12 BLDS+= fortunes2-o.dat limerick.dat
23 (cd ${.CURDIR} && ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} \
24 -m ${NOBINMODE} ${FILES} ${DESTDIR}${SHAREDIR}/games/fortune)
25 ${INSTALL} ${COPY} -o ${BINOWN} -g ${BINGRP} -m ${NOBINMODE} ${BLDS} \
26 ${DESTDIR}${SHAREDIR}/games/fortune
28 fortunes.dat fortunes2.dat fortunes2-o.dat limerick.dat startrek.dat zippy.dat:
29 strfile -rs ${.CURDIR}/${.TARGET:R} ${.TARGET}
31 fortunes-o.dat: fortunes-o
32 strfile -rsx fortunes-o ${.TARGET}
34 fortunes-o: fortunes-o.${TYPE}
35 caesar 13 < ${.ALLSRC} > ${.TARGET}
37 .include <bsd.prog.mk>