Print this page
10080 smatch Makefile changes for usr/src/cmd
*** 22,32 ****
#
#
# Copyright 2010 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
! #
XLATEDIR = $(SRC)/lib/libbsm/common
PROG = praudit
SRCS = format.c main.c token.c toktable.c printaudit.c prio.c $(XLATEDIR)/adt_xlate.c
--- 22,32 ----
#
#
# Copyright 2010 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
! # Copyright (c) 2018, Joyent, Inc.
XLATEDIR = $(SRC)/lib/libbsm/common
PROG = praudit
SRCS = format.c main.c token.c toktable.c printaudit.c prio.c $(XLATEDIR)/adt_xlate.c
*** 43,52 ****
--- 43,54 ----
CPPFLAGS += -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
CERRWARN += -_gcc=-Wno-parentheses
CERRWARN += -_gcc=-Wno-uninitialized
+ SMOFF += signed
+
LDLIBS += -lbsm -lnsl -lpam -ltsol
.KEEP_STATE:
all: $(PROG)