1 1.3 christos # $NetBSD: Makefile,v 1.3 2012/07/03 21:07:41 christos 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.2 jmcneill .else 17 1.2 jmcneill .error ${MACHINE_ARCH} not implemented 18 1.2 jmcneill .endif 19 1.1 jmcneill 20 1.1 jmcneill .include <bsd.kmodule.mk> 21