summaryrefslogtreecommitdiff
path: root/games
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>1998-07-24 00:11:12 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>1998-07-24 00:11:12 +0000
commit7c5db15603132b9f94a11af57c5a56b205c0eaff (patch)
tree47384a9485fd95c587188df50a275d708da17fa4 /games
parent8a2ab60466cbd2986529c0e969ebfa5a622a5aa7 (diff)
-lcurses, not termcap/termlib
Diffstat (limited to 'games')
-rw-r--r--games/atc/Makefile6
-rw-r--r--games/backgammon/backgammon/Makefile6
-rw-r--r--games/backgammon/teachgammon/Makefile4
-rw-r--r--games/battlestar/Makefile6
-rw-r--r--games/boggle/boggle/Makefile6
-rw-r--r--games/bs/Makefile6
-rw-r--r--games/canfield/canfield/Makefile4
-rw-r--r--games/cribbage/Makefile6
-rw-r--r--games/gomoku/Makefile6
-rw-r--r--games/grdc/Makefile6
-rw-r--r--games/hack/Makefile6
-rw-r--r--games/hack/Makequest4
-rw-r--r--games/hangman/Makefile6
-rw-r--r--games/larn/Makefile6
-rw-r--r--games/mille/Makefile7
-rw-r--r--games/phantasia/Makefile6
-rw-r--r--games/rain/Makefile6
-rw-r--r--games/robots/Makefile6
-rw-r--r--games/rogue/Makefile6
-rw-r--r--games/sail/Makefile6
-rw-r--r--games/snake/snake/Makefile4
-rw-r--r--games/tetris/Makefile6
-rw-r--r--games/worm/Makefile6
23 files changed, 65 insertions, 66 deletions
diff --git a/games/atc/Makefile b/games/atc/Makefile
index 1753ef13608..9145556f0d0 100644
--- a/games/atc/Makefile
+++ b/games/atc/Makefile
@@ -1,12 +1,12 @@
-# $OpenBSD: Makefile,v 1.7 1997/09/21 11:35:18 deraadt Exp $
+# $OpenBSD: Makefile,v 1.8 1998/07/24 00:10:15 millert Exp $
PROG= atc
CFLAGS+=-DBSD -I${.CURDIR} -I.
SRCS= extern.c grammar.c graphics.c input.c lex.c list.c log.c \
main.c tunable.c update.c
MAN= atc.6
-LDADD= -ll -lm -lcurses -ltermlib
-DPADD= ${LIBL} ${LIBM} ${LIBTERMLIB} ${LIBCURSES}
+LDADD= -ll -lm -lcurses
+DPADD= ${LIBL} ${LIBM} ${LIBCURSES}
GAMES= ATC_scores Game_List Killer crossover default easy game_2 \
Atlantis OHare Tic-Tac-Toe airports box crosshatch game_3 \
game_4 novice two-corners
diff --git a/games/backgammon/backgammon/Makefile b/games/backgammon/backgammon/Makefile
index 39580dba639..ac58d2cbbc3 100644
--- a/games/backgammon/backgammon/Makefile
+++ b/games/backgammon/backgammon/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.6 1998/04/25 18:09:26 millert Exp $
+# $OpenBSD: Makefile,v 1.7 1998/07/24 00:10:16 millert Exp $
# @(#)Makefile 8.1 (Berkeley) 5/31/93
PROG= backgammon
@@ -6,8 +6,8 @@ CFLAGS+=-I${.CURDIR}/../common_source
SRCS= allow.c board.c check.c extra.c fancy.c init.c main.c move.c \
odds.c one.c save.c subs.c table.c text.c
MAN= backgammon.6
-DPADD= ${LIBTERMLIB
-LDADD= -ltermlib
+DPADD= ${LIBCURSES}
+LDADD= -lcurses
.PATH: ${.CURDIR}/../common_source
HIDEGAME=hidegame
diff --git a/games/backgammon/teachgammon/Makefile b/games/backgammon/teachgammon/Makefile
index 59db98d75ba..da5ce31c673 100644
--- a/games/backgammon/teachgammon/Makefile
+++ b/games/backgammon/teachgammon/Makefile
@@ -5,8 +5,8 @@ PROG= teachgammon
CFLAGS+=-I${.CURDIR}/../common_source
SRCS= allow.c board.c check.c data.c fancy.c init.c odds.c one.c save.c \
subs.c table.c teach.c ttext1.c ttext2.c tutor.c
-DPADD= ${LIBTERMLIB}
-LDADD= -ltermlib
+DPADD= ${LIBCURSES}
+LDADD= -lcurses
HIDEGAME=hidegame
NOMAN= noman
diff --git a/games/battlestar/Makefile b/games/battlestar/Makefile
index 1afd87b630d..2695e235345 100644
--- a/games/battlestar/Makefile
+++ b/games/battlestar/Makefile
@@ -1,12 +1,12 @@
-# $OpenBSD: Makefile,v 1.5 1997/09/21 11:35:28 deraadt Exp $
+# $OpenBSD: Makefile,v 1.6 1998/07/24 00:10:19 millert Exp $
PROG= battlestar
SRCS= battlestar.c com1.c com2.c com3.c com4.c com5.c com6.c com7.c \
init.c cypher.c getcom.c parse.c room.c save.c fly.c misc.c \
globals.c dayfile.c nightfile.c dayobjs.c nightobjs.c words.c
MAN= battlestar.6
-DPADD= ${LIBCURSES} ${LIBTERMLIB}
-LDADD= -lcurses -ltermlib
+DPADD= ${LIBCURSES}
+LDADD= -lcurses
HIDEGAME=hidegame
BINGRP= games
diff --git a/games/boggle/boggle/Makefile b/games/boggle/boggle/Makefile
index c41641caac1..fd6f1a91384 100644
--- a/games/boggle/boggle/Makefile
+++ b/games/boggle/boggle/Makefile
@@ -1,11 +1,11 @@
-# $OpenBSD: Makefile,v 1.3 1996/12/08 15:36:12 downsj Exp $
+# $OpenBSD: Makefile,v 1.4 1998/07/24 00:10:20 millert Exp $
# $NetBSD: Makefile,v 1.3 1995/03/21 12:14:28 cgd Exp $
# @(#)Makefile 8.1 (Berkeley) 6/11/93
PROG= boggle
SRCS= bog.c help.c mach.c prtable.c timer.c word.c
-DPADD= ${LIBCURSES} ${LIBTERMLIB}
-LDADD= -lcurses -ltermlib
+DPADD= ${LIBCURSES}
+LDADD= -lcurses
HIDEGAME=hidegame
MAN= boggle.6
diff --git a/games/bs/Makefile b/games/bs/Makefile
index fcc6f3530a4..853b74f6b85 100644
--- a/games/bs/Makefile
+++ b/games/bs/Makefile
@@ -1,9 +1,9 @@
-# $OpenBSD: Makefile,v 1.4 1998/07/22 18:01:47 millert Exp $
+# $OpenBSD: Makefile,v 1.5 1998/07/24 00:10:22 millert Exp $
PROG= bs
MAN= bs.6
-DPADD= ${LIBCURSES} ${LIBTERMLIB}
-LDADD= -lcurses -ltermlib
+DPADD= ${LIBCURSES}
+LDADD= -lcurses
HIDEGAME=hidegame
# XXX - -O2 exposes a gcc optimizer bug
CFLAGS= -O ${DEBUG}
diff --git a/games/canfield/canfield/Makefile b/games/canfield/canfield/Makefile
index 1b95385566d..2e6506eb130 100644
--- a/games/canfield/canfield/Makefile
+++ b/games/canfield/canfield/Makefile
@@ -3,8 +3,8 @@
PROG= canfield
MAN= canfield.6
-DPADD= ${LIBCURSES} ${LIBTERMLIB}
-LDADD= -lcurses -ltermlib
+DPADD= ${LIBCURSES}
+LDADD= -lcurses
HIDEGAME=hidegame
diff --git a/games/cribbage/Makefile b/games/cribbage/Makefile
index e330e7e2403..0752012678f 100644
--- a/games/cribbage/Makefile
+++ b/games/cribbage/Makefile
@@ -1,8 +1,8 @@
-# $OpenBSD: Makefile,v 1.5 1997/09/21 11:35:46 deraadt Exp $
+# $OpenBSD: Makefile,v 1.6 1998/07/24 00:10:25 millert Exp $
PROG= cribbage
-DPADD= ${LIBCURSES} ${LIBTERMLIB}
-LDADD= -lcurses -ltermlib
+DPADD= ${LIBCURSES}
+LDADD= -lcurses
SRCS= extern.c crib.c cards.c instr.c io.c score.c support.c
MAN= cribbage.6
HIDEGAME=hidegame
diff --git a/games/gomoku/Makefile b/games/gomoku/Makefile
index 0b64f3d17b3..3e5e2aea00a 100644
--- a/games/gomoku/Makefile
+++ b/games/gomoku/Makefile
@@ -1,10 +1,10 @@
-# $OpenBSD: Makefile,v 1.3 1997/09/21 11:36:00 deraadt Exp $
+# $OpenBSD: Makefile,v 1.4 1998/07/24 00:10:26 millert Exp $
PROG= gomoku
SRCS= bdinit.c bdisp.c main.c makemove.c pickmove.c stoc.c
MAN= gomoku.6
-DPADD= ${LIBCURSES} ${LIBTERMLIB}
-LDADD= -lcurses -ltermlib
+DPADD= ${LIBCURSES}
+LDADD= -lcurses
HIDEGAME=hidegame
.include <bsd.prog.mk>
diff --git a/games/grdc/Makefile b/games/grdc/Makefile
index 3bd1aa6efa8..9645e6e8154 100644
--- a/games/grdc/Makefile
+++ b/games/grdc/Makefile
@@ -1,8 +1,8 @@
-# $OpenBSD: Makefile,v 1.2 1997/09/21 11:36:03 deraadt Exp $
+# $OpenBSD: Makefile,v 1.3 1998/07/24 00:10:28 millert Exp $
PROG= grdc
MAN= grdc.6
-DPADD= ${LIBCURSES} ${LIBTERMLIB}
-LDADD= -lcurses -ltermlib
+DPADD= ${LIBCURSES}
+LDADD= -lcurses
.include <bsd.prog.mk>
diff --git a/games/hack/Makefile b/games/hack/Makefile
index e2545fb934a..875dd978801 100644
--- a/games/hack/Makefile
+++ b/games/hack/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.9 1997/09/21 11:36:06 deraadt Exp $
+# $OpenBSD: Makefile,v 1.10 1998/07/24 00:10:29 millert Exp $
PROG= hack
CFLAGS+=-I.
@@ -15,8 +15,8 @@ SRCS+= alloc.c hack.Decl.c hack.apply.c hack.bones.c hack.c hack.cmd.c \
hack.u_init.c hack.unix.c hack.vault.c hack.version.c hack.wield.c \
hack.wizard.c hack.worm.c hack.worn.c hack.zap.c rnd.c
MAN= hack.6
-DPADD+= ${LIBTERMCAP} ${LIBCOMPAT}
-LDADD+= -ltermcap
+DPADD+= ${LIBCURSES} ${LIBCOMPAT}
+LDADD+= -lcurses
HIDEGAME=hidegame
CLEANFILES+=hack.onames.h makedefs
diff --git a/games/hack/Makequest b/games/hack/Makequest
index 256d8363155..72b25eb94f0 100644
--- a/games/hack/Makequest
+++ b/games/hack/Makequest
@@ -2,8 +2,8 @@
#
# Hack or Quest Makefile.
-# on some systems the termcap library is in -ltermcap
-TERMLIB = -ltermlib
+# on some systems the termcap library is in -ltermcap or -lcurses
+TERMLIB = -lcurses
# make hack
diff --git a/games/hangman/Makefile b/games/hangman/Makefile
index d5719e2780b..d07b8dd6df5 100644
--- a/games/hangman/Makefile
+++ b/games/hangman/Makefile
@@ -1,11 +1,11 @@
-# $OpenBSD: Makefile,v 1.3 1997/09/21 11:36:10 deraadt Exp $
+# $OpenBSD: Makefile,v 1.4 1998/07/24 00:10:32 millert Exp $
PROG= hangman
SRCS= endgame.c extern.c getguess.c getword.c main.c playgame.c \
prdata.c prman.c prword.c setup.c
MAN= hangman.6
-DPADD= ${LIBCURSES} ${LIBTERMLIB}
-LDADD= -lcurses -ltermlib
+DPADD= ${LIBCURSES}
+LDADD= -lcurses
HIDEGAME=hidegame
.include <bsd.prog.mk>
diff --git a/games/larn/Makefile b/games/larn/Makefile
index 6bd4315e5c1..542b5c89623 100644
--- a/games/larn/Makefile
+++ b/games/larn/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.5 1997/09/21 11:36:13 deraadt Exp $
+# $OpenBSD: Makefile,v 1.6 1998/07/24 00:10:33 millert Exp $
# EXTRA
# Incorporates code to gather additional performance statistics
@@ -57,8 +57,8 @@ CFLAGS+=-DBSD -DVER=12 -DSUBVER=0 -DNONAP -DUIDSCORE
SRCS= main.c object.c create.c tok.c display.c global.c data.c io.c \
monster.c store.c diag.c help.c config.c nap.c bill.c scores.c \
signal.c moreobj.c movem.c regen.c fortune.c savelev.c
-DPADD= ${LIBTERMCAP} ${LIBCOMPAT}
-LDADD= -ltermcap -lcompat
+DPADD= ${LIBCURSES} ${LIBCOMPAT}
+LDADD= -lcurses -lcompat
HIDEGAME=hidegame
beforeinstall:
diff --git a/games/mille/Makefile b/games/mille/Makefile
index 9f7c33abc57..1f04b19993f 100644
--- a/games/mille/Makefile
+++ b/games/mille/Makefile
@@ -1,12 +1,11 @@
-# $OpenBSD: Makefile,v 1.4 1998/03/19 11:41:53 pjanzen Exp $
+# $OpenBSD: Makefile,v 1.5 1998/07/24 00:10:34 millert Exp $
PROG= mille
SRCS= comp.c end.c extern.c init.c mille.c misc.c move.c print.c \
roll.c save.c types.c varpush.c
-DPADD= ${LIBCURSES} ${LIBTERMLIB}
-LDADD= -lcurses -ltermlib
+DPADD= ${LIBCURSES}
+LDADD= -lcurses
MAN= mille.6
HIDEGAME=hidegame
.include <bsd.prog.mk>
-
diff --git a/games/phantasia/Makefile b/games/phantasia/Makefile
index 06ab1091b01..8e26565e94d 100644
--- a/games/phantasia/Makefile
+++ b/games/phantasia/Makefile
@@ -1,10 +1,10 @@
-# $OpenBSD: Makefile,v 1.11 1998/07/10 09:46:44 downsj Exp $
+# $OpenBSD: Makefile,v 1.12 1998/07/24 00:10:36 millert Exp $
PROG= phantasia
SRCS= main.c fight.c io.c interplayer.c gamesupport.c misc.c phantglobs.c
CFLAGS+=-DTERMIOS
-DPADD= ${LIBM} ${LIBCURSES} ${LIBTERMLIB} ${LIBCOMPAT}
-LDADD= -lm -lcurses -ltermlib -lcompat
+DPADD= ${LIBM} ${LIBCURSES} ${LIBCOMPAT}
+LDADD= -lm -lcurses -lcompat
HIDEGAME=hidegame
MAN= phantasia.6
CLEANFILES+=map setup setup.o phantglobs.o.bld
diff --git a/games/rain/Makefile b/games/rain/Makefile
index 070cedf16ef..9a415bad9eb 100644
--- a/games/rain/Makefile
+++ b/games/rain/Makefile
@@ -1,8 +1,8 @@
-# $OpenBSD: Makefile,v 1.4 1998/02/22 13:16:40 deraadt Exp $
+# $OpenBSD: Makefile,v 1.5 1998/07/24 00:10:37 millert Exp $
PROG= rain
MAN= rain.6
-DPADD= ${LIBTERMLIB}
-LDADD= -ltermlib
+DPADD= ${LIBCURSES}
+LDADD= -lcurses
.include <bsd.prog.mk>
diff --git a/games/robots/Makefile b/games/robots/Makefile
index b054ea6ef26..11244148285 100644
--- a/games/robots/Makefile
+++ b/games/robots/Makefile
@@ -1,12 +1,12 @@
-# $OpenBSD: Makefile,v 1.6 1997/09/21 11:36:53 deraadt Exp $
+# $OpenBSD: Makefile,v 1.7 1998/07/24 00:10:39 millert Exp $
PROG= robots
CFLAGS+=-DMAX_PER_UID=5
SRCS= extern.c init_field.c main.c make_level.c move.c move_robs.c \
play_level.c query.c rnd_pos.c score.c flush_in.c
MAN= robots.6
-DPADD= ${LIBCURSES} ${LIBTERMLIB}
-LDADD= -lcurses -ltermlib
+DPADD= ${LIBCURSES}
+LDADD= -lcurses
HIDEGAME=hidegame
beforeinstall:
diff --git a/games/rogue/Makefile b/games/rogue/Makefile
index 01ffdc8e588..36a1f52fcd3 100644
--- a/games/rogue/Makefile
+++ b/games/rogue/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.3 1997/09/21 11:36:56 deraadt Exp $
+# $OpenBSD: Makefile,v 1.4 1998/07/24 00:10:40 millert Exp $
# @(#)Makefile 8.1 (Berkeley) 5/31/93
PROG= rogue
@@ -6,8 +6,8 @@ CFLAGS+=-DUNIX -fwritable-strings
SRCS= curses.c hit.c init.c inventory.c level.c machdep.c main.c \
message.c monster.c move.c object.c pack.c play.c random.c ring.c \
room.c save.c score.c spec_hit.c throw.c trap.c use.c zap.c
-DPADD= ${LIBCURSES} ${LIBTERMLIB} ${LIBCOMPAT}
-LDADD= -lcurses -ltermlib -lcompat
+DPADD= ${LIBCURSES} ${LIBCOMPAT}
+LDADD= -lcurses -lcompat
HIDEGAME=hidegame
MAN= rogue.6
diff --git a/games/sail/Makefile b/games/sail/Makefile
index 8691526f9c9..d6852c5c846 100644
--- a/games/sail/Makefile
+++ b/games/sail/Makefile
@@ -1,12 +1,12 @@
-# $OpenBSD: Makefile,v 1.3 1997/09/21 11:37:00 deraadt Exp $
+# $OpenBSD: Makefile,v 1.4 1998/07/24 00:10:41 millert Exp $
PROG= sail
SRCS= main.c pl_main.c pl_1.c pl_2.c pl_3.c pl_4.c pl_5.c pl_6.c pl_7.c \
dr_main.c dr_1.c dr_2.c dr_3.c dr_4.c dr_5.c lo_main.c \
assorted.c game.c globals.c misc.c parties.c sync.c version.c
MAN= sail.6
-DPADD= ${LIBCURSES} ${LIBTERMLIB}
-LDADD= -lcurses -ltermlib
+DPADD= ${LIBCURSES}
+LDADD= -lcurses
HIDEGAME=hidegame
.include <bsd.prog.mk>
diff --git a/games/snake/snake/Makefile b/games/snake/snake/Makefile
index 1fe449e63d2..1dc9498bd56 100644
--- a/games/snake/snake/Makefile
+++ b/games/snake/snake/Makefile
@@ -4,8 +4,8 @@
PROG= snake
SRCS= snake.c move.c
MAN= snake.6
-DPADD= ${LIBM} ${LIBTERMCAP} ${LIBCOMPAT}
-LDADD= -lm -ltermcap -lcompat
+DPADD= ${LIBM} ${LIBCURSES} ${LIBCOMPAT}
+LDADD= -lm -lcurses -lcompat
HIDEGAME=hidegame
.include "../../Makefile.inc"
diff --git a/games/tetris/Makefile b/games/tetris/Makefile
index 3b4deb7b6fb..5e1f1b71cab 100644
--- a/games/tetris/Makefile
+++ b/games/tetris/Makefile
@@ -1,10 +1,10 @@
-# $OpenBSD: Makefile,v 1.3 1997/09/21 11:37:07 deraadt Exp $
+# $OpenBSD: Makefile,v 1.4 1998/07/24 00:10:44 millert Exp $
PROG= tetris
SRCS= input.c screen.c shapes.c scores.c tetris.c
MAN= tetris.6
-DPADD= ${LIBTERMCAP}
-LDADD= -ltermcap
+DPADD= ${LIBCURSES}
+LDADD= -lcurses
HIDEGAME=hidegame
.include <bsd.prog.mk>
diff --git a/games/worm/Makefile b/games/worm/Makefile
index f4d6cd8d741..b48080db33f 100644
--- a/games/worm/Makefile
+++ b/games/worm/Makefile
@@ -1,9 +1,9 @@
-# $OpenBSD: Makefile,v 1.3 1997/09/21 11:37:15 deraadt Exp $
+# $OpenBSD: Makefile,v 1.4 1998/07/24 00:10:46 millert Exp $
PROG= worm
MAN= worm.6
-DPADD= ${LIBCURSES} ${LIBTERMLIB}
-LDADD= -lcurses -ltermlib
+DPADD= ${LIBCURSES}
+LDADD= -lcurses
HIDEGAME=hidegame
.include <bsd.prog.mk>