diff options
Diffstat (limited to 'src/gcc-cloog.mk')
-rw-r--r-- | src/gcc-cloog.mk | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/src/gcc-cloog.mk b/src/gcc-cloog.mk new file mode 100644 index 0000000..0f57991 --- /dev/null +++ b/src/gcc-cloog.mk @@ -0,0 +1,29 @@ +# 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 $(cloog_VERSION) +endef + +define $(PKG)_BUILD + mkdir '$(1).build' + cd '$(1).build' && '$(1)/configure' \ + --prefix='$(PREFIX)' \ + --disable-shared \ + --with-gmp-prefix='$(PREFIX)' \ + --with-isl-prefix='$(PREFIX)' + $(MAKE) -C '$(1).build' -j '$(JOBS)' + $(MAKE) -C '$(1).build' -j 1 install +endef + +$(PKG)_BUILD_$(BUILD) = |