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