xref: /titanic_41/usr/src/cmd/hal/Makefile.hal (revision b60f2a0b921611326383e4789e0874e9e8a2e708)
1#
2# CDDL HEADER START
3#
4# The contents of this file are subject to the terms of the
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 2006 Sun Microsystems, Inc.  All rights reserved.
23# Use is subject to license terms.
24#
25# ident	"%Z%%M%	%I%	%E% SMI"
26#
27# Definitions common for HAL code and consumers
28#
29
30HAL_VERSION =		0.5.8
31
32ROOTLIB_HAL =		$(ROOTLIB)/hal
33ROOTLIB_HAL_SCRIPTS =	$(ROOTLIB)/hal
34
35ROOT_HAL_FDI =		$(ROOT)/etc/hal/fdi
36
37HAL_USER =		daemon
38HAL_GROUP =		daemon
39
40# derived from the generated config.h
41HAL_CONFIG_CPPFLAGS =	-DPACKAGE_DATA_DIR=\"/usr/lib\" \
42			-DPACKAGE_BIN_DIR=\"/usr/bin\" \
43			-DPACKAGE_LIBEXEC_DIR=\"/usr/lib/hal\" \
44			-DPACKAGE_SCRIPT_DIR=\"/usr/lib/hal\" \
45			-DPACKAGE_LOCALSTATEDIR=\"/var\" \
46			-DPACKAGE_SYSCONF_DIR=\"/etc\" \
47			-DPACKAGE_LOCALE_DIR=\"/usr/lib/locale\" \
48			-DPACKAGE_VERSION=\"$(HAL_VERSION)\" \
49			-DPACKAGE_STRING=\""hal $(HAL_VERSION)"\" \
50			-DHALD_PID_FILE=\"/var/run/hald/pid\" \
51			-DHALD_SOCKET_DIR=\"/var/run/hald\" \
52			-DHAVE_POLKIT \
53			-DHWDATA_DIR=\"/usr/share/hwdata\" \
54			-DHAL_USER=\"$(HAL_USER)\" \
55			-DHAL_GROUP=\"$(HAL_GROUP)\"
56
57HAL_DBUS_CPPFLAGS =	-DDBUS_API_SUBJECT_TO_CHANGE -DDBUS_SYSTEMD_DIR=\"/etc/dbus-1/system.d\" \
58			 -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include
59
60HAL_GLIB_CPPFLAGS = 	-I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include
61
62HAL_GETTEXT_PACKAGE =	$(TEXT_DOMAIN)
63
64