-# $NetBSD: Makefile.inc,v 1.5 1998/02/02 14:14:55 christos 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>
-CPPFLAGS+=-DV7 -I${.CURDIR}/../common_source
-DPADD+= ${LIBCOMMON}/libcommon.a ${LIBTERMCAP}
-LDADD+= -L${LIBCOMMON} -lcommon -ltermcap
+LIBCOMMON != cd ${.CURDIR}/../common_source; ${PRINTOBJDIR}
+CPPFLAGS+=-I${.CURDIR}/../common_source
+DPADD+= ${LIBCOMMON}/libcommon.a ${LIBTERMINFO}
+LDADD+= -L${LIBCOMMON} -lcommon -lterminfo
HIDEGAME=hidegame