Print this page
NEX-5204 silence lint and studio warnings that only occur with an adjunct proto
Reviewed by: Josef 'Jeff' Sipek <josef.sipek@nexenta.com>

Split Close
Expand all
Collapse all
          --- old/usr/src/lib/policykit/Makefile.com
          +++ new/usr/src/lib/policykit/Makefile.com
↓ open down ↓ 21 lines elided ↑ open up ↑
  22   22  # Copyright 2006 Sun Microsystems, Inc.  All rights reserved.
  23   23  # Use is subject to license terms.
  24   24  #
  25   25  
  26   26  include $(SRC)/lib/Makefile.lib
  27   27  include $(SRC)/lib/policykit/Makefile.policykit
  28   28  
  29   29  CPPFLAGS =      $(POLICYKIT_DBUS_CPPFLAGS) $(POLICYKIT_GLIB_CPPFLAGS) $(CPPFLAGS.master)
  30   30  
  31   31  CERRWARN +=     -_gcc=-Wno-unused-variable
       32 +CERRWARN +=     -_cc=-errhdr=no%$(ADJUNCT_PROTO)/usr/include/glib-2.0
  32   33  
  33   34  CSTD =  $(CSTD_GNU99)
  34   35  
  35   36  ROOTLIBPCDIR =  $(ROOT)/usr/lib/pkgconfig
  36   37  ROOTLIBPC =     $(LIBPCSRC:%=$(ROOTLIBPCDIR)/%)
  37   38  
  38   39  CLOBBERFILES += $(LIBPCSRC)
  39   40  
  40   41  #
  41   42  # Ensure `all' is the default target.
↓ open down ↓ 13 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX