Sync usage with man page.
[netbsd-mini2440.git] / sys / modules / compat_freebsd / Makefile
blobea5d6ebd87ebc6f9f5e59dc5826a53c469bd77dd
1 # $NetBSD: Makefile,v 1.2 2008/12/08 12:56:00 njoly Exp $
3 .include "../Makefile.inc"
4 .include "../Makefile.assym"
6 KMOD= compat_freebsd
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
22 .endif
24 .include <bsd.kmodule.mk>