Pick three bugfixes from next branch to trunk for inclusion in 4.5.0 RC2, as discusse...
[sdcc.git] / sdcc-cf / packages / build.autoconf / Makefile
blob632986609e189fa5576a41f541feb7fc650986bc
1 include ../packages.mk
3 PACKAGE=autoconf
4 VERSION=2.68
5 PACKAGE_FILE=$(PACKAGE)-$(VERSION).tar.xz
7 PACKAGE_DIR=$(PACKAGE)-$(VERSION)
9 .PHONY: all
10 all: $(PACKAGE)-install.tag clean
12 download/$(PACKAGE_FILE):
13 wget -P download ftp://ftp.gnu.org/gnu/$(PACKAGE)/$(PACKAGE_FILE)
15 $(PACKAGE)-download.tag: download/$(PACKAGE_FILE)
16 touch $@
18 $(PACKAGE)-unpack.tag: $(PACKAGE)-download.tag
19 xz -dc download/$(PACKAGE_FILE) | tar xvf -
20 touch $@
22 $(PACKAGE)-configure.tag: $(PACKAGE)-unpack.tag
23 cd $(PACKAGE_DIR) && \
24 ./configure --prefix=$(LOCAL_DIR)
25 touch $@
27 $(PACKAGE)-make.tag: $(PACKAGE)-configure.tag
28 $(MAKE) -C $(PACKAGE_DIR)
29 touch $@
31 $(PACKAGE)-install.tag: $(PACKAGE)-make.tag
32 $(MAKE) -C $(PACKAGE_DIR) install
33 touch $@
35 clean:
36 rm -rf $(PACKAGE_DIR) *.tag