Mercurial > mxe-octave
annotate src/mesa-proto.mk @ 5531:eae508c12529
Add build rule for build-octave (bug #49503).
* src/build-octave.mk: Add new build rule for build-octave which can be used for
cross-building binary packages that depend on Octave as a build tool.
* dist-files.mk: Add new file to list.
* index.html: Add new package to list.
* src/of-communications.mk, src/of-image.mk, src/of-mapping.mk,
src/of-optiminterp.mk, src/of-sparsersb.mk, src/of-statistics.mk,
src/of-windows.mk: Add optional dependency on build-octave.
* configure.ac: Add new configure switch "--disable-system-octave" that is
needed to build the build-octave package.
* Makefile.in: Add variable "USE_SYSTEM_OCTAVE". Exclude build-octave from the
default build tools and build it only if a package explicitly depends on it.
Display warning about missing native Octave version only if necessary.
author | Markus Mützel <markus.muetzel@gmx.de> |
---|---|
date | Tue, 08 Sep 2020 23:04:38 +0200 |
parents | a99cf8dbe52d |
children |
rev | line source |
---|---|
4516 | 1 # This file is part of MXE Octave. |
2 # See index.html for further information. | |
3 | |
4 PKG := mesa-proto | |
5 $(PKG)_VERSION = $(mesa_VERSION) | |
6 $(PKG)_CHECKSUM = $(mesa_CHECKSUM) | |
7 $(PKG)_SUBDIR = $(mesa_SUBDIR) | |
8 $(PKG)_FILE = $(mesa_FILE) | |
9 $(PKG)_URL = $(mesa_URL) | |
10 $(PKG)_DEPS := | |
11 | |
12 define $(PKG)_UPDATE | |
13 echo 'Warning: Updates are temporarily disabled for package $(PKG).' >&2; | |
14 echo $($(PKG)_VERSION) | |
15 endef | |
16 | |
17 ifeq ($(USE_SYSTEM_OPENGL),no) | |
18 define $(PKG)_BUILD | |
19 $(INSTALL) -d '$(3)$(HOST_INCDIR)/GL'; | |
20 for f in '$(1)/include/GL/*.h' ; do \ | |
21 $(INSTALL) -m 644 $$f '$(3)$(HOST_INCDIR)/GL'; \ | |
22 done | |
4946
a99cf8dbe52d
mesa: Update to v18.2.8
Markus Mützel <markus.muetzel@gmx.de>
parents:
4516
diff
changeset
|
23 $(INSTALL) -d '$(3)$(HOST_INCDIR)/KHR'; |
a99cf8dbe52d
mesa: Update to v18.2.8
Markus Mützel <markus.muetzel@gmx.de>
parents:
4516
diff
changeset
|
24 for f in '$(1)/include/KHR/*.h' ; do \ |
a99cf8dbe52d
mesa: Update to v18.2.8
Markus Mützel <markus.muetzel@gmx.de>
parents:
4516
diff
changeset
|
25 $(INSTALL) -m 644 $$f '$(3)$(HOST_INCDIR)/KHR'; \ |
a99cf8dbe52d
mesa: Update to v18.2.8
Markus Mützel <markus.muetzel@gmx.de>
parents:
4516
diff
changeset
|
26 done |
4516 | 27 endef |
28 else | |
29 define $(PKG)_BUILD | |
30 endef | |
31 endif |