]> git.cameronkatri.com Git - bsdgames-darwin.git/blobdiff - hack/Makefile
- enlarge buffer to avoid snprintf() truncation
[bsdgames-darwin.git] / hack / Makefile
index 454be1627b87ed58a1204e421c8e1588fd508db0..66794662cf7b499ec24ee8c7d9243eb022c3bf9e 100644 (file)
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.39 2003/11/16 14:14:18 lukem Exp $
+#      $NetBSD: Makefile,v 1.45 2011/08/24 17:39:32 plunky Exp $
 #      @(#)Makefile    8.2 (Berkeley) 4/27/95
 
 .include <bsd.own.mk>
@@ -13,13 +13,13 @@ SRCS+=      alloc.c hack.Decl.c hack.apply.c hack.bones.c hack.c hack.cmd.c \
        hack.mkmaze.c hack.mkobj.c hack.mkshop.c hack.mon.c hack.monst.c \
        hack.o_init.c hack.objnam.c hack.options.c hack.pager.c hack.potion.c \
        hack.pri.c hack.read.c hack.rip.c hack.rumors.c hack.save.c \
-       hack.search.c hack.shk.c hack.shknam.c hack.steal.c hack.termcap.c \
+       hack.search.c hack.shk.c hack.shknam.c hack.steal.c hack.terminfo.c \
        hack.timeout.c hack.topl.c hack.track.c hack.trap.c hack.tty.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+=        ${LIBTERM} ${LIBCOMPAT}
-LDADD+=        -ltermcap
+DPADD+=        ${LIBTERMINFO}
+LDADD+=        -lterminfo
 HIDEGAME=hidegame
 SETGIDGAME=yes
 CLEANFILES+=makedefs makedefs.lo
@@ -37,6 +37,9 @@ makedefs: makedefs.lo
 
 hack.h:        hack.onames.h
 
+COPTS.hack.mon.c+=     -Wno-format-nonliteral
+COPTS.hack.rip.c+=     -Wno-format-nonliteral
+
 .if !exists(${DESTDIR}${FILESDIR}/perm)
 afterinstall: clobber
 .endif