]> git.cameronkatri.com Git - bsdgames-darwin.git/blobdiff - backgammon/Makefile.inc
- Don't allocate memory dynamically on the stack (for SSP)
[bsdgames-darwin.git] / backgammon / Makefile.inc
index cd31ffc50d83ccbaf4927a6ce652bf51518aa5dd..2663812412ce88e38ba792505c16df2128cb65ce 100644 (file)
@@ -1,11 +1,11 @@
-#      $NetBSD: Makefile.inc,v 1.2 1997/10/11 20:24:05 mycroft Exp $
+#      $NetBSD: Makefile.inc,v 1.8 2012/10/13 19:25:22 dholland Exp $
 
-LIBCOMMON != cd ${.CURDIR}/../common_source;\
-    printf "xxx: .MAKE\n\t@echo \$${.OBJDIR}\n" | ${MAKE} -s -f-
+.include <bsd.own.mk>
 
-CFLAGS+=-DV7 -I${.CURDIR}/../common_source
-DPADD+=        ${LIBTERM} ${LIBCOMPAT} ${LIBCOMMON}/libcommon.a
-LDADD+=        -ltermcap -lcompat  -L${LIBCOMMON} -lcommon
+LIBCOMMON != cd ${.CURDIR}/../common_source; ${PRINTOBJDIR}
+CPPFLAGS+=-I${.CURDIR}/../common_source
+DPADD+= ${LIBCOMMON}/libcommon.a ${LIBTERMINFO}
+LDADD+=        -L${LIBCOMMON} -lcommon -lterminfo
 
 HIDEGAME=hidegame