1 # $NetBSD: Makefile,v 1.5 2024/06/16 21:52:02 pgoyette Exp $ 2 3 .include <bsd.init.mk> 4 5 .include "../Makefile.assym" 6 7 .PATH: ${S}/compat/netbsd32 8 9 KMOD= compat_netbsd32_16 10 11 CPPFLAGS+= -DCOMPAT_NETBSD32 12 CPPFLAGS+= -DCOMPAT_16 -DCOMPAT_20 -DCOMPAT_30 13 CPPFLAGS+= -DCOMPAT_40 -DCOMPAT_50 -DCOMPAT_60 -DCOMPAT_70 -DCOMPAT_80 14 CPPFLAGS+= -I${NETBSDSRCDIR}/sys/external/bsd/libnv/dist 15 16 SRCS+= netbsd32_compat_16.c 17 18 COMPAT_MACHDEP_SRCS= netbsd32_machdep_16.c 19 .if ${MACHINE_CPU} == "powerpc" || ${MACHINE_CPU} == "x86_64" 20 COMPAT_MACHDEP_SRCS+= netbsd32_sigcode.S 21 .endif 22 23 .include "../Makefile.compat" 24 25 .include <bsd.kmodule.mk> 26