Permalink
Browse files

Move WARNS6 up into Makefile.inc for games/ and out of the individual

Makefiles.
  • Loading branch information...
1 parent 0956a30 commit 0ac6bf9dc5a1ca765babb04a2e7654d8aa546fba Peter Avalos committed Oct 8, 2006
View
@@ -1,9 +1,10 @@
# @(#)Makefile.inc 8.1 (Berkeley) 5/31/93
# $FreeBSD: src/games/Makefile.inc,v 1.10.2.2 2002/02/18 16:02:39 ru Exp $
-# $DragonFly: src/games/Makefile.inc,v 1.2 2003/06/17 04:25:21 dillon Exp $
+# $DragonFly: src/games/Makefile.inc,v 1.3 2006/10/08 16:22:34 pavalos Exp $
BINDIR?= /usr/games
FILESDIR?= ${SHAREDIR}/games
+WARNS?= 6
.if defined(HIDEGAME)
ORIGBINDIR:= ${BINDIR}
View
@@ -1,13 +1,12 @@
# @(#)Makefile 8.1 (Berkeley) 6/12/93
# $FreeBSD: src/games/adventure/Makefile,v 1.7.6.1 2001/04/25 09:28:42 ru Exp $
-# $DragonFly: src/games/adventure/Makefile,v 1.5 2005/03/25 12:56:48 liamfoy Exp $
+# $DragonFly: src/games/adventure/Makefile,v 1.6 2006/10/08 16:22:34 pavalos Exp $
PROG= adventure
SRCS= main.c init.c done.c save.c subr.c vocab.c wizard.c io.c data.c crc.c
MAN= adventure.6
HIDEGAME=hidegame
CLEANFILES=data.c setup.nx setup.no
-WARNS?= 6
build-tools: setup.nx
@@ -1,10 +1,9 @@
# @(#)Makefile 8.1 (Berkeley) 5/31/93
# $FreeBSD: src/games/arithmetic/Makefile,v 1.1.1.1.14.1 2001/04/25 09:28:43 ru Exp $
-# $DragonFly: src/games/arithmetic/Makefile,v 1.3 2005/04/24 15:31:30 liamfoy Exp $
+# $DragonFly: src/games/arithmetic/Makefile,v 1.4 2006/10/08 16:22:35 pavalos Exp $
PROG= arithmetic
MAN= arithmetic.6
HIDEGAME=hidegame
-WARNS?= 6
.include <bsd.prog.mk>
View
@@ -1,6 +1,6 @@
# @(#)Makefile 8.1 (Berkeley) 5/31/93
# $FreeBSD: src/games/atc/Makefile,v 1.14.2.3 2002/02/18 16:02:41 ru Exp $
-# $DragonFly: src/games/atc/Makefile,v 1.3 2006/08/08 15:03:02 pavalos Exp $
+# $DragonFly: src/games/atc/Makefile,v 1.4 2006/10/08 16:22:35 pavalos Exp $
PROG= atc
CFLAGS+=-DBSD -I${.CURDIR} -I.
@@ -12,7 +12,6 @@ LDADD= -ll -lm -lcurses -ltermcap
FILES= Game_List Killer crossover default easy game_2
FILESDIR= ${SHAREDIR}/games/atc
HIDEGAME=hidegame
-WARNS?= 6
.PATH: ${.CURDIR}/games
@@ -1,6 +1,6 @@
# @(#)Makefile 8.1 (Berkeley) 5/31/93
# $FreeBSD: src/games/backgammon/backgammon/Makefile,v 1.2.14.1 2001/04/25 09:28:44 ru Exp $
-# $DragonFly: src/games/backgammon/backgammon/Makefile,v 1.3 2006/08/08 16:36:11 pavalos Exp $
+# $DragonFly: src/games/backgammon/backgammon/Makefile,v 1.4 2006/10/08 16:22:35 pavalos Exp $
PROG= backgammon
CFLAGS+=-DV7 -I${.CURDIR}/../common_source
@@ -11,7 +11,6 @@ DPADD= ${LIBTERMCAP}
LDADD= -ltermcap
.PATH: ${.CURDIR}/../common_source
HIDEGAME=hidegame
-WARNS?= 6
.include "../../Makefile.inc"
.include <bsd.prog.mk>
@@ -1,5 +1,5 @@
# @(#)Makefile 8.1 (Berkeley) 5/31/93
-# $DragonFly: src/games/backgammon/teachgammon/Makefile,v 1.2 2006/08/08 16:36:11 pavalos Exp $
+# $DragonFly: src/games/backgammon/teachgammon/Makefile,v 1.3 2006/10/08 16:22:35 pavalos Exp $
PROG= teachgammon
CFLAGS+=-DTEACHGAMMON_TEXT -DV7 -I${.CURDIR}/../common_source
@@ -9,7 +9,6 @@ DPADD= ${LIBTERMCAP}
LDADD= -ltermcap
HIDEGAME=hidegame
NOMAN= noman
-WARNS?= 6
.PATH: ${.CURDIR}/../common_source
@@ -1,6 +1,6 @@
# @(#)Makefile 8.1 (Berkeley) 5/31/93
# $FreeBSD: src/games/battlestar/Makefile,v 1.5.2.3 2002/08/07 16:31:41 ru Exp $
-# $DragonFly: src/games/battlestar/Makefile,v 1.3 2006/08/08 16:47:20 pavalos Exp $
+# $DragonFly: src/games/battlestar/Makefile,v 1.4 2006/10/08 16:22:35 pavalos Exp $
PROG= battlestar
SRCS= battlestar.c com1.c com2.c com3.c com4.c com5.c com6.c com7.c \
@@ -10,7 +10,6 @@ MAN= battlestar.6
DPADD= ${LIBCURSES} ${LIBTERMCAP}
LDADD= -lcurses -ltermcap
HIDEGAME=hidegame
-WARNS?= 6
beforeinstall:
.if !exists(${DESTDIR}/var/games/battlestar.log)
View
@@ -1,11 +1,10 @@
# @(#)Makefile 8.1 (Berkeley) 5/31/93
# $FreeBSD: src/games/bcd/Makefile,v 1.2.6.2 2001/04/25 09:28:45 ru Exp $
-# $DragonFly: src/games/bcd/Makefile,v 1.3 2005/08/03 13:26:19 eirikn Exp $
+# $DragonFly: src/games/bcd/Makefile,v 1.4 2006/10/08 16:22:35 pavalos Exp $
PROG= bcd
MAN= bcd.6
MLINKS= bcd.6 ppt.6
-WARNS?= 6
.include <bsd.prog.mk>
View
@@ -1,11 +1,10 @@
# $FreeBSD: src/games/bs/Makefile,v 1.5.2.1 2001/04/25 09:28:49 ru Exp $
-# $DragonFly: src/games/bs/Makefile,v 1.3 2005/03/15 20:53:37 dillon Exp $
+# $DragonFly: src/games/bs/Makefile,v 1.4 2006/10/08 16:22:35 pavalos Exp $
PROG= bs
MAN= bs.6
DPADD= ${LIBNCURSES} ${LIBMYTINFO}
LDADD= -lncurses -lmytinfo
HIDEGAME=hidegame
-WARNS?= 6
.include <bsd.prog.mk>
View
@@ -1,13 +1,12 @@
# @(#)Makefile 8.1 (Berkeley) 5/31/93
# $FreeBSD: src/games/caesar/Makefile,v 1.4.6.2 2001/04/25 14:03:58 ru Exp $
-# $DragonFly: src/games/caesar/Makefile,v 1.3 2005/03/01 22:47:10 joerg Exp $
+# $DragonFly: src/games/caesar/Makefile,v 1.4 2006/10/08 16:22:35 pavalos Exp $
PROG= caesar
DPADD= ${LIBM}
LDADD= -lm
SCRIPTS=rot13.sh
MAN= caesar.6
MLINKS= caesar.6 rot13.6
-WARNS?= 6
.include <bsd.prog.mk>
@@ -1,14 +1,13 @@
# @(#)Makefile 8.1 (Berkeley) 5/31/93
# $FreeBSD: src/games/canfield/canfield/Makefile,v 1.5.2.3 2002/08/07 16:31:41 ru Exp $
-# $DragonFly: src/games/canfield/canfield/Makefile,v 1.3 2005/11/19 09:50:30 swildner Exp $
+# $DragonFly: src/games/canfield/canfield/Makefile,v 1.4 2006/10/08 16:22:35 pavalos Exp $
PROG= canfield
MAN= canfield.6
DPADD= ${LIBCURSES}
LDADD= -lcurses
HIDEGAME=hidegame
MLINKS= canfield.6 cfscores.6
-WARNS?= 6
beforeinstall:
.if !exists(${DESTDIR}/var/games/cfscores)
@@ -1,10 +1,9 @@
# @(#)Makefile 8.1 (Berkeley) 5/31/93
-# $DragonFly: src/games/canfield/cfscores/Makefile,v 1.2 2005/11/19 09:50:30 swildner Exp $
+# $DragonFly: src/games/canfield/cfscores/Makefile,v 1.3 2006/10/08 16:22:35 pavalos Exp $
PROG= cfscores
CFLAGS+=-I${.CURDIR}/../canfield
NOMAN= noman
-WARNS?= 6
.include "../../Makefile.inc"
.include <bsd.prog.mk>
View
@@ -1,6 +1,6 @@
# @(#)Makefile 8.1 (Berkeley) 5/31/93
# $FreeBSD: src/games/cribbage/Makefile,v 1.7.2.5 2002/08/07 16:31:41 ru Exp $
-# $DragonFly: src/games/cribbage/Makefile,v 1.3 2005/08/03 13:31:00 eirikn Exp $
+# $DragonFly: src/games/cribbage/Makefile,v 1.4 2006/10/08 16:22:35 pavalos Exp $
PROG= cribbage
DPADD= ${LIBCURSES}
@@ -10,7 +10,6 @@ FILES= cribbage.n
FILESNAME_cribbage.n= cribbage.instr
MAN= cribbage.6
HIDEGAME=hidegame
-WARNS?= 6
beforeinstall:
.if !exists(${DESTDIR}/var/games/criblog)
View
@@ -1,12 +1,11 @@
# @(#)Makefile 8.1 (Berkeley) 5/31/93
# $FreeBSD: src/games/dm/Makefile,v 1.3.6.1 2001/04/25 09:28:52 ru Exp $
-# $DragonFly: src/games/dm/Makefile,v 1.3 2006/08/08 17:05:14 pavalos Exp $
+# $DragonFly: src/games/dm/Makefile,v 1.4 2006/10/08 16:22:35 pavalos Exp $
# -DLOG log games
PROG= dm
MAN= dm.8 dm.conf.5
BINGRP= games
BINMODE=2555
-WARNS?= 6
.include <bsd.prog.mk>
View
@@ -1,9 +1,8 @@
# @(#)Makefile 8.1 (Berkeley) 5/31/93
# $FreeBSD: src/games/factor/Makefile,v 1.2.6.2 2002/10/23 14:59:14 fanf Exp $
-# $DragonFly: src/games/factor/Makefile,v 1.3 2005/03/16 06:18:56 cpressey Exp $
+# $DragonFly: src/games/factor/Makefile,v 1.4 2006/10/08 16:22:35 pavalos Exp $
PROG= factor
-WARNS?= 6
SRCS= factor.c pr_tbl.c
CFLAGS+=-I${.CURDIR}/../primes
View
@@ -1,11 +1,10 @@
# @(#)Makefile 8.1 (Berkeley) 5/31/93
# $FreeBSD: src/games/fish/Makefile,v 1.4.6.3 2002/02/18 16:02:41 ru Exp $
-# $DragonFly: src/games/fish/Makefile,v 1.3 2005/07/31 20:40:26 swildner Exp $
+# $DragonFly: src/games/fish/Makefile,v 1.4 2006/10/08 16:22:35 pavalos Exp $
PROG= fish
FILES= fish.instr
MAN= fish.6
HIDEGAME=hidegame
-WARNS?= 6
.include <bsd.prog.mk>
@@ -1,13 +1,12 @@
# @(#)Makefile 8.1 (Berkeley) 5/31/93
# $FreeBSD: src/games/fortune/fortune/Makefile,v 1.3.8.1 2001/04/25 09:28:54 ru Exp $
-# $DragonFly: src/games/fortune/fortune/Makefile,v 1.3 2006/08/08 16:58:59 pavalos Exp $
+# $DragonFly: src/games/fortune/fortune/Makefile,v 1.4 2006/10/08 16:22:35 pavalos Exp $
PROG= fortune
MAN= fortune.6
-CFLAGS+=-DDEBUG -Wall -I${.CURDIR}/../strfile
+CFLAGS+=-DDEBUG -I${.CURDIR}/../strfile
DPADD= ${LIBCOMPAT}
LDADD= -lcompat
-WARNS?= 6
.include "${.CURDIR}/../../Makefile.inc"
.include <bsd.prog.mk>
@@ -1,11 +1,10 @@
# @(#)Makefile 8.1 (Berkeley) 5/31/93
# $FreeBSD: src/games/fortune/strfile/Makefile,v 1.2.8.1 2001/04/25 09:28:54 ru Exp $
-# $DragonFly: src/games/fortune/strfile/Makefile,v 1.3 2006/08/08 16:58:59 pavalos Exp $
+# $DragonFly: src/games/fortune/strfile/Makefile,v 1.4 2006/10/08 16:22:35 pavalos Exp $
PROG= strfile
MAN= strfile.8
MLINKS= strfile.8 unstr.8
-WARNS?= 6
.include "${.CURDIR}/../../Makefile.inc"
.include <bsd.prog.mk>
@@ -1,10 +1,9 @@
# @(#)Makefile 8.1 (Berkeley) 5/31/93
-# $DragonFly: src/games/fortune/unstr/Makefile,v 1.2 2006/08/08 16:58:59 pavalos Exp $
+# $DragonFly: src/games/fortune/unstr/Makefile,v 1.3 2006/10/08 16:22:35 pavalos Exp $
PROG= unstr
NOMAN= noman
CFLAGS+=-I${.CURDIR}/../strfile
-WARNS?= 6
.include "${.CURDIR}/../../Makefile.inc"
.include <bsd.prog.mk>
View
@@ -1,8 +1,7 @@
# $FreeBSD: src/games/grdc/Makefile,v 1.4.2.2 2001/10/02 11:51:49 ru Exp $
-# $DragonFly: src/games/grdc/Makefile,v 1.3 2005/03/15 20:53:39 dillon Exp $
+# $DragonFly: src/games/grdc/Makefile,v 1.4 2006/10/08 16:22:35 pavalos Exp $
PROG= grdc
-WARNS?= 6
MAN= grdc.6
DPADD= ${LIBNCURSES}
LDADD= -lncurses
View
@@ -1,6 +1,6 @@
# @(#)Makefile 8.1 (Berkeley) 5/31/93
# $FreeBSD: src/games/hack/Makefile,v 1.20.2.4 2002/08/07 16:31:41 ru Exp $
-# $DragonFly: src/games/hack/Makefile,v 1.5 2006/08/21 19:45:32 pavalos Exp $
+# $DragonFly: src/games/hack/Makefile,v 1.6 2006/10/08 16:22:35 pavalos Exp $
PROG= hack
SRCS= alloc.c hack.Decl.c hack.apply.c hack.bones.c hack.c hack.cmd.c \
@@ -25,7 +25,6 @@ FILESGRP= ${BINGRP}
FILESDIR= /var/games/hackdir
HIDEGAME=hidegame
CLEANFILES=hack.onames.h makedefs.nx makedefs.no
-WARNS?= 6
build-tools: makedefs.nx
View
@@ -1,9 +1,8 @@
# @(#)Makefile 8.1 (Berkeley) 5/31/93
# $FreeBSD: src/games/hangman/Makefile,v 1.2.14.1 2001/04/25 09:28:57 ru Exp $
-# $DragonFly: src/games/hangman/Makefile,v 1.3 2005/02/13 18:57:30 cpressey Exp $
+# $DragonFly: src/games/hangman/Makefile,v 1.4 2006/10/08 16:22:35 pavalos Exp $
PROG= hangman
-WARNS?= 6
SRCS= endgame.c extern.c getguess.c getword.c main.c playgame.c \
prdata.c prman.c prword.c setup.c
MAN= hangman.6
View
@@ -1,6 +1,6 @@
# @(#)Makefile 5.12 (Berkeley) 5/30/93
# $FreeBSD: src/games/larn/Makefile,v 1.6.2.5 2002/08/07 16:31:42 ru Exp $
-# $DragonFly: src/games/larn/Makefile,v 1.4 2006/08/26 17:05:05 pavalos Exp $
+# $DragonFly: src/games/larn/Makefile,v 1.5 2006/10/08 16:22:35 pavalos Exp $
# EXTRA
# Incorporates code to gather additional performance statistics
@@ -64,7 +64,6 @@ LDADD= -ltermcap
FILES= larnmaze larnopts larn.help
FILESDIR= ${SHAREDIR}/games/larn
HIDEGAME=hidegame
-WARNS?= 6
.PATH: ${.CURDIR}/datfiles
View
@@ -1,6 +1,6 @@
# @(#)Makefile 8.1 (Berkeley) 5/31/93
# $FreeBSD: src/games/mille/Makefile,v 1.2.14.1 2001/04/25 09:28:58 ru Exp $
-# $DragonFly: src/games/mille/Makefile,v 1.3 2006/08/27 17:17:23 pavalos Exp $
+# $DragonFly: src/games/mille/Makefile,v 1.4 2006/10/08 16:22:35 pavalos Exp $
PROG= mille
SRCS= comp.c end.c extern.c init.c mille.c misc.c move.c print.c \
@@ -9,7 +9,6 @@ DPADD= ${LIBCURSES}
LDADD= -lcurses
MAN= mille.6
HIDEGAME=hidegame
-WARNS?= 6
.include <bsd.prog.mk>
View
@@ -1,10 +1,9 @@
# @(#)Makefile 8.1 (Berkeley) 5/31/93
# $FreeBSD: src/games/morse/Makefile,v 1.4.6.5 2001/04/25 09:28:58 ru Exp $
-# $DragonFly: src/games/morse/Makefile,v 1.3 2005/04/25 16:10:24 liamfoy Exp $
+# $DragonFly: src/games/morse/Makefile,v 1.4 2006/10/08 16:22:36 pavalos Exp $
PROG= morse
MAN= morse.6
-WARNS?= 6
.if ${MACHINE_ARCH} == "i386"
CFLAGS += -DSPEAKER=\"/dev/speaker\"
View
@@ -1,9 +1,8 @@
# @(#)Makefile 8.1 (Berkeley) 5/31/93
# $FreeBSD: src/games/number/Makefile,v 1.2.6.1 2001/04/25 09:28:59 ru Exp $
-# $DragonFly: src/games/number/Makefile,v 1.3 2005/04/25 16:10:24 liamfoy Exp $
+# $DragonFly: src/games/number/Makefile,v 1.4 2006/10/08 16:22:36 pavalos Exp $
PROG= number
MAN= number.6
-WARNS?= 6
.include <bsd.prog.mk>
View
@@ -1,6 +1,6 @@
# @(#)Makefile 8.1 (Berkeley) 5/31/93
# $FreeBSD: src/games/phantasia/Makefile,v 1.16.2.2 2002/08/07 16:31:42 ru Exp $
-# $DragonFly: src/games/phantasia/Makefile,v 1.4 2005/05/31 00:06:26 swildner Exp $
+# $DragonFly: src/games/phantasia/Makefile,v 1.5 2006/10/08 16:22:36 pavalos Exp $
PROG= phantasia
SRCS= main.c fight.c io.c interplayer.c gamesupport.c misc.c phantglobs.c
@@ -11,7 +11,6 @@ DATAFILES=characs gold lastdead mess monsters motd scoreboard void
HIDEGAME=hidegame
MAN= phantasia.6
CLEANFILES=${DATAFILES} cross-phantglobs.no map setup.nx setup.no stamp.setuprun
-WARNS?= 6
all: stamp.setuprun
View
@@ -1,11 +1,10 @@
# @(#)Makefile 8.1 (Berkeley) 5/31/93
# $FreeBSD: src/games/piano/Makefile,v 1.1.1.1.12.1 2001/04/25 09:28:59 ru Exp $
-# $DragonFly: src/games/piano/Makefile,v 1.3 2005/05/31 00:22:38 swildner Exp $
+# $DragonFly: src/games/piano/Makefile,v 1.4 2006/10/08 16:22:36 pavalos Exp $
PROG= piano
MAN= piano.6
DPADD= ${LIBCURSES} ${LIBTERMCAP}
LDADD= -lcurses -ltermcap
-WARNS?= 6
.include <bsd.prog.mk>
View
@@ -1,9 +1,8 @@
# @(#)Makefile 8.1 (Berkeley) 5/31/93
# $FreeBSD: src/games/pig/Makefile,v 1.2.6.1 2001/04/25 09:29:00 ru Exp $
-# $DragonFly: src/games/pig/Makefile,v 1.3 2005/04/25 16:10:24 liamfoy Exp $
+# $DragonFly: src/games/pig/Makefile,v 1.4 2006/10/08 16:22:36 pavalos Exp $
PROG= pig
MAN= pig.6
-WARNS?= 6
.include <bsd.prog.mk>
Oops, something went wrong.

0 comments on commit 0ac6bf9

Please sign in to comment.