2010-03-22 23:42:18 +00:00
|
|
|
DEFAULT_INCLUDES = -include ${top_srcdir}/zfs_config.h
|
2008-12-16 16:58:41 +00:00
|
|
|
|
2008-12-18 21:57:27 +00:00
|
|
|
# FIXME: Add -Wshadow once everything is working
|
2009-03-12 17:55:56 +00:00
|
|
|
AM_CFLAGS = -Wall -Wstrict-prototypes -fno-strict-aliasing -Werror
|
2008-12-11 21:54:57 +00:00
|
|
|
|
|
|
|
# Expected defines not covered by zfs_config.h or spl_config.h
|
2008-12-12 18:57:05 +00:00
|
|
|
AM_CFLAGS += -D_GNU_SOURCE -D__EXTENSIONS__ -D_REENTRANT
|
2008-12-12 18:15:59 +00:00
|
|
|
AM_CFLAGS += -D_POSIX_PTHREAD_SEMANTICS -D_FILE_OFFSET_BITS=64
|
2008-12-12 18:57:05 +00:00
|
|
|
AM_CFLAGS += -D_LARGEFILE64_SOURCE -DTEXT_DOMAIN=\"zfs-linux-user\"
|