23 lines
595 B
Makefile
23 lines
595 B
Makefile
# $NetBSD: Makefile,v 1.6 2005/12/11 12:24:47 christos Exp $
|
|
|
|
.include "../Makefile.inc"
|
|
|
|
.PATH: $S/compat/sunos32 $S/arch/${MACHINE_ARCH}/${MACHINE_ARCH}
|
|
|
|
CPPFLAGS+= -DCOMPAT_SUNOS -DCOMPAT_43 -DCOMPAT_NETBSD32
|
|
CPPFLAGS+= -DSYSVSEM -DSYSVMSG -DSYSVSHM -nostdinc
|
|
AFLAGS= -x assembler-with-cpp -traditional-cpp -D_LOCORE \
|
|
-I. -I${S}
|
|
|
|
KMOD= compat_sunos32
|
|
|
|
# common source files
|
|
SRCS+= lkminit_emul.c
|
|
SRCS+= sunos32_exec.c sunos32_ioctl.c sunos32_misc.c sunos32_syscalls.c sunos32_sysent.c
|
|
|
|
.if (${MACHINE} == "sparc64")
|
|
SRCS+= sunos32_machdep.c sunos_sigcode.s
|
|
.endif
|
|
|
|
.include <bsd.kmod.mk>
|