genode/repos/libports/lib/mk/qt5_printsupport.mk
2014-08-22 16:16:40 +02:00

33 lines
1008 B
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 += $(QT5_CONTRIB_DIR)/qtbase/include/QtPrintSupport/$(QT_VERSION)/QtPrintSupport \
$(QT5_CONTRIB_DIR)/qtbase/include/QtWidgets/$(QT_VERSION)/QtWidgets \
$(QT5_CONTRIB_DIR)/qtbase/include/QtGui/$(QT_VERSION)/QtGui \
$(QT5_CONTRIB_DIR)/qtbase/include/QtCore/$(QT_VERSION)/QtCore \
LIBS += qt5_core