mirror of
https://github.com/genodelabs/genode.git
synced 2024-12-19 13:47:56 +00:00
83e3178e9b
The FindXxx.cmake files are used by Goa's cmake support. genodelabs/genode#5087
27 lines
595 B
Makefile
27 lines
595 B
Makefile
MIRROR_FROM_REP_DIR := lib/import/import-mesa.mk \
|
|
lib/import/import-mesa_api.mk \
|
|
lib/symbols/egl \
|
|
lib/symbols/mesa
|
|
|
|
content: $(MIRROR_FROM_REP_DIR)
|
|
|
|
$(MIRROR_FROM_REP_DIR):
|
|
$(mirror_from_rep_dir)
|
|
|
|
PORT_DIR := $(call port_dir,$(REP_DIR)/ports/mesa)
|
|
|
|
content: include
|
|
|
|
include:
|
|
mkdir -p $@
|
|
cp -r $(PORT_DIR)/include/* $@
|
|
cp -r $(REP_DIR)/include/EGL $@
|
|
|
|
content: LICENSE FindOpenGL.cmake
|
|
|
|
LICENSE:
|
|
cp $(PORT_DIR)/src/lib/mesa/docs/license.rst $@
|
|
|
|
Find%.cmake:
|
|
echo 'set($*_FOUND True)' | sed -r 's/\w+_FOUND/\U&/' > $@
|