diff options
author | Michael Olbrich <m.olbrich@pengutronix.de> | 2010-01-09 21:26:45 +0100 |
---|---|---|
committer | Michael Olbrich <m.olbrich@pengutronix.de> | 2010-01-10 15:54:12 +0100 |
commit | d56562ce13d707f78f503dcebc377a8a002cc3bf (patch) | |
tree | 391094893ee7983dd497f44782850d9671ea2165 /rules/xorg-proto-resource.make | |
parent | 93c0a68f69964d2e5336375d9b0c303c58b82f44 (diff) | |
download | ptxdist-d56562ce13d707f78f503dcebc377a8a002cc3bf.tar.gz ptxdist-d56562ce13d707f78f503dcebc377a8a002cc3bf.tar.xz |
[xorg-proto-resource] cleanup makefile
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
Diffstat (limited to 'rules/xorg-proto-resource.make')
-rw-r--r-- | rules/xorg-proto-resource.make | 67 |
1 files changed, 7 insertions, 60 deletions
diff --git a/rules/xorg-proto-resource.make b/rules/xorg-proto-resource.make index 4cf0f48a8..13a9e3965 100644 --- a/rules/xorg-proto-resource.make +++ b/rules/xorg-proto-resource.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_RESOURCE_DIR := $(BUILDDIR)/$(XORG_PROTO_RESOURCE) # Get # ---------------------------------------------------------------------------- -xorg-proto-resource_get: $(STATEDIR)/xorg-proto-resource.get - -$(STATEDIR)/xorg-proto-resource.get: $(xorg-proto-resource_get_deps_default) - @$(call targetinfo, $@) - @$(call touch, $@) - $(XORG_PROTO_RESOURCE_SOURCE): - @$(call targetinfo, $@) + @$(call targetinfo) @$(call get, XORG_PROTO_RESOURCE) # ---------------------------------------------------------------------------- -# Extract -# ---------------------------------------------------------------------------- - -xorg-proto-resource_extract: $(STATEDIR)/xorg-proto-resource.extract - -$(STATEDIR)/xorg-proto-resource.extract: $(xorg-proto-resource_extract_deps_default) - @$(call targetinfo, $@) - @$(call clean, $(XORG_PROTO_RESOURCE_DIR)) - @$(call extract, XORG_PROTO_RESOURCE) - @$(call patchin, XORG_PROTO_RESOURCE) - @$(call touch, $@) - -# ---------------------------------------------------------------------------- # Prepare # ---------------------------------------------------------------------------- -xorg-proto-resource_prepare: $(STATEDIR)/xorg-proto-resource.prepare - -XORG_PROTO_RESOURCE_PATH := PATH=$(CROSS_PATH) -XORG_PROTO_RESOURCE_ENV := $(CROSS_ENV) +XORG_PROTO_RESOURCE_PATH := PATH=$(CROSS_PATH) +XORG_PROTO_RESOURCE_ENV := $(CROSS_ENV) # # autoconf # XORG_PROTO_RESOURCE_AUTOCONF := $(CROSS_AUTOCONF_USR) -$(STATEDIR)/xorg-proto-resource.prepare: $(xorg-proto-resource_prepare_deps_default) - @$(call targetinfo, $@) - @$(call clean, $(XORG_PROTO_RESOURCE_DIR)/config.cache) - cd $(XORG_PROTO_RESOURCE_DIR) && \ - $(XORG_PROTO_RESOURCE_PATH) $(XORG_PROTO_RESOURCE_ENV) \ - ./configure $(XORG_PROTO_RESOURCE_AUTOCONF) - @$(call touch, $@) - -# ---------------------------------------------------------------------------- -# Compile -# ---------------------------------------------------------------------------- - -xorg-proto-resource_compile: $(STATEDIR)/xorg-proto-resource.compile - -$(STATEDIR)/xorg-proto-resource.compile: $(xorg-proto-resource_compile_deps_default) - @$(call targetinfo, $@) - cd $(XORG_PROTO_RESOURCE_DIR) && $(XORG_PROTO_RESOURCE_PATH) make - @$(call touch, $@) - -# ---------------------------------------------------------------------------- -# Install -# ---------------------------------------------------------------------------- - -xorg-proto-resource_install: $(STATEDIR)/xorg-proto-resource.install - -$(STATEDIR)/xorg-proto-resource.install: $(xorg-proto-resource_install_deps_default) - @$(call targetinfo, $@) - @$(call install, XORG_PROTO_RESOURCE) - @$(call touch, $@) - # ---------------------------------------------------------------------------- # Target-Install # ---------------------------------------------------------------------------- -xorg-proto-resource_targetinstall: $(STATEDIR)/xorg-proto-resource.targetinstall - -$(STATEDIR)/xorg-proto-resource.targetinstall: $(xorg-proto-resource_targetinstall_deps_default) - @$(call targetinfo, $@) - @$(call touch, $@) +$(STATEDIR)/xorg-proto-resource.targetinstall: + @$(call targetinfo) + @$(call touch) # ---------------------------------------------------------------------------- # Clean |