summaryrefslogtreecommitdiffstats
path: root/rules/host-pixman.make
diff options
context:
space:
mode:
authorRobert Schwebel <r.schwebel@pengutronix.de>2009-03-03 14:37:21 +0000
committerRobert Schwebel <r.schwebel@pengutronix.de>2009-03-03 14:37:21 +0000
commitb4929add737458731495f6f4a3206266871f175c (patch)
tree14be0f6a4720cdf6ab400f3c466c3f111645edfc /rules/host-pixman.make
parent4870077e3e16a39651735b1b2afe84d4d137455a (diff)
downloadptxdist-b4929add737458731495f6f4a3206266871f175c.tar.gz
ptxdist-b4929add737458731495f6f4a3206266871f175c.tar.xz
* host-pixman: added
git-svn-id: https://svn.pengutronix.de/svn/ptxdist/trunks/ptxdist-trunk@9911 33e552b5-05e3-0310-8538-816dae2090ed
Diffstat (limited to 'rules/host-pixman.make')
-rw-r--r--rules/host-pixman.make87
1 files changed, 87 insertions, 0 deletions
diff --git a/rules/host-pixman.make b/rules/host-pixman.make
new file mode 100644
index 000000000..49d298ca4
--- /dev/null
+++ b/rules/host-pixman.make
@@ -0,0 +1,87 @@
+# -*-makefile-*-
+# $Id$
+#
+# Copyright (C) 2009 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_PIXMAN) += host-pixman
+
+#
+# Paths and names
+#
+HOST_PIXMAN_DIR = $(HOST_BUILDDIR)/$(PIXMAN)
+
+# ----------------------------------------------------------------------------
+# Get
+# ----------------------------------------------------------------------------
+
+$(STATEDIR)/host-pixman.get: $(STATEDIR)/pixman.get
+ @$(call targetinfo)
+ @$(call touch)
+
+# ----------------------------------------------------------------------------
+# Extract
+# ----------------------------------------------------------------------------
+
+$(STATEDIR)/host-pixman.extract:
+ @$(call targetinfo)
+ @$(call clean, $(HOST_PIXMAN_DIR))
+ @$(call extract, PIXMAN, $(HOST_BUILDDIR))
+ @$(call patchin, PIXMAN, $(HOST_PIXMAN_DIR))
+ @$(call touch)
+
+# ----------------------------------------------------------------------------
+# Prepare
+# ----------------------------------------------------------------------------
+
+HOST_PIXMAN_PATH := PATH=$(HOST_PATH)
+HOST_PIXMAN_ENV := $(HOST_ENV)
+
+#
+# autoconf
+#
+HOST_PIXMAN_AUTOCONF := $(HOST_AUTOCONF)
+
+$(STATEDIR)/host-pixman.prepare:
+ @$(call targetinfo)
+ @$(call clean, $(HOST_PIXMAN_DIR)/config.cache)
+ cd $(HOST_PIXMAN_DIR) && \
+ $(HOST_PIXMAN_PATH) $(HOST_PIXMAN_ENV) \
+ ./configure $(HOST_PIXMAN_AUTOCONF)
+ @$(call touch)
+
+# ----------------------------------------------------------------------------
+# Compile
+# ----------------------------------------------------------------------------
+
+$(STATEDIR)/host-pixman.compile:
+ @$(call targetinfo)
+ cd $(HOST_PIXMAN_DIR) && $(HOST_PIXMAN_PATH) $(MAKE) $(PARALLELMFLAGS)
+ @$(call touch)
+
+# ----------------------------------------------------------------------------
+# Install
+# ----------------------------------------------------------------------------
+
+$(STATEDIR)/host-pixman.install:
+ @$(call targetinfo)
+ @$(call install, HOST_PIXMAN,,h)
+ @$(call touch)
+
+# ----------------------------------------------------------------------------
+# Clean
+# ----------------------------------------------------------------------------
+
+host-pixman_clean:
+ rm -rf $(STATEDIR)/host-pixman.*
+ rm -rf $(HOST_PIXMAN_DIR)
+
+# vim: syntax=make