| 1 |
include(../common.pri) |
| 2 |
|
| 3 |
TEMPLATE = lib |
| 4 |
CONFIG += qt |
| 5 |
|
| 6 |
QT = core dbus |
| 7 |
|
| 8 |
TARGET = $${QTDBUSEXTENDEDLIB} |
| 9 |
|
| 10 |
QMAKE_SUBSTITUTES = $${TARGET}.prf.in |
| 11 |
|
| 12 |
DEFINES += QT_DBUS_EXTENDED_LIBRARY |
| 13 |
|
| 14 |
# Generate pkg-config support by default |
| 15 |
# Note that we HAVE TO also create prl config as QMake implementation |
| 16 |
# mixes both of them together. |
| 17 |
CONFIG += create_pc create_prl no_install_prl |
| 18 |
|
| 19 |
SOURCES += \ |
| 20 |
dbusextendedabstractinterface.cpp \ |
| 21 |
dbusextendedpendingcallwatcher.cpp |
| 22 |
|
| 23 |
HEADERS += \ |
| 24 |
dbusextended.h \ |
| 25 |
dbusextendedabstractinterface.h \ |
| 26 |
dbusextendedpendingcallwatcher_p.h |
| 27 |
|
| 28 |
INSTALL_HEADERS = \ |
| 29 |
DBusExtended \ |
| 30 |
DBusExtendedAbstractInterface \ |
| 31 |
dbusextended.h \ |
| 32 |
dbusextendedabstractinterface.h |
| 33 |
|
| 34 |
target.path = $$[QT_INSTALL_LIBS] |
| 35 |
headers.files = $$INSTALL_HEADERS |
| 36 |
headers.path = $$[QT_INSTALL_HEADERS]/DBusExtended |
| 37 |
prf.files = $${TARGET}.prf |
| 38 |
prf.path = $$[QMAKE_MKSPECS]/features |
| 39 |
INSTALLS += target headers prf |
| 40 |
|
| 41 |
QMAKE_PKGCONFIG_LIBDIR = $$target.path |
| 42 |
QMAKE_PKGCONFIG_INCDIR = $$headers.path |
| 43 |
QMAKE_PKGCONFIG_DESTDIR = pkgconfig |
| 44 |
QMAKE_PKGCONFIG_NAME = DBusExtended |
| 45 |
QMAKE_PKGCONFIG_REQUIRES += Qt5Core Qt5DBus |