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

Split Close
Expand all
Collapse all
          --- old/usr/src/cmd/ndmpstat/Makefile
          +++ new/usr/src/cmd/ndmpstat/Makefile
   1    1  #
   2    2  # Copyright 2008 Sun Microsystems, Inc.  All rights reserved.
   3    3  # Use is subject to license terms.
   4    4  #
        5 +# Copyright (c) 2018, Joyent, Inc.
        6 +#
   5    7  
   6    8  #
   7    9  # BSD 3 Clause License
   8   10  #
   9   11  # Copyright (c) 2007, The Storage Networking Industry Association.
  10   12  #
  11   13  # Redistribution and use in source and binary forms, with or without
  12   14  # modification, are permitted provided that the following conditions
  13   15  # are met:
  14   16  #       - Redistributions of source code must retain the above copyright
↓ open down ↓ 25 lines elided ↑ open up ↑
  40   42  include ../Makefile.cmd
  41   43  
  42   44  PROG=           ndmpstat
  43   45  OBJS=           ndmpstat_main.o
  44   46  SRCS =          $(OBJS:.o=.c)
  45   47  POFILES=        ndmpstat_main.po
  46   48  POFILE=         ndmpstat.po
  47   49  
  48   50  LDLIBS += -lndmp
  49   51  
       52 +SMOFF += signed
       53 +
  50   54  .KEEP_STATE:
  51   55  
  52   56  all: $(PROG)
  53   57  
  54   58  $(PROG): $(OBJS)
  55   59          $(LINK.c) -o $@ $(OBJS) $(LDLIBS)
  56   60          $(POST_PROCESS)
  57   61  
  58   62  install: all $(ROOTUSRSBINPROG)
  59   63  
  60   64  $(POFILE): $(POFILES)
  61   65          $(RM) $@
  62   66          $(CAT) $(POFILES) > $@
  63   67  
  64   68  clean:
  65   69          $(RM) $(OBJS) $(POFILES)
  66   70  
  67   71  lint:   lint_SRCS
  68   72  
  69   73  include ../Makefile.targ
    
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX