NetBSD/sys/lkm/compat/ultrix/Makefile

26 lines
574 B
Makefile

# $NetBSD: Makefile,v 1.3 2001/03/21 14:38:17 tsutsui Exp $
.include "../Makefile.inc"
.PATH: $S/compat/ultrix $S/arch/${MACHINE}/${MACHINE}
CPPFLAGS+= -DSYSVSEM -DSYSVMSG -DSYSVSHM -DCOMPAT_ULTRIX
CPPFLAGS+= -nostdinc
AFLAGS= -x assembler-with-cpp -traditional-cpp -D_LOCORE -D_KERNEL \
-I. -I${S}
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>