a31f5175b004383d9ca6cbc0b8abf4cf35a708a5
[googlelatitude] / src / daemon / daemon.pro
1 TARGET      = googlelatitude-daemon
2 HEADERS    += latitude.h glatitude.h gps.h \
3     dbusadaptor.h ../common/dbusclient.h \
4     qwebviewselectionsuppressor.h \
5     customuseragentpage.h
6 SOURCES    += main.cpp latitude.cpp glatitude.cpp gps.cpp \
7     dbusadaptor.cpp ../common/dbusclient.cpp
8
9 OBJECTS_DIR = build
10 MOC_DIR     = build
11 DESTDIR     = build
12
13 TEMPLATE    = app
14 QT         += network webkit dbus
15
16 contains(QT_CONFIG, maemo5) {
17     QT          += maemo5
18     CONFIG      += link_pkgconfig
19     PKGCONFIG   += glib-2.0 liblocation
20 }
21
22 unix {
23   #VARIABLES
24   isEmpty(PREFIX) {
25     PREFIX = /usr
26   }
27   BINDIR = $$PREFIX/bin
28   DATADIR =$$PREFIX/share
29
30   DEFINES += DATADIR=\\\"$$DATADIR\\\" PKGDATADIR=\\\"$$PKGDATADIR\\\"
31
32   #MAKE INSTALL
33
34   INSTALLS += target desktop icon64 updater
35   target.path =$$BINDIR
36
37   #service.path = $$DATADIR/dbus-1/services
38   #service.files += $${TARGET}.service
39
40   desktop.path = $$DATADIR/applications/hildon
41   desktop.files += ../../data/googlelatitude.desktop
42
43   icon64.path = $$DATADIR/icons/hicolor/64x64/apps
44   icon64.files += ../../data/googlelatitude.png
45
46   updater.path = /etc/event.d
47   updater.files += ../../data/glupdater
48 }
49