]> CyberLeo.Net >> Repos - FreeBSD/releng/9.2.git/blob - tools/tools/zfsboottest/Makefile
- Copy stable/9 to releng/9.2 as part of the 9.2-RELEASE cycle.
[FreeBSD/releng/9.2.git] / tools / tools / zfsboottest / Makefile
1 # $FreeBSD$
2
3 .PATH:          ${.CURDIR}/../../../sys/boot/zfs ${.CURDIR}/../../../sys/cddl/boot/zfs
4
5 BINDIR?=        /usr/bin
6 SCRIPTSDIR?=    /usr/bin
7
8 PROG=           zfsboottest
9 SCRIPTS=        zfsboottest.sh
10 SCRIPTSNAME=    zfsboottest.sh
11 NO_MAN=
12
13 CFLAGS= -O1 \
14         -I${.CURDIR}/../../../sys/boot/zfs \
15         -I${.CURDIR}/../../../sys/cddl/boot/zfs \
16         -I. \
17         -fdiagnostics-show-option \
18         -W -Wextra -Wno-sign-compare -Wno-unused-parameter \
19         -Werror
20 LDFLAGS+=-lmd
21
22 .if ${MACHINE_CPUARCH} == "amd64"
23 beforedepend zfsboottest.o: machine
24 CLEANFILES+=    machine
25 machine:
26         ln -sf ${.CURDIR}/../../../sys/i386/include machine
27 .endif
28
29 .include <bsd.prog.mk>