]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - cmd/ztest/Makefile.am
Fix ztest deadlock in ztest_zil_remount()
[FreeBSD/FreeBSD.git] / 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
11
12 DEFAULT_INCLUDES += \
13         -I$(top_srcdir)/include \
14         -I$(top_srcdir)/lib/libspl/include
15
16 sbin_PROGRAMS = ztest
17
18 ztest_SOURCES = \
19         ztest.c
20
21 ztest_LDADD = \
22         $(top_builddir)/lib/libnvpair/libnvpair.la \
23         $(top_builddir)/lib/libzpool/libzpool.la
24
25 ztest_LDADD += -lm
26 ztest_LDFLAGS = -pthread