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