]>
Commit | Line | Data |
---|---|---|
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 | 6 | DEFAULT_INCLUDES = -include ${top_builddir}/zfs_config.h |
c9c0d073 BB |
7 | |
8 | AM_LIBTOOLFLAGS = --silent | |
fed90353 BB |
9 | |
10 | AM_CFLAGS = -std=gnu99 -Wall -Wstrict-prototypes -fno-strict-aliasing | |
11 | AM_CFLAGS += $(DEBUG_CFLAGS) | |
12 | AM_CFLAGS += $(ASAN_CFLAGS) | |
acf04442 | 13 | AM_CFLAGS += $(CODE_COVERAGE_CFLAGS) |
fed90353 BB |
14 | |
15 | AM_CPPFLAGS = -D_GNU_SOURCE | |
16 | AM_CPPFLAGS += -D_REENTRANT | |
17 | AM_CPPFLAGS += -D_FILE_OFFSET_BITS=64 | |
18 | AM_CPPFLAGS += -D_LARGEFILE64_SOURCE | |
19 | AM_CPPFLAGS += -DHAVE_LARGE_STACKS=1 | |
b58986ee | 20 | AM_CPPFLAGS += -DTEXT_DOMAIN=\"zfs-linux-user\" |
07917db9 CD |
21 | AM_CPPFLAGS += -DLIBEXECDIR=\"$(libexecdir)\" |
22 | AM_CPPFLAGS += -DRUNSTATEDIR=\"$(runstatedir)\" | |
23 | AM_CPPFLAGS += -DSBINDIR=\"$(sbindir)\" | |
24 | AM_CPPFLAGS += -DSYSCONFDIR=\"$(sysconfdir)\" | |
fed90353 | 25 | AM_CPPFLAGS += $(DEBUG_CPPFLAGS) |
acf04442 | 26 | AM_CPPFLAGS += $(CODE_COVERAGE_CPPFLAGS) |
fed90353 BB |
27 | |
28 | AM_LDFLAGS = $(DEBUG_LDFLAGS) | |
29 | AM_LDFLAGS += $(ASAN_LDFLAGS) |