The Design and Implementation of the FreeBSD Operating System, Second Edition
Now available: The Design and Implementation of the FreeBSD Operating System (Second Edition)


[ source navigation ] [ diff markup ] [ identifier search ] [ freetext search ] [ file search ] [ list types ] [ track identifier ]

FreeBSD/Linux Kernel Cross Reference
sys/modules/compat_linux32/Makefile

Version: -  FREEBSD  -  FREEBSD-13-STABLE  -  FREEBSD-13-0  -  FREEBSD-12-STABLE  -  FREEBSD-12-0  -  FREEBSD-11-STABLE  -  FREEBSD-11-0  -  FREEBSD-10-STABLE  -  FREEBSD-10-0  -  FREEBSD-9-STABLE  -  FREEBSD-9-0  -  FREEBSD-8-STABLE  -  FREEBSD-8-0  -  FREEBSD-7-STABLE  -  FREEBSD-7-0  -  FREEBSD-6-STABLE  -  FREEBSD-6-0  -  FREEBSD-5-STABLE  -  FREEBSD-5-0  -  FREEBSD-4-STABLE  -  FREEBSD-3-STABLE  -  FREEBSD22  -  l41  -  OPENBSD  -  linux-2.6  -  MK84  -  PLAN9  -  xnu-8792 
SearchContext: -  none  -  3  -  10 

    1 #       $NetBSD: Makefile,v 1.11 2021/11/27 05:36:39 ryo Exp $
    2 
    3 .include "../Makefile.inc"
    4 .include "../Makefile.assym"
    5 
    6 KMOD=   compat_linux32
    7 
    8 CPPFLAGS+=      -DSYSVSHM -DSYSVSEM -DSYSVMSG -DCOMPAT_LINUX
    9 CPPFLAGS+=      -DCOMPAT_LINUX32 -DCOMPAT_NETBSD32
   10 CPPFLAGS+=      -I${NETBSDSRCDIR}/sys/external/bsd/libnv/dist
   11 
   12 .PATH:  ${S}/compat/linux32/common
   13 SRCS+=  linux32_dirent.c linux32_exec.c linux32_exec_elf32.c linux32_fcntl.c
   14 SRCS+=  linux32_ioctl.c linux32_misc.c linux32_mman.c
   15 SRCS+=  linux32_mod.c linux32_resource.c linux32_sched.c linux32_signal.c
   16 SRCS+=  linux32_socket.c linux32_socketcall.c linux32_stat.c linux32_sysctl.c
   17 SRCS+=  linux32_sysinfo.c linux32_termios.c linux32_time.c
   18 SRCS+=  linux32_unistd.c linux32_utsname.c linux32_wait.c
   19 
   20 .if ${MACHINE_ARCH} == "aarch64" || ${MACHINE_ARCH} == "aarch64eb"
   21 CPPFLAGS+=      -DEXEC_ELF32
   22 .PATH:  ${S}/compat/linux32/arch/aarch64
   23 SRCS+=  linux32_exec_machdep.c linux32_ipccall.c linux32_machdep.c
   24 SRCS+=  linux32_missing.c linux32_sigcode.S linux32_syscalls.c linux32_sysent.c
   25 SRCS+=  linux32_uid16.c
   26 .PATH:  ${S}/arch/aarch64/aarch64
   27 SRCS+=  linux32_syscall.c
   28 .PATH:  ${S}/compat/linux/common
   29 SRCS+=  linux_exec_elf32.c
   30 .endif
   31 
   32 .if ${MACHINE_ARCH} == "x86_64"
   33 CPPFLAGS+=      -DEXEC_ELF32 -DLINUX32_DEBUGLINK_SIGNATURE
   34 .PATH:  ${S}/compat/linux32/arch/amd64
   35 .PATH:  ${S}/arch/amd64/amd64
   36 .PATH:  ${S}/arch/x86/x86
   37 SRCS+=  linux32_ipccall.c linux32_machdep.c linux32_missing.c
   38 SRCS+=  linux32_syscalls.c linux32_sysent.c linux32_sigcode.S
   39 SRCS+=  linux32_syscall.c linux32_uid16.c
   40 .PATH:  ${S}/compat/linux/common
   41 SRCS+=  linux_oldmmap.c linux_exec_elf32.c
   42 .endif
   43 
   44 WARNS=  3
   45 
   46 .include <bsd.kmodule.mk>

Cache object: e989cc412ff10f7952bb8ef6d96c0442


[ source navigation ] [ diff markup ] [ identifier search ] [ freetext search ] [ file search ] [ list types ] [ track identifier ]


This page is part of the FreeBSD/Linux Linux Kernel Cross-Reference, and was automatically generated using a modified version of the LXR engine.