xref: /netbsd-src/sys/arch/usermode/modules/syscallemu/Makefile (revision 0953dc8744b62dfdecb2f203329e730593755659)
1#	$NetBSD: Makefile,v 1.2 2012/01/06 13:16:20 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