summaryrefslogtreecommitdiffstats
path: root/rules/xorg-proto-kb.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:11 +0100
commite8dfa3c0024d2740ccaab465fa479fbd841a5c94 (patch)
treea48ce1bc2d955c3288446526a31fe9deb5031e37 /rules/xorg-proto-kb.make
parent725d732f201433867131d0d1176514ff47c1bd3f (diff)
downloadptxdist-e8dfa3c0024d2740ccaab465fa479fbd841a5c94.tar.gz
ptxdist-e8dfa3c0024d2740ccaab465fa479fbd841a5c94.tar.xz
[xorg-proto-kb] cleanup makefile
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
Diffstat (limited to 'rules/xorg-proto-kb.make')
-rw-r--r--rules/xorg-proto-kb.make67
1 files changed, 7 insertions, 60 deletions
diff --git a/rules/xorg-proto-kb.make b/rules/xorg-proto-kb.make
index 9e4f1bb19..2cd516a31 100644
--- a/rules/xorg-proto-kb.make
+++ b/rules/xorg-proto-kb.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_KB_DIR := $(BUILDDIR)/$(XORG_PROTO_KB)
# Get
# ----------------------------------------------------------------------------
-xorg-proto-kb_get: $(STATEDIR)/xorg-proto-kb.get
-
-$(STATEDIR)/xorg-proto-kb.get: $(xorg-proto-kb_get_deps_default)
- @$(call targetinfo, $@)
- @$(call touch, $@)
-
$(XORG_PROTO_KB_SOURCE):
- @$(call targetinfo, $@)
+ @$(call targetinfo)
@$(call get, XORG_PROTO_KB)
# ----------------------------------------------------------------------------
-# Extract
-# ----------------------------------------------------------------------------
-
-xorg-proto-kb_extract: $(STATEDIR)/xorg-proto-kb.extract
-
-$(STATEDIR)/xorg-proto-kb.extract: $(xorg-proto-kb_extract_deps_default)
- @$(call targetinfo, $@)
- @$(call clean, $(XORG_PROTO_KB_DIR))
- @$(call extract, XORG_PROTO_KB)
- @$(call patchin, XORG_PROTO_KB)
- @$(call touch, $@)
-
-# ----------------------------------------------------------------------------
# Prepare
# ----------------------------------------------------------------------------
-xorg-proto-kb_prepare: $(STATEDIR)/xorg-proto-kb.prepare
-
-XORG_PROTO_KB_PATH := PATH=$(CROSS_PATH)
-XORG_PROTO_KB_ENV := $(CROSS_ENV)
+XORG_PROTO_KB_PATH := PATH=$(CROSS_PATH)
+XORG_PROTO_KB_ENV := $(CROSS_ENV)
#
# autoconf
#
XORG_PROTO_KB_AUTOCONF := $(CROSS_AUTOCONF_USR)
-$(STATEDIR)/xorg-proto-kb.prepare: $(xorg-proto-kb_prepare_deps_default)
- @$(call targetinfo, $@)
- @$(call clean, $(XORG_PROTO_KB_DIR)/config.cache)
- cd $(XORG_PROTO_KB_DIR) && \
- $(XORG_PROTO_KB_PATH) $(XORG_PROTO_KB_ENV) \
- ./configure $(XORG_PROTO_KB_AUTOCONF)
- @$(call touch, $@)
-
-# ----------------------------------------------------------------------------
-# Compile
-# ----------------------------------------------------------------------------
-
-xorg-proto-kb_compile: $(STATEDIR)/xorg-proto-kb.compile
-
-$(STATEDIR)/xorg-proto-kb.compile: $(xorg-proto-kb_compile_deps_default)
- @$(call targetinfo, $@)
- cd $(XORG_PROTO_KB_DIR) && $(XORG_PROTO_KB_PATH) make
- @$(call touch, $@)
-
-# ----------------------------------------------------------------------------
-# Install
-# ----------------------------------------------------------------------------
-
-xorg-proto-kb_install: $(STATEDIR)/xorg-proto-kb.install
-
-$(STATEDIR)/xorg-proto-kb.install: $(xorg-proto-kb_install_deps_default)
- @$(call targetinfo, $@)
- @$(call install, XORG_PROTO_KB)
- @$(call touch, $@)
-
# ----------------------------------------------------------------------------
# Target-Install
# ----------------------------------------------------------------------------
-xorg-proto-kb_targetinstall: $(STATEDIR)/xorg-proto-kb.targetinstall
-
-$(STATEDIR)/xorg-proto-kb.targetinstall: $(xorg-proto-kb_targetinstall_deps_default)
- @$(call targetinfo, $@)
- @$(call touch, $@)
+$(STATEDIR)/xorg-proto-kb.targetinstall:
+ @$(call targetinfo)
+ @$(call touch)
# ----------------------------------------------------------------------------
# Clean