1 1.1.2.1 tls # $NetBSD: Makefile,v 1.1.2.1 2014/08/10 06:56:50 tls Exp $ 2 1.1 rmind # 3 1.1 rmind # Public Domain. 4 1.1 rmind # 5 1.1 rmind 6 1.1 rmind .PATH: ${.CURDIR}/../../../../external/bsd/sljit/sljit \ 7 1.1 rmind ${.CURDIR}/../../../../external/bsd/sljit/dist/sljit_src 8 1.1 rmind 9 1.1 rmind LIB= rumpkern_sljit 10 1.1 rmind 11 1.1 rmind SRCS= sljitLir.c sljit_mod.c 12 1.1 rmind 13 1.1.2.1 tls # NOTE This is not the best place for icache sync routine but only 14 1.1.2.1 tls # sljit uses it at the moment. 15 1.1.2.1 tls # XXX Think about a good hypercall interface (hi, pooka!) and move 16 1.1.2.1 tls # this stuff to rumpuser. 17 1.1.2.1 tls .if !empty(MACHINE_ARCH:Mmips*) 18 1.1.2.1 tls SRCS+= cache.c 19 1.1.2.1 tls RUMPCOMP_USER_SRCS= sljit_rump.c 20 1.1.2.1 tls .PATH: ${.CURDIR}/arch/mips 21 1.1.2.1 tls 22 1.1.2.1 tls RUMPCOMP_INCS_DIR:= ${.PARSEDIR} 23 1.1.2.1 tls RUMPCOMP_USER_CPPFLAGS=-I${RUMPCOMP_INCS_DIR} 24 1.1.2.1 tls .endif 25 1.1.2.1 tls 26 1.1.2.1 tls .if !empty(MACHINE_ARCH:Marm*) || !empty(MACHINE_ARCH:Mearm*) 27 1.1.2.1 tls SRCS+= cpufunc.c 28 1.1.2.1 tls RUMPCOMP_USER_SRCS= sljit_rump.c 29 1.1.2.1 tls .PATH: ${.CURDIR}/arch/arm 30 1.1.2.1 tls 31 1.1.2.1 tls RUMPCOMP_INCS_DIR:= ${.PARSEDIR} 32 1.1.2.1 tls RUMPCOMP_USER_CPPFLAGS=-I${RUMPCOMP_INCS_DIR} 33 1.1.2.1 tls 34 1.1.2.1 tls # Link to libarm to get arm_sync_icache(2) 35 1.1.2.1 tls LDADD+= -larm 36 1.1.2.1 tls .endif 37 1.1.2.1 tls 38 1.1 rmind .include <bsd.lib.mk> 39 1.1 rmind .include <bsd.klinks.mk> 40