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
13 CFLAGS+= -ffreestanding
14 .if ${MACHINE_CPUARCH} == "i386" || ${MACHINE_CPUARCH} == "amd64"
16 CFLAGS.gcc+= -mpreferred-stack-boundary=2
17 CFLAGS+= -mno-mmx -mno-3dnow -mno-sse -mno-sse2 -mno-sse3 -msoft-float
19 .if ${MACHINE_CPUARCH} == "powerpc" || ${MACHINE_CPUARCH} == "arm"
22 .if ${MACHINE_CPUARCH} == "amd64"
26 CFLAGS+= -Wformat -Wall
28 .if ${MACHINE_CPUARCH} == "amd64"
31 ln -sf ${.CURDIR}/../../i386/include machine
36 .if ${MACHINE_CPUARCH} == "amd64"
38 beforedepend ${OBJS}: machine