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