1# $NetBSD: Makefile.inc,v 1.1 2012/11/05 00:23:18 alnsn Exp $ 2 3.include <bsd.own.mk> 4 5SLJITDIST= ${NETBSDSRCDIR}/sys/external/bsd/sljit/dist 6LIBSLJITDIR!= cd ${NETBSDSRCDIR}/external/bsd/sljit/lib && ${PRINTOBJDIR} 7 8CPPFLAGS+= -I${SLJITDIST}/sljit_src 9 10# Link to libarm to get arm_sync_icache(2), for mips it's not 11# required because _cacheflush() is in libc. 12.if !empty(MACHINE_ARCH:Marm*) || !empty(MACHINE_ARCH:Mearm*) 13LDADD+= -larm 14.endif 15