diff options
author | Michael Olbrich <m.olbrich@pengutronix.de> | 2010-01-09 21:25:53 +0100 |
---|---|---|
committer | Michael Olbrich <m.olbrich@pengutronix.de> | 2010-01-10 15:39:51 +0100 |
commit | 4458372ac6e26d948b7448d3a9e8039ee7359cd3 (patch) | |
tree | 04357d8c09992b5bbd24d0488d445ebdcc50e526 /rules/host-xcb-proto.make | |
parent | 8ac5b7d04a37416970ad7f86edc8cf181a52011f (diff) | |
download | ptxdist-4458372ac6e26d948b7448d3a9e8039ee7359cd3.tar.gz ptxdist-4458372ac6e26d948b7448d3a9e8039ee7359cd3.tar.xz |
[host-xcb-proto] cleanup makefile
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
Diffstat (limited to 'rules/host-xcb-proto.make')
-rw-r--r-- | rules/host-xcb-proto.make | 38 |
1 files changed, 5 insertions, 33 deletions
diff --git a/rules/host-xcb-proto.make b/rules/host-xcb-proto.make index 540b9251c..1c7ce5b20 100644 --- a/rules/host-xcb-proto.make +++ b/rules/host-xcb-proto.make @@ -1,7 +1,7 @@ # -*-makefile-*- -# $Id$ # # Copyright (C) 2008 by Robert Schwebel +# (C) 2010 by Michael Olbrich <m.olbrich@pengutronix.de> # # See CREDITS for details about who has contributed to this project. # @@ -24,19 +24,8 @@ HOST_XCB_PROTO_DIR = $(HOST_BUILDDIR)/$(XCB_PROTO) # ---------------------------------------------------------------------------- $(STATEDIR)/host-xcb-proto.get: $(STATEDIR)/xcb-proto.get - @$(call targetinfo, $@) - @$(call touch, $@) - -# ---------------------------------------------------------------------------- -# Extract -# ---------------------------------------------------------------------------- - -$(STATEDIR)/host-xcb-proto.extract: - @$(call targetinfo, $@) - @$(call clean, $(HOST_XCB_PROTO_DIR)) - @$(call extract, XCB_PROTO, $(HOST_BUILDDIR)) - @$(call patchin, XCB_PROTO, $(HOST_XCB_PROTO_DIR)) - @$(call touch, $@) + @$(call targetinfo) + @$(call touch) # ---------------------------------------------------------------------------- # Prepare @@ -50,31 +39,14 @@ HOST_XCB_PROTO_ENV := $(HOST_ENV) # HOST_XCB_PROTO_AUTOCONF := $(HOST_AUTOCONF) -$(STATEDIR)/host-xcb-proto.prepare: - @$(call targetinfo, $@) - @$(call clean, $(HOST_XCB_PROTO_DIR)/config.cache) - cd $(HOST_XCB_PROTO_DIR) && \ - $(HOST_XCB_PROTO_PATH) $(HOST_XCB_PROTO_ENV) \ - ./configure $(HOST_XCB_PROTO_AUTOCONF) - @$(call touch, $@) - -# ---------------------------------------------------------------------------- -# Compile -# ---------------------------------------------------------------------------- - -$(STATEDIR)/host-xcb-proto.compile: - @$(call targetinfo, $@) - cd $(HOST_XCB_PROTO_DIR) && $(HOST_XCB_PROTO_PATH) $(MAKE) $(PARALLELMFLAGS) - @$(call touch, $@) - # ---------------------------------------------------------------------------- # Install # ---------------------------------------------------------------------------- $(STATEDIR)/host-xcb-proto.install: - @$(call targetinfo, $@) + @$(call targetinfo) @$(call install, HOST_XCB_PROTO,,h) - @$(call touch, $@) + @$(call touch) # ---------------------------------------------------------------------------- # Clean |