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_netbsd32/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.37 2020/11/07 21:42:32 christos Exp $
    2 
    3 .include "../Makefile.inc"
    4 .include "../Makefile.assym"
    5 
    6 KMOD=   compat_netbsd32
    7 
    8 #.if ${MACHINE_ARCH} == "i386" || ${MACHINE_ARCH} == "x86_64"
    9 #NETBSD32_DRMKMS?=yes
   10 #.endif
   11 
   12 CPPFLAGS+=      -DCOMPAT_NETBSD32
   13 CPPFLAGS+=      -DEXEC_ELF32 -DEXEC_ELF64
   14 CPPFLAGS+=      -DNTP -DVMSWAP
   15 CPPFLAGS+=      -DKTRACE -DMODULAR
   16 CPPFLAGS+=      -I${NETBSDSRCDIR}/sys/external/bsd/libnv/dist
   17 
   18 .if ${NETBSD32_DRMKMS:Uno} == "yes"
   19 # disable for now
   20 #CPPFLAGS+=     -DNETBSD32_DRMKMS
   21 CPPFLAGS+=      -I${NETBSDSRCDIR}/sys/external/bsd/common/include
   22 CPPFLAGS+=      -I${NETBSDSRCDIR}/sys/external/bsd/drm2/include
   23 CPPFLAGS+=      -I${NETBSDSRCDIR}/sys/external/bsd/drm2/dist
   24 CPPFLAGS+=      -I${NETBSDSRCDIR}/sys/external/bsd/drm2/dist/include
   25 CPPFLAGS+=      -I${NETBSDSRCDIR}/sys/external/bsd/drm2/dist/uapi
   26 .endif
   27 
   28 .PATH:  ${S}/compat/netbsd32
   29 .if ${NETBSD32_DRMKMS:Uno} == "yes"
   30 SRCS+=  netbsd32_drm.c
   31 .endif
   32 SRCS+=  netbsd32_acl.c          netbsd32_event.c
   33 SRCS+=  netbsd32_exec_elf32.c   netbsd32_execve.c
   34 SRCS+=  netbsd32_fd.c           netbsd32_fs.c
   35 SRCS+=  netbsd32_futex.c
   36 SRCS+=  netbsd32_ioctl.c        netbsd32_kern_proc.c
   37 SRCS+=  netbsd32_lwp.c          netbsd32_mod.c
   38 SRCS+=  netbsd32_module.c       netbsd32_netbsd.c
   39 SRCS+=  netbsd32_rlimit.c       netbsd32_select.c
   40 SRCS+=  netbsd32_sem.c          netbsd32_signal.c
   41 SRCS+=  netbsd32_socket.c       netbsd32_syscalls.c
   42 SRCS+=  netbsd32_sysctl.c       netbsd32_sysent.c
   43 SRCS+=  netbsd32_time.c         netbsd32_wait.c 
   44 SRCS+=  netbsd32_vm.c
   45 
   46 .if ${MACHINE_CPU} != "mips" && ${MACHINE_CPU} != "powerpc" && \
   47     ${MACHINE_CPU} != "aarch64"
   48 CPPFLAGS+=      -DEXEC_AOUT -DCOMPAT_NOMID
   49 SRCS+=  netbsd32_exec_aout.c
   50 .endif
   51 
   52 .if ${MACHINE_ARCH} == "x86_64"
   53 .PATH:  ${S}/arch/amd64/amd64
   54 CPPFLAGS+=      -DMTRR
   55 SRCS+=  netbsd32_syscall.c
   56 SRCS+=  netbsd32_machdep.c
   57 .endif
   58 
   59 .if ${MACHINE_ARCH} == "sparc64"
   60 .PATH:  ${S}/arch/sparc64/sparc64
   61 SRCS+=  netbsd32_sigcode.S
   62 SRCS+=  netbsd32_machdep.c
   63 .endif
   64 
   65 .if !empty(MACHINE_ARCH:M*arm*)
   66 .PATH:  ${S}/arch/arm/arm32
   67 SRCS+=  netbsd32_machdep.c
   68 .endif
   69 
   70 .include <bsd.kmodule.mk>

Cache object: d010af2f9a28fc0769ca17ac9ee1cb0e


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