Mercurial > mxe-octave
view src/libgomp.mk @ 3557:b1a7cff2d2a9
Add octave forge of-netcdf package (and support files)
* src/of-netcdf.mk: New file.
* src/netcdf.mk: Update checksum for version 4.3.0, install to DESTDIR.
* src/hdf5.mk: make make and make install separate, modify libtool script to enable dynamic build of all sub libraries.
* index.html: added of-netcdf
* dist-files.mk: add of-netcdf.mk
* Makefile.in: add of-netcdf
* build_packages.m: add install of netcdf-1.0.2.tar.gz
author | John Donoghue <john.donoghue@ieee.org> |
---|---|
date | Thu, 06 Mar 2014 18:34:21 -0500 |
parents | 13be64f9f16d |
children | ed7c61a97068 |
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)_VERSION := 4.7.0 $(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 ifeq ($(MXE_WINDOWS_BUILD),yes) $(PKG)_SYSDEP_CONFIGURE_OPTIONS := LIBS='-lws2_32' endif 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) \ $($(PKG)_SYSDEP_CONFIGURE_OPTIONS) $(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