Print this page
10076 make usr/src/test smatch clean

Split Close
Expand all
Collapse all
          --- old/usr/src/test/os-tests/tests/sockfs/Makefile
          +++ new/usr/src/test/os-tests/tests/sockfs/Makefile
↓ open down ↓ 4 lines elided ↑ open up ↑
   5    5  # 1.0 of the CDDL.
   6    6  #
   7    7  # A full copy of the text of the CDDL should have accompanied this
   8    8  # source.  A copy of the CDDL is also available via the Internet at
   9    9  # http://www.illumos.org/license/CDDL.
  10   10  #
  11   11  
  12   12  #
  13   13  # Copyright (c) 2012 by Delphix. All rights reserved.
  14   14  # Copyright 2017 Gordon W. Ross
       15 +# Copyright (c) 2018, Joyent, Inc.
  15   16  #
  16   17  
  17   18  include $(SRC)/cmd/Makefile.cmd
  18   19  include $(SRC)/test/Makefile.com
  19   20  
  20   21  PROG = conn dgram drop_priv nosignal sockpair
  21   22  
  22   23  LINTS = $(PROGS:%=%.ln)
  23   24  
  24   25  LDLIBS += -lsocket
  25   26  CSTD = $(CSTD_GNU99)
  26   27  CPPFLAGS += -D_XOPEN_SOURCE=600 -D__EXTENSIONS__
  27   28  
       29 +# needs work
       30 +SMOFF += all_func_returns
       31 +
  28   32  nosignal := LDLIBS += -lnsl
  29   33  nosignal.ln := LDLIBS += -lnsl
  30   34  
  31   35  ROOTOPTPKG = $(ROOT)/opt/os-tests
  32   36  TESTDIR = $(ROOTOPTPKG)/tests/sockfs
  33   37  
  34   38  CMDS = $(PROG:%=$(TESTDIR)/%)
  35   39  $(CMDS) := FILEMODE = 0555
  36   40  
  37   41  all: $(PROG)
↓ open down ↓ 20 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX