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/linux64/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 # $FreeBSD: releng/10.3/sys/modules/linux64/Makefile 293599 2016-01-09 18:06:38Z dchagin $
    2 
    3 .PATH: ${.CURDIR}/../../compat/linux ${.CURDIR}/../../${MACHINE_ARCH}/linux
    4 
    5 VDSO=   linux_vdso
    6 
    7 KMOD=   linux64
    8 SRCS=   linux_fork.c linux_dummy.c linux_file.c linux_event.c \
    9         linux_futex.c linux_getcwd.c linux_ioctl.c linux_ipc.c \
   10         linux_machdep.c linux_misc.c linux_signal.c \
   11         linux_socket.c linux_stats.c linux_sysctl.c linux_sysent.c \
   12         linux_sysvec.c linux_time.c linux_vdso.c linux_timer.c \
   13         opt_inet6.h opt_compat.h opt_kdtrace.h opt_posix.h opt_usb.h \
   14         vnode_if.h device_if.h bus_if.h assym.s \
   15         linux_support.s
   16 DPSRCS= linux_genassym.c
   17 
   18 # XXX: for assym.s
   19 SRCS+=  opt_kstack_pages.h opt_nfs.h opt_apic.h opt_hwpmc_hooks.h
   20 
   21 CLEANFILES=     linux_assym.h linux_genassym.o linux_locore.o
   22 
   23 OBJS=   ${VDSO}.so
   24 
   25 linux_assym.h: linux_genassym.o
   26         sh ${SYSDIR}/kern/genassym.sh linux_genassym.o > ${.TARGET}
   27 
   28 linux_locore.o: linux_locore.s linux_assym.h
   29         ${CC} -x assembler-with-cpp -DLOCORE -shared -mcmodel=small     \
   30         -pipe -I. -I${SYSDIR} -Werror -Wall -fno-common -nostdinc       \
   31         -Wl,-T${.CURDIR}/../../${MACHINE_CPUARCH}/linux/${VDSO}.lds.s   \
   32         -Wl,-soname=${VDSO}.so.1,-fPIC,-warn-common -nostdlib           \
   33             ${.IMPSRC} -o ${.TARGET}
   34 
   35 ${VDSO}.so: linux_locore.o
   36         ${OBJCOPY} --input-target binary --output-target elf64-x86-64-freebsd           \
   37             -S -g --binary-architecture i386:x86-64 linux_locore.o ${.TARGET}
   38 
   39 linux_support.o: assym.s linux_assym.h
   40         ${CC} -c -x assembler-with-cpp -DLOCORE ${CFLAGS} \
   41             ${.IMPSRC} -o ${.TARGET}
   42 
   43 linux_genassym.o:
   44         ${CC} -c ${CFLAGS:N-fno-common} ${.IMPSRC}
   45 
   46 .if !defined(KERNBUILDDIR)
   47 .if defined(DEBUG)
   48 CFLAGS+=-DDEBUG
   49 .endif
   50 .if defined(KTR)
   51 CFLAGS+=-DKTR
   52 .endif
   53 .endif
   54 
   55 .include <bsd.kmod.mk>

Cache object: 2107249276f7e0767bc8d22a55620094


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