2000-12-13 14:18:37 +03:00
|
|
|
# $NetBSD: Makefile,v 1.6 2000/12/13 11:18:39 enami Exp $
|
1996-08-28 10:17:23 +04:00
|
|
|
|
|
|
|
.include "../Makefile.inc"
|
|
|
|
|
1996-10-22 23:09:50 +04:00
|
|
|
.PATH: $S/compat/sunos $S/arch/${MACHINE_ARCH}/${MACHINE_ARCH}
|
1996-08-28 10:17:23 +04:00
|
|
|
|
2000-12-08 23:15:11 +03:00
|
|
|
CPPFLAGS+= -DCOMPAT_SUNOS -DSYSVSEM -DSYSVMSG -DSYSVSHM -nostdinc
|
2000-12-13 14:18:37 +03:00
|
|
|
AFLAGS= -x assembler-with-cpp -traditional-cpp -D_LOCORE \
|
|
|
|
-I. -I${S}
|
2000-12-08 23:15:11 +03:00
|
|
|
|
1999-02-13 05:54:17 +03:00
|
|
|
MKMAN= no
|
1996-08-28 10:17:23 +04:00
|
|
|
KMOD= compat_sunos
|
2000-12-08 23:15:11 +03:00
|
|
|
|
|
|
|
# common source files
|
|
|
|
SRCS+= lkminit_emul.c
|
|
|
|
SRCS+= sunos_exec.c sunos_ioctl.c sunos_misc.c sunos_syscalls.c sunos_sysent.c
|
|
|
|
|
|
|
|
# MD files
|
|
|
|
.if ${MACHINE_ARCH} == "m68k"
|
|
|
|
SRCS+= sunos_sigcode.s
|
|
|
|
.endif
|
1996-08-28 10:17:23 +04:00
|
|
|
|
|
|
|
.include <bsd.kmod.mk>
|