comparison src/libiconv.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 7e6673cf2255
comparison
equal deleted inserted replaced
3060:cbdf4575016d 3061:f8299bb6c872
20 $(SED) -i 's, sed , $(SED) ,g' '$(1)/windows/windres-options' 20 $(SED) -i 's, sed , $(SED) ,g' '$(1)/windows/windres-options'
21 cd '$(1)' && ./configure \ 21 cd '$(1)' && ./configure \
22 $(HOST_AND_BUILD_CONFIGURE_OPTIONS) \ 22 $(HOST_AND_BUILD_CONFIGURE_OPTIONS) \
23 --prefix='$(HOST_PREFIX)' \ 23 --prefix='$(HOST_PREFIX)' \
24 $(ENABLE_SHARED_OR_STATIC) \ 24 $(ENABLE_SHARED_OR_STATIC) \
25 CC='$(MXE_CC)' \
25 CPPFLAGS='$(MXE_CPPFLAGS)' \ 26 CPPFLAGS='$(MXE_CPPFLAGS)' \
26 --disable-nls 27 --disable-nls && $(CONFIGURE_POST_HOOK)
27 $(MAKE) -C '$(1)/libcharset' -j '$(JOBS)' install 28 $(MAKE) -C '$(1)' -j '$(JOBS)' install
28 $(MAKE) -C '$(1)/lib' -j '$(JOBS)' install
29 $(INSTALL) -d '$(HOST_INCDIR)'
30 $(INSTALL) -m644 '$(1)/include/iconv.h.inst' '$(HOST_INCDIR)/iconv.h'
31 endef 29 endef