summaryrefslogtreecommitdiffstats
path: root/rules/host-xorg-proto-xcmisc.make
diff options
context:
space:
mode:
authorRobert Schwebel <r.schwebel@pengutronix.de>2007-01-02 20:30:01 +0000
committerRobert Schwebel <r.schwebel@pengutronix.de>2007-01-02 20:30:01 +0000
commitcc11233155fc406f46c63f1a0cda09be1b742f04 (patch)
tree6bc442885a105c127c4107527427e188f969e349 /rules/host-xorg-proto-xcmisc.make
parent108668ab2d202227a533cf360f8a560abed58af2 (diff)
downloadptxdist-cc11233155fc406f46c63f1a0cda09be1b742f04.tar.gz
ptxdist-cc11233155fc406f46c63f1a0cda09be1b742f04.tar.xz
* host-xorg-*: added more host tools
git-svn-id: https://svn.pengutronix.de/svn/ptxdist/trunks/ptxdist-trunk@6691 33e552b5-05e3-0310-8538-816dae2090ed
Diffstat (limited to 'rules/host-xorg-proto-xcmisc.make')
-rw-r--r--rules/host-xorg-proto-xcmisc.make98
1 files changed, 98 insertions, 0 deletions
diff --git a/rules/host-xorg-proto-xcmisc.make b/rules/host-xorg-proto-xcmisc.make
new file mode 100644
index 000000000..8667a8a52
--- /dev/null
+++ b/rules/host-xorg-proto-xcmisc.make
@@ -0,0 +1,98 @@
+# -*-makefile-*-
+# $Id$
+#
+# Copyright (C) 2007 by Robert Schwebel
+#
+# 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_XORG_PROTO_XCMISC) += host-proto-xorg-xcmisc
+
+#
+# Paths and names
+#
+HOST_XORG_PROTO_XCMISC = $(XORG_PROTO_XCMISC)
+HOST_XORG_PROTO_XCMISC_DIR = $(HOST_BUILDDIR)/$(HOST_XORG_PROTO_XCMISC)
+
+# ----------------------------------------------------------------------------
+# Get
+# ----------------------------------------------------------------------------
+
+host-proto-xorg-xcmisc_get: $(STATEDIR)/host-proto-xorg-xcmisc.get
+
+$(STATEDIR)/host-proto-xorg-xcmisc.get: $(STATEDIR)/xorg-proto-xext.get
+ @$(call targetinfo, $@)
+ @$(call touch, $@)
+
+# ----------------------------------------------------------------------------
+# Extract
+# ----------------------------------------------------------------------------
+
+host-proto-xorg-xcmisc_extract: $(STATEDIR)/host-proto-xorg-xcmisc.extract
+
+$(STATEDIR)/host-proto-xorg-xcmisc.extract: $(host-proto-xorg-xcmisc_extract_deps_default)
+ @$(call targetinfo, $@)
+ @$(call clean, $(HOST_XORG_PROTO_XCMISC_DIR))
+ @$(call extract, XORG_PROTO_XCMISC, $(HOST_BUILDDIR))
+ @$(call patchin, XORG_PROTO_XCMISC, $(HOST_XORG_PROTO_XCMISC_DIR))
+ @$(call touch, $@)
+
+# ----------------------------------------------------------------------------
+# Prepare
+# ----------------------------------------------------------------------------
+
+host-proto-xorg-xcmisc_prepare: $(STATEDIR)/host-proto-xorg-xcmisc.prepare
+
+HOST_XORG_PROTO_XCMISC_PATH := PATH=$(HOST_PATH)
+HOST_XORG_PROTO_XCMISC_ENV := $(HOST_ENV)
+
+#
+# autoconf
+#
+HOST_XORG_PROTO_XCMISC_AUTOCONF := $(HOST_AUTOCONF)
+
+$(STATEDIR)/host-proto-xorg-xcmisc.prepare: $(host-proto-xorg-xcmisc_prepare_deps_default)
+ @$(call targetinfo, $@)
+ @$(call clean, $(HOST_XORG_PROTO_XCMISC_DIR)/config.cache)
+ cd $(HOST_XORG_PROTO_XCMISC_DIR) && \
+ $(HOST_XORG_PROTO_XCMISC_PATH) $(HOST_XORG_PROTO_XCMISC_ENV) \
+ ./configure $(HOST_XORG_PROTO_XCMISC_AUTOCONF)
+ @$(call touch, $@)
+
+# ----------------------------------------------------------------------------
+# Compile
+# ----------------------------------------------------------------------------
+
+host-proto-xorg-xcmisc_compile: $(STATEDIR)/host-proto-xorg-xcmisc.compile
+
+$(STATEDIR)/host-proto-xorg-xcmisc.compile: $(host-proto-xorg-xcmisc_compile_deps_default)
+ @$(call targetinfo, $@)
+ cd $(HOST_XORG_PROTO_XCMISC_DIR) && $(HOST_XORG_PROTO_XCMISC_PATH) $(MAKE) $(PARALLELMFLAGS)
+ @$(call touch, $@)
+
+# ----------------------------------------------------------------------------
+# Install
+# ----------------------------------------------------------------------------
+
+host-proto-xorg-xcmisc_install: $(STATEDIR)/host-proto-xorg-xcmisc.install
+
+$(STATEDIR)/host-proto-xorg-xcmisc.install: $(host-proto-xorg-xcmisc_install_deps_default)
+ @$(call targetinfo, $@)
+ @$(call install, HOST_XORG_PROTO_XCMISC,,h)
+ @$(call touch, $@)
+
+# ----------------------------------------------------------------------------
+# Clean
+# ----------------------------------------------------------------------------
+
+host-proto-xorg-xcmisc_clean:
+ rm -rf $(STATEDIR)/host-proto-xorg-xcmisc.*
+ rm -rf $(HOST_XORG_PROTO_XCMISC_DIR)
+
+# vim: syntax=make