diff options
author | lukem <lukem@NetBSD.org> | 1998-09-29 07:33:20 +0000 |
---|---|---|
committer | lukem <lukem@NetBSD.org> | 1998-09-29 07:33:20 +0000 |
commit | f0356cf871408e3278470f30bdf03fa796c66c25 (patch) | |
tree | d689514cce32fb17dd717a1dfe06e8ba16e1757c | |
parent | c76c7a1e76aa07245fba38d91779b4488ff23932 (diff) | |
download | bsdgames-darwin-f0356cf871408e3278470f30bdf03fa796c66c25.tar.gz bsdgames-darwin-f0356cf871408e3278470f30bdf03fa796c66c25.tar.zst bsdgames-darwin-f0356cf871408e3278470f30bdf03fa796c66c25.zip |
don't install in /usr/share if NOSHARE is defined
-rw-r--r-- | atc/Makefile | 4 | ||||
-rw-r--r-- | boggle/Makefile | 9 | ||||
-rw-r--r-- | boggle/boggle/Makefile | 4 | ||||
-rw-r--r-- | cribbage/Makefile | 4 | ||||
-rw-r--r-- | fish/Makefile | 4 | ||||
-rw-r--r-- | fortune/datfiles/Makefile | 4 | ||||
-rw-r--r-- | larn/Makefile | 4 | ||||
-rw-r--r-- | monop/Makefile | 4 | ||||
-rw-r--r-- | quiz/Makefile | 6 | ||||
-rw-r--r-- | wump/Makefile | 4 |
10 files changed, 34 insertions, 13 deletions
diff --git a/atc/Makefile b/atc/Makefile index deb1547e..f4255ceb 100644 --- a/atc/Makefile +++ b/atc/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.19 1998/09/13 15:22:59 hubertf Exp $ +# $NetBSD: Makefile,v 1.20 1998/09/29 07:33:20 lukem Exp $ # @(#)Makefile 8.1 (Berkeley) 5/31/93 PROG= atc @@ -14,9 +14,11 @@ GAMES= Game_List Killer crossover default easy game_2 \ game_4 novice two-corners HIDEGAME=hidegame SETGIDGAME=yes +.if !defined(NOSHARE) FILES=${GAMES:S@^@${.CURDIR}/games/@g} FILESDIR=/usr/share/games/atc FILESMODE=440 +.endif lex.o: grammar.h diff --git a/boggle/Makefile b/boggle/Makefile index 712ec038..60834e06 100644 --- a/boggle/Makefile +++ b/boggle/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.12 1997/10/11 09:34:16 mycroft Exp $ +# $NetBSD: Makefile,v 1.13 1998/09/29 07:33:20 lukem Exp $ # @(#)Makefile 8.1 (Berkeley) 6/11/93 SUBDIR= boggle mkdict mkindex @@ -8,9 +8,12 @@ MKDICT!=cd $(.CURDIR)/mkdict; \ MKINDEX!=cd $(.CURDIR)/mkindex; \ printf "xxx: .MAKE\n\t@echo \$${.OBJDIR}/mkindex\n" | ${MAKE} -s -f- WORDS=${.CURDIR}/../../share/dict/web2 -FILES=dictionary dictindex +DICTFILES=dictionary dictindex +.if !defined(NOSHARE) +FILES=${DICTFILES} FILESDIR=/usr/share/games/boggle -CLEANFILES+=${FILES} +.endif +CLEANFILES+=${DICTFILES} all: ${FILES} diff --git a/boggle/boggle/Makefile b/boggle/boggle/Makefile index 932b4400..f07c939c 100644 --- a/boggle/boggle/Makefile +++ b/boggle/boggle/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.7 1998/02/18 22:37:31 jtc Exp $ +# $NetBSD: Makefile,v 1.8 1998/09/29 07:33:21 lukem Exp $ # @(#)Makefile 8.1 (Berkeley) 6/11/93 PROG= boggle @@ -7,8 +7,10 @@ DPADD= ${LIBCURSES} LDADD= -lcurses HIDEGAME=hidegame MAN= boggle.6 +.if !defined(NOSHARE) FILES= helpfile FILESDIR=/usr/share/games/boggle +.endif .include "../../Makefile.inc" .include <bsd.prog.mk> diff --git a/cribbage/Makefile b/cribbage/Makefile index 8440563a..aeaa7d43 100644 --- a/cribbage/Makefile +++ b/cribbage/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.10 1998/02/18 22:37:31 jtc Exp $ +# $NetBSD: Makefile,v 1.11 1998/09/29 07:33:21 lukem Exp $ # @(#)Makefile 8.1 (Berkeley) 5/31/93 PROG= cribbage @@ -8,8 +8,10 @@ SRCS= extern.c crib.c cards.c instr.c io.c score.c support.c MAN= cribbage.6 HIDEGAME=hidegame SETGIDGAME=yes +.if !defined(NOSHARE) FILES= cribbage.n FILESNAME=cribbage.instr FILESDIR=/usr/share/games +.endif .include <bsd.prog.mk> diff --git a/fish/Makefile b/fish/Makefile index f9533a0a..0a53dd4a 100644 --- a/fish/Makefile +++ b/fish/Makefile @@ -1,10 +1,12 @@ -# $NetBSD: Makefile,v 1.8 1997/03/24 22:15:42 christos Exp $ +# $NetBSD: Makefile,v 1.9 1998/09/29 07:33:21 lukem Exp $ # @(#)Makefile 8.1 (Berkeley) 5/31/93 PROG= fish MAN= fish.6 HIDEGAME=hidegame +.if !defined(NOSHARE) FILES=fish.instr FILESDIR=/usr/share/games +.endif .include <bsd.prog.mk> diff --git a/fortune/datfiles/Makefile b/fortune/datfiles/Makefile index 92ebfc86..1817cf04 100644 --- a/fortune/datfiles/Makefile +++ b/fortune/datfiles/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.20 1997/10/10 13:04:33 lukem Exp $ +# $NetBSD: Makefile,v 1.21 1998/09/29 07:33:21 lukem Exp $ # @(#)Makefile 8.2 (Berkeley) 4/19/94 .include <bsd.own.mk> # for INSTALL_OFFENSIVE_FORTUNES @@ -24,8 +24,10 @@ CLEANFILES+=${DATFILES} STRFILE!=cd $(.CURDIR)/../strfile; \ printf "xxx: .MAKE\n\t@echo \$${.OBJDIR}/strfile\n" | ${MAKE} -s -f- +.if !defined(NOSHARE) FILES=${SRCFILES} ${DATFILES} FILESDIR=/usr/share/games/fortune +.endif all: ${DATFILES} diff --git a/larn/Makefile b/larn/Makefile index d5ee0972..f9bb3ac8 100644 --- a/larn/Makefile +++ b/larn/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.14 1997/11/20 00:12:36 mrg Exp $ +# $NetBSD: Makefile,v 1.15 1998/09/29 07:33:21 lukem Exp $ # @(#)Makefile 5.12 (Berkeley) 5/30/93 # EXTRA @@ -65,8 +65,10 @@ DPADD= ${LIBTERM} LDADD= -ltermcap HIDEGAME=hidegame SETGIDGAME=yes +.if !defined(NOSHARE) DAT=larnmaze larnopts larn.help FILES=${DAT:S@^@${.CURDIR}/datfiles/@g} FILESDIR=/usr/share/games/larn +.endif .include <bsd.prog.mk> diff --git a/monop/Makefile b/monop/Makefile index 1030635f..29376c64 100644 --- a/monop/Makefile +++ b/monop/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.18 1998/09/12 19:05:48 wrstuden Exp $ +# $NetBSD: Makefile,v 1.19 1998/09/29 07:33:21 lukem Exp $ # @(#)Makefile 8.1 (Berkeley) 5/31/93 PROG= monop @@ -7,8 +7,10 @@ SRCS= monop.c cards.c execute.c getinp.c houses.c jail.c misc.c morg.c \ MAN= monop.6 HIDEGAME=hidegame CLEANFILES+=initdeck cards.pck +.if !defined(NOSHARE) FILES=cards.pck FILESDIR=/usr/share/games +.endif monop: cards.pck diff --git a/quiz/Makefile b/quiz/Makefile index 807ac4fe..87bf1ccb 100644 --- a/quiz/Makefile +++ b/quiz/Makefile @@ -1,15 +1,17 @@ -# $NetBSD: Makefile,v 1.11 1997/03/24 22:15:48 christos Exp $ +# $NetBSD: Makefile,v 1.12 1998/09/29 07:33:22 lukem Exp $ # @(#)Makefile 8.1 (Berkeley) 5/31/93 PROG= quiz MAN= quiz.6 SRCS= quiz.c rxp.c +HIDEGAME=hidegame +.if !defined(NOSHARE) CATS= africa america areas arith asia babies bard chinese collectives \ ed elements europe flowers greek inca index latin locomotive \ midearth morse mult murders poetry posneg pres province seq-easy \ seq-hard sexes sov spell state trek ucc -HIDEGAME=hidegame FILES= ${CATS:S@^@${.CURDIR}/datfiles/@} FILESDIR=/usr/share/games/quiz.db +.endif .include <bsd.prog.mk> diff --git a/wump/Makefile b/wump/Makefile index 0109c0ee..ad950455 100644 --- a/wump/Makefile +++ b/wump/Makefile @@ -1,10 +1,12 @@ -# $NetBSD: Makefile,v 1.6 1997/03/24 22:15:51 christos Exp $ +# $NetBSD: Makefile,v 1.7 1998/09/29 07:33:22 lukem Exp $ # @(#)Makefile 8.1 (Berkeley) 5/31/93 PROG= wump MAN= wump.6 HIDEGAME=hidegame +.if !defined(NOSHARE) FILES=wump.info FILESDIR=/usr/share/games +.endif .include <bsd.prog.mk> |