Makefile revision 1.3
1# $NetBSD: Makefile,v 1.3 2016/01/24 01:01:43 christos 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 exists(${DESTDIR}/usr/include/machine/cpu_counter.h) 14CPPFLAGS+= -D__HAVE_CPU_COUNTER 15.endif 16 17.include <bsd.kmodule.mk> 18