Mercurial > mxe-octave
view src/gnuplot.mk @ 3256:7fb479d0241c
Update build tools for native mingw
* src/build-m4.mk: do nothing for native mingw build
* Makefile.in:
- add bison, m4 as natve mingw, and python as jit build requirements.
- remove build-bison as a mingw build dependancy
* index.html: Add msys-bison to mingw required packages and mention ghostscript and python.
author | John Donoghue <john.donoghue@ieee.org> |
---|---|
date | Thu, 26 Sep 2013 21:18:39 -0400 |
parents | c05da3e2f652 |
children | 53c8b9c843c6 |
line wrap: on
line source
# This file is part of MXE. # See index.html for further information. PKG := gnuplot $(PKG)_IGNORE := $(PKG)_CHECKSUM := 1ea21a628223159b0297ae65fe8293afd5aab3c0 $(PKG)_SUBDIR := $(PKG)-$($(PKG)_VERSION) $(PKG)_FILE := gnuplot-$($(PKG)_VERSION).tar.gz $(PKG)_URL := http://sourceforge.net/projects/gnuplot/files/gnuplot/4.6.1/$($(PKG)_FILE) $(PKG)_DEPS := define $(PKG)_UPDATE echo 'Warning: Updates are temporarily disabled for package gnuplot.' >&2; echo $(gnuplot_VERSION) endef ifeq ($(MXE_SYSTEM),mingw) define $(PKG)_BUILD make -C '$(1)/config/mingw' CC='$(MXE_CC)' CXX='$(MXE_CXX)' RC='$(MXE_WINDRES)' -j '$(JOBS)' TARGET=gnuplot.exe gnuplot.exe make -C '$(1)/config/mingw' CC='$(MXE_CC)' CXX='$(MXE_CXX)' RC='$(MXE_WINDRES)' -j '$(JOBS)' TARGET=wgnuplot.exe wgnuplot.exe make -C '$(1)/config/mingw' CC='$(MXE_CC)' CXX='$(MXE_CXX)' RC='$(MXE_WINDRES)' -j '$(JOBS)' wgnuplot.mnu $(INSTALL) -d '$(HOST_BINDIR)' $(INSTALL) -m755 '$(1)/config/mingw/gnuplot.exe' '$(HOST_BINDIR)' $(INSTALL) -m755 '$(1)/config/mingw/wgnuplot.exe' '$(HOST_BINDIR)' $(INSTALL) -m644 '$(1)/config/mingw/wgnuplot.mnu' '$(HOST_BINDIR)' $(INSTALL) -d '$(TOP_DIR)/gnuplot/bin' $(INSTALL) -m755 '$(1)/config/mingw/gnuplot.exe' '$(TOP_DIR)/gnuplot/bin/' $(INSTALL) -m755 '$(1)/config/mingw/wgnuplot.exe' '$(TOP_DIR)/gnuplot/bin/' $(INSTALL) -m644 '$(1)/config/mingw/wgnuplot.mnu' '$(TOP_DIR)/gnuplot/bin/' endef else ifeq ($(MXE_SYSTEM),msvc) define $(PKG)_BUILD cd '$(1)/config/msvc' && \ env -u MAKE -u MAKEFLAGS nmake DESTDIR=$(shell (cd '$(HOST_PREFIX)' && pwd -W) | sed -e 's#/#\\\\#g') && \ env -u MAKE -u MAKEFLAGS nmake DESTDIR=$(shell (cd '$(HOST_PREFIX)' && pwd -W) | sed -e 's#/#\\\\#g') install endef else define $(PKG)_BUILD cd '$(1)' && ./configure \ $(CONFIGURE_CPPFLAGS) $(CONFIGURE_LDFLAGS) LIBS=-liconv \ --prefix '$(HOST_PREFIX)' make -C '$(1)' -j '$(JOBS)' install endef endif endif