summaryrefslogtreecommitdiffstats
path: root/rules/host-dbus-glib.make
blob: e2f5be5e9e6abe4ab2afa7a5a15e597701ddcb0a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
# -*-makefile-*-
#
# Copyright (C) 2007 by Robert Schwebel
#               2009 by Marc Kleine-Budde <mkl@pengutronix.de>
#
# See CREDITS for details about who has contributed to this project.
#
# For further information about the PTXdist project and license conditions
# see the README file.
#

#
# We provide this package
#
HOST_PACKAGES-$(PTXCONF_HOST_DBUS_GLIB) += host-dbus-glib

#
# Paths and names
#
HOST_DBUS_GLIB_DIR	= $(HOST_BUILDDIR)/$(DBUS_GLIB)

# ----------------------------------------------------------------------------
# Prepare
# ----------------------------------------------------------------------------

#
# autoconf
#
HOST_DBUS_GLIB_CONF_TOOL	:= autoconf
HOST_DBUS_GLIB_CONF_OPT		:= \
	$(HOST_AUTOCONF) \
	--disable-tests \
	--disable-ansi \
	--disable-gcov \
	--disable-bash-completion \
	--disable-asserts \
	--enable-checks \
	--disable-gtk-doc

# ----------------------------------------------------------------------------
# Install
# ----------------------------------------------------------------------------

$(STATEDIR)/host-dbus-glib.install:
	@$(call targetinfo)
	@$(call install, HOST_DBUS_GLIB)
	install -D -m 644 "$(HOST_DBUS_GLIB_DIR)/dbus-bus-introspect.xml" \
		"$(HOST_DBUS_GLIB_PKGDIR)/share/dbus-glib/dbus-bus-introspect.xml"
	@$(call touch)

# vim: syntax=make