b819cea2f73f98c5662230cc9affc8cc84f77fcfGordon Ross# This file and its contents are supplied under the terms of the
b819cea2f73f98c5662230cc9affc8cc84f77fcfGordon Ross# Common Development and Distribution License ("CDDL"), version 1.0.
b819cea2f73f98c5662230cc9affc8cc84f77fcfGordon Ross# You may only use this file in accordance with the terms of version
b819cea2f73f98c5662230cc9affc8cc84f77fcfGordon Ross# 1.0 of the CDDL.
b819cea2f73f98c5662230cc9affc8cc84f77fcfGordon Ross# A full copy of the text of the CDDL should have accompanied this
b819cea2f73f98c5662230cc9affc8cc84f77fcfGordon Ross# source. A copy of the CDDL is also available via the Internet at
b819cea2f73f98c5662230cc9affc8cc84f77fcfGordon Ross# Copyright 2013 Nexenta Systems, Inc. All rights reserved.
b819cea2f73f98c5662230cc9affc8cc84f77fcfGordon Ross# Note: need our sys includes _before_ ENVCPPFLAGS, proto etc.
b819cea2f73f98c5662230cc9affc8cc84f77fcfGordon Ross# Could make this $(NOT_RELEASE_BUILD) but as the main purpose of
b819cea2f73f98c5662230cc9affc8cc84f77fcfGordon Ross# this library is for debugging, let's always define DEBUG here.
b819cea2f73f98c5662230cc9affc8cc84f77fcfGordon RossLINTCHECKFLAGS += -erroff=E_INCONS_VAL_TYPE_DECL2