# $NetBSD: Makefile,v 1.6 2019/02/17 05:32:35 rin Exp $ .include S?= ${NETBSDSRCDIR}/sys M?= ${S}/modules .include "${M}/Makefile.inc" .include "${M}/Makefile.assym" KMOD= syscallemu SRCS= syscallemu.c .if ${MACHINE_CPU} == "i386" || ${MACHINE_CPU} == "x86_64" SRCS+= syscallemu_x86.c .elif ${MACHINE_CPU} == "arm" SRCS+= syscallemu_arm.c .else .error ${MACHINE_CPU} not implemented .endif WARNS= 3 .include