Print this page
10080 smatch Makefile changes for usr/src/cmd

Split Close
Expand all
Collapse all
          --- old/usr/src/cmd/cmd-inet/usr.bin/dns-sd/Makefile
          +++ new/usr/src/cmd/cmd-inet/usr.bin/dns-sd/Makefile
↓ open down ↓ 3 lines elided ↑ open up ↑
   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  #
  13   13  # Copyright 2016 Toomas Soome <tsoome@me.com>
       14 +# Copyright (c) 2018, Joyent, Inc.
  14   15  #
  15   16  
  16      -# cmd/cmd-inet/usr.bin/dns-sd/Makefile
  17      -
  18   17  PROG=           dns-sd
  19   18  
  20   19  include ../../../Makefile.cmd
  21   20  include ../../Makefile.cmd-inet
  22   21  
  23   22  OBJS=           ClientCommon.o dns-sd.o
  24   23  SRCS=           ClientCommon.c dns-sd.c
  25   24  
  26   25  CFLAGS += $(CSTD_GNU99)
  27   26  CPPFLAGS += -DMDNS_VERSIONSTR_NODTS
  28   27  LDLIBS += -lsocket -ldns_sd
  29   28  
       29 +# not linted
       30 +SMATCH=off
       31 +
  30   32  .KEEP_STATE:
  31   33  
  32   34  all: $(PROG)
  33   35  
  34   36  ROOTPROG=   $(PROG:%=$(ROOTBIN)/%)
  35   37  
  36   38  $(PROG): $(OBJS)
  37   39          $(LINK.c) $(OBJS) -o $@ $(LDLIBS)
  38   40          $(POST_PROCESS)
  39   41  
  40   42  install: all $(ROOTPROG)
  41   43  
  42   44  clean:
  43   45          $(RM) $(OBJS)
  44   46  
  45   47  lint:  lint_SRCS
  46   48  
  47   49  include ../../../Makefile.targ
    
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX