genode/repos/libports/lib/mk/qt5.inc

23 lines
1.2 KiB
PHP
Raw Normal View History

2013-08-09 13:04:52 +00:00
QT_SOURCES_FILTER_OUT += $(COMPILER_MOC_HEADER_MAKE_ALL_FILES_FILTER_OUT)
QT_SOURCES_FILTERED = $(filter-out $(QT_SOURCES_FILTER_OUT), $(QT_SOURCES))
SRC_CC += $(filter %.cpp, $(QT_SOURCES_FILTERED))
SRC_CC += $(filter %.cc, $(QT_SOURCES_FILTERED))
SRC_C += $(filter %.c, $(QT_SOURCES_FILTERED))
COMPILER_MOC_HEADER_MAKE_ALL_FILES_FILTERED = $(filter-out $(COMPILER_MOC_HEADER_MAKE_ALL_FILES_FILTER_OUT), $(COMPILER_MOC_HEADER_MAKE_ALL_FILES))
$(addsuffix .o,$(basename $(SRC_CC))): $(COMPILER_MOC_HEADER_MAKE_ALL_FILES_FILTERED)
2013-08-09 13:04:52 +00:00
COMPILER_MOC_SOURCE_MAKE_ALL_FILES_FILTERED = $(filter-out $(COMPILER_MOC_SOURCE_MAKE_ALL_FILES_FILTER_OUT), $(COMPILER_MOC_SOURCE_MAKE_ALL_FILES))
$(addsuffix .o,$(basename $(SRC_CC))): $(COMPILER_MOC_SOURCE_MAKE_ALL_FILES_FILTERED)
2013-08-09 13:04:52 +00:00
QT5_INC_DIR += $(REP_DIR)/src/lib/qt5/qtbase/src/corelib/global
2013-08-09 13:04:52 +00:00
QT5_INC_DIR += $(addprefix $(REP_DIR)/src/lib/qt5/, $(QT_INCPATH))
QT5_INC_DIR += $(addprefix $(QT5_PORT_DIR)/src/lib/qt5/, $(QT_INCPATH))
QT5_INC_DIR += $(addprefix $(QT5_CONTRIB_DIR)/, $(QT_INCPATH))
2013-08-09 13:04:52 +00:00
vpath % $(addprefix $(REP_DIR)/src/lib/qt5/, $(QT_VPATH))
vpath % $(addprefix $(QT5_PORT_DIR)/src/lib/qt5/, $(QT_VPATH))
vpath % $(addprefix $(QT5_CONTRIB_DIR)/, $(QT_VPATH))