-# $NetBSD: Makefile.inc,v 1.3 1997/10/22 02:31:35 lukem 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+= ${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