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