Print this page
    
10076 make usr/src/test smatch clean
    
      
        | Split | Close | 
      | Expand all | 
      | Collapse all | 
    
    
          --- old/usr/src/test/libc-tests/tests/select/Makefile
          +++ new/usr/src/test/libc-tests/tests/select/Makefile
   1    1  #
   2    2  # This file and its contents are supplied under the terms of the
  
    | ↓ open down ↓ | 2 lines elided | ↑ open up ↑ | 
   3    3  # Common Development and Distribution License ("CDDL"), version 1.0.
   4    4  # You may only use this file in accordance with the terms of version
   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  # Copyright 2016, Richard Lowe.
       13 +# Copyright (c) 2018, Joyent, Inc.
  13   14  
  14   15  include $(SRC)/Makefile.master
  15   16  include $(SRC)/Makefile.master.64
  16   17  include $(SRC)/cmd/Makefile.cmd
  17   18  include $(SRC)/cmd/Makefile.cmd.64
  18   19  
  19   20  ROOTOPTPKG = $(ROOT)/opt/libc-tests
  20   21  TESTDIR = $(ROOTOPTPKG)/tests/select
  21   22  ROOTBINDIR = $(ROOTOPTPKG)/bin
  22   23  
  23   24  PROGS= select_test
  24   25  
  25   26  CSTD= $(CSTD_GNU99)
  26   27  
       28 +# needs work
       29 +SMOFF += all_func_returns
       30 +
  27   31  select_test: select_test.c
  28   32          $(LINK64.c) -o $@ select_test.c $(LDLIBS64)
  29   33          $(POST_PROCESS)
  30   34  
  31   35  SCRIPTS=select.sh
  32   36  CMDS = $(PROGS:%=$(TESTDIR)/%) $(SCRIPTS:%=$(TESTDIR)/%)
  33   37  
  34   38  $(SCRIPTS) $(CMDS) := FILEMODE = 0555
  35   39  
  36   40  $(CMDS): $(TESTDIR) $(PROGS)
  37   41  
  38   42  all: $(PROGS)
  39   43  
  40   44  clean:
  41   45  
  42   46  clobber: clean
  43   47          -$(RM) $(PROGS)
  44   48  
  45   49  install: all $(CMDS)
  46   50  
  47   51  lint:
  48   52  
  49   53  $(ROOTBINDIR):
  50   54          $(INS.dir)
  51   55  
  52   56  $(ROOTBINDIR)/%: %
  53   57          $(INS.file)
  54   58  
  55   59  $(TESTDIR):
  56   60          $(INS.dir)
  57   61  
  58   62  $(TESTDIR)/%: %
  59   63          $(INS.file)
  60   64  
  61   65  $(TESTDIR)/%: %
  62   66          $(INS.file)
  63   67  
  64   68  .KEEP_STATE:
  
    | ↓ open down ↓ | 28 lines elided | ↑ open up ↑ | 
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX