Print this page
10080 smatch Makefile changes for usr/src/cmd
@@ -23,10 +23,11 @@
# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
# Copyright 2015 RackTop Systems.
#
+# Copyright (c) 2018, Joyent, Inc.
PROGS = adbgen1 adbgen3 adbgen4
OBJS = adbsub.o
SCRIPTS = adbgen
@@ -34,11 +35,15 @@
.PARALLEL: $(PROGS) $(OBJS) $(SCRIPTS)
.KEEP_STATE:
include ../../Makefile.cmd
+include ../../Makefile.targ
+# not linted
+SMATCH=off
+
ROOTADBDIR32 = $(ROOT)/usr/lib/adb
ROOTADBDIR64 = $(ROOT)/usr/lib/adb/$(MACH64)
ROOTADBDIR = $(ROOTADBDIR32)
ROOTPROGS = $(PROGS:%=$(ROOTADBDIR)/%)
@@ -75,7 +80,5 @@
$(ROOTADBDIR32):
$(INS.dir)
$(ROOTADBDIR64): $(ROOTADBDIR32)
$(INS.dir)
-
-include ../../Makefile.targ