summaryrefslogtreecommitdiffstats
path: root/rules/xorg-proto-input.make
diff options
context:
space:
mode:
authorMichael Olbrich <m.olbrich@pengutronix.de>2010-01-09 21:26:43 +0100
committerMichael Olbrich <m.olbrich@pengutronix.de>2010-01-10 15:54:10 +0100
commit725d732f201433867131d0d1176514ff47c1bd3f (patch)
tree38dbfc38f5942d9347970fa909267f5a4511780a /rules/xorg-proto-input.make
parentccad526e2db4d109ffb18e29aab227204b7e57d2 (diff)
downloadptxdist-725d732f201433867131d0d1176514ff47c1bd3f.tar.gz
ptxdist-725d732f201433867131d0d1176514ff47c1bd3f.tar.xz
[xorg-proto-input] cleanup makefile
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
Diffstat (limited to 'rules/xorg-proto-input.make')
-rw-r--r--rules/xorg-proto-input.make67
1 files changed, 7 insertions, 60 deletions
diff --git a/rules/xorg-proto-input.make b/rules/xorg-proto-input.make
index ebc07ad0e..eb5765d56 100644
--- a/rules/xorg-proto-input.make
+++ b/rules/xorg-proto-input.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_INPUT_DIR := $(BUILDDIR)/$(XORG_PROTO_INPUT)
# Get
# ----------------------------------------------------------------------------
-xorg-proto-input_get: $(STATEDIR)/xorg-proto-input.get
-
-$(STATEDIR)/xorg-proto-input.get: $(xorg-proto-input_get_deps_default)
- @$(call targetinfo, $@)
- @$(call touch, $@)
-
$(XORG_PROTO_INPUT_SOURCE):
- @$(call targetinfo, $@)
+ @$(call targetinfo)
@$(call get, XORG_PROTO_INPUT)
# ----------------------------------------------------------------------------
-# Extract
-# ----------------------------------------------------------------------------
-
-xorg-proto-input_extract: $(STATEDIR)/xorg-proto-input.extract
-
-$(STATEDIR)/xorg-proto-input.extract: $(xorg-proto-input_extract_deps_default)
- @$(call targetinfo, $@)
- @$(call clean, $(XORG_PROTO_INPUT_DIR))
- @$(call extract, XORG_PROTO_INPUT)
- @$(call patchin, XORG_PROTO_INPUT)
- @$(call touch, $@)
-
-# ----------------------------------------------------------------------------
# Prepare
# ----------------------------------------------------------------------------
-xorg-proto-input_prepare: $(STATEDIR)/xorg-proto-input.prepare
-
-XORG_PROTO_INPUT_PATH := PATH=$(CROSS_PATH)
-XORG_PROTO_INPUT_ENV := $(CROSS_ENV)
+XORG_PROTO_INPUT_PATH := PATH=$(CROSS_PATH)
+XORG_PROTO_INPUT_ENV := $(CROSS_ENV)
#
# autoconf
#
XORG_PROTO_INPUT_AUTOCONF := $(CROSS_AUTOCONF_USR)
-$(STATEDIR)/xorg-proto-input.prepare: $(xorg-proto-input_prepare_deps_default)
- @$(call targetinfo, $@)
- @$(call clean, $(XORG_PROTO_INPUT_DIR)/config.cache)
- cd $(XORG_PROTO_INPUT_DIR) && \
- $(XORG_PROTO_INPUT_PATH) $(XORG_PROTO_INPUT_ENV) \
- ./configure $(XORG_PROTO_INPUT_AUTOCONF)
- @$(call touch, $@)
-
-# ----------------------------------------------------------------------------
-# Compile
-# ----------------------------------------------------------------------------
-
-xorg-proto-input_compile: $(STATEDIR)/xorg-proto-input.compile
-
-$(STATEDIR)/xorg-proto-input.compile: $(xorg-proto-input_compile_deps_default)
- @$(call targetinfo, $@)
- cd $(XORG_PROTO_INPUT_DIR) && $(XORG_PROTO_INPUT_PATH) make
- @$(call touch, $@)
-
-# ----------------------------------------------------------------------------
-# Install
-# ----------------------------------------------------------------------------
-
-xorg-proto-input_install: $(STATEDIR)/xorg-proto-input.install
-
-$(STATEDIR)/xorg-proto-input.install: $(xorg-proto-input_install_deps_default)
- @$(call targetinfo, $@)
- @$(call install, XORG_PROTO_INPUT)
- @$(call touch, $@)
-
# ----------------------------------------------------------------------------
# Target-Install
# ----------------------------------------------------------------------------
-xorg-proto-input_targetinstall: $(STATEDIR)/xorg-proto-input.targetinstall
-
-$(STATEDIR)/xorg-proto-input.targetinstall: $(xorg-proto-input_targetinstall_deps_default)
- @$(call targetinfo, $@)
- @$(call touch, $@)
+$(STATEDIR)/xorg-proto-input.targetinstall:
+ @$(call targetinfo)
+ @$(call touch)
# ----------------------------------------------------------------------------
# Clean