summaryrefslogtreecommitdiffstats
path: root/rules/xorg-proto-randr.make
diff options
context:
space:
mode:
authorMichael Olbrich <m.olbrich@pengutronix.de>2010-01-09 21:26:44 +0100
committerMichael Olbrich <m.olbrich@pengutronix.de>2010-01-10 15:54:11 +0100
commit7fec59dbcd857806c3f4865fa60bb7de39c5d67c (patch)
treefebb5660f8bdc92e5e02ec535c684f3ba1b48759 /rules/xorg-proto-randr.make
parentacfc9077b2039575c25ba289d64952154380cb47 (diff)
downloadptxdist-7fec59dbcd857806c3f4865fa60bb7de39c5d67c.tar.gz
ptxdist-7fec59dbcd857806c3f4865fa60bb7de39c5d67c.tar.xz
[xorg-proto-randr] cleanup makefile
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
Diffstat (limited to 'rules/xorg-proto-randr.make')
-rw-r--r--rules/xorg-proto-randr.make67
1 files changed, 7 insertions, 60 deletions
diff --git a/rules/xorg-proto-randr.make b/rules/xorg-proto-randr.make
index df535b346..1524350fb 100644
--- a/rules/xorg-proto-randr.make
+++ b/rules/xorg-proto-randr.make
@@ -1,8 +1,8 @@
# -*-makefile-*-
-# $Id: template 4565 2006-02-10 14:23:10Z mkl $
#
# Copyright (C) 2006 by Erwin Rol
# (C) 2009 by Robert Schwebel
+# (C) 2010 by Michael Olbrich <m.olbrich@pengutronix.de>
#
# See CREDITS for details about who has contributed to this project.
#
@@ -30,82 +30,29 @@ XORG_PROTO_RANDR_DIR := $(BUILDDIR)/$(XORG_PROTO_RANDR)
# Get
# ----------------------------------------------------------------------------
-xorg-proto-randr_get: $(STATEDIR)/xorg-proto-randr.get
-
-$(STATEDIR)/xorg-proto-randr.get: $(xorg-proto-randr_get_deps_default)
- @$(call targetinfo, $@)
- @$(call touch, $@)
-
$(XORG_PROTO_RANDR_SOURCE):
- @$(call targetinfo, $@)
+ @$(call targetinfo)
@$(call get, XORG_PROTO_RANDR)
# ----------------------------------------------------------------------------
-# Extract
-# ----------------------------------------------------------------------------
-
-xorg-proto-randr_extract: $(STATEDIR)/xorg-proto-randr.extract
-
-$(STATEDIR)/xorg-proto-randr.extract: $(xorg-proto-randr_extract_deps_default)
- @$(call targetinfo, $@)
- @$(call clean, $(XORG_PROTO_RANDR_DIR))
- @$(call extract, XORG_PROTO_RANDR)
- @$(call patchin, XORG_PROTO_RANDR)
- @$(call touch, $@)
-
-# ----------------------------------------------------------------------------
# Prepare
# ----------------------------------------------------------------------------
-xorg-proto-randr_prepare: $(STATEDIR)/xorg-proto-randr.prepare
-
-XORG_PROTO_RANDR_PATH := PATH=$(CROSS_PATH)
-XORG_PROTO_RANDR_ENV := $(CROSS_ENV)
+XORG_PROTO_RANDR_PATH := PATH=$(CROSS_PATH)
+XORG_PROTO_RANDR_ENV := $(CROSS_ENV)
#
# autoconf
#
XORG_PROTO_RANDR_AUTOCONF := $(CROSS_AUTOCONF_USR)
-$(STATEDIR)/xorg-proto-randr.prepare: $(xorg-proto-randr_prepare_deps_default)
- @$(call targetinfo, $@)
- @$(call clean, $(XORG_PROTO_RANDR_DIR)/config.cache)
- cd $(XORG_PROTO_RANDR_DIR) && \
- $(XORG_PROTO_RANDR_PATH) $(XORG_PROTO_RANDR_ENV) \
- ./configure $(XORG_PROTO_RANDR_AUTOCONF)
- @$(call touch, $@)
-
-# ----------------------------------------------------------------------------
-# Compile
-# ----------------------------------------------------------------------------
-
-xorg-proto-randr_compile: $(STATEDIR)/xorg-proto-randr.compile
-
-$(STATEDIR)/xorg-proto-randr.compile: $(xorg-proto-randr_compile_deps_default)
- @$(call targetinfo, $@)
- cd $(XORG_PROTO_RANDR_DIR) && $(XORG_PROTO_RANDR_PATH) make
- @$(call touch, $@)
-
-# ----------------------------------------------------------------------------
-# Install
-# ----------------------------------------------------------------------------
-
-xorg-proto-randr_install: $(STATEDIR)/xorg-proto-randr.install
-
-$(STATEDIR)/xorg-proto-randr.install: $(xorg-proto-randr_install_deps_default)
- @$(call targetinfo, $@)
- @$(call install, XORG_PROTO_RANDR)
- @$(call touch, $@)
-
# ----------------------------------------------------------------------------
# Target-Install
# ----------------------------------------------------------------------------
-xorg-proto-randr_targetinstall: $(STATEDIR)/xorg-proto-randr.targetinstall
-
-$(STATEDIR)/xorg-proto-randr.targetinstall: $(xorg-proto-randr_targetinstall_deps_default)
- @$(call targetinfo, $@)
- @$(call touch, $@)
+$(STATEDIR)/xorg-proto-randr.targetinstall:
+ @$(call targetinfo)
+ @$(call touch)
# ----------------------------------------------------------------------------
# Clean