diff options
author | Michael Olbrich <m.olbrich@pengutronix.de> | 2010-01-09 21:26:20 +0100 |
---|---|---|
committer | Michael Olbrich <m.olbrich@pengutronix.de> | 2010-01-10 15:40:59 +0100 |
commit | e1f7a8d545b4dba5c8ab11180d887c4787e04849 (patch) | |
tree | a03580034128cac043d9bdb7a3c27abe3e67bf8e /rules/xcb-proto.make | |
parent | 6ad466ecb84a37a9c3bed6e7faa2b72a00b72971 (diff) | |
download | ptxdist-e1f7a8d545b4dba5c8ab11180d887c4787e04849.tar.gz ptxdist-e1f7a8d545b4dba5c8ab11180d887c4787e04849.tar.xz |
[xcb-proto] cleanup makefile
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
Diffstat (limited to 'rules/xcb-proto.make')
-rw-r--r-- | rules/xcb-proto.make | 48 |
1 files changed, 3 insertions, 45 deletions
diff --git a/rules/xcb-proto.make b/rules/xcb-proto.make index f4cec97a3..47b68693e 100644 --- a/rules/xcb-proto.make +++ b/rules/xcb-proto.make @@ -1,5 +1,4 @@ # -*-makefile-*- -# $Id: template-make 8008 2008-04-15 07:39:46Z mkl $ # # Copyright (C) 2007 by Michael Olbrich <m.olbrich@pengutronix.de> # Copyright (C) 2008 by Robert Schwebel @@ -29,26 +28,11 @@ XCB_PROTO_DIR := $(BUILDDIR)/$(XCB_PROTO) # Get # ---------------------------------------------------------------------------- -$(STATEDIR)/xcb-proto.get: - @$(call targetinfo, $@) - @$(call touch, $@) - $(XCB_PROTO_SOURCE): - @$(call targetinfo, $@) + @$(call targetinfo) @$(call get, XCB_PROTO) # ---------------------------------------------------------------------------- -# Extract -# ---------------------------------------------------------------------------- - -$(STATEDIR)/xcb-proto.extract: - @$(call targetinfo, $@) - @$(call clean, $(XCB_PROTO_DIR)) - @$(call extract, XCB_PROTO) - @$(call patchin, XCB_PROTO) - @$(call touch, $@) - -# ---------------------------------------------------------------------------- # Prepare # ---------------------------------------------------------------------------- @@ -60,39 +44,13 @@ XCB_PROTO_ENV := $(CROSS_ENV) # XCB_PROTO_AUTOCONF := $(CROSS_AUTOCONF_USR) -$(STATEDIR)/xcb-proto.prepare: - @$(call targetinfo, $@) - @$(call clean, $(XCB_PROTO_DIR)/config.cache) - cd $(XCB_PROTO_DIR) && \ - $(XCB_PROTO_PATH) $(XCB_PROTO_ENV) \ - ./configure $(XCB_PROTO_AUTOCONF) - @$(call touch, $@) - -# ---------------------------------------------------------------------------- -# Compile -# ---------------------------------------------------------------------------- - -$(STATEDIR)/xcb-proto.compile: - @$(call targetinfo, $@) - cd $(XCB_PROTO_DIR) && $(XCB_PROTO_PATH) $(MAKE) $(PARALLELMFLAGS) - @$(call touch, $@) - -# ---------------------------------------------------------------------------- -# Install -# ---------------------------------------------------------------------------- - -$(STATEDIR)/xcb-proto.install: - @$(call targetinfo, $@) - @$(call install, XCB_PROTO) - @$(call touch, $@) - # ---------------------------------------------------------------------------- # Target-Install # ---------------------------------------------------------------------------- $(STATEDIR)/xcb-proto.targetinstall: - @$(call targetinfo, $@) - @$(call touch, $@) + @$(call targetinfo) + @$(call touch) # ---------------------------------------------------------------------------- # Clean |