Print this page
10080 smatch Makefile changes for usr/src/cmd
*** 20,32 ****
#
#
# Copyright 2007 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
! #ident "%Z%%M% %I% %E% SMI"
! #
! # cmd/pools/poolbind/Makefile
PROG = poolcfg
OBJS = poolcfg_lex.o poolcfg_grammar.o
SRCS = $(OBJS:%.o=%.c) $(COMMON_SRCS)
POFILES = $(OBJS:.o=.po)
--- 20,30 ----
#
#
# Copyright 2007 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
! # Copyright (c) 2018, Joyent, Inc.
PROG = poolcfg
OBJS = poolcfg_lex.o poolcfg_grammar.o
SRCS = $(OBJS:%.o=%.c) $(COMMON_SRCS)
POFILES = $(OBJS:.o=.po)
*** 47,56 ****
--- 45,57 ----
LDFLAGS += $(MAPOPTS)
LDLIBS += -lpool -ll
XGETFLAGS = -a
CLOBBERFILES += poolcfg_lex.c poolcfg_grammar.c poolcfg_grammar.h
+ # not linted
+ SMATCH=off
+
.KEEP_STATE:
all: $(PROG)
$(PROG): $(OBJS) $(COMMON_OBJS) $(MAPFILES)