summaryrefslogtreecommitdiffstats
path: root/rules/host-xcb-proto.make
blob: 1c7ce5b2010d62dd9fb67f603794d3a7c07f365c (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
# -*-makefile-*-
#
# Copyright (C) 2008 by Robert Schwebel
#           (C) 2010 by Michael Olbrich <m.olbrich@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_XCB_PROTO) += host-xcb-proto

#
# Paths and names
#
HOST_XCB_PROTO_DIR	= $(HOST_BUILDDIR)/$(XCB_PROTO)

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

$(STATEDIR)/host-xcb-proto.get: $(STATEDIR)/xcb-proto.get
	@$(call targetinfo)
	@$(call touch)

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

HOST_XCB_PROTO_PATH	:= PATH=$(HOST_PATH)
HOST_XCB_PROTO_ENV 	:= $(HOST_ENV)

#
# autoconf
#
HOST_XCB_PROTO_AUTOCONF	:= $(HOST_AUTOCONF)

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

$(STATEDIR)/host-xcb-proto.install:
	@$(call targetinfo)
	@$(call install, HOST_XCB_PROTO,,h)
	@$(call touch)

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

host-xcb-proto_clean:
	rm -rf $(STATEDIR)/host-xcb-proto.*
	rm -rf $(HOST_XCB_PROTO_DIR)

# vim: syntax=make