# -*-makefile-*- # $Id$ # # Copyright (C) 2007, 2009 by Marc Kleine-Budde # # 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_LIBPNG) += host-libpng # # Paths and names # HOST_LIBPNG_DIR = $(HOST_BUILDDIR)/$(LIBPNG) # ---------------------------------------------------------------------------- # Get # ---------------------------------------------------------------------------- $(STATEDIR)/host-libpng.get: $(STATEDIR)/libpng.get @$(call targetinfo) @$(call touch) # ---------------------------------------------------------------------------- # Extract # ---------------------------------------------------------------------------- $(STATEDIR)/host-libpng.extract: @$(call targetinfo) @$(call clean, $(HOST_LIBPNG_DIR)) @$(call extract, LIBPNG, $(HOST_BUILDDIR)) @$(call patchin, LIBPNG, $(HOST_LIBPNG_DIR)) @$(call touch) # ---------------------------------------------------------------------------- # Prepare # ---------------------------------------------------------------------------- HOST_LIBPNG_PATH := PATH=$(HOST_PATH) HOST_LIBPNG_ENV := $(HOST_ENV) # # autoconf # HOST_LIBPNG_AUTOCONF := $(HOST_AUTOCONF) # ---------------------------------------------------------------------------- # Clean # ---------------------------------------------------------------------------- host-libpng_clean: rm -rf $(STATEDIR)/host-libpng.* rm -rf $(HOST_LIBPNG_DIR) # vim: syntax=make