Makefile revision 1.2
1# $NetBSD: Makefile,v 1.2 2015/09/10 19:57:48 riz Exp $ 2 3.include "../../Makefile.inc" 4 5.PATH: ${NETBSDSRCDIR}/external/cddl/osnet/dev/lockstat 6 7KMOD= dtrace_lockstat 8SRCS= lockstat.c 9 10CPPFLAGS+= -I${NETBSDSRCDIR}/external/cddl/osnet/sys 11CPPFLAGS+= -I${NETBSDSRCDIR}/external/cddl/osnet/dist/uts/common 12CPPFLAGS+= -DKDTRACE_HOOKS 13.if (!empty(MACHINE_ARCH:Mearm*) || !empty(MACHINE_ARCH:Marm*)) 14CPPFLAGS+= -D__HAVE_CPU_COUNTER 15.endif 16 17.include <bsd.kmodule.mk> 18