Print this page
10080 smatch Makefile changes for usr/src/cmd
@@ -21,12 +21,11 @@
# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
# Copyright (c) 2013 RackTop Systems.
#
-# cmd/oamuser/group/Makefile
-#
+# Copyright (c) 2018, Joyent, Inc.
include ../../Makefile.cmd
GROUPADD= groupadd
GROUPDEL= groupdel
@@ -52,10 +51,13 @@
INSSBINPROG= $(SBINPROG:%=$(ROOTUSRSBIN)/%)
CPPFLAGS= -I$(HERE) -I$(LOCAL) $(CPPFLAGS.master)
FILEMODE= 0555
+# not linted
+SMATCH=off
+
$(GROUPADD) := OBJS = $(ADD_OBJ)
$(GROUPADD) := LDLIBS += $(LIBUSRGRP) -lcmdutils
$(GROUPDEL) := OBJS = $(DEL_OBJ)
$(GROUPDEL) := LDLIBS += $(LIBUSRGRP)