#	$NetBSD: Makefile,v 1.1.2.4 2018/03/17 00:48:20 pgoyette Exp $

.include "../Makefile.inc"

.PATH:	${S}/compat/common

KMOD=	compat_60

CPPFLAGS+=	-DCOMPAT_60 -DCOMPAT_70 -DCOMPAT_80

SRCS+=	compat_60_mod.c kern_sa_60.c tty_60.c kern_time_60.c

# If being built for amd64, i386, or XEN3_DOM0 (but _not_ DOMU), we
# need to add

.if ${MACHINE_ARCH} == "x86_64" || ${MACHINE_ARCH} == "i386"

CPPFLAGS+=	-DCPU_UCODE

.PATH:	${S}/arch/x86/x86

SRCS+=	cpu_ucode.c

.endif

.include <bsd.kmodule.mk>
