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
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
4516
e575e2afdae4 mesa-proto: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1 # This file is part of MXE Octave.
e575e2afdae4 mesa-proto: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
2 # See index.html for further information.
e575e2afdae4 mesa-proto: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
3
e575e2afdae4 mesa-proto: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
4 PKG := mesa-proto
e575e2afdae4 mesa-proto: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
5 $(PKG)_VERSION = $(mesa_VERSION)
e575e2afdae4 mesa-proto: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
6 $(PKG)_CHECKSUM = $(mesa_CHECKSUM)
e575e2afdae4 mesa-proto: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
7 $(PKG)_SUBDIR = $(mesa_SUBDIR)
e575e2afdae4 mesa-proto: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
8 $(PKG)_FILE = $(mesa_FILE)
e575e2afdae4 mesa-proto: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
9 $(PKG)_URL = $(mesa_URL)
e575e2afdae4 mesa-proto: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
10 $(PKG)_DEPS :=
e575e2afdae4 mesa-proto: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
11
e575e2afdae4 mesa-proto: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
12 define $(PKG)_UPDATE
e575e2afdae4 mesa-proto: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
13 echo 'Warning: Updates are temporarily disabled for package $(PKG).' >&2;
e575e2afdae4 mesa-proto: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
14 echo $($(PKG)_VERSION)
e575e2afdae4 mesa-proto: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
15 endef
e575e2afdae4 mesa-proto: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
16
e575e2afdae4 mesa-proto: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
17 ifeq ($(USE_SYSTEM_OPENGL),no)
e575e2afdae4 mesa-proto: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
18 define $(PKG)_BUILD
e575e2afdae4 mesa-proto: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
19 $(INSTALL) -d '$(3)$(HOST_INCDIR)/GL';
e575e2afdae4 mesa-proto: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
20 for f in '$(1)/include/GL/*.h' ; do \
e575e2afdae4 mesa-proto: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
21 $(INSTALL) -m 644 $$f '$(3)$(HOST_INCDIR)/GL'; \
e575e2afdae4 mesa-proto: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
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
e575e2afdae4 mesa-proto: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
27 endef
e575e2afdae4 mesa-proto: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
28 else
e575e2afdae4 mesa-proto: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
29 define $(PKG)_BUILD
e575e2afdae4 mesa-proto: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
30 endef
e575e2afdae4 mesa-proto: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
31 endif