diff options
author | Michael Olbrich <m.olbrich@pengutronix.de> | 2010-01-09 21:26:49 +0100 |
---|---|---|
committer | Michael Olbrich <m.olbrich@pengutronix.de> | 2010-01-10 15:54:15 +0100 |
commit | ae4429608ede88a1a86290f9cd738842e238d8ea (patch) | |
tree | 4a8b07a0fe33010dea26a466848277defa641815 /rules/xorg-proto-xinerama.make | |
parent | ebe44a12637b9c0718b7cc3260266487f6e039a2 (diff) | |
download | ptxdist-ae4429608ede88a1a86290f9cd738842e238d8ea.tar.gz ptxdist-ae4429608ede88a1a86290f9cd738842e238d8ea.tar.xz |
[xorg-proto-xinerama] cleanup makefile
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
Diffstat (limited to 'rules/xorg-proto-xinerama.make')
-rw-r--r-- | rules/xorg-proto-xinerama.make | 67 |
1 files changed, 7 insertions, 60 deletions
diff --git a/rules/xorg-proto-xinerama.make b/rules/xorg-proto-xinerama.make index d9b4f5e3e..52b1a847e 100644 --- a/rules/xorg-proto-xinerama.make +++ b/rules/xorg-proto-xinerama.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_XINERAMA_DIR := $(BUILDDIR)/$(XORG_PROTO_XINERAMA) # Get # ---------------------------------------------------------------------------- -xorg-proto-xinerama_get: $(STATEDIR)/xorg-proto-xinerama.get - -$(STATEDIR)/xorg-proto-xinerama.get: $(xorg-proto-xinerama_get_deps_default) - @$(call targetinfo, $@) - @$(call touch, $@) - $(XORG_PROTO_XINERAMA_SOURCE): - @$(call targetinfo, $@) + @$(call targetinfo) @$(call get, XORG_PROTO_XINERAMA) # ---------------------------------------------------------------------------- -# Extract -# ---------------------------------------------------------------------------- - -xorg-proto-xinerama_extract: $(STATEDIR)/xorg-proto-xinerama.extract - -$(STATEDIR)/xorg-proto-xinerama.extract: $(xorg-proto-xinerama_extract_deps_default) - @$(call targetinfo, $@) - @$(call clean, $(XORG_PROTO_XINERAMA_DIR)) - @$(call extract, XORG_PROTO_XINERAMA) - @$(call patchin, XORG_PROTO_XINERAMA) - @$(call touch, $@) - -# ---------------------------------------------------------------------------- # Prepare # ---------------------------------------------------------------------------- -xorg-proto-xinerama_prepare: $(STATEDIR)/xorg-proto-xinerama.prepare - -XORG_PROTO_XINERAMA_PATH := PATH=$(CROSS_PATH) -XORG_PROTO_XINERAMA_ENV := $(CROSS_ENV) +XORG_PROTO_XINERAMA_PATH := PATH=$(CROSS_PATH) +XORG_PROTO_XINERAMA_ENV := $(CROSS_ENV) # # autoconf # XORG_PROTO_XINERAMA_AUTOCONF := $(CROSS_AUTOCONF_USR) -$(STATEDIR)/xorg-proto-xinerama.prepare: $(xorg-proto-xinerama_prepare_deps_default) - @$(call targetinfo, $@) - @$(call clean, $(XORG_PROTO_XINERAMA_DIR)/config.cache) - cd $(XORG_PROTO_XINERAMA_DIR) && \ - $(XORG_PROTO_XINERAMA_PATH) $(XORG_PROTO_XINERAMA_ENV) \ - ./configure $(XORG_PROTO_XINERAMA_AUTOCONF) - @$(call touch, $@) - -# ---------------------------------------------------------------------------- -# Compile -# ---------------------------------------------------------------------------- - -xorg-proto-xinerama_compile: $(STATEDIR)/xorg-proto-xinerama.compile - -$(STATEDIR)/xorg-proto-xinerama.compile: $(xorg-proto-xinerama_compile_deps_default) - @$(call targetinfo, $@) - cd $(XORG_PROTO_XINERAMA_DIR) && $(XORG_PROTO_XINERAMA_PATH) make - @$(call touch, $@) - -# ---------------------------------------------------------------------------- -# Install -# ---------------------------------------------------------------------------- - -xorg-proto-xinerama_install: $(STATEDIR)/xorg-proto-xinerama.install - -$(STATEDIR)/xorg-proto-xinerama.install: $(xorg-proto-xinerama_install_deps_default) - @$(call targetinfo, $@) - @$(call install, XORG_PROTO_XINERAMA) - @$(call touch, $@) - # ---------------------------------------------------------------------------- # Target-Install # ---------------------------------------------------------------------------- -xorg-proto-xinerama_targetinstall: $(STATEDIR)/xorg-proto-xinerama.targetinstall - -$(STATEDIR)/xorg-proto-xinerama.targetinstall: $(xorg-proto-xinerama_targetinstall_deps_default) - @$(call targetinfo, $@) - @$(call touch, $@) +$(STATEDIR)/xorg-proto-xinerama.targetinstall: + @$(call targetinfo) + @$(call touch) # ---------------------------------------------------------------------------- # Clean |