1 # $NetBSD: Makefile,v 1.1.2.9 2018/03/25 08:50:58 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 ccd_60.c \ 12 kern_cpu_60.c 13 14 # x86-specific compatability code for NetBSD 6.0 15 .if ${MACHINE_ARCH} == "i386" || ${MACHINE_ARCH} == "x86_64" 16 17 CPPFLAGS+= -DCPU_UCODE 18 19 .PATH: ${S}/arch/x86/x86/ 20 21 SRCS+= cpu_ucode.c cpu_ucode_amd.c cpu_ucode_intel.c 22 23 .endif 24 25 .include <bsd.kmodule.mk> 26