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/boot/zfs/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/8.4/sys/boot/zfs/Makefile 243220 2012-11-18 12:30:04Z avg $
    2 
    3 LIB=            zfsboot
    4 INTERNALLIB=
    5 
    6 SRCS+=          zfs.c
    7 
    8 CFLAGS+=        -DBOOTPROG=\"zfsloader\"
    9 CFLAGS+=        -I${.CURDIR}/../common -I${.CURDIR}/../.. -I.
   10 CFLAGS+=        -I${.CURDIR}/../../../lib/libstand
   11 CFLAGS+=        -I${.CURDIR}/../../cddl/boot/zfs
   12 
   13 CFLAGS+=        -ffreestanding
   14 .if ${MACHINE_ARCH} == "i386" || ${MACHINE_ARCH} == "amd64"
   15 CFLAGS+=        -march=i386
   16 CFLAGS+=        -mpreferred-stack-boundary=2
   17 CFLAGS+=        -mno-mmx -mno-3dnow -mno-sse -mno-sse2
   18 .endif
   19 .if ${MACHINE_ARCH} == "i386"
   20 CFLAGS+=        -mno-sse3
   21 .endif
   22 .if ${MACHINE_ARCH} == "powerpc" || ${MACHINE_ARCH} == "arm"
   23 CFLAGS+=        -msoft-float
   24 .endif
   25 .if ${MACHINE_ARCH} == "amd64"
   26 CFLAGS+=        -m32
   27 .endif
   28 
   29 CFLAGS+=        -Wformat -Wall
   30 
   31 .if ${MACHINE_ARCH} == "amd64"
   32 CLEANFILES+=    machine
   33 machine:
   34         ln -sf ${.CURDIR}/../../i386/include machine
   35 .endif
   36 
   37 .include <bsd.lib.mk>
   38 
   39 .if ${MACHINE_ARCH} == "amd64"
   40 beforedepend ${OBJS}: machine
   41 .endif

Cache object: 2bd1d3c901f7ecdfb2966b2c9465034e


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