mirror of
https://github.com/genodelabs/genode.git
synced 2024-12-25 16:31:06 +00:00
366bba0227
This is a follow-up commit to "Increase default warning level", which overrides Genode's new default warning level for targets contained in higher-level repositories. By explicitly whitelisting all those targets, we can selectively adjust them to the new strictness over time - by looking out for 'CC_CXX_WARN_STRICT' in the target description files. Issue #465
43 lines
1.1 KiB
Makefile
43 lines
1.1 KiB
Makefile
include $(REP_DIR)/lib/import/import-qt5_qquicklayoutsplugin.mk
|
|
|
|
SHARED_LIB = yes
|
|
|
|
include $(REP_DIR)/lib/mk/qt5_qquicklayoutsplugin_generated.inc
|
|
|
|
QT_DEFINES += -UQT_STATICPLUGIN
|
|
|
|
include $(REP_DIR)/lib/mk/qt5.inc
|
|
|
|
LIBS += qt5_qml mesa
|
|
|
|
# install the QtQuick QML plugin
|
|
|
|
QTQUICK_INSTALL_DIR := $(BUILD_BASE_DIR)/bin/qt5_fs/qt/qml/QtQuick/Layouts
|
|
QTQUICK_QMLDIR := $(QTQUICK_INSTALL_DIR)/qmldir
|
|
QTQUICK_PLUGIN_NAME := qt5_qquicklayoutsplugin.lib.so
|
|
QTQUICK_PLUGIN := $(QTQUICK_INSTALL_DIR)/$(QTQUICK_PLUGIN_NAME)
|
|
|
|
$(QTQUICK_INSTALL_DIR):
|
|
$(VERBOSE)mkdir -p $@
|
|
|
|
$(QTQUICK_QMLDIR): $(QTQUICK_INSTALL_DIR)
|
|
$(VERBOSE)cp $(QT5_CONTRIB_DIR)/qtdeclarative/src/imports/layouts/qmldir $(QTQUICK_INSTALL_DIR)
|
|
|
|
$(QTQUICK_PLUGIN): $(QTQUICK_INSTALL_DIR)
|
|
$(VERBOSE)ln -sf $(BUILD_BASE_DIR)/bin/$(QTQUICK_PLUGIN_NAME) $(QTQUICK_INSTALL_DIR)/$(QTQUICK_PLUGIN_NAME)
|
|
|
|
ifneq ($(call select_from_ports,qt5),)
|
|
all: $(QTQUICK_QMLDIR) $(QTQUICK_PLUGIN)
|
|
endif
|
|
|
|
#
|
|
# unfortunately, these clean rules don't trigger
|
|
#
|
|
|
|
clean-qtquick_install_dir:
|
|
rm -rf $(QTQUICK_INSTALL_DIR)
|
|
|
|
clean: clean-qtquick_install_dir
|
|
|
|
CC_CXX_WARN_STRICT =
|