]> git.proxmox.com Git - mirror_zfs.git/blame - config/Rules.am
Don't assume pthread_t is uint_t for portability
[mirror_zfs.git] / config / Rules.am
CommitLineData
fed90353
BB
1#
2# Default build rules for all user space components, every Makefile.am
3# should include these rules and override or extend them as needed.
4#
5
6283f55e 6DEFAULT_INCLUDES = -include ${top_builddir}/zfs_config.h
c9c0d073
BB
7
8AM_LIBTOOLFLAGS = --silent
fed90353
BB
9
10AM_CFLAGS = -std=gnu99 -Wall -Wstrict-prototypes -fno-strict-aliasing
11AM_CFLAGS += $(DEBUG_CFLAGS)
12AM_CFLAGS += $(ASAN_CFLAGS)
acf04442 13AM_CFLAGS += $(CODE_COVERAGE_CFLAGS)
fed90353
BB
14
15AM_CPPFLAGS = -D_GNU_SOURCE
16AM_CPPFLAGS += -D_REENTRANT
17AM_CPPFLAGS += -D_FILE_OFFSET_BITS=64
18AM_CPPFLAGS += -D_LARGEFILE64_SOURCE
19AM_CPPFLAGS += -DHAVE_LARGE_STACKS=1
b58986ee 20AM_CPPFLAGS += -DTEXT_DOMAIN=\"zfs-linux-user\"
07917db9
CD
21AM_CPPFLAGS += -DLIBEXECDIR=\"$(libexecdir)\"
22AM_CPPFLAGS += -DRUNSTATEDIR=\"$(runstatedir)\"
23AM_CPPFLAGS += -DSBINDIR=\"$(sbindir)\"
24AM_CPPFLAGS += -DSYSCONFDIR=\"$(sysconfdir)\"
fed90353 25AM_CPPFLAGS += $(DEBUG_CPPFLAGS)
acf04442 26AM_CPPFLAGS += $(CODE_COVERAGE_CPPFLAGS)
fed90353
BB
27
28AM_LDFLAGS = $(DEBUG_LDFLAGS)
29AM_LDFLAGS += $(ASAN_LDFLAGS)