summaryrefslogtreecommitdiffstats
path: root/rules/host-xorg-server.make
diff options
context:
space:
mode:
authorMichael Olbrich <m.olbrich@pengutronix.de>2009-10-20 15:30:51 +0200
committerMichael Olbrich <m.olbrich@pengutronix.de>2009-10-26 14:13:00 +0100
commit05c296d3720d31c834b32c76ed66cf857feb8397 (patch)
tree23fbece44817497fa3fa1a09311156050f455d65 /rules/host-xorg-server.make
parent83394232663f3315e27e47bd4c8f711468aa48f4 (diff)
downloadptxdist-05c296d3720d31c834b32c76ed66cf857feb8397.tar.gz
ptxdist-05c296d3720d31c834b32c76ed66cf857feb8397.tar.xz
[host-xorg-server] added to install autoconf macros
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
Diffstat (limited to 'rules/host-xorg-server.make')
-rw-r--r--rules/host-xorg-server.make86
1 files changed, 86 insertions, 0 deletions
diff --git a/rules/host-xorg-server.make b/rules/host-xorg-server.make
new file mode 100644
index 000000000..c3f515cfa
--- /dev/null
+++ b/rules/host-xorg-server.make
@@ -0,0 +1,86 @@
+# -*-makefile-*-
+# $Id$
+#
+# Copyright (C) 2009 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_XORG_SERVER) += host-xorg-server
+
+#
+# Paths and names
+#
+HOST_XORG_SERVER_DIR = $(HOST_BUILDDIR)/$(XORG_SERVER)
+
+ifdef PTXCONF_HOST_XORG_SERVER
+$(STATEDIR)/autogen-tools: $(STATEDIR)/host-xorg-server.install
+endif
+
+# ----------------------------------------------------------------------------
+# Get
+# ----------------------------------------------------------------------------
+
+$(STATEDIR)/host-xorg-server.get: $(STATEDIR)/xorg-server.get
+ @$(call targetinfo)
+ @$(call touch)
+
+# ----------------------------------------------------------------------------
+# Extract
+# ----------------------------------------------------------------------------
+
+$(STATEDIR)/host-xorg-server.extract:
+ @$(call targetinfo)
+ @$(call clean, $(HOST_XORG_SERVER_DIR))
+ @$(call extract, XORG_SERVER, $(HOST_BUILDDIR))
+ @$(call patchin, XORG_SERVER, $(HOST_XORG_SERVER_DIR))
+ @$(call touch)
+
+# ----------------------------------------------------------------------------
+# Prepare
+# ----------------------------------------------------------------------------
+
+HOST_XORG_SERVER_PATH := PATH=$(HOST_PATH)
+HOST_XORG_SERVER_ENV := $(HOST_ENV)
+
+#
+# autoconf
+#
+HOST_XORG_SERVER_AUTOCONF := $(HOST_AUTOCONF)
+
+$(STATEDIR)/host-xorg-server.prepare:
+ @$(call targetinfo)
+ @$(call touch)
+
+# ----------------------------------------------------------------------------
+# Compile
+# ----------------------------------------------------------------------------
+
+$(STATEDIR)/host-xorg-server.compile:
+ @$(call targetinfo)
+ @$(call touch)
+
+# ----------------------------------------------------------------------------
+# Install
+# ----------------------------------------------------------------------------
+
+$(STATEDIR)/host-xorg-server.install:
+ @$(call targetinfo)
+ @cd $(HOST_XORG_SERVER_DIR) && cp xorg-server.m4 $(PTXDIST_SYSROOT_HOST)/share/aclocal/
+ @$(call touch)
+
+# ----------------------------------------------------------------------------
+# Clean
+# ----------------------------------------------------------------------------
+
+host-xorg-server_clean:
+ rm -rf $(STATEDIR)/host-xorg-server.*
+ rm -rf $(HOST_XORG_SERVER_DIR)
+
+# vim: syntax=make