Pick three bugfixes from next branch to trunk for inclusion in 4.5.0 RC2, as discusse...
[sdcc.git] / sdcc-cf / packages / build.bison / Makefile
blob67c54add543874199f4fe526c5233a0fa30ecac5
1 include ../packages.mk
3 PACKAGE=bison
4 VERSION=3.0
5 PACKAGE_FILE=$(PACKAGE)-$(VERSION).tar.xz
7 PACKAGE_DIR=$(PACKAGE)-$(VERSION)
9 all: do-all
11 download/$(PACKAGE_FILE):
12 wget -P download ftp://ftp.gnu.org/gnu/$(PACKAGE)/$(PACKAGE_FILE)
14 $(PACKAGE)-unpack.tag: unpack-downloaded-package
15 touch $@
17 $(PACKAGE)-configure.tag: $(PACKAGE)-unpack.tag
18 cd $(PACKAGE_DIR) && \
19 ./configure --prefix=$(LOCAL_DIR)
20 touch $@
22 $(PACKAGE)-make.tag: $(PACKAGE)-configure.tag
23 $(MAKE) -C $(PACKAGE_DIR)
24 touch $@
26 $(PACKAGE)-install.tag: $(PACKAGE)-make.tag
27 $(MAKE) -C $(PACKAGE_DIR) install
28 touch $@
30 include ../common_deps.mk