view src/msys-msys-core.mk @ 3289:b28756fd131c

* src/build-msvctools/cc-msvc.cc: Allow to preprocess-only. Make sure to run the compiler, and not the linker, when doing only pre-processing. Required to compile libgpg_error, which pre-processes a header file.
author Michael Goffioul <michael.goffioul@gmail.com>
date Thu, 07 Nov 2013 13:15:25 -0500
parents 100e618349f7
children 13be64f9f16d
line wrap: on
line source

# This file is part of MXE.
# See index.html for further information.

PKG             := msys-msys-core
$(PKG)_IGNORE   :=
$(PKG)_CHECKSUM := 36d52ca7066eb6ad0da68c6f31214416f4c9dcec
$(PKG)_REMOTE_SUBDIR := msys-core/msys-$($(PKG)_VERSION)
$(PKG)_SUBDIR   := 
$(PKG)_FILE     := msysCORE-$($(PKG)_VERSION)-msys-1.0.18-bin.tar.lzma
$(PKG)_URL      := $(MSYS_BASE_URL)/$($(PKG)_REMOTE_SUBDIR)/$($(PKG)_FILE)/download
$(PKG)_DEPS     := 

define $(PKG)_UPDATE
    echo 'Warning: Updates are temporarily disabled for package $(PKG).' >&2;
    echo $($(PKG)_VERSION)
endef

define $(PKG)_BUILD
    mkdir -p '$(MSYS_BASE_DIR)'
    cd '$(1)' && tar cf - . | ( cd '$(MSYS_BASE_DIR)'; tar xpf - )
    mkdir -p '$(MSYS_INFO_DIR)'
    cd '$(1)' && find . > '$(MSYS_INFO_DIR)'/$(PKG).list
endef