view src/gcc-cloog.mk @ 3843:dc15f0105d5a

of-statistics: fix subdir to include version number * src/of-statistics.mk: ix subdir to include version number
author John Donoghue
date Tue, 10 Mar 2015 13:40:09 -0400
parents d95b8b84cea7
children c7285e784532
line wrap: on
line source

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

PKG             := gcc-cloog
$(PKG)_IGNORE    = $(cloog_IGNORE)
$(PKG)_VERSION   = $(cloog_VERSION)
$(PKG)_CHECKSUM  = $(cloog_CHECKSUM)
$(PKG)_SUBDIR    = $(cloog_SUBDIR)
$(PKG)_FILE      = $(cloog_FILE)
$(PKG)_URL       = $(cloog_URL)
$(PKG)_URL_2     = $(cloog_URL_2)
$(PKG)_DEPS     := gcc-gmp gcc-isl

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

define $(PKG)_BUILD
    mkdir '$(1).build'
    cd    '$(1).build' && '$(1)/configure' \
        --prefix='$(BUILD_TOOLS_PREFIX)' \
        --disable-shared \
        --with-gmp-prefix='$(BUILD_TOOLS_PREFIX)' \
        --with-isl-prefix='$(BUILD_TOOLS_PREFIX)'
    $(MAKE) -C '$(1).build' -j '$(JOBS)'
    $(MAKE) -C '$(1).build' -j 1 install
endef