Print this page
new smatch
*** 20,29 ****
--- 20,31 ----
#
#
# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
+ # Copyright 2019 Joyent, Inc.
+ #
LIBRARY= libdat.a
VERS= .1
OBJECTS = \
*** 38,66 ****
udat_api.o \
udat_sr_parser.o
include ../../../Makefile.lib
! LIBS = $(DYNLIB) $(LINTLIB)
LDLIBS += -lc
SRCDIR = ../common
CPPFLAGS += -I../include
CFLAGS += $(CCVERBOSE)
- LINTFLAGS += -DDEBUG
- LINTFLAGS64 += -DDEBUG
- $(LINTLIB):= SRCS = $(SRCDIR)/$(LINTSRC)
CERRWARN += -_gcc=-Wno-type-limits
$(NOT_RELEASE_BUILD)CPPFLAGS += -DDEBUG
.KEEP_STATE:
all: $(LIBS)
debug: all
- lint: lintcheck
-
include ../../../Makefile.targ
--- 40,66 ----
udat_api.o \
udat_sr_parser.o
include ../../../Makefile.lib
! LIBS = $(DYNLIB)
LDLIBS += -lc
SRCDIR = ../common
CPPFLAGS += -I../include
CFLAGS += $(CCVERBOSE)
CERRWARN += -_gcc=-Wno-type-limits
+ # false positive
+ SMOFF += signed
+
$(NOT_RELEASE_BUILD)CPPFLAGS += -DDEBUG
.KEEP_STATE:
all: $(LIBS)
debug: all
include ../../../Makefile.targ