1 # $NetBSD: Makefile,v 1.1.2.5 2018/09/27 02:44:24 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 14 SRCS+= netbsd32_compat_16.c 15 16 .if ${MACHINE_ARCH} == "x86_64" 17 .PATH: ${S}/arch/amd64/amd64 18 SRCS+= netbsd32_sigcode.S 19 SRCS+= netbsd32_machdep_16.c 20 .endif 21 22 .if ${MACHINE_ARCH} == "arm" 23 .PATH: ${S}/arch/arm/arm32 24 SRCS+= netbsd32_machdep_16.c 25 .endif 26 27 .include <bsd.kmodule.mk> 28