1# $NetBSD: Makefile,v 1.1 2012/01/05 13:26:51 jmcneill Exp $ 2 3NETBSDSRCDIR?= ../../../../.. 4 5S?= ${NETBSDSRCDIR}/sys 6M?= ${S}/modules 7 8.include "${M}/Makefile.inc" 9.include "${M}/Makefile.assym" 10 11KMOD= syscallemu 12 13SRCS= syscallemu.c 14.if ${MACHINE_ARCH} == "i386" || ${MACHINE_ARCH} == "x86_64" 15SRCS+= syscallemu_x86.c 16.else 17.error ${MACHINE_ARCH} not implemented 18.endif 19 20.include <bsd.kmodule.mk> 21