diff options
author | Robert Schwebel <r.schwebel@pengutronix.de> | 2007-01-02 11:33:14 +0000 |
---|---|---|
committer | Robert Schwebel <r.schwebel@pengutronix.de> | 2007-01-02 11:33:14 +0000 |
commit | be3d2b25da40aae35303ae478285021ea1ba898c (patch) | |
tree | 5ce94e213e2347f2d77d0c588d2dce08844dd21a /rules/host-libdbus-cxx.make | |
parent | 02a2beb768694a673c9378811cd461f70f14b3c4 (diff) | |
download | ptxdist-be3d2b25da40aae35303ae478285021ea1ba898c.tar.gz ptxdist-be3d2b25da40aae35303ae478285021ea1ba898c.tar.xz |
* libdbus-c++: more changes merged; still not fully working,
because upstream has not released yet and I'm waiting for
mkl's host/cross-pkg-config fixes.
git-svn-id: https://svn.pengutronix.de/svn/ptxdist/trunks/ptxdist-trunk@6591 33e552b5-05e3-0310-8538-816dae2090ed
Diffstat (limited to 'rules/host-libdbus-cxx.make')
-rw-r--r-- | rules/host-libdbus-cxx.make | 101 |
1 files changed, 101 insertions, 0 deletions
diff --git a/rules/host-libdbus-cxx.make b/rules/host-libdbus-cxx.make new file mode 100644 index 000000000..12992d2cc --- /dev/null +++ b/rules/host-libdbus-cxx.make @@ -0,0 +1,101 @@ +# -*-makefile-*- +# $Id$ +# +# Copyright (C) 2007 by Robert Schwebel +# +# See CREDITS for details about who has contributed to this project. +# +# For further information about the PTXdist project and license conditions +# see the README file. +# + +# +# We provide this package +# + +# +HOST_PACKAGES-$(PTXCONF_HOST_LIBDBUS_CXX) += host-libdbus-cxx + +# +# Paths and names +# +HOST_LIBDBUS_CXX = $(LIBDBUS_CXX) +HOST_LIBDBUS_CXX_DIR = $(HOST_BUILDDIR)/$(HOST_LIBDBUS_CXX) + +# ---------------------------------------------------------------------------- +# Get +# ---------------------------------------------------------------------------- + +host-libdbus-cxx_get: $(STATEDIR)/host-libdbus-cxx.get + +$(STATEDIR)/host-libdbus-cxx.get: $(STATEDIR)/libdbus-cxx.get + @$(call targetinfo, $@) + @$(call touch, $@) + +# ---------------------------------------------------------------------------- +# Extract +# ---------------------------------------------------------------------------- + +host-libdbus-cxx_extract: $(STATEDIR)/host-libdbus-cxx.extract + +$(STATEDIR)/host-libdbus-cxx.extract: $(host-libdbus-cxx_extract_deps_default) + @$(call targetinfo, $@) + @$(call clean, $(HOST_LIBDBUS_CXX_DIR)) + @$(call extract, LIBDBUS_CXX, $(HOST_BUILDDIR)) + @$(call patchin, LIBDBUS_CXX, $(HOST_LIBDBUS_CXX_DIR)) + @$(call touch, $@) + +# ---------------------------------------------------------------------------- +# Prepare +# ---------------------------------------------------------------------------- + +host-libdbus-cxx_prepare: $(STATEDIR)/host-libdbus-cxx.prepare + +HOST_LIBDBUS_CXX_PATH := PATH=$(HOST_PATH) +HOST_LIBDBUS_CXX_ENV := $(HOST_ENV) + +# +# autoconf +# +HOST_LIBDBUS_CXX_AUTOCONF := $(HOST_AUTOCONF) + +$(STATEDIR)/host-libdbus-cxx.prepare: $(host-libdbus-cxx_prepare_deps_default) + @$(call targetinfo, $@) + @$(call clean, $(HOST_LIBDBUS_CXX_DIR)/config.cache) + cd $(HOST_LIBDBUS_CXX_DIR) && \ + $(HOST_LIBDBUS_CXX_PATH) $(HOST_LIBDBUS_CXX_ENV) \ + ./configure $(HOST_LIBDBUS_CXX_AUTOCONF) + @$(call touch, $@) + +# ---------------------------------------------------------------------------- +# Compile +# ---------------------------------------------------------------------------- + +host-libdbus-cxx_compile: $(STATEDIR)/host-libdbus-cxx.compile + + +$(STATEDIR)/host-libdbus-cxx.compile: $(host-libdbus-cxx_compile_deps_default) + @$(call targetinfo, $@) + cd $(HOST_LIBDBUS_CXX_DIR) && $(HOST_LIBDBUS_CXX_ENV) $(HOST_LIBDBUS_CXX_PATH) make + @$(call touch, $@) + +# ---------------------------------------------------------------------------- +# Install +# ---------------------------------------------------------------------------- + +host-libdbus-cxx_install: $(STATEDIR)/host-libdbus-cxx.install + +$(STATEDIR)/host-libdbus-cxx.install: $(host-libdbus-cxx_install_deps_default) + @$(call targetinfo, $@) + @$(call install, HOST_LIBDBUS_CXX,,h) + @$(call touch, $@) + +# ---------------------------------------------------------------------------- +# Clean +# ---------------------------------------------------------------------------- + +host-libdbus-cxx_clean: + rm -rf $(STATEDIR)/host-libdbus-cxx.* + rm -rf $(HOST_LIBDBUS_CXX_DIR) + +# vim: syntax=make |