view src/libgomp.mk @ 3423:c8e055d83b9f

Set start directory to user home (Bug #41220) * makeinst-script.sh: set outpath to USERPROFILE, use octave-gui and octave-cli for shortcuts, install qt.conf to bin folder. * src/octave.mk: copy libexec/octave-gui.exe to bin folder. * src/stable-octave.mk: copy libexec/octave-gui.exe to bin folder.
author John D <john.donoghue@ieee.org>
date Tue, 14 Jan 2014 21:30:29 +0000
parents 7e0b4087cd58
children c9ade6d47f3a
line wrap: on
line source

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

PKG             := libgomp
$(PKG)_IGNORE    = $(build-gcc_IGNORE)
$(PKG)_CHECKSUM  = $(build-gcc_CHECKSUM)
$(PKG)_SUBDIR    = $(build-gcc_SUBDIR)
$(PKG)_FILE      = $(build-gcc_FILE)
$(PKG)_URL       = $(build-gcc_URL)
$(PKG)_URL_2     = $(build-gcc_URL_2)
$(PKG)_DEPS     := pthreads

define $(PKG)_UPDATE
    echo $(build-gcc_VERSION)
endef

define $(PKG)_BUILD
    mkdir -p '$(1)/build/$(TARGET)/libgomp'
    cd       '$(1)/build/$(TARGET)/libgomp' && '$(1)/libgomp/configure' \
        $(HOST_AND_BUILD_CONFIGURE_OPTIONS) \
        --target='$(TARGET)' \
        --prefix='$(HOST_PREFIX)' \
        --enable-version-specific-runtime-libs \
        --with-gnu-ld \
        $(ENABLE_SHARED_OR_STATIC) \
        LIBS='-lws2_32'
    $(MAKE) -C '$(1)/build/$(TARGET)/libgomp' -j '$(JOBS)'
    $(MAKE) -C '$(1)/build/$(TARGET)/libgomp' -j '1' install DESTDIR='$(3)'

    #'$(MXE_CC)' \
    #    -W -Wall -Werror -ansi -pedantic \
    #    '$(2).c' -o '$(HOST_BINDIR)/test-libgomp.exe' \
    #    -fopenmp
endef