1 # $NetBSD: Makefile,v 1.3 2009/02/14 13:56:41 abs Exp $
3 .
include "../Makefile.inc"
4 .
include "../Makefile.assym"
8 CPPFLAGS
+= -DSYSVSHM
-DSYSVSEM
-DSYSVMSG
-DCOMPAT_SUNOS
9 CPPFLAGS
+= -DCOMPAT_SUNOS32
-DEXEC_AOUT
11 .PATH
: ${S}/compat
/sunos32
12 SRCS
+= sunos32_exec.c sunos32_ioctl.c sunos32_mod.c sunos32_sysent.c
13 SRCS
+= sunos32_exec_aout.c sunos32_misc.c sunos32_syscalls.c
15 .if
${MACHINE} == "sparc64"
16 .PATH
: ${S}/arch
/sparc64
/sparc64
17 SRCS
+= sunos32_machdep.c
20 .if
${MACHINE} == "sparc"
21 .PATH
: ${S}/arch
/sparc
/sparc
22 SRCS
+= sunos32_machdep.c
25 .
include <bsd.kmodule.mk
>