genode/repos/libports/lib/mk/qt5_qml.mk
Norman Feske 366bba0227 Exclude higher-level repos from strict warnings
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
2018-01-17 12:14:36 +01:00

40 lines
1.0 KiB
Makefile

include $(REP_DIR)/lib/import/import-qt5_qml.mk
SHARED_LIB = yes
ifneq ($(call select_from_ports,qt5),)
all: $(QT5_PORT_DIR)/src/lib/qt5/qtdeclarative/src/3rdparty/masm/generated.tag
endif
# make the 'HOST_TOOLS' variable known
include $(REP_DIR)/lib/mk/qt5_host_tools.mk
$(QT5_PORT_DIR)/src/lib/qt5/qtdeclarative/src/3rdparty/masm/generated.tag: $(HOST_TOOLS)
$(VERBOSE)mkdir -p $(dir $@)
python $(QT5_CONTRIB_DIR)/qtdeclarative/src/3rdparty/masm/create_regex_tables > $(dir $@)/RegExpJitTables.h
$(VERBOSE)touch $@
include $(REP_DIR)/lib/mk/qt5_qml_generated.inc
# remove unneeded files to prevent moc warnings
COMPILER_MOC_HEADER_MAKE_ALL_FILES_FILTER_OUT = \
moc_qqmlabstractprofileradapter_p.cpp \
moc_qqmldebugconnector_p.cpp \
moc_qqmldebugservice_p.cpp \
moc_qqmldebugserviceinterfaces_p.cpp \
moc_qqmlprofiler_p.cpp \
moc_qv4debugging_p.cpp \
moc_qv4profiling_p.cpp \
QT_VPATH += qtdeclarative/src/qml/debugger
include $(REP_DIR)/lib/mk/qt5.inc
LIBS += qt5_network qt5_core libc
CC_CXX_WARN_STRICT =