Print this page
10079 smatch Makefile changes for usr/src/lib

*** 22,31 **** --- 22,32 ---- # Copyright 2010 Sun Microsystems, Inc. All rights reserved. # Use is subject to license terms. # # Copyright 2013 Nexenta Systems, Inc. All rights reserved. # + # Copyright (c) 2018, Joyent, Inc. LIBRARY = libshare_smb.a VERS = .1 SMBMLSVC_DIR = $(SRC)/lib/smbsrv/libmlsvc/common SMBBASE_DIR = $(SRC)/lib/smbsrv/libsmb/common
*** 48,57 **** --- 49,62 ---- LDLIBS += -lshare -lscf -luuid -ldlpi -lnsl -lnvpair -lxml2 -lumem -lc CFLAGS += $(CCVERBOSE) CERRWARN += -_gcc=-Wno-char-subscripts CERRWARN += -_gcc=-Wno-switch + + # not linted + SMATCH=off + CPPFLAGS += -D_REENTRANT -I$(ADJUNCT_PROTO)/usr/include/libxml2 \ -I$(SRCDIR)/../common $(ENABLE_SMB_PRINTING) CPPFLAGS += -DHAVE_CUPS .KEEP_STATE: