2001-03-21 17:38:16 +03:00
|
|
|
# $NetBSD: Makefile,v 1.3 2001/03/21 14:38:17 tsutsui Exp $
|
2000-12-08 23:15:11 +03:00
|
|
|
|
|
|
|
.include "../Makefile.inc"
|
|
|
|
|
|
|
|
.PATH: $S/compat/ultrix $S/arch/${MACHINE}/${MACHINE}
|
|
|
|
|
2001-03-21 17:38:16 +03:00
|
|
|
CPPFLAGS+= -DSYSVSEM -DSYSVMSG -DSYSVSHM -DCOMPAT_ULTRIX
|
2000-12-08 23:15:11 +03:00
|
|
|
CPPFLAGS+= -nostdinc
|
2000-12-13 14:18:37 +03:00
|
|
|
AFLAGS= -x assembler-with-cpp -traditional-cpp -D_LOCORE -D_KERNEL \
|
|
|
|
-I. -I${S}
|
2000-12-08 23:15:11 +03:00
|
|
|
|
|
|
|
MKMAN= no
|
|
|
|
|
|
|
|
KMOD= compat_ultrix
|
|
|
|
|
|
|
|
# common source files
|
|
|
|
SRCS+= lkminit_emul.c
|
|
|
|
SRCS+= ultrix_fs.c ultrix_ioctl.c ultrix_misc.c ultrix_pathname.c \
|
|
|
|
ultrix_syscalls.c ultrix_sysent.c
|
|
|
|
|
|
|
|
.if ${MACHINE_ARCH} == "mips"
|
|
|
|
CPPFLAGS+= -DMIPS1 -DMIPS3
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.include <bsd.kmod.mk>
|