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

Split Close
Expand all
Collapse all
          --- old/usr/src/cmd/power/Makefile
          +++ new/usr/src/cmd/power/Makefile
↓ open down ↓ 14 lines elided ↑ open up ↑
  15   15  # If applicable, add the following below this CDDL HEADER, with the
  16   16  # fields enclosed by brackets "[]" replaced with your own identifying
  17   17  # information: Portions Copyright [yyyy] [name of copyright owner]
  18   18  #
  19   19  # CDDL HEADER END
  20   20  #
  21   21  #
  22   22  # Copyright 2009 Sun Microsystems, Inc.  All rights reserved.
  23   23  # Use is subject to license terms.
  24   24  #
  25      -# cmd/power/Makefile
  26      -#
       25 +# Copyright (c) 2018, Joyent, Inc.
  27   26  
  28   27  DAEMON_SRCS =   powerd.c sysstat.c
  29   28  DAEMON_OBJS =   $(DAEMON_SRCS:%.c=%.o)
  30   29  DAEMON =        powerd
  31   30  PMCFG_SRCS =    conf.c parse.c handlers.c
  32   31  PMCFG_OBJS =    $(PMCFG_SRCS:%.c=%.o)
  33   32  PMCFG =         pmconfig
  34   33  SUSPEND_SRCS =  sys-suspend.c pm_pam_conv.c
  35   34  SUSPEND_OBJS =  $(SUSPEND_SRCS:%.c=%.o)
  36   35  SUSPEND =       sys-suspend
↓ open down ↓ 31 lines elided ↑ open up ↑
  68   67  ROOTUSRSBINPMCFG= $(PMCFG:%=$(ROOTUSRSBIN)/%)
  69   68  $(ROOTUSRSBINPMCFG) := FILEMODE= 4555
  70   69  ROOTUSRBINSUSPEND= $(SUSPEND:%=$(ROOTBIN)/%)
  71   70  $(ROOTUSRBINSUSPEND) := FILEMODE= 4555
  72   71  
  73   72  ROOTLIBPOWER= $(ROOTLIB)/power
  74   73  ROOTLIBPOWERDAEMON= $(DAEMON:%=$(ROOTLIBPOWER)/%)
  75   74  $(ROOTLIBPOWER) := FILEMODE= 755
  76   75  $(ROOTLIBPOWERDAEMON) := FILEMODE= 555
  77   76  
  78      -ROOTETCFILES= $(ETCFILES:%=$(ROOTETC)/%) 
  79      -$(ROOTETCFILES) := FILEMODE= 644 
       77 +ROOTETCFILES= $(ETCFILES:%=$(ROOTETC)/%)
       78 +$(ROOTETCFILES) := FILEMODE= 644
  80   79  
  81   80  #
  82   81  # lint pass one enforcement
  83   82  #
  84   83  CFLAGS += $(CCVERBOSE)
  85   84  
       85 +SMOFF += signed
       86 +
  86   87  .PARALLEL: $(OBJS)
  87   88  
  88   89  .KEEP_STATE:
  89   90  
  90   91  all: $(PROG) $(POWERPERM).dfl $(ETCFILES)
  91   92  
  92   93  install clean:
  93   94  
  94   95  $(POWERCONF): $(POWERCONF).$(MACH)
  95   96  
↓ open down ↓ 54 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX