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

Split Close
Expand all
Collapse all
          --- old/usr/src/lib/fm/topo/libtopo/Makefile.com
          +++ new/usr/src/lib/fm/topo/libtopo/Makefile.com
↓ open down ↓ 75 lines elided ↑ open up ↑
  76   76  CLEANFILES += $(SRCDIR)/topo_error.c $(SRCDIR)/topo_tables.c
  77   77  
  78   78  CPPFLAGS += -I../common -I$(ADJUNCT_PROTO)/usr/include/libxml2 -I.
  79   79  CFLAGS += $(CCVERBOSE) $(C_BIGPICFLAGS)
  80   80  CFLAGS += -D_POSIX_PTHREAD_SEMANTICS
  81   81  CFLAGS64 += $(CCVERBOSE) $(C_BIGPICFLAGS)
  82   82  CERRWARN += -_gcc=-Wno-uninitialized
  83   83  CERRWARN += -_gcc=-Wno-switch
  84   84  CERRWARN += -_gcc=-Wno-parentheses
  85   85  
       86 +# not linted
       87 +SMATCH=off
       88 +
  86   89  LINTFLAGS = -msux
  87   90  LINTFLAGS64 = -msux -m64
  88   91  
  89   92  $(DYNLIB)  := LDLIBS += \
  90   93          -lnvpair -lelf -lumem -lxml2 -lkstat -luuid -ldevinfo \
  91   94          -lsmbios -lc -ldevid -lipmi -lscf -lpcidb
  92   95  
  93   96  $(LINTLIB) := SRCS = $(SRCDIR)/$(LINTSRC)
  94   97  $(LINTLIB) := LINTFLAGS = -nsvx
  95   98  $(LINTLIB) := LINTFLAGS64 = -nsvx -m64
↓ open down ↓ 29 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX