diff options
author | Michael Olbrich <m.olbrich@pengutronix.de> | 2010-01-09 21:26:48 +0100 |
---|---|---|
committer | Michael Olbrich <m.olbrich@pengutronix.de> | 2010-01-10 15:54:14 +0100 |
commit | 4e705fd211935ab95c7d11c9b517e7c3a603da85 (patch) | |
tree | a60e87dcfb173870ff1221e48f41c3352bf3679d /rules/xorg-proto-xf86dri.make | |
parent | ffa75e1a781bb30ad22752409b9cc004041d42fd (diff) | |
download | ptxdist-4e705fd211935ab95c7d11c9b517e7c3a603da85.tar.gz ptxdist-4e705fd211935ab95c7d11c9b517e7c3a603da85.tar.xz |
[xorg-proto-xf86dri] cleanup makefile
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
Diffstat (limited to 'rules/xorg-proto-xf86dri.make')
-rw-r--r-- | rules/xorg-proto-xf86dri.make | 67 |
1 files changed, 7 insertions, 60 deletions
diff --git a/rules/xorg-proto-xf86dri.make b/rules/xorg-proto-xf86dri.make index 304035e79..b94227c0e 100644 --- a/rules/xorg-proto-xf86dri.make +++ b/rules/xorg-proto-xf86dri.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_XF86DRI_DIR := $(BUILDDIR)/$(XORG_PROTO_XF86DRI) # Get # ---------------------------------------------------------------------------- -xorg-proto-xf86dri_get: $(STATEDIR)/xorg-proto-xf86dri.get - -$(STATEDIR)/xorg-proto-xf86dri.get: $(xorg-proto-xf86dri_get_deps_default) - @$(call targetinfo, $@) - @$(call touch, $@) - $(XORG_PROTO_XF86DRI_SOURCE): - @$(call targetinfo, $@) + @$(call targetinfo) @$(call get, XORG_PROTO_XF86DRI) # ---------------------------------------------------------------------------- -# Extract -# ---------------------------------------------------------------------------- - -xorg-proto-xf86dri_extract: $(STATEDIR)/xorg-proto-xf86dri.extract - -$(STATEDIR)/xorg-proto-xf86dri.extract: $(xorg-proto-xf86dri_extract_deps_default) - @$(call targetinfo, $@) - @$(call clean, $(XORG_PROTO_XF86DRI_DIR)) - @$(call extract, XORG_PROTO_XF86DRI) - @$(call patchin, XORG_PROTO_XF86DRI) - @$(call touch, $@) - -# ---------------------------------------------------------------------------- # Prepare # ---------------------------------------------------------------------------- -xorg-proto-xf86dri_prepare: $(STATEDIR)/xorg-proto-xf86dri.prepare - -XORG_PROTO_XF86DRI_PATH := PATH=$(CROSS_PATH) -XORG_PROTO_XF86DRI_ENV := $(CROSS_ENV) +XORG_PROTO_XF86DRI_PATH := PATH=$(CROSS_PATH) +XORG_PROTO_XF86DRI_ENV := $(CROSS_ENV) # # autoconf # XORG_PROTO_XF86DRI_AUTOCONF := $(CROSS_AUTOCONF_USR) -$(STATEDIR)/xorg-proto-xf86dri.prepare: $(xorg-proto-xf86dri_prepare_deps_default) - @$(call targetinfo, $@) - @$(call clean, $(XORG_PROTO_XF86DRI_DIR)/config.cache) - cd $(XORG_PROTO_XF86DRI_DIR) && \ - $(XORG_PROTO_XF86DRI_PATH) $(XORG_PROTO_XF86DRI_ENV) \ - ./configure $(XORG_PROTO_XF86DRI_AUTOCONF) - @$(call touch, $@) - -# ---------------------------------------------------------------------------- -# Compile -# ---------------------------------------------------------------------------- - -xorg-proto-xf86dri_compile: $(STATEDIR)/xorg-proto-xf86dri.compile - -$(STATEDIR)/xorg-proto-xf86dri.compile: $(xorg-proto-xf86dri_compile_deps_default) - @$(call targetinfo, $@) - cd $(XORG_PROTO_XF86DRI_DIR) && $(XORG_PROTO_XF86DRI_PATH) make - @$(call touch, $@) - -# ---------------------------------------------------------------------------- -# Install -# ---------------------------------------------------------------------------- - -xorg-proto-xf86dri_install: $(STATEDIR)/xorg-proto-xf86dri.install - -$(STATEDIR)/xorg-proto-xf86dri.install: $(xorg-proto-xf86dri_install_deps_default) - @$(call targetinfo, $@) - @$(call install, XORG_PROTO_XF86DRI) - @$(call touch, $@) - # ---------------------------------------------------------------------------- # Target-Install # ---------------------------------------------------------------------------- -xorg-proto-xf86dri_targetinstall: $(STATEDIR)/xorg-proto-xf86dri.targetinstall - -$(STATEDIR)/xorg-proto-xf86dri.targetinstall: $(xorg-proto-xf86dri_targetinstall_deps_default) - @$(call targetinfo, $@) - @$(call touch, $@) +$(STATEDIR)/xorg-proto-xf86dri.targetinstall: + @$(call targetinfo) + @$(call touch) # ---------------------------------------------------------------------------- # Clean |