struct / union in initializer, RFE #901.
[sdcc.git] / sdcc-cf / packages / build.libtool / Makefile
blob6fbf2bb034801a198920c6c1c7f844432462d5f1
1 include ../packages.mk
3 PACKAGE=libtool
5 VERSION=2.2
7 LIBTOOL_DIR=$(PACKAGE)-$(VERSION)
9 .PHONY: all
10 all: $(PACKAGE)-install.tag clean
12 download/$(PACKAGE)-$(VERSION).tar.bz2:
13 wget -P download http://ftp.gnu.org/gnu/$(PACKAGE)/$(PACKAGE)-$(VERSION).tar.bz2
15 $(PACKAGE)-unpack.tag: download/$(PACKAGE)-$(VERSION).tar.bz2
16 tar xjvf download/$(LIBTOOL_DIR).tar.bz2
17 touch $@
19 $(PACKAGE)-configure.tag: $(PACKAGE)-unpack.tag
20 cd $(LIBTOOL_DIR) && \
21 ./configure --prefix=$(LOCAL_DIR)
22 touch $@
24 $(PACKAGE)-make.tag: $(PACKAGE)-configure.tag
25 $(MAKE) -C $(LIBTOOL_DIR)
26 touch $@
28 $(PACKAGE)-install.tag: $(PACKAGE)-make.tag
29 $(MAKE) -C $(LIBTOOL_DIR) install
30 touch $@
32 clean:
33 rm -rf $(LIBTOOL_DIR) download/* *.tag