1 # $NetBSD: Makefile,v 1.2 2019/01/27 02:08:46 pgoyette Exp $ 2 3 .include "../Makefile.inc" 4 .include "../Makefile.assym" 5 6 .PATH: ${S}/compat/netbsd32 7 8 KMOD= compat_netbsd32_16 9 10 CPPFLAGS+= -DCOMPAT_NETBSD32 11 CPPFLAGS+= -DCOMPAT_16 -DCOMPAT_20 -DCOMPAT_30 12 CPPFLAGS+= -DCOMPAT_40 -DCOMPAT_50 -DCOMPAT_60 -DCOMPAT_70 -DCOMPAT_80 13 CPPFLAGS+= -I${NETBSDSRCDIR}/sys/external/bsd/libnv/dist 14 15 SRCS+= netbsd32_compat_16.c 16 17 .if ${MACHINE_ARCH} == "x86_64" 18 .PATH: ${S}/arch/amd64/amd64 19 SRCS+= netbsd32_sigcode.S 20 SRCS+= netbsd32_machdep_16.c 21 .endif 22 23 .if ${MACHINE_ARCH} == "arm" 24 .PATH: ${S}/arch/arm/arm32 25 SRCS+= netbsd32_machdep_16.c 26 .endif 27 28 .include <bsd.kmodule.mk> 29