32 lines
1.1 KiB
Makefile
32 lines
1.1 KiB
Makefile
# $NetBSD: Makefile,v 1.4 2008/12/08 12:56:00 njoly Exp $
|
|
|
|
.include "../Makefile.inc"
|
|
.include "../Makefile.assym"
|
|
|
|
KMOD= compat_linux32
|
|
|
|
CPPFLAGS+= -DSYSVSHM -DSYSVSEM -DSYSVMSG -DCOMPAT_LINUX
|
|
CPPFLAGS+= -DCOMPAT_LINUX32 -DCOMPAT_NETBSD32
|
|
|
|
.PATH: ${S}/compat/linux32/common
|
|
SRCS+= linux32_dirent.c linux32_exec.c linux32_exec_elf32.c linux32_fcntl.c
|
|
SRCS+= linux32_ioctl.c linux32_misc.c linux32_mman.c
|
|
SRCS+= linux32_mod.c linux32_resource.c linux32_sched.c linux32_signal.c
|
|
SRCS+= linux32_socket.c linux32_socketcall.c linux32_stat.c linux32_sysctl.c
|
|
SRCS+= linux32_sysinfo.c linux32_termios.c linux32_time.c
|
|
SRCS+= linux32_unistd.c linux32_utsname.c linux32_wait.c
|
|
|
|
.if ${MACHINE} == "amd64"
|
|
CPPFLAGS+= -DEXEC_ELF32 -DLINUX32_DEBUGLINK_SIGNATURE
|
|
.PATH: ${S}/compat/linux32/arch/amd64
|
|
.PATH: ${S}/arch/amd64/amd64
|
|
.PATH: ${S}/arch/x86/x86
|
|
SRCS+= linux32_ipccall.c linux32_machdep.c linux32_missing.c
|
|
SRCS+= linux32_syscalls.c linux32_sysent.c linux32_sigcode.S
|
|
SRCS+= linux32_syscall.c linux32_uid16.c
|
|
.PATH: ${S}/compat/linux/common
|
|
SRCS+= linux_oldmmap.c linux_exec_elf32.c
|
|
.endif
|
|
|
|
.include <bsd.kmodule.mk>
|