1c54a66d99
(port) specific not CPU, so use MACHINE not MACHINE_ARCH.
26 lines
604 B
Makefile
26 lines
604 B
Makefile
# $NetBSD: Makefile,v 1.4 2009/12/13 05:01:34 nakayama Exp $
|
|
|
|
.include "../Makefile.inc"
|
|
.include "../Makefile.assym"
|
|
|
|
KMOD= compat_sunos32
|
|
|
|
CPPFLAGS+= -DSYSVSHM -DSYSVSEM -DSYSVMSG -DCOMPAT_SUNOS
|
|
CPPFLAGS+= -DCOMPAT_SUNOS32 -DEXEC_AOUT
|
|
|
|
.PATH: ${S}/compat/sunos32
|
|
SRCS+= sunos32_exec.c sunos32_ioctl.c sunos32_mod.c sunos32_sysent.c
|
|
SRCS+= sunos32_exec_aout.c sunos32_misc.c sunos32_syscalls.c
|
|
|
|
.if ${MACHINE} == "sparc64"
|
|
.PATH: ${S}/arch/sparc64/sparc64
|
|
SRCS+= sunos32_machdep.c
|
|
.endif
|
|
|
|
.if ${MACHINE} == "sparc"
|
|
.PATH: ${S}/arch/sparc/sparc
|
|
SRCS+= sunos32_machdep.c
|
|
.endif
|
|
|
|
.include <bsd.kmodule.mk>
|