1 # $NetBSD: Makefile,v 1.4 2008/12/08 12:56:00 njoly Exp $
3 .
include "../Makefile.inc"
4 .
include "../Makefile.assym"
8 CPPFLAGS
+= -DSYSVSHM
-DSYSVSEM
-DSYSVMSG
-DCOMPAT_LINUX
9 CPPFLAGS
+= -DCOMPAT_LINUX32
-DCOMPAT_NETBSD32
11 .PATH
: ${S}/compat
/linux32
/common
12 SRCS
+= linux32_dirent.c linux32_exec.c linux32_exec_elf32.c linux32_fcntl.c
13 SRCS
+= linux32_ioctl.c linux32_misc.c linux32_mman.c
14 SRCS
+= linux32_mod.c linux32_resource.c linux32_sched.c linux32_signal.c
15 SRCS
+= linux32_socket.c linux32_socketcall.c linux32_stat.c linux32_sysctl.c
16 SRCS
+= linux32_sysinfo.c linux32_termios.c linux32_time.c
17 SRCS
+= linux32_unistd.c linux32_utsname.c linux32_wait.c
19 .if
${MACHINE_ARCH} == "x86_64"
20 CPPFLAGS
+= -DEXEC_ELF32
-DLINUX32_DEBUGLINK_SIGNATURE
21 .PATH
: ${S}/compat
/linux32
/arch
/amd64
22 .PATH
: ${S}/arch
/amd64
/amd64
23 .PATH
: ${S}/arch
/x86
/x86
24 SRCS
+= linux32_ipccall.c linux32_machdep.c linux32_missing.c
25 SRCS
+= linux32_syscalls.c linux32_sysent.c linux32_sigcode.S
26 SRCS
+= linux32_syscall.c linux32_uid16.c
27 .PATH
: ${S}/compat
/linux
/common
28 SRCS
+= linux_oldmmap.c linux_exec_elf32.c
31 .
include <bsd.kmodule.mk
>