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_linux/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.6 2021/10/09 07:01:35 ryo Exp $
    2 
    3 .include "../Makefile.inc"
    4 .include "../Makefile.assym"
    5 
    6 KMOD=   compat_linux
    7 
    8 CPPFLAGS+=      -DSYSVSHM -DSYSVSEM -DSYSVMSG -DCOMPAT_LINUX
    9 
   10 .PATH:  ${S}/compat/linux/common
   11 SRCS=   linux_blkio.c linux_cdrom.c linux_errno.c linux_exec.c
   12 SRCS+=  linux_fdio.c linux_file.c linux_hdio.c linux_ioctl.c
   13 SRCS+=  linux_ipc.c linux_misc.c linux_mtio.c linux_sched.c
   14 SRCS+=  linux_sg.c linux_signal.c linux_signo.c linux_socket.c
   15 SRCS+=  linux_sysctl.c linux_termios.c linux_time.c linux_mod.c
   16 
   17 .if ${MACHINE_CPU} == "aarch64"
   18 CPPFLAGS+=      -DEXEC_ELF64
   19 .PATH:  ${S}/arch/aarch64/aarch64
   20 .PATH:  ${S}/compat/linux/arch/aarch64
   21 SRCS+=  linux_machdep.c linux_syscalls.c linux_sysent.c linux_commons.c
   22 SRCS+=  linux_exec_elf64.c
   23 SRCS+=  linux_sigcode.c linux_syscall.c
   24 .endif
   25 
   26 .if ${MACHINE_ARCH} == "i386"
   27 CPPFLAGS+=      -DEXEC_ELF32 -DEXEC_AOUT
   28 .PATH:  ${S}/arch/i386/i386
   29 .PATH:  ${S}/compat/linux/arch/i386
   30 .PATH:  ${S}/arch/x86/x86
   31 SRCS+=  linux_machdep.c linux_syscalls.c linux_sysent.c linux_commons.c
   32 SRCS+=  linux_ptrace.c linux_exec_machdep.c linux_exec_elf32.c
   33 SRCS+=  linux_exec_aout.c linux_sigcode.S linux_syscall.c linux_trap.c
   34 SRCS+=  linux_uselib.c
   35 .endif
   36 
   37 .if ${MACHINE_ARCH} == "x86_64"
   38 CPPFLAGS+=      -DEXEC_ELF64
   39 .PATH:  ${S}/compat/linux/arch/amd64
   40 .PATH:  ${S}/arch/amd64/amd64
   41 .PATH:  ${S}/arch/x86/x86
   42 SRCS+=  linux_machdep.c linux_syscalls.c linux_sysent.c linux_commons.c
   43 SRCS+=  linux_exec_machdep.c linux_exec_elf64.c
   44 SRCS+=  linux_sigcode.S linux_syscall.c linux_trap.c
   45 .endif
   46 
   47 WARNS=  3
   48 
   49 .include <bsd.kmodule.mk>

Cache object: 33246bc2016820ae5f1284071a2b8c18


[ 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.