genode/qt4/lib/mk/qt_core.mk

41 lines
1.2 KiB
Makefile
Raw Normal View History

2011-12-22 15:19:25 +00:00
include $(REP_DIR)/lib/import/import-qt_core.mk
SHARED_LIB = yes
# use default warning level to avoid noise when compiling contrib code
CC_WARN = -Wno-unused-but-set-variable -Wno-deprecated-declarations
include $(REP_DIR)/lib/mk/qt_core_generated.inc
2011-12-22 15:19:25 +00:00
# add Genode-specific sources
QT_SOURCES += qprocess_genode.cpp \
qeventdispatcher_genode.cpp \
qmutex_genode.cpp \
qthread_genode.cpp \
qwaitcondition_genode.cpp \
moc_qeventdispatcher_genode_p.cpp
2011-12-22 15:19:25 +00:00
# remove unsupported UNIX-specific files
QT_SOURCES_FILTER_OUT = \
moc_qeventdispatcher_unix_p.cpp \
qeventdispatcher_unix.cpp \
qmutex_unix.cpp \
qprocess_unix.cpp \
qthread_unix.cpp \
qwaitcondition_unix.cpp
2011-12-22 15:19:25 +00:00
# remove unneeded files to prevent moc warnings
COMPILER_MOC_HEADER_MAKE_ALL_FILES_FILTER_OUT = \
moc_qfuturewatcher.cpp \
moc_qsharedmemory.cpp
2011-12-22 15:19:25 +00:00
2013-05-02 15:59:56 +00:00
include $(REP_DIR)/lib/mk/qt.inc
INC_DIR += $(REP_DIR)/include/qt4/QtCore/private \
2013-05-02 15:59:56 +00:00
$(REP_DIR)/contrib/$(QT4)/include/QtCore/private
2011-12-22 15:19:25 +00:00
LIBS += launchpad zlib libc libm alarm libc_lock_pipe
2011-12-22 15:19:25 +00:00
vpath % $(REP_DIR)/include/qt4/QtCore
vpath % $(REP_DIR)/include/qt4/QtCore/private