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

*** 20,29 **** --- 20,30 ---- # # # Copyright 2009 Sun Microsystems, Inc. All rights reserved. # Use is subject to license terms. # + # Copyright (c) 2018, Joyent, Inc. PROG= ikeadm ipsecalgs ipsecconf ipseckey ikecert SOCKETPROG= ipsecalgs ipsecconf ipseckey TSOLPROG= ipseckey SRCS= ikeadm.c ipsecalgs.c ipsecconf.c ipseckey.c
*** 57,66 **** --- 58,70 ---- CPPFLAGS += -DSYSV -DBSD_COMP -I$(CMDINETCOMMONDIR) -I. CERRWARN += -_gcc=-Wno-parentheses CERRWARN += -_gcc=-Wno-uninitialized CERRWARN += -_gcc=-Wno-switch + # not linted + SMATCH=off + CFLAGS += $(XSTRCONST) LDLIBS += -lipsecutil -lnsl LAZYLIBS = $(ZLAZYLOAD) -ltsol $(ZNOLAZYLOAD) lint := LAZYLIBS = -ltsol