1 # $NetBSD: Makefile,v 1.2 2008/12/08 12:56:00 njoly Exp $
3 .
include "../Makefile.inc"
4 .
include "../Makefile.assym"
8 CPPFLAGS
+= -DSYSVSHM
-DSYSVSEM
-DSYSVMSG
9 CPPFLAGS
+= -DCOMPAT_IBCS2
11 .PATH
: ${S}/compat
/ibcs2
13 SRCS
+= ibcs2_errno.c ibcs2_exec.c ibcs2_exec_coff.c ibcs2_exec_elf32.c
14 SRCS
+= ibcs2_exec_xout.c ibcs2_fcntl.c ibcs2_ioctl.c ibcs2_ipc.c
15 SRCS
+= ibcs2_misc.c ibcs2_signal.c ibcs2_signo.c ibcs2_socksys.c
16 SRCS
+= ibcs2_stat.c ibcs2_syscalls.c ibcs2_sysent.c ibcs2_mod.c
18 .if
${MACHINE_ARCH} == "i386"
19 CPPFLAGS
+= -DEXEC_ELF32
20 .PATH
: ${S}/arch
/i386
/i386
21 SRCS
+= ibcs2_machdep.c ibcs2_syscall.c ibcs2_sigcode.S
24 .
include <bsd.kmodule.mk
>