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.8
1#	$NetBSD: Makefile,v 1.8 2018/11/26 15:02:11 mlelstv 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
10CPPFLAGS+=      -I${NETBSDSRCDIR}/sys/external/bsd/libnv/dist
11
12.PATH:	${S}/compat/linux32/common
13SRCS+=	linux32_dirent.c linux32_exec.c linux32_exec_elf32.c linux32_fcntl.c
14SRCS+=	linux32_ioctl.c linux32_misc.c linux32_mman.c
15SRCS+=	linux32_mod.c linux32_resource.c linux32_sched.c linux32_signal.c
16SRCS+=	linux32_socket.c linux32_socketcall.c linux32_stat.c linux32_sysctl.c
17SRCS+=	linux32_sysinfo.c linux32_termios.c linux32_time.c
18SRCS+=	linux32_unistd.c linux32_utsname.c linux32_wait.c
19
20.if ${MACHINE_ARCH} == "x86_64"
21CPPFLAGS+=	-DEXEC_ELF32 -DLINUX32_DEBUGLINK_SIGNATURE
22.PATH:	${S}/compat/linux32/arch/amd64
23.PATH:	${S}/arch/amd64/amd64
24.PATH:	${S}/arch/x86/x86
25SRCS+=	linux32_ipccall.c linux32_machdep.c linux32_missing.c
26SRCS+=	linux32_syscalls.c linux32_sysent.c linux32_sigcode.S
27SRCS+=	linux32_syscall.c linux32_uid16.c
28.PATH:	${S}/compat/linux/common
29SRCS+=	linux_oldmmap.c linux_exec_elf32.c
30.endif
31
32.include <bsd.kmodule.mk>
33

Indexes created Mon Dec 22 15:09:38 GMT 2025