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.3/sys/boot/zfs/Makefile 213994 2010-10-17 20:10:00Z pjd $
    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+=        -mpreferred-stack-boundary=2
   16 CFLAGS+=        -mno-mmx -mno-3dnow -mno-sse -mno-sse2
   17 .endif
   18 .if ${MACHINE_ARCH} == "i386"
   19 CFLAGS+=        -mno-sse3
   20 .endif
   21 .if ${MACHINE_ARCH} == "powerpc" || ${MACHINE_ARCH} == "arm"
   22 CFLAGS+=        -msoft-float
   23 .endif
   24 .if ${MACHINE_ARCH} == "amd64"
   25 CFLAGS+=        -m32 -march=i386
   26 .endif
   27 
   28 CFLAGS+=        -Wformat -Wall
   29 
   30 .if ${MACHINE_ARCH} == "amd64"
   31 CLEANFILES+=    machine
   32 machine:
   33         ln -sf ${.CURDIR}/../../i386/include machine
   34 .endif
   35 
   36 .include <bsd.lib.mk>
   37 
   38 .if ${MACHINE_ARCH} == "amd64"
   39 beforedepend ${OBJS}: machine
   40 .endif

Cache object: e98286dbc3e3ef7a5c99bc68c87e400d


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