diff options
Diffstat (limited to 'usr/src/lib/libshare')
-rw-r--r-- | usr/src/lib/libshare/Makefile.com | 5 | ||||
-rw-r--r-- | usr/src/lib/libshare/autofs/Makefile.com | 8 | ||||
-rw-r--r-- | usr/src/lib/libshare/nfs/Makefile.com | 4 | ||||
-rw-r--r-- | usr/src/lib/libshare/smb/Makefile.com | 5 |
4 files changed, 20 insertions, 2 deletions
diff --git a/usr/src/lib/libshare/Makefile.com b/usr/src/lib/libshare/Makefile.com index 509ba0c662..3628432a6a 100644 --- a/usr/src/lib/libshare/Makefile.com +++ b/usr/src/lib/libshare/Makefile.com @@ -20,6 +20,7 @@ # # Copyright (c) 2006, 2010, Oracle and/or its affiliates. All rights reserved. # Copyright (c) 2016 by Delphix. All rights reserved. +# Copyright (c) 2018, Joyent, Inc. # LIBRARY = libshare.a VERS = .1 @@ -47,6 +48,10 @@ CSTD += $(CSTD_GNU99) CERRWARN += -_gcc=-Wno-parentheses CERRWARN += -_gcc=-Wno-uninitialized CERRWARN += -_gcc=-Wno-switch + +# not linted +SMATCH=off + CPPFLAGS += -D_REENTRANT -I$(NFSLIB_DIR) \ -I$(ADJUNCT_PROTO)/usr/include/libxml2 diff --git a/usr/src/lib/libshare/autofs/Makefile.com b/usr/src/lib/libshare/autofs/Makefile.com index d110bf634a..0123923ddb 100644 --- a/usr/src/lib/libshare/autofs/Makefile.com +++ b/usr/src/lib/libshare/autofs/Makefile.com @@ -21,7 +21,7 @@ # # Copyright (c) 2010, Oracle and/or its affiliates. All rights reserved. # -# +# Copyright (c) 2018, Joyent, Inc. LIBRARY = libshare_autofs.a VERS = .1 @@ -49,6 +49,10 @@ CFLAGS += $(CCVERBOSE) CERRWARN += -_gcc=-Wno-switch CERRWARN += -_gcc=-Wno-unused-variable CERRWARN += -_gcc=-Wno-uninitialized + +# not linted +SMATCH=off + CPPFLAGS += -D_REENTRANT -I$(AUTOFSSMFLIB_DIR) \ -I$(ADJUNCT_PROTO)/usr/include/libxml2 \ -I$(SRCDIR)../common @@ -67,7 +71,7 @@ pics/%.o: $(AUTOFSSMFLIB_DIR)/%.c $(ROOTLIBDIR): $(INS.dir) - + $(ROOTLIBDIR64): $(INS.dir) diff --git a/usr/src/lib/libshare/nfs/Makefile.com b/usr/src/lib/libshare/nfs/Makefile.com index ed89b6d960..f6675414cf 100644 --- a/usr/src/lib/libshare/nfs/Makefile.com +++ b/usr/src/lib/libshare/nfs/Makefile.com @@ -22,6 +22,7 @@ # # Copyright (c) 2006, 2010, Oracle and/or its affiliates. All rights reserved. # +# Copyright (c) 2018, Joyent, Inc. LIBRARY = libshare_nfs.a VERS = .1 @@ -53,6 +54,9 @@ CERRWARN += -_gcc=-Wno-uninitialized CPPFLAGS += -D_REENTRANT -I$(NFSLIB_DIR) \ -I$(ADJUNCT_PROTO)/usr/include/libxml2 -I$(SRCDIR)/../common +# not linted +SMATCH=off + .KEEP_STATE: all: $(LIBS) diff --git a/usr/src/lib/libshare/smb/Makefile.com b/usr/src/lib/libshare/smb/Makefile.com index ea69f59b22..386ffc35de 100644 --- a/usr/src/lib/libshare/smb/Makefile.com +++ b/usr/src/lib/libshare/smb/Makefile.com @@ -24,6 +24,7 @@ # # Copyright 2013 Nexenta Systems, Inc. All rights reserved. # +# Copyright (c) 2018, Joyent, Inc. LIBRARY = libshare_smb.a VERS = .1 @@ -50,6 +51,10 @@ 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 |