genode/libports/lib/mk/qt5_printsupport.mk
Christian Prochaska 7b54eaaee1 libports: add Qt5
Fixes #345.
2013-08-13 17:27:40 +02:00

33 lines
1.0 KiB
Makefile

include $(REP_DIR)/lib/import/import-qt5_printsupport.mk
SHARED_LIB = yes
# use default warning level to avoid noise when compiling contrib code
CC_WARN =
include $(REP_DIR)/lib/mk/qt5_printsupport_generated.inc
# remove unneeded files to prevent moc warnings
COMPILER_MOC_HEADER_MAKE_ALL_FILES_FILTER_OUT = \
moc_qabstractprintdialog.cpp \
moc_qprintpreviewwidget.cpp \
moc_qpagesetupdialog.cpp \
moc_qprintdialog.cpp \
moc_qprintpreviewdialog.cpp \
moc_qpagesetupdialog_unix_p.cpp \
COMPILER_MOC_SOURCE_MAKE_ALL_FILES_FILTER_OUT = \
qprintpreviewwidget.moc \
qprintdialog_unix.moc \
qprintpreviewdialog.moc \
include $(REP_DIR)/lib/mk/qt5.inc
INC_DIR += $(REP_DIR)/contrib/$(QT5)/qtbase/include/QtPrintSupport/$(QT_VERSION)/QtPrintSupport \
$(REP_DIR)/contrib/$(QT5)/qtbase/include/QtWidgets/$(QT_VERSION)/QtWidgets \
$(REP_DIR)/contrib/$(QT5)/qtbase/include/QtGui/$(QT_VERSION)/QtGui \
$(REP_DIR)/contrib/$(QT5)/qtbase/include/QtCore/$(QT_VERSION)/QtCore \
LIBS += qt5_core