mirror of
https://gitee.com/openharmony/third_party_mesa3d
synced 2024-11-25 08:20:34 +00:00
00994ac08c
Added the make script version.mk to print the various version numbers from configs/default. This is used to substitute the version in autoconf rather than duplicating it in both places.
18 lines
341 B
Makefile
Executable File
18 lines
341 B
Makefile
Executable File
#!/usr/bin/make -sf
|
|
# Print the various Mesa version fields. This is mostly used to add the
|
|
# version to configure.
|
|
|
|
# This reflects that this script is usually called from the toplevel
|
|
TOP = .
|
|
|
|
include $(TOP)/configs/default
|
|
|
|
version:
|
|
@echo $(MESA_VERSION)
|
|
major:
|
|
@echo $(MESA_MAJOR)
|
|
minor:
|
|
@echo $(MESA_MINOR)
|
|
tiny:
|
|
@echo $(MESA_TINY)
|