Print this page
10148 hald should skip smatch checks


   5 # Common Development and Distribution License (the "License").
   6 # You may not use this file except in compliance with the License.
   7 #
   8 # You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
   9 # or http://www.opensolaris.org/os/licensing.
  10 # See the License for the specific language governing permissions
  11 # and limitations under the License.
  12 #
  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 2009 Sun Microsystems, Inc.  All rights reserved.
  23 # Use is subject to license terms.
  24 #


  25 # Definitions common for HAL code and consumers
  26 #
  27 
  28 HAL_VERSION =           0.5.8
  29 
  30 ROOTLIB_HAL =           $(ROOTLIB)/hal
  31 ROOTLIB_HAL_SCRIPTS =   $(ROOTLIB)/hal
  32 
  33 ROOT_HAL_FDI =          $(ROOT)/etc/hal/fdi
  34 
  35 HAL_USER =              daemon
  36 HAL_GROUP =             daemon
  37 
  38 # derived from the generated config.h
  39 HAL_CONFIG_CPPFLAGS =   -DPACKAGE_DATA_DIR=\"/usr/share\" \
  40                         -DPACKAGE_OLD_DATA_DIR=\"/usr/lib\" \
  41                         -DPACKAGE_BIN_DIR=\"/usr/bin\" \
  42                         -DPACKAGE_LIBEXEC_DIR=\"/usr/lib/hal\" \
  43                         -DPACKAGE_SCRIPT_DIR=\"/usr/lib/hal\" \
  44                         -DPACKAGE_LOCALSTATEDIR=\"/var\" \


  54                         -DHAL_USER=\"$(HAL_USER)\" \
  55                         -DHAL_GROUP=\"$(HAL_GROUP)\"
  56 
  57 HAL_DBUS_CPPFLAGS =     -DDBUS_API_SUBJECT_TO_CHANGE \
  58                         -DDBUS_SYSTEMD_DIR=\"/etc/dbus-1/system.d\" \
  59                         -I$(ADJUNCT_PROTO)/usr/include/dbus-1.0 \
  60                         -I$(ADJUNCT_PROTO)/usr/lib/dbus-1.0/include
  61 
  62 HAL_GLIB_CPPFLAGS =     -I$(ADJUNCT_PROTO)/usr/include/glib-2.0 \
  63                         -I$(ADJUNCT_PROTO)/usr/lib/glib-2.0/include
  64 
  65 HAL_GETTEXT_PACKAGE =   $(TEXT_DOMAIN)
  66 
  67 CERRWARN +=             -_gcc=-Wno-unused-variable
  68 CERRWARN +=             -_gcc=-Wno-unused-label
  69 CERRWARN +=             -_gcc=-Wno-unused-value
  70 CERRWARN +=             -_gcc=-Wno-extra
  71 CERRWARN +=             -_gcc=-Wno-parentheses
  72 CERRWARN +=             -_gcc=-Wno-address
  73 CERRWARN +=             -_gcc=-Wno-unused-function





   5 # Common Development and Distribution License (the "License").
   6 # You may not use this file except in compliance with the License.
   7 #
   8 # You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
   9 # or http://www.opensolaris.org/os/licensing.
  10 # See the License for the specific language governing permissions
  11 # and limitations under the License.
  12 #
  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 2009 Sun Microsystems, Inc.  All rights reserved.
  23 # Use is subject to license terms.
  24 #
  25 # Copyright (c) 2018, Joyent, Inc.
  26 #
  27 # Definitions common for HAL code and consumers
  28 #
  29 
  30 HAL_VERSION =           0.5.8
  31 
  32 ROOTLIB_HAL =           $(ROOTLIB)/hal
  33 ROOTLIB_HAL_SCRIPTS =   $(ROOTLIB)/hal
  34 
  35 ROOT_HAL_FDI =          $(ROOT)/etc/hal/fdi
  36 
  37 HAL_USER =              daemon
  38 HAL_GROUP =             daemon
  39 
  40 # derived from the generated config.h
  41 HAL_CONFIG_CPPFLAGS =   -DPACKAGE_DATA_DIR=\"/usr/share\" \
  42                         -DPACKAGE_OLD_DATA_DIR=\"/usr/lib\" \
  43                         -DPACKAGE_BIN_DIR=\"/usr/bin\" \
  44                         -DPACKAGE_LIBEXEC_DIR=\"/usr/lib/hal\" \
  45                         -DPACKAGE_SCRIPT_DIR=\"/usr/lib/hal\" \
  46                         -DPACKAGE_LOCALSTATEDIR=\"/var\" \


  56                         -DHAL_USER=\"$(HAL_USER)\" \
  57                         -DHAL_GROUP=\"$(HAL_GROUP)\"
  58 
  59 HAL_DBUS_CPPFLAGS =     -DDBUS_API_SUBJECT_TO_CHANGE \
  60                         -DDBUS_SYSTEMD_DIR=\"/etc/dbus-1/system.d\" \
  61                         -I$(ADJUNCT_PROTO)/usr/include/dbus-1.0 \
  62                         -I$(ADJUNCT_PROTO)/usr/lib/dbus-1.0/include
  63 
  64 HAL_GLIB_CPPFLAGS =     -I$(ADJUNCT_PROTO)/usr/include/glib-2.0 \
  65                         -I$(ADJUNCT_PROTO)/usr/lib/glib-2.0/include
  66 
  67 HAL_GETTEXT_PACKAGE =   $(TEXT_DOMAIN)
  68 
  69 CERRWARN +=             -_gcc=-Wno-unused-variable
  70 CERRWARN +=             -_gcc=-Wno-unused-label
  71 CERRWARN +=             -_gcc=-Wno-unused-value
  72 CERRWARN +=             -_gcc=-Wno-extra
  73 CERRWARN +=             -_gcc=-Wno-parentheses
  74 CERRWARN +=             -_gcc=-Wno-address
  75 CERRWARN +=             -_gcc=-Wno-unused-function
  76 
  77 # not linted
  78 SMATCH=off