1 1.3.4.1 rmind # $NetBSD: Makefile,v 1.3.4.1 2014/05/18 17:45:28 rmind 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.3.4.1 rmind .if ${MACHINE_CPU} == "i386" || ${MACHINE_CPU} == "x86_64" 15 1.2 jmcneill SRCS+= syscallemu_x86.c 16 1.3.4.1 rmind .elif ${MACHINE_CPU} == "arm" 17 1.3.4.1 rmind SRCS+= syscallemu_arm.c 18 1.2 jmcneill .else 19 1.3.4.1 rmind .error ${MACHINE_CPU} not implemented 20 1.2 jmcneill .endif 21 1.1 jmcneill 22 1.1 jmcneill .include <bsd.kmodule.mk> 23