Home | History | Annotate | Line # | Download | only in compat_sunos32
      1 #	$NetBSD: Makefile,v 1.4 2009/12/13 05:01:34 nakayama Exp $
      2 
      3 .include "../Makefile.inc"
      4 .include "../Makefile.assym"
      5 
      6 KMOD=	compat_sunos32
      7 
      8 CPPFLAGS+=	-DSYSVSHM -DSYSVSEM -DSYSVMSG -DCOMPAT_SUNOS
      9 CPPFLAGS+=	-DCOMPAT_SUNOS32 -DEXEC_AOUT
     10 
     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
     14 
     15 .if ${MACHINE} == "sparc64"
     16 .PATH:	${S}/arch/sparc64/sparc64
     17 SRCS+=	sunos32_machdep.c
     18 .endif
     19 
     20 .if ${MACHINE} == "sparc"
     21 .PATH:	${S}/arch/sparc/sparc
     22 SRCS+=	sunos32_machdep.c
     23 .endif
     24 
     25 .include <bsd.kmodule.mk>
     26