mirror of
https://github.com/genodelabs/genode.git
synced 2024-12-20 06:07:59 +00:00
afa0e26a6a
Fixes #3490
46 lines
1.0 KiB
Makefile
46 lines
1.0 KiB
Makefile
IMPORT_QT5_INC=$(call select_from_repositories,lib/import/import-qt5.inc)
|
|
|
|
include $(IMPORT_QT5_INC)
|
|
|
|
SHARED_LIB = yes
|
|
|
|
include $(REP_DIR)/lib/mk/qt5_qtquickvirtualkeyboardstylesplugin_generated.inc
|
|
|
|
QT_DEFINES += -UQT_STATICPLUGIN
|
|
|
|
include $(REP_DIR)/lib/mk/qt5.inc
|
|
|
|
LIBS += qt5_gui qt5_qml qt5_quick qt5_svg qt5_virtualkeyboard
|
|
|
|
# install the QML plugin
|
|
|
|
QML_PLUGIN_NAME := qt5_qtquickvirtualkeyboardstylesplugin
|
|
QML_INSTALL_DIR := qt/qml/QtQuick/VirtualKeyboard/Styles
|
|
|
|
QML_PLUGIN := $(QML_INSTALL_DIR)/$(QML_PLUGIN_NAME).lib.so
|
|
TAR_ARCHIVE := $(BUILD_BASE_DIR)/bin/$(QML_PLUGIN_NAME).tar
|
|
|
|
$(QML_INSTALL_DIR):
|
|
$(VERBOSE)mkdir -p $@
|
|
|
|
$(QML_PLUGIN): $(QML_INSTALL_DIR) $(QML_PLUGIN_NAME).lib.so.stripped
|
|
$(VERBOSE)cp $(QML_PLUGIN_NAME).lib.so.stripped $@
|
|
|
|
$(TAR_ARCHIVE): $(QML_PLUGIN)
|
|
$(VERBOSE)tar cf $@ qt
|
|
|
|
ifneq ($(call select_from_ports,qt5),)
|
|
$(QML_PLUGIN_NAME).lib.tag: $(TAR_ARCHIVE)
|
|
endif
|
|
|
|
#
|
|
# unfortunately, these clean rules don't trigger
|
|
#
|
|
|
|
clean-tar_archive:
|
|
rm -rf $(TAR_ARCHIVE)
|
|
|
|
clean: clean-tar_archive
|
|
|
|
CC_CXX_WARN_STRICT =
|