1 1.5 jmcneill # $NetBSD: Makefile,v 1.5 2013/11/10 22:08:58 jmcneill Exp $ 2 1.1 jmcneill 3 1.3 christos .include <bsd.own.mk> 4 1.1 jmcneill 5 1.1 jmcneill S?= ${NETBSDSRCDIR}/sys 6 1.1 jmcneill M?= ${S}/modules 7 1.1 jmcneill 8 1.1 jmcneill .include "${M}/Makefile.inc" 9 1.1 jmcneill .include "${M}/Makefile.assym" 10 1.1 jmcneill 11 1.1 jmcneill KMOD= syscallemu 12 1.1 jmcneill 13 1.1 jmcneill SRCS= syscallemu.c 14 1.5 jmcneill .if ${MACHINE_CPU} == "i386" || ${MACHINE_CPU} == "x86_64" 15 1.2 jmcneill SRCS+= syscallemu_x86.c 16 1.5 jmcneill .elif ${MACHINE_CPU} == "arm" 17 1.4 jmcneill SRCS+= syscallemu_arm.c 18 1.2 jmcneill .else 19 1.5 jmcneill .error ${MACHINE_CPU} not implemented 20 1.2 jmcneill .endif 21 1.1 jmcneill 22 1.1 jmcneill .include <bsd.kmodule.mk> 23