blob: 381f997a211830c9bfb678946b8be2a39d50bf70 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
# $NetBSD: Makefile,v 1.6 2019/02/17 05:32:35 rin Exp $
.include <bsd.own.mk>
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 <bsd.kmodule.mk>
|