genode/repos/libports/src/test/qt5/qpluginwidget/target.mk

18 lines
516 B
Makefile

# identify the QT5 repository by searching for a file that is unique for QT5
QT5_REP_DIR := $(call select_from_repositories,lib/import/import-qt5.inc)
QT5_REP_DIR := $(realpath $(dir $(QT5_REP_DIR))../..)
include $(QT5_REP_DIR)/src/app/qt5/tmpl/target_defaults.inc
include $(QT5_REP_DIR)/src/app/qt5/tmpl/target_final.inc
LIBS += qt5_qpluginwidget qt5_network qoost
$(TARGET): test-plugin.tar
test-plugin.tar: config.plugin
$(VERBOSE)tar cf $@ -C $(PRG_DIR) config.plugin
clean:
$(VERBOSE)rm test-plugin.tar