build sunos_machdep.c and sunos_sigcode.s on sparc & sparc64

This commit is contained in:
mrg 2002-02-10 15:41:58 +00:00
parent 34b423fa60
commit cf5b2d8368

View File

@ -1,8 +1,8 @@
# $NetBSD: Makefile,v 1.8 2001/12/12 11:44:46 lukem Exp $
# $NetBSD: Makefile,v 1.9 2002/02/10 15:41:58 mrg Exp $
.include "../Makefile.inc"
.PATH: $S/compat/sunos $S/arch/${MACHINE_ARCH}/${MACHINE_ARCH}
.PATH: $S/compat/sunos $S/arch/${MACHINE}/${MACHINE} $S/arch/${MACHINE_ARCH}/${MACHINE_ARCH} $S/compat/common
CPPFLAGS+= -DCOMPAT_SUNOS -DSYSVSEM -DSYSVMSG -DSYSVSHM -nostdinc
AFLAGS= -x assembler-with-cpp -traditional-cpp -D_LOCORE \
@ -19,4 +19,8 @@ SRCS+= sunos_exec.c sunos_ioctl.c sunos_misc.c sunos_syscalls.c sunos_sysent.c
SRCS+= sunos_sigcode.s
.endif
.if (${MACHINE} == "sparc64" || ${MACHINE} == "sparc")
SRCS+= sunos_machdep.c sunos_sigcode.s
.endif
.include <bsd.kmod.mk>