Makefile.hal revision 494f7e12a62129ef191a15f9dfde6b7abe3bf510
18c2aff776a775d34a4c9893a4c72e0434d68e36artem# CDDL HEADER START
18c2aff776a775d34a4c9893a4c72e0434d68e36artem# The contents of this file are subject to the terms of the
18c2aff776a775d34a4c9893a4c72e0434d68e36artem# Common Development and Distribution License (the "License").
18c2aff776a775d34a4c9893a4c72e0434d68e36artem# You may not use this file except in compliance with the License.
18c2aff776a775d34a4c9893a4c72e0434d68e36artem# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
18c2aff776a775d34a4c9893a4c72e0434d68e36artem# See the License for the specific language governing permissions
18c2aff776a775d34a4c9893a4c72e0434d68e36artem# and limitations under the License.
18c2aff776a775d34a4c9893a4c72e0434d68e36artem# When distributing Covered Code, include this CDDL HEADER in each
18c2aff776a775d34a4c9893a4c72e0434d68e36artem# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
18c2aff776a775d34a4c9893a4c72e0434d68e36artem# If applicable, add the following below this CDDL HEADER, with the
18c2aff776a775d34a4c9893a4c72e0434d68e36artem# fields enclosed by brackets "[]" replaced with your own identifying
18c2aff776a775d34a4c9893a4c72e0434d68e36artem# information: Portions Copyright [yyyy] [name of copyright owner]
18c2aff776a775d34a4c9893a4c72e0434d68e36artem# CDDL HEADER END
d09832051bb4b41ce2b3202c09fceedc089678afRoger A. Faulkner# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
18c2aff776a775d34a4c9893a4c72e0434d68e36artem# Use is subject to license terms.
18c2aff776a775d34a4c9893a4c72e0434d68e36artem# Definitions common for HAL code and consumers
18c2aff776a775d34a4c9893a4c72e0434d68e36artemHAL_VERSION = 0.5.8
18c2aff776a775d34a4c9893a4c72e0434d68e36artemROOTLIB_HAL = $(ROOTLIB)/hal
18c2aff776a775d34a4c9893a4c72e0434d68e36artemROOTLIB_HAL_SCRIPTS = $(ROOTLIB)/hal
18c2aff776a775d34a4c9893a4c72e0434d68e36artemROOT_HAL_FDI = $(ROOT)/etc/hal/fdi
18c2aff776a775d34a4c9893a4c72e0434d68e36artemHAL_USER = daemon
18c2aff776a775d34a4c9893a4c72e0434d68e36artemHAL_GROUP = daemon
18c2aff776a775d34a4c9893a4c72e0434d68e36artem# derived from the generated config.h
18c2aff776a775d34a4c9893a4c72e0434d68e36artemHAL_CONFIG_CPPFLAGS = -DPACKAGE_DATA_DIR=\"/usr/lib\" \
18c2aff776a775d34a4c9893a4c72e0434d68e36artem -DPACKAGE_BIN_DIR=\"/usr/bin\" \
18c2aff776a775d34a4c9893a4c72e0434d68e36artem -DPACKAGE_LIBEXEC_DIR=\"/usr/lib/hal\" \
18c2aff776a775d34a4c9893a4c72e0434d68e36artem -DPACKAGE_SCRIPT_DIR=\"/usr/lib/hal\" \
18c2aff776a775d34a4c9893a4c72e0434d68e36artem -DPACKAGE_LOCALSTATEDIR=\"/var\" \
18c2aff776a775d34a4c9893a4c72e0434d68e36artem -DPACKAGE_SYSCONF_DIR=\"/etc\" \
18c2aff776a775d34a4c9893a4c72e0434d68e36artem -DPACKAGE_LOCALE_DIR=\"/usr/lib/locale\" \
18c2aff776a775d34a4c9893a4c72e0434d68e36artem -DPACKAGE_VERSION=\"$(HAL_VERSION)\" \
18c2aff776a775d34a4c9893a4c72e0434d68e36artem -DPACKAGE_STRING=\""hal $(HAL_VERSION)"\" \
18c2aff776a775d34a4c9893a4c72e0434d68e36artem -DHALD_PID_FILE=\"/var/run/hald/pid\" \
18c2aff776a775d34a4c9893a4c72e0434d68e36artem -DHALD_SOCKET_DIR=\"/var/run/hald\" \
d09832051bb4b41ce2b3202c09fceedc089678afRoger A. Faulkner -DHAVE_ASPRINTF \
18c2aff776a775d34a4c9893a4c72e0434d68e36artem -DHAVE_POLKIT \
18c2aff776a775d34a4c9893a4c72e0434d68e36artem -DHWDATA_DIR=\"/usr/share/hwdata\" \
18c2aff776a775d34a4c9893a4c72e0434d68e36artem -DHAL_USER=\"$(HAL_USER)\" \
18c2aff776a775d34a4c9893a4c72e0434d68e36artem -DHAL_GROUP=\"$(HAL_GROUP)\"
494f7e12a62129ef191a15f9dfde6b7abe3bf510Keith M WesolowskiHAL_DBUS_CPPFLAGS = -DDBUS_API_SUBJECT_TO_CHANGE \
494f7e12a62129ef191a15f9dfde6b7abe3bf510Keith M Wesolowski -DDBUS_SYSTEMD_DIR=\"/etc/dbus-1/system.d\" \
494f7e12a62129ef191a15f9dfde6b7abe3bf510Keith M Wesolowski -I$(ADJUNCT_PROTO)/usr/include/dbus-1.0 \
494f7e12a62129ef191a15f9dfde6b7abe3bf510Keith M Wesolowski -I$(ADJUNCT_PROTO)/usr/lib/dbus-1.0/include
494f7e12a62129ef191a15f9dfde6b7abe3bf510Keith M WesolowskiHAL_GLIB_CPPFLAGS = -I$(ADJUNCT_PROTO)/usr/include/glib-2.0 \
494f7e12a62129ef191a15f9dfde6b7abe3bf510Keith M Wesolowski -I$(ADJUNCT_PROTO)/usr/lib/glib-2.0/include
18c2aff776a775d34a4c9893a4c72e0434d68e36artemHAL_GETTEXT_PACKAGE = $(TEXT_DOMAIN)
7014882c6a3672fd0e5d60200af8643ae53c5928Richard LoweCERRWARN += -_gcc=-Wno-unused-variable
7014882c6a3672fd0e5d60200af8643ae53c5928Richard LoweCERRWARN += -_gcc=-Wno-unused-label
7014882c6a3672fd0e5d60200af8643ae53c5928Richard LoweCERRWARN += -_gcc=-Wno-unused-value
7014882c6a3672fd0e5d60200af8643ae53c5928Richard LoweCERRWARN += -_gcc=-Wno-extra
7014882c6a3672fd0e5d60200af8643ae53c5928Richard LoweCERRWARN += -_gcc=-Wno-parentheses
7014882c6a3672fd0e5d60200af8643ae53c5928Richard LoweCERRWARN += -_gcc=-Wno-address
7014882c6a3672fd0e5d60200af8643ae53c5928Richard LoweCERRWARN += -_gcc=-Wno-unused-function