diff options
author | Michael Olbrich <m.olbrich@pengutronix.de> | 2007-10-19 14:08:00 +0000 |
---|---|---|
committer | Michael Olbrich <m.olbrich@pengutronix.de> | 2007-10-19 14:08:00 +0000 |
commit | ac648c7bac43a5cefff95edfd20880c459f52edf (patch) | |
tree | 8b7f9dfb0e612a6771162a3670c3be461f52d807 /rules/host-xcb-proto.make | |
parent | 3276365c54fb7e8e3fd2cc0eb4f128c90cb11962 (diff) | |
download | ptxdist-ac648c7bac43a5cefff95edfd20880c459f52edf.tar.gz ptxdist-ac648c7bac43a5cefff95edfd20880c459f52edf.tar.xz |
* xorg: Update to Xorg 7.3. Add new dependencies libxcb and
pixman. Update all packages to the corresponding versions.
git-svn-id: https://svn.pengutronix.de/svn/ptxdist/trunks/ptxdist-trunk@7540 33e552b5-05e3-0310-8538-816dae2090ed
Diffstat (limited to 'rules/host-xcb-proto.make')
-rw-r--r-- | rules/host-xcb-proto.make | 97 |
1 files changed, 97 insertions, 0 deletions
diff --git a/rules/host-xcb-proto.make b/rules/host-xcb-proto.make new file mode 100644 index 000000000..ea7534e0e --- /dev/null +++ b/rules/host-xcb-proto.make @@ -0,0 +1,97 @@ +# -*-makefile-*- +# $Id$ +# +# Copyright (C) 2007 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 +# ---------------------------------------------------------------------------- + +host-xcb-proto_get: $(STATEDIR)/host-xcb-proto.get + +$(STATEDIR)/host-xcb-proto.get: $(STATEDIR)/xcb-proto.get + @$(call targetinfo, $@) + @$(call touch, $@) + +# ---------------------------------------------------------------------------- +# Extract +# ---------------------------------------------------------------------------- + +host-xcb-proto_extract: $(STATEDIR)/host-xcb-proto.extract + +$(STATEDIR)/host-xcb-proto.extract: $(host-xcb-proto_extract_deps_default) + @$(call targetinfo, $@) + @$(call clean, $(HOST_XCB_PROTO_DIR)) + @$(call extract, XCB_PROTO, $(HOST_BUILDDIR)) + @$(call patchin, XCB_PROTO, $(HOST_XCB_PROTO_DIR)) + @$(call touch, $@) + +# ---------------------------------------------------------------------------- +# Prepare +# ---------------------------------------------------------------------------- + +host-xcb-proto_prepare: $(STATEDIR)/host-xcb-proto.prepare + +HOST_XCB_PROTO_PATH := PATH=$(HOST_PATH) +HOST_XCB_PROTO_ENV := $(HOST_ENV) + +# +# autoconf +# +HOST_XCB_PROTO_AUTOCONF := $(HOST_AUTOCONF) + +$(STATEDIR)/host-xcb-proto.prepare: $(host-xcb-proto_prepare_deps_default) + @$(call targetinfo, $@) + @$(call clean, $(HOST_XCB_PROTO_DIR)/config.cache) + cd $(HOST_XCB_PROTO_DIR) && \ + $(HOST_XCB_PROTO_PATH) $(HOST_XCB_PROTO_ENV) \ + ./configure $(HOST_XCB_PROTO_AUTOCONF) + @$(call touch, $@) + +# ---------------------------------------------------------------------------- +# Compile +# ---------------------------------------------------------------------------- + +host-xcb-proto_compile: $(STATEDIR)/host-xcb-proto.compile + +$(STATEDIR)/host-xcb-proto.compile: $(host-xcb-proto_compile_deps_default) + @$(call targetinfo, $@) + cd $(HOST_XCB_PROTO_DIR) && $(HOST_XCB_PROTO_PATH) $(MAKE) $(PARALLELMFLAGS) + @$(call touch, $@) + +# ---------------------------------------------------------------------------- +# Install +# ---------------------------------------------------------------------------- + +host-xcb-proto_install: $(STATEDIR)/host-xcb-proto.install + +$(STATEDIR)/host-xcb-proto.install: $(host-xcb-proto_install_deps_default) + @$(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 |