diff options
author | Michael Olbrich <m.olbrich@pengutronix.de> | 2007-10-19 14:08:00 +0000 |
---|---|---|
committer | Michael Olbrich <m.olbrich@pengutronix.de> | 2007-10-19 14:08:00 +0000 |
commit | ac648c7bac43a5cefff95edfd20880c459f52edf (patch) | |
tree | 8b7f9dfb0e612a6771162a3670c3be461f52d807 /rules/host-libpthread-stubs.make | |
parent | 3276365c54fb7e8e3fd2cc0eb4f128c90cb11962 (diff) | |
download | ptxdist-ac648c7bac43a5cefff95edfd20880c459f52edf.tar.gz ptxdist-ac648c7bac43a5cefff95edfd20880c459f52edf.tar.xz |
* xorg: Update to Xorg 7.3. Add new dependencies libxcb and
pixman. Update all packages to the corresponding versions.
git-svn-id: https://svn.pengutronix.de/svn/ptxdist/trunks/ptxdist-trunk@7540 33e552b5-05e3-0310-8538-816dae2090ed
Diffstat (limited to 'rules/host-libpthread-stubs.make')
-rw-r--r-- | rules/host-libpthread-stubs.make | 97 |
1 files changed, 97 insertions, 0 deletions
diff --git a/rules/host-libpthread-stubs.make b/rules/host-libpthread-stubs.make new file mode 100644 index 000000000..88ef4426a --- /dev/null +++ b/rules/host-libpthread-stubs.make @@ -0,0 +1,97 @@ +# -*-makefile-*- +# $Id$ +# +# Copyright (C) 2007 by Michael Olbrich <m.olbrich@pengutronix.de> +# +# 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_LIBPTHREAD_STUBS) += host-libpthread-stubs + +# +# Paths and names +# +HOST_LIBPTHREAD_STUBS_DIR = $(HOST_BUILDDIR)/$(LIBPTHREAD_STUBS) + +# ---------------------------------------------------------------------------- +# Get +# ---------------------------------------------------------------------------- + +host-libpthread-stubs_get: $(STATEDIR)/host-libpthread-stubs.get + +$(STATEDIR)/host-libpthread-stubs.get: $(STATEDIR)/libpthread-stubs.get + @$(call targetinfo, $@) + @$(call touch, $@) + +# ---------------------------------------------------------------------------- +# Extract +# ---------------------------------------------------------------------------- + +host-libpthread-stubs_extract: $(STATEDIR)/host-libpthread-stubs.extract + +$(STATEDIR)/host-libpthread-stubs.extract: $(host-libpthread-stubs_extract_deps_default) + @$(call targetinfo, $@) + @$(call clean, $(HOST_LIBPTHREAD_STUBS_DIR)) + @$(call extract, LIBPTHREAD_STUBS, $(HOST_BUILDDIR)) + @$(call patchin, LIBPTHREAD_STUBS, $(HOST_LIBPTHREAD_STUBS_DIR)) + @$(call touch, $@) + +# ---------------------------------------------------------------------------- +# Prepare +# ---------------------------------------------------------------------------- + +host-libpthread-stubs_prepare: $(STATEDIR)/host-libpthread-stubs.prepare + +HOST_LIBPTHREAD_STUBS_PATH := PATH=$(HOST_PATH) +HOST_LIBPTHREAD_STUBS_ENV := $(HOST_ENV) + +# +# autoconf +# +HOST_LIBPTHREAD_STUBS_AUTOCONF := $(HOST_AUTOCONF) + +$(STATEDIR)/host-libpthread-stubs.prepare: $(host-libpthread-stubs_prepare_deps_default) + @$(call targetinfo, $@) + @$(call clean, $(HOST_LIBPTHREAD_STUBS_DIR)/config.cache) + cd $(HOST_LIBPTHREAD_STUBS_DIR) && \ + $(HOST_LIBPTHREAD_STUBS_PATH) $(HOST_LIBPTHREAD_STUBS_ENV) \ + ./configure $(HOST_LIBPTHREAD_STUBS_AUTOCONF) + @$(call touch, $@) + +# ---------------------------------------------------------------------------- +# Compile +# ---------------------------------------------------------------------------- + +host-libpthread-stubs_compile: $(STATEDIR)/host-libpthread-stubs.compile + +$(STATEDIR)/host-libpthread-stubs.compile: $(host-libpthread-stubs_compile_deps_default) + @$(call targetinfo, $@) + cd $(HOST_LIBPTHREAD_STUBS_DIR) && $(HOST_LIBPTHREAD_STUBS_PATH) $(MAKE) $(PARALLELMFLAGS) + @$(call touch, $@) + +# ---------------------------------------------------------------------------- +# Install +# ---------------------------------------------------------------------------- + +host-libpthread-stubs_install: $(STATEDIR)/host-libpthread-stubs.install + +$(STATEDIR)/host-libpthread-stubs.install: $(host-libpthread-stubs_install_deps_default) + @$(call targetinfo, $@) + @$(call install, HOST_LIBPTHREAD_STUBS,,h) + @$(call touch, $@) + +# ---------------------------------------------------------------------------- +# Clean +# ---------------------------------------------------------------------------- + +host-libpthread-stubs_clean: + rm -rf $(STATEDIR)/host-libpthread-stubs.* + rm -rf $(HOST_LIBPTHREAD_STUBS_DIR) + +# vim: syntax=make |