]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - sys/contrib/openzfs/cmd/ztest/Makefile.am
ZFS: MFV 2.0-rc1-ga00c61
[FreeBSD/FreeBSD.git] / sys / contrib / openzfs / cmd / ztest / Makefile.am
1 include $(top_srcdir)/config/Rules.am
2
3 # Get rid of compiler warning for unchecked truncating snprintfs on gcc 7.1.1
4 AM_CFLAGS += $(NO_FORMAT_TRUNCATION)
5
6 # Includes kernel code, generate warnings for large stack frames
7 AM_CFLAGS += $(FRAME_LARGER_THAN)
8
9 # Unconditionally enable ASSERTs
10 AM_CPPFLAGS += -DDEBUG -UNDEBUG -DZFS_DEBUG
11
12 sbin_PROGRAMS = ztest
13
14 ztest_SOURCES = \
15         ztest.c
16
17 ztest_LDADD = \
18         $(abs_top_builddir)/lib/libzpool/libzpool.la \
19         $(abs_top_builddir)/lib/libzfs_core/libzfs_core.la \
20         $(abs_top_builddir)/lib/libnvpair/libnvpair.la
21
22 ztest_LDADD += -lm
23 ztest_LDFLAGS = -pthread