NetBSD/sys/lkm/compat/ibcs2/Makefile

27 lines
694 B
Makefile
Raw Normal View History

2003-09-12 18:06:48 +04:00
# $NetBSD: Makefile,v 1.7 2003/09/12 14:06:48 tron Exp $
.include "../Makefile.inc"
.PATH: $S/compat/ibcs2 $S/arch/${MACHINE}/${MACHINE}
2003-09-12 18:06:48 +04:00
CPPFLAGS+= -DCOMPAT_SVR4 -DSYSVSEM -DSYSVMSG -DSYSVSHM \
-DSVR4_COMPAT_SOLARIS2 -DCOMPAT_IBCS2
2000-12-13 14:18:37 +03:00
AFLAGS= -x assembler-with-cpp -traditional-cpp -D_LOCORE \
-I. -I${S}
KMOD= compat_ibcs2
# common source files
SRCS+= lkminit_emul.c
SRCS+= ibcs2_errno.c ibcs2_exec.c ibcs2_fcntl.c ibcs2_ioctl.c ibcs2_ipc.c \
ibcs2_misc.c ibcs2_signal.c ibcs2_socksys.c ibcs2_stat.c \
ibcs2_syscalls.c ibcs2_sysent.c
# MD source
.if ${MACHINE} == "i386"
.PATH: $S/arch/i386/i386
2002-11-23 05:15:45 +03:00
SRCS+= ibcs2_sigcode.S ibcs2_machdep.c ibcs2_syscall.c
.endif
.include <bsd.kmod.mk>