summaryrefslogtreecommitdiffstats
path: root/rules/host-dbus-glib.make
blob: 73343afeac128f766f5d2ea404993108b510bbc2 (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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
# -*-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)

# ----------------------------------------------------------------------------
# Get
# ----------------------------------------------------------------------------

$(STATEDIR)/host-dbus-glib.get: $(STATEDIR)/dbus-glib.get
	@$(call targetinfo)
	@$(call touch)

# ----------------------------------------------------------------------------
# Extract
# ----------------------------------------------------------------------------

$(STATEDIR)/host-dbus-glib.extract:
	@$(call targetinfo)
	@$(call clean, $(HOST_DBUS_GLIB_DIR))
	@$(call extract, DBUS_GLIB, $(HOST_BUILDDIR))
	@$(call patchin, DBUS_GLIB, $(HOST_DBUS_GLIB_DIR))
	@$(call touch)

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

HOST_DBUS_GLIB_PATH	:= PATH=$(HOST_PATH)
HOST_DBUS_GLIB_ENV 	:= $(HOST_ENV)

#
# autoconf
#
HOST_DBUS_GLIB_AUTOCONF := \
	$(HOST_AUTOCONF) \
	--disable-bash-completion \
	--disable-doxygen-docs \
	--disable-gcov \
	--disable-gtk-doc \
	--disable-tests

# ----------------------------------------------------------------------------
# Clean
# ----------------------------------------------------------------------------

host-dbus-glib_clean:
	rm -rf $(STATEDIR)/host-dbus-glib.*
	rm -rf $(HOST_DBUS_GLIB_DIR)

# vim: syntax=make