Print this page
10079 smatch Makefile changes for usr/src/lib

Split Close
Expand all
Collapse all
          --- old/usr/src/lib/udapl/udapl_tavor/Makefile.com
          +++ new/usr/src/lib/udapl/udapl_tavor/Makefile.com
↓ 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  #
  23   23  # Copyright (c) 2009, 2010, Oracle and/or its affiliates. All rights reserved.
  24   24  #
       25 +# Copyright (c) 2018, Joyent, Inc.
  25   26  
  26      -LIBRARY=        udapl_tavor.a 
  27      -VERS=           .1 
       27 +LIBRARY=        udapl_tavor.a
       28 +VERS=           .1
  28   29  
  29   30  LOCOBJS =       \
  30   31          dapl_cno_create.o \
  31   32          dapl_cno_free.o \
  32   33          dapl_cno_modify_agent.o \
  33   34          dapl_cno_query.o \
  34   35          dapl_cno_util.o \
  35   36          dapl_cno_wait.o \
  36   37          dapl_cookie.o \
  37   38          dapl_cr_accept.o \
↓ open down ↓ 94 lines elided ↑ open up ↑
 132  133  include $(SRC)/lib/Makefile.lib
 133  134  
 134  135  LIBS =          $(DYNLIB)
 135  136  LDLIBS +=       -ldevinfo -lsocket -lnsl -ldat -lc -ldladm
 136  137  
 137  138  SRCDIR =        ../common
 138  139  TAVORSRCDIR =   ../tavor
 139  140  
 140  141  SRCS = $(LOCOBJS:%.o=$(SRCDIR)/%.c) $(TAVOROBJS:%.o=$(TAVORSRCDIR)/%.c)
 141  142  
 142      -CPPFLAGS +=     -I$(SRC)/lib/udapl/udapl_tavor/include 
      143 +CPPFLAGS +=     -I$(SRC)/lib/udapl/udapl_tavor/include
 143  144  CPPFLAGS +=     -I$(SRC)/lib/udapl/udapl_tavor/tavor
 144  145  CPPFLAGS +=     -I$(SRC)/uts/common/sys/ib/clients/daplt
 145  146  CPPFLAGS +=     -I$(SRC)/uts/common
 146  147  CPPFLAGS +=     -I$(SRC)/uts/common/sys/ib/clients
 147  148  CFLAGS +=       $(CCVERBOSE)
 148  149  LINTFLAGS +=    -DDAPL_DBG
 149  150  LINTFLAGS64 +=  -DDAPL_DBG
 150  151  
 151  152  CERRWARN +=     -_gcc=-Wno-parentheses
 152  153  CERRWARN +=     -_gcc=-Wno-uninitialized
 153  154  CERRWARN +=     -_gcc=-Wno-switch
 154  155  
      156 +# not linted
      157 +SMATCH=off
      158 +
 155  159  $(NOT_RELEASE_BUILD)CPPFLAGS += -DDAPL_DBG
 156  160  debug := COPTFLAG = -g
 157  161  debug := COPTFLAG64 = -g
 158  162  
 159  163  .KEEP_STATE:
 160  164  
 161  165  all: $(LIBS)
 162  166  
 163  167  debug: all
 164  168  
 165  169  lint: lintcheck
 166  170  
 167  171  pics/%.o: $(TAVORSRCDIR)/%.c
 168  172          $(COMPILE.c) -o $@ $<
 169  173          $(POST_PROCESS_O)
 170  174  
 171  175  include $(SRC)/lib/Makefile.targ
    
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX