Print this page
11506 smatch resync

*** 20,40 **** # # # Copyright 2009 Sun Microsystems, Inc. All rights reserved. # Use is subject to license terms. # # # Path to the base of the uts directory tree (usually /usr/src/uts). # UTSBASE = ../.. # # Define the module and object file sets. # MODULE = simnet OBJECTS = $(SIMNET_OBJS:%=$(OBJS_DIR)/%) - LINTS = $(SIMNET_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE) CONF_SRCDIR = $(UTSBASE)/common/io/$(MODULE) # # Include common rules. --- 20,42 ---- # # # Copyright 2009 Sun Microsystems, Inc. All rights reserved. # Use is subject to license terms. # + # Copyright 2019 Joyent, Inc. # + + # # Path to the base of the uts directory tree (usually /usr/src/uts). # UTSBASE = ../.. # # Define the module and object file sets. # MODULE = simnet OBJECTS = $(SIMNET_OBJS:%=$(OBJS_DIR)/%) ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE) CONF_SRCDIR = $(UTSBASE)/common/io/$(MODULE) # # Include common rules.
*** 43,53 **** # # Define targets # ALL_TARGET = $(BINARY) $(SRC_CONFILE) - LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE) # # Overrides # --- 45,54 ----
*** 54,63 **** --- 55,67 ---- CFLAGS += $(CCVERBOSE) LDFLAGS += -dy -Ndrv/dld -Nmisc/mac -Nmisc/dls -Ndrv/random CERRWARN += -_gcc=-Wno-switch + # needs work + $(OBJS_DIR)/simnet.o := SMOFF += index_overflow + # # Default build targets. # .KEEP_STATE:
*** 67,82 **** clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) - lint: $(LINT_DEPS) - - modlintlib: $(MODLINTLIB_DEPS) - - clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) # # Include common targets. # --- 71,80 ----