]> git.cameronkatri.com Git - bsdgames-darwin.git/blobdiff - cribbage/Makefile
reinstate NULL cast by request, where the NULL was being passed as a vararg
[bsdgames-darwin.git] / cribbage / Makefile
index 40abb34b4678bb3755e95ad1c164862444c50bf0..6b0decc343ad7114f1ca826621dbddcc93755c25 100644 (file)
@@ -1,15 +1,19 @@
-#      $NetBSD: Makefile,v 1.8 1997/11/20 00:12:34 mrg Exp $
+#      $NetBSD: Makefile,v 1.13 2010/02/06 23:45:25 he Exp $
 #      @(#)Makefile    8.1 (Berkeley) 5/31/93
 
+.include <bsd.own.mk>
+
 PROG=  cribbage
-DPADD= ${LIBCURSES} ${LIBTERM}
-LDADD= -lcurses -ltermlib
+DPADD= ${LIBCURSES} ${LIBTERMINFO}
+LDADD= -lcurses -lterminfo
 SRCS=  extern.c crib.c cards.c instr.c io.c score.c support.c
 MAN=   cribbage.6
 HIDEGAME=hidegame
 SETGIDGAME=yes
+.if ${MKSHARE} != "no"
 FILES= cribbage.n
 FILESNAME=cribbage.instr
 FILESDIR=/usr/share/games
+.endif
 
 .include <bsd.prog.mk>