Print this page
gag Studio warnings that only occur with an adjunct proto
Studio has no equivalent to -isystem, and no option to its -errhdr that
seems equivalent.  As such, we have to gag the warnings that are induced
from the 3rd party headers when those headers are found via the adjunct,
as they will not match Studio's seemingly hard-coded exception on
`/usr/include`


  13 # When distributing Covered Code, include this CDDL HEADER in each
  14 # file and include the License file at usr/src/OPENSOLARIS.LICENSE.
  15 # If applicable, add the following below this CDDL HEADER, with the
  16 # fields enclosed by brackets "[]" replaced with your own identifying
  17 # information: Portions Copyright [yyyy] [name of copyright owner]
  18 #
  19 # CDDL HEADER END
  20 #
  21 #
  22 # Copyright 2006 Sun Microsystems, Inc.  All rights reserved.
  23 # Use is subject to license terms.
  24 #
  25 
  26 include $(SRC)/lib/Makefile.lib
  27 include $(SRC)/lib/policykit/Makefile.policykit
  28 
  29 CPPFLAGS =      $(POLICYKIT_DBUS_CPPFLAGS) $(POLICYKIT_GLIB_CPPFLAGS) $(CPPFLAGS.master)
  30 
  31 CERRWARN +=     -_gcc=-Wno-unused-variable
  32 




  33 C99MODE =       $(C99_ENABLE)
  34 
  35 ROOTLIBPCDIR =  $(ROOT)/usr/lib/pkgconfig
  36 ROOTLIBPC =     $(LIBPCSRC:%=$(ROOTLIBPCDIR)/%)
  37 
  38 CLOBBERFILES += $(LIBPCSRC)
  39 
  40 #
  41 # Ensure `all' is the default target.
  42 #
  43 all:
  44 
  45 $(ROOTLIBPCDIR):
  46         $(INS.dir)
  47 
  48 $(ROOTLIBPC): $(ROOTLIBPCDIR) $(LIBPCSRC)
  49         $(INS.file) $(LIBPCSRC)
  50 
  51 $(LIBPCSRC): ../common/$(LIBPCSRC).in
  52         $(SED)  -e "s@__VERSION__@$(POLICYKIT_VERSION)@" \


  13 # When distributing Covered Code, include this CDDL HEADER in each
  14 # file and include the License file at usr/src/OPENSOLARIS.LICENSE.
  15 # If applicable, add the following below this CDDL HEADER, with the
  16 # fields enclosed by brackets "[]" replaced with your own identifying
  17 # information: Portions Copyright [yyyy] [name of copyright owner]
  18 #
  19 # CDDL HEADER END
  20 #
  21 #
  22 # Copyright 2006 Sun Microsystems, Inc.  All rights reserved.
  23 # Use is subject to license terms.
  24 #
  25 
  26 include $(SRC)/lib/Makefile.lib
  27 include $(SRC)/lib/policykit/Makefile.policykit
  28 
  29 CPPFLAGS =      $(POLICYKIT_DBUS_CPPFLAGS) $(POLICYKIT_GLIB_CPPFLAGS) $(CPPFLAGS.master)
  30 
  31 CERRWARN +=     -_gcc=-Wno-unused-variable
  32 
  33 # This is, unfortunately, from the glib headers.  Studio provides no
  34 # equivalent to -isystem
  35 CERRWARN +=     -_cc=-erroff=E_INTEGER_OVERFLOW_DETECTED
  36 
  37 C99MODE =       $(C99_ENABLE)
  38 
  39 ROOTLIBPCDIR =  $(ROOT)/usr/lib/pkgconfig
  40 ROOTLIBPC =     $(LIBPCSRC:%=$(ROOTLIBPCDIR)/%)
  41 
  42 CLOBBERFILES += $(LIBPCSRC)
  43 
  44 #
  45 # Ensure `all' is the default target.
  46 #
  47 all:
  48 
  49 $(ROOTLIBPCDIR):
  50         $(INS.dir)
  51 
  52 $(ROOTLIBPC): $(ROOTLIBPCDIR) $(LIBPCSRC)
  53         $(INS.file) $(LIBPCSRC)
  54 
  55 $(LIBPCSRC): ../common/$(LIBPCSRC).in
  56         $(SED)  -e "s@__VERSION__@$(POLICYKIT_VERSION)@" \