From 15ad6cdddacbeee950658db382b2bf4844724297 Mon Sep 17 00:00:00 2001 From: Robert Schwebel Date: Tue, 2 Jan 2007 12:51:13 +0000 Subject: * host-xorg-font-util: added. Merged from branches/ptxdist-trunk-mkl by rsc. git-svn-id: https://svn.pengutronix.de/svn/ptxdist/trunks/ptxdist-trunk@6653 33e552b5-05e3-0310-8538-816dae2090ed --- rules/host-xorg-font-util.make | 97 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 97 insertions(+) create mode 100644 rules/host-xorg-font-util.make (limited to 'rules/host-xorg-font-util.make') diff --git a/rules/host-xorg-font-util.make b/rules/host-xorg-font-util.make new file mode 100644 index 000000000..067578f1f --- /dev/null +++ b/rules/host-xorg-font-util.make @@ -0,0 +1,97 @@ +# -*-makefile-*- +# $Id$ +# +# Copyright (C) 2006 by Luotao Fu +# +# 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_FONT_UTIL) += host-xorg-font-util + +# +# Paths and names +# +HOST_XORG_FONT_UTIL_DIR = $(HOST_BUILDDIR)/$(XORG_FONT_UTIL) + +# ---------------------------------------------------------------------------- +# Get +# ---------------------------------------------------------------------------- + +host-xorg-font-util_get: $(STATEDIR)/host-xorg-font-util.get + +$(STATEDIR)/host-xorg-font-util.get: $(STATEDIR)/xorg-font-util.get + @$(call targetinfo, $@) + @$(call touch, $@) + +# ---------------------------------------------------------------------------- +# Extract +# ---------------------------------------------------------------------------- + +host-xorg-font-util_extract: $(STATEDIR)/host-xorg-font-util.extract + +$(STATEDIR)/host-xorg-font-util.extract: $(host-xorg-font-util_extract_deps_default) + @$(call targetinfo, $@) + @$(call clean, $(HOST_XORG_FONT_UTIL_DIR)) + @$(call extract, XORG_FONT_UTIL, $(HOST_BUILDDIR)) + @$(call patchin, XORG_FONT_UTIL, $(HOST_XORG_FONT_UTIL_DIR)) + @$(call touch, $@) + +# ---------------------------------------------------------------------------- +# Prepare +# ---------------------------------------------------------------------------- + +host-xorg-font-util_prepare: $(STATEDIR)/host-xorg-font-util.prepare + +HOST_XORG_FONT_UTIL_PATH := PATH=$(HOST_PATH) +HOST_XORG_FONT_UTIL_ENV := $(HOST_ENV) + +# +# autoconf +# +HOST_XORG_FONT_UTIL_AUTOCONF := $(HOST_AUTOCONF) + +$(STATEDIR)/host-xorg-font-util.prepare: $(host-xorg-font-util_prepare_deps_default) + @$(call targetinfo, $@) + @$(call clean, $(HOST_XORG_FONT_UTIL_DIR)/config.cache) + cd $(HOST_XORG_FONT_UTIL_DIR) && \ + $(HOST_XORG_FONT_UTIL_PATH) $(HOST_XORG_FONT_UTIL_ENV) \ + ./configure $(HOST_XORG_FONT_UTIL_AUTOCONF) + @$(call touch, $@) + +# ---------------------------------------------------------------------------- +# Compile +# ---------------------------------------------------------------------------- + +host-xorg-font-util_compile: $(STATEDIR)/host-xorg-font-util.compile + +$(STATEDIR)/host-xorg-font-util.compile: $(host-xorg-font-util_compile_deps_default) + @$(call targetinfo, $@) + cd $(HOST_XORG_FONT_UTIL_DIR) && $(HOST_XORG_FONT_UTIL_PATH) $(MAKE) $(PARALLELMFLAGS) + @$(call touch, $@) + +# ---------------------------------------------------------------------------- +# Install +# ---------------------------------------------------------------------------- + +host-xorg-font-util_install: $(STATEDIR)/host-xorg-font-util.install + +$(STATEDIR)/host-xorg-font-util.install: $(host-xorg-font-util_install_deps_default) + @$(call targetinfo, $@) + @$(call install, HOST_XORG_FONT_UTIL,,h) + @$(call touch, $@) + +# ---------------------------------------------------------------------------- +# Clean +# ---------------------------------------------------------------------------- + +host-xorg-font-util_clean: + rm -rf $(STATEDIR)/host-xorg-font-util.* + rm -rf $(HOST_XORG_FONT_UTIL_DIR) + +# vim: syntax=make -- cgit v1.2.3