1 # $NetBSD: Makefile,v 1.2 2014/07/22 20:25:13 alnsn Exp $ 2 # 3 # Public Domain. 4 # 5 6 .PATH: ${.CURDIR}/../../../../external/bsd/sljit/sljit \ 7 ${.CURDIR}/../../../../external/bsd/sljit/dist/sljit_src 8 9 LIB= rumpkern_sljit 10 11 SRCS= sljitLir.c sljit_mod.c 12 13 # NOTE This is not the best place for icache sync routine but only 14 # sljit uses it at the moment. 15 # XXX Think about a good hypercall interface (hi, pooka!) and move 16 # this stuff to rumpuser. 17 .if !empty(MACHINE_ARCH:Mmips*) 18 SRCS+= cache.c 19 RUMPCOMP_USER_SRCS= sljit_rump.c 20 .PATH: ${.CURDIR}/arch/mips 21 22 RUMPCOMP_INCS_DIR:= ${.PARSEDIR} 23 RUMPCOMP_USER_CPPFLAGS=-I${RUMPCOMP_INCS_DIR} 24 .endif 25 26 .include <bsd.lib.mk> 27 .include <bsd.klinks.mk> 28