NetBSD/sys/lkm/compat/osf1/Makefile

31 lines
800 B
Makefile
Raw Normal View History

2000-12-14 21:42:07 +03:00
# $NetBSD: Makefile,v 1.3 2000/12/14 18:42:07 mycroft Exp $
.include "../Makefile.inc"
.PATH: $S/compat/osf1 $S/arch/${MACHINE_ARCH}/${MACHINE_ARCH}
CPPFLAGS+= -DVM86 -DSYSVSEM -DSYSVMSG -DSYSVSHM -DCOMPAT_OSF1
CPPFLAGS+= -nostdinc
2000-12-13 14:18:37 +03:00
AFLAGS= -x assembler-with-cpp -traditional-cpp -D_LOCORE -D_KERNEL \
-I. -I${S}
MKMAN= no
KMOD= compat_osf1
# common source files
SRCS= lkminit_emul.c
SRCS+= osf1_cvt.c osf1_cvt_errno.c osf1_cvt_signal.c osf1_descrip.c \
osf1_exec.c osf1_file.c osf1_generic.c osf1_ioctl.c osf1_misc.c \
osf1_mmap.c osf1_mount.c osf1_prot.c osf1_resource.c osf1_signal.c \
osf1_socket.c osf1_syscalls.c osf1_sysent.c osf1_sysv_ipc.c \
osf1_time.c
# MD source files
.if ${MACHINE_ARCH} == "alpha"
2000-12-14 21:42:07 +03:00
SRCS+= osf1_syscall.c
SRCS+= osf1_sigcode.s
.endif
.include <bsd.kmod.mk>