Mercurial > mxe-octave
annotate src/of-fl-core-1-fixes.patch @ 3854:85568f3159a4
binary-packages: update for cross tools
* Makefile.in: add MXE_OCTAVECONFIG and use for of-pkg building
* dist-files.mk: add of-fits-1-cross-fixes.patch, of-sockets-1-cross-fixes.patch
* src/default-octave.mk: use --enable-cross-tools not --enable-cross-mkoctfile and
install octave-config
* src/of-fits-1-cross-fixes.patch: new file
* src/of-fits.mk: enable package compile
* src/of-fl-core-1-fixes.patch: new file
* src/of-fl-core.mk: enable pkg conpile
* src/of-sockets-1-cross-fixes.patch: new file
* src/of-sockets.mk: enable pkg conpile
author | John Donoghue |
---|---|
date | Fri, 20 Mar 2015 14:39:17 -0400 |
parents | 207b5f6713d9 |
children | b36a7ab4bd2c |
rev | line source |
---|---|
3854 | 1 diff -ur fl-core/src/Makefile fl-core.new/src/Makefile |
2 --- fl-core/src/Makefile 2011-02-06 14:09:03.000000000 -0500 | |
3 +++ fl-core.new/src/Makefile 2015-03-20 13:45:48.577323118 -0400 | |
4 @@ -1,15 +1,23 @@ | |
3420
207b5f6713d9
Update fl-core for current release patch
John Donoghue <john.donoghue@ieee.org>
parents:
3419
diff
changeset
|
5 OCT = fl_compose.oct |
207b5f6713d9
Update fl-core for current release patch
John Donoghue <john.donoghue@ieee.org>
parents:
3419
diff
changeset
|
6 SRC := $(OCT:.oct=.cc) |
3419
e7e29aeea726
Add octave forge 'fl-core' package
John Donoghue <john.donoghue@ieee.org>
parents:
diff
changeset
|
7 BASE := $(OCT:.oct=) |
3420
207b5f6713d9
Update fl-core for current release patch
John Donoghue <john.donoghue@ieee.org>
parents:
3419
diff
changeset
|
8 -ifdef COMSPEC |
207b5f6713d9
Update fl-core for current release patch
John Donoghue <john.donoghue@ieee.org>
parents:
3419
diff
changeset
|
9 + |
3854 | 10 +MKOCTFILE ?= mkoctfile |
11 +OCTAVECONFIG ?= octave-config | |
12 + | |
13 +ifneq (,$(findstring mingw,$(shell $(OCTAVECONFIG) -p CANONICAL_HOST_TYPE))) | |
3419
e7e29aeea726
Add octave forge 'fl-core' package
John Donoghue <john.donoghue@ieee.org>
parents:
diff
changeset
|
14 + ADDPARAM := -lpthread |
e7e29aeea726
Add octave forge 'fl-core' package
John Donoghue <john.donoghue@ieee.org>
parents:
diff
changeset
|
15 +else |
3420
207b5f6713d9
Update fl-core for current release patch
John Donoghue <john.donoghue@ieee.org>
parents:
3419
diff
changeset
|
16 + ifdef COMSPEC |
3419
e7e29aeea726
Add octave forge 'fl-core' package
John Donoghue <john.donoghue@ieee.org>
parents:
diff
changeset
|
17 ADDPARAM := -lpthreadVC2 |
3420
207b5f6713d9
Update fl-core for current release patch
John Donoghue <john.donoghue@ieee.org>
parents:
3419
diff
changeset
|
18 + endif |
3419
e7e29aeea726
Add octave forge 'fl-core' package
John Donoghue <john.donoghue@ieee.org>
parents:
diff
changeset
|
19 endif |
e7e29aeea726
Add octave forge 'fl-core' package
John Donoghue <john.donoghue@ieee.org>
parents:
diff
changeset
|
20 |
e7e29aeea726
Add octave forge 'fl-core' package
John Donoghue <john.donoghue@ieee.org>
parents:
diff
changeset
|
21 .phony: all |
3854 | 22 all: $(OCT) |
23 | |
24 %.oct: %.cc | |
25 - mkoctfile -s $< $(ADDPARAM) | |
26 + $(MKOCTFILE) -s $< $(ADDPARAM) | |
27 | |
28 .phony: clean | |
29 clean: |