Mercurial > mxe-octave
view src/mingw-w64.mk @ 6212:fbb4c524bed1 release
* src/of-zeromq.mk: update to v1.5.4
(grafted from 794daa7fac86b609e311ac2e60c73217fd4450ca)
author | John Donoghue <john.donoghue@ieee.org> |
---|---|
date | Thu, 05 May 2022 14:15:37 -0400 |
parents | 9ccca4b29aa3 |
children | ee80081eeca3 |
line wrap: on
line source
# This file is part of MXE. # See index.html for further information. PKG := mingw-w64 $(PKG)_IGNORE := $(PKG)_VERSION := 9.0.0 $(PKG)_CHECKSUM := 9c496ed063e085888d250cc461ec4d31d97b72f1 $(PKG)_SUBDIR := $(PKG)-v$($(PKG)_VERSION) $(PKG)_FILE := $(PKG)-v$($(PKG)_VERSION).tar.bz2 $(PKG)_URL := http://$(SOURCEFORGE_MIRROR)/project/$(PKG)/$(PKG)/$(PKG)-release/$($(PKG)_FILE) $(PKG)_DEPS := define $(PKG)_UPDATE $(WGET) -q -O- 'http://sourceforge.net/projects/mingw-w64/files/mingw-w64/mingw-w64-release/' | \ $(SED) -n 's,.*mingw-w64-v\([0-9.]*\)\.tar.*,\1,p' | \ $(SORT) -V | \ tail -1 endef $(PKG)_WINAPI_VERSION_FLAGS := --with-default-win32-winnt=0x0601 ifneq ($(HOST_MSVCRT),ucrt) $(PKG)_DEFAULT_MSVCRT := --with-default-msvcrt=msvcrt else $(PKG)_DEFAULT_MSVCRT := --with-default-msvcrt=ucrt endif define $(PKG)_BUILD mkdir '$(1).headers-build' cd '$(1).headers-build' && '$(1)/mingw-w64-headers/configure' \ --host='$(TARGET)' \ --prefix='$(HOST_PREFIX)' \ --enable-sdk=all \ --enable-idl \ --enable-secure-api \ $($(PKG)_WINAPI_VERSION_FLAGS) \ $($(PKG)_DEFAULT_MSVCRT) $(MAKE) -C '$(1).headers-build' install endef