Mercurial > mxe-octave
comparison src/gettext.mk @ 3061:f8299bb6c872
Initial support for native MSVC compilation.
* add MSVC support files: compiler wrappers and support libraries
* adapt libiconv to work with MSVC
* adapt gettext to work with MSVC
author | Michael Goffioul <michael.goffioul@gmail.com> |
---|---|
date | Mon, 17 Jun 2013 22:43:11 -0400 |
parents | 5ef49fb3299d |
children | 71ca96663e2c |
comparison
equal
deleted
inserted
replaced
3060:cbdf4575016d | 3061:f8299bb6c872 |
---|---|
1 # This file is part of MXE. | 1 # This file is part of MXE. |
2 # See index.html for further information. | 2 # See index.html for further information. |
3 | 3 |
4 PKG := gettext | 4 PKG := gettext |
5 $(PKG)_IGNORE := | 5 $(PKG)_IGNORE := |
6 $(PKG)_CHECKSUM := 5009deb02f67fc3c59c8ce6b82408d1d35d4e38f | 6 $(PKG)_CHECKSUM := 47685e20abf9df6e5fede9efd04442943a96818b |
7 $(PKG)_SUBDIR := gettext-$($(PKG)_VERSION) | 7 $(PKG)_SUBDIR := gettext-$($(PKG)_VERSION) |
8 $(PKG)_FILE := gettext-$($(PKG)_VERSION).tar.gz | 8 $(PKG)_FILE := gettext-$($(PKG)_VERSION).tar.gz |
9 $(PKG)_URL := ftp://ftp.gnu.org/pub/gnu/gettext/$($(PKG)_FILE) | 9 $(PKG)_URL := ftp://ftp.gnu.org/pub/gnu/gettext/$($(PKG)_FILE) |
10 $(PKG)_DEPS := libiconv | 10 $(PKG)_DEPS := libiconv |
11 | 11 |
22 $(ENABLE_SHARED_OR_STATIC) \ | 22 $(ENABLE_SHARED_OR_STATIC) \ |
23 --prefix='$(HOST_PREFIX)' \ | 23 --prefix='$(HOST_PREFIX)' \ |
24 --enable-threads=win32 \ | 24 --enable-threads=win32 \ |
25 --without-libexpat-prefix \ | 25 --without-libexpat-prefix \ |
26 --without-libxml2-prefix \ | 26 --without-libxml2-prefix \ |
27 CONFIG_SHELL=$(SHELL) | 27 CONFIG_SHELL=$(SHELL) && $(CONFIGURE_POST_HOOK) |
28 $(MAKE) -C '$(1)/gettext-runtime/intl' -j '$(JOBS)' install | 28 $(MAKE) -C '$(1)/gettext-runtime/intl' -j '$(JOBS)' install |
29 endef | 29 endef |