Mercurial > mxe-octave
view src/of-tsa-1-cross-fixes.patch @ 4222:44b1a9b2193e
qt5: add initial qt5 to mxe-octave, based on mxe.cc
* src/qt5.mk: new file
* src/qtbase-1-fixes.patch: new file
* src/qtbase.mk: new file
* src/qtimageformats-1.patch: new file
* src/qtimageformats.mk: new file
* src/qtsvg.mk: new file
* src/qttools-1.patch: new file
* added src/qttools.mk: new file
* changed Makefile.in: added ENABLE_QT5 option
* configure.ac: added enable-qt5 option
* index.html: added new files to packages
* installer-files/octave-firsttime.vbs: added setup of qt5 bin, plugin path
* installer-files/octave.vbs: added setup of qt5 bin, plugin path
* installer-files/octave.bat: added setup of qt5 bin path
* src/default-octave.mk: added settig fot qt5 usage
* src/qscintilla.mk: added qt5 path
author | John D |
---|---|
date | Thu, 29 Sep 2016 11:22:51 -0400 |
parents | c970bbc5e7db |
children |
line wrap: on
line source
diff -ur tsa.orig/src/Makefile tsa/src/Makefile --- tsa.orig/src/Makefile 2015-09-16 09:30:29.103875849 -0400 +++ tsa/src/Makefile 2015-09-16 09:40:42.945344571 -0400 @@ -41,9 +41,16 @@ CC ?= gcc CXX ?= g++ -CFLAGS = -Wall -Wextra -Wconversion -O2 -fPIC -OCTMEX = mkoctfile$(OCTAVE_VERSION) --mex -lgomp -RM = rm +CFLAGS ?= -Wall -Wextra -Wconversion -O2 -fPIC +MKOCTFILE ?= mkoctfile$(OCTAVE_VERSION) +OCTAVE_CONFIG ?= octave-config +CANONICAL_HOST_TYPE=$(shell $(OCTAVE_CONFIG) -p CANONICAL_HOST_TYPE) +ifneq (,$(findstring mingw,$(CANONICAL_HOST_TYPE))) + OCTMEX ?= $(MKOCTFILE) --mex +else + OCTMEX ?= $(MKOCTFILE) --mex -lgomp +endif +RM ?= rm ifneq (Darwin,$(shell uname)) CFLAGS += -fopenmp @@ -89,7 +96,7 @@ # Octave, MATLAB on Linux ######################################################### %.oct: %.cc - mkoctfile$(OCTAVE_VERSION) "$<" + $(MKOCTFILE) "$<" %.mex: %.cpp $(OCTMEX) "$<" -llapack -lblas