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
-DKTRACE
-DPTRACE
-DNTP
9 CPPFLAGS
+= -DCOMPAT_FREEBSD
11 .PATH
: ${S}/compat
/freebsd
13 SRCS
+= freebsd_exec.c freebsd_exec_aout.c freebsd_exec_elf32.c
14 SRCS
+= freebsd_file.c freebsd_fork.c freebsd_ioctl.c freebsd_ipc.c
15 SRCS
+= freebsd_misc.c freebsd_ptrace.c freebsd_sched.c freebsd_syscalls.c
16 SRCS
+= freebsd_sysctl.c freebsd_sysent.c freebsd_mod.c
18 .if
${MACHINE_ARCH} == "i386"
19 CPPFLAGS
+= -DEXEC_ELF32
-DEXEC_AOUT
20 .PATH
: ${S}/arch
/i386
/i386
21 SRCS
+= freebsd_machdep.c freebsd_syscall.c freebsd_sigcode.S
24 .
include <bsd.kmodule.mk
>