2009-02-14 16:50:50 +03:00
|
|
|
# $NetBSD: Makefile,v 1.3 2009/02/14 13:56:41 abs Exp $
|
2008-11-19 21:35:57 +03:00
|
|
|
|
|
|
|
.include "../Makefile.inc"
|
|
|
|
.include "../Makefile.assym"
|
|
|
|
|
|
|
|
KMOD= compat_sunos32
|
|
|
|
|
2008-12-08 15:56:00 +03:00
|
|
|
CPPFLAGS+= -DSYSVSHM -DSYSVSEM -DSYSVMSG -DCOMPAT_SUNOS
|
2008-11-19 21:35:57 +03:00
|
|
|
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
|
|
|
|
|
2009-02-14 16:50:50 +03:00
|
|
|
.if ${MACHINE_ARCH} == "sparc64"
|
2008-11-19 21:35:57 +03:00
|
|
|
.PATH: ${S}/arch/sparc64/sparc64
|
|
|
|
SRCS+= sunos32_machdep.c
|
|
|
|
.endif
|
|
|
|
|
2009-02-14 16:50:50 +03:00
|
|
|
.if ${MACHINE_ARCH} == "sparc"
|
2008-11-19 21:35:57 +03:00
|
|
|
.PATH: ${S}/arch/sparc/sparc
|
|
|
|
SRCS+= sunos32_machdep.c
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.include <bsd.kmodule.mk>
|