mirror of
https://github.com/genodelabs/genode.git
synced 2024-12-25 16:31:06 +00:00
26 lines
583 B
Makefile
26 lines
583 B
Makefile
|
include lib/import/import-expat.mk
|
||
|
|
||
|
EXPAT_TGZ = $(EXPAT).tar.gz
|
||
|
EXPAT_URL = http://sourceforge.net/projects/expat/files/expat/$(EXPAT_VER)/$(EXPAT_TGZ)
|
||
|
|
||
|
#
|
||
|
# Interface to top-level prepare Makefile
|
||
|
#
|
||
|
PORTS += $(EXPAT)
|
||
|
|
||
|
prepare-expat: $(CONTRIB_DIR)/$(EXPAT)
|
||
|
|
||
|
$(CONTRIB_DIR)/$(EXPAT):clean-expat
|
||
|
|
||
|
#
|
||
|
# Port-specific local rules
|
||
|
#
|
||
|
$(DOWNLOAD_DIR)/$(EXPAT_TGZ):
|
||
|
$(VERBOSE)wget -c -P $(DOWNLOAD_DIR) $(EXPAT_URL) && touch $@
|
||
|
|
||
|
$(CONTRIB_DIR)/$(EXPAT): $(DOWNLOAD_DIR)/$(EXPAT_TGZ)
|
||
|
$(VERBOSE)tar xfz $< -C $(CONTRIB_DIR) && touch $@
|
||
|
|
||
|
clean-expat:
|
||
|
$(VERBOSE)rm -rf $(CONTRIB_DIR)/$(EXPAT)
|