1 1.4 jmcneill # $NetBSD: Makefile,v 1.4 2013/11/10 19:58:38 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.2 jmcneill .if ${MACHINE_ARCH} == "i386" || ${MACHINE_ARCH} == "x86_64" 15 1.2 jmcneill SRCS+= syscallemu_x86.c 16 1.4 jmcneill .elif ${MACHINE_ARCH} == "arm" || ${MACHINE_ARCH} == "earm" 17 1.4 jmcneill SRCS+= syscallemu_arm.c 18 1.2 jmcneill .else 19 1.2 jmcneill .error ${MACHINE_ARCH} not implemented 20 1.2 jmcneill .endif 21 1.1 jmcneill 22 1.1 jmcneill .include <bsd.kmodule.mk> 23