NetBSD/sys/lkm/compat/sunos32/Makefile

23 lines
595 B
Makefile

# $NetBSD: Makefile,v 1.5 2003/10/16 15:57:12 christos Exp $
.include "../Makefile.inc"
.PATH: $S/compat/sunos32 $S/arch/${MACHINE_ARCH}/${MACHINE_ARCH}
CPPFLAGS+= -DCOMPAT_SUNOS -DCOMPAT_43 -DCOMPAT_NETBSD32
CPPFLAGS+= -DSYSVSEM -DSYSVMSG -DSYSVSHM -nostdinc
AFLAGS= -x assembler-with-cpp -traditional-cpp -D_LOCORE \
-I. -I${S}
KMOD= compat_sunos32
# common source files
SRCS+= lkminit_emul.c
SRCS+= sunos32_exec.c sunos32_ioctl.c sunos32_misc.c sunos32_syscalls.c sunos32_sysent.c
.if (${MACHINE} == "sparc64")
SRCS+= sunos32_machdep.c sunos_sigcode.s
.endif
.include <bsd.kmod.mk>