summaryrefslogtreecommitdiff
path: root/libresourceqt/libresourceqt.pro
diff options
context:
space:
mode:
Diffstat (limited to 'libresourceqt/libresourceqt.pro')
-rw-r--r--libresourceqt/libresourceqt.pro20
1 files changed, 11 insertions, 9 deletions
diff --git a/libresourceqt/libresourceqt.pro b/libresourceqt/libresourceqt.pro
index b9e5cd5..a80eac8 100644
--- a/libresourceqt/libresourceqt.pro
+++ b/libresourceqt/libresourceqt.pro
@@ -1,17 +1,18 @@
+include(../common.pri)
TEMPLATE = lib
-VERSION = 1.0.0
TARGET = resourceqt
DESTDIR = build
-DEPENDPATH += include src
-INCLUDEPATH += src include ../libresource/src
+DEPENDPATH += $${POLICY} src
+INCLUDEPATH += $${LIBRESOURCEINC} src
# Input
-PUBLIC_HEADERS = include/resource.h include/resource-set.h include/resources.h
+PUBLIC_HEADERS = $${POLICY}/resource.h $${POLICY}/resource-set.h $${POLICY}/resources.h
-HEADERS += $$PUBLIC_HEADERS
+HEADERS += $${PUBLIC_HEADERS} src/resource-engine.h
SOURCES += src/resource.cpp \
src/resource-set.cpp \
+ src/resource-engine.cpp \
src/resources.cpp
OBJECTS_DIR = build
@@ -19,12 +20,13 @@ MOC_DIR = build
CONFIG += qt link_pkgconfig dll
QT = core
-PKGCONFIG += dbus-1
+PKGCONFIG += dbus-1 libresource0
# Install directives
-headers.files = $$PUBLIC_HEADERS
+headers.files = $${PUBLIC_HEADERS}
INSTALLBASE = /usr
-target.path = $$INSTALLBASE/lib
-headers.path = $$INSTALLBASE/include/resource/qt4
+target.path = $${INSTALLBASE}/lib
+headers.path = $${INSTALLBASE}/include/resource/qt4/policy
INSTALLS = target headers
+