Cross Reference: Makefile
xref: /src/sys/modules/compat_linux32/Makefile
  • Home
  • History
  • Annotate
  • Line#
  • Navigate
  • Raw
  • Download
  • only in /src/sys/modules/compat_linux32/
Makefile revision 1.7
1#	$NetBSD: Makefile,v 1.7 2011/08/02 17:22:51 joerg Exp $
2
3.include "../Makefile.inc"
4.include "../Makefile.assym"
5
6KMOD=	compat_linux32
7
8CPPFLAGS+=	-DSYSVSHM -DSYSVSEM -DSYSVMSG -DCOMPAT_LINUX
9CPPFLAGS+=	-DCOMPAT_LINUX32 -DCOMPAT_NETBSD32
10
11.PATH:	${S}/compat/linux32/common
12SRCS+=	linux32_dirent.c linux32_exec.c linux32_exec_elf32.c linux32_fcntl.c
13SRCS+=	linux32_ioctl.c linux32_misc.c linux32_mman.c
14SRCS+=	linux32_mod.c linux32_resource.c linux32_sched.c linux32_signal.c
15SRCS+=	linux32_socket.c linux32_socketcall.c linux32_stat.c linux32_sysctl.c
16SRCS+=	linux32_sysinfo.c linux32_termios.c linux32_time.c
17SRCS+=	linux32_unistd.c linux32_utsname.c linux32_wait.c
18
19.if ${MACHINE_ARCH} == "x86_64"
20CPPFLAGS+=	-DEXEC_ELF32 -DLINUX32_DEBUGLINK_SIGNATURE
21.PATH:	${S}/compat/linux32/arch/amd64
22.PATH:	${S}/arch/amd64/amd64
23.PATH:	${S}/arch/x86/x86
24SRCS+=	linux32_ipccall.c linux32_machdep.c linux32_missing.c
25SRCS+=	linux32_syscalls.c linux32_sysent.c linux32_sigcode.S
26SRCS+=	linux32_syscall.c linux32_uid16.c
27.PATH:	${S}/compat/linux/common
28SRCS+=	linux_oldmmap.c linux_exec_elf32.c
29.endif
30
31.include <bsd.kmodule.mk>
32

Indexes created Mon Nov 10 17:20:41 GMT 2025