Print this page
10080 smatch Makefile changes for usr/src/cmd

*** 21,32 **** # Copyright 2009 Sun Microsystems, Inc. All rights reserved. # Use is subject to license terms. # # Copyright (c) 2013 RackTop Systems. # ! # cmd/oamuser/group/Makefile ! # include ../../Makefile.cmd GROUPADD= groupadd GROUPDEL= groupdel --- 21,31 ---- # Copyright 2009 Sun Microsystems, Inc. All rights reserved. # Use is subject to license terms. # # Copyright (c) 2013 RackTop Systems. # ! # Copyright (c) 2018, Joyent, Inc. include ../../Makefile.cmd GROUPADD= groupadd GROUPDEL= groupdel
*** 52,61 **** --- 51,63 ---- 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)