1 # $NetBSD: Makefile,v 1.1.2.4 2018/03/17 00:48:20 pgoyette Exp $ 2 3 .include "../Makefile.inc" 4 5 .PATH: ${S}/compat/common 6 7 KMOD= compat_60 8 9 CPPFLAGS+= -DCOMPAT_60 -DCOMPAT_70 -DCOMPAT_80 10 11 SRCS+= compat_60_mod.c kern_sa_60.c tty_60.c kern_time_60.c 12 13 # If being built for amd64, i386, or XEN3_DOM0 (but _not_ DOMU), we 14 # need to add 15 16 .if ${MACHINE_ARCH} == "x86_64" || ${MACHINE_ARCH} == "i386" 17 18 CPPFLAGS+= -DCPU_UCODE 19 20 .PATH: ${S}/arch/x86/x86 21 22 SRCS+= cpu_ucode.c 23 24 .endif 25 26 .include <bsd.kmodule.mk> 27