--- /dev/null
+TARGET = googlelatitude-daemon
+HEADERS += latitude.h glatitude.h gps.h \
+ dbusadaptor.h ../common/dbusclient.h \
+ qwebviewselectionsuppressor.h \
+ customuseragentpage.h
+SOURCES += main.cpp latitude.cpp glatitude.cpp gps.cpp \
+ dbusadaptor.cpp ../common/dbusclient.cpp
+
+OBJECTS_DIR = build
+MOC_DIR = build
+DESTDIR = build
+
+TEMPLATE = app
+QT += network webkit dbus
+
+contains(QT_CONFIG, maemo5) {
+ QT += maemo5
+ CONFIG += link_pkgconfig
+ PKGCONFIG += glib-2.0 liblocation
+}
+
+unix {
+ #VARIABLES
+ isEmpty(PREFIX) {
+ PREFIX = /usr
+ }
+ BINDIR = $$PREFIX/bin
+ DATADIR =$$PREFIX/share
+
+ DEFINES += DATADIR=\\\"$$DATADIR\\\" PKGDATADIR=\\\"$$PKGDATADIR\\\"
+
+ #MAKE INSTALL
+
+ INSTALLS += target desktop icon64 updater
+ target.path =$$BINDIR
+
+ #service.path = $$DATADIR/dbus-1/services
+ #service.files += $${TARGET}.service
+
+ desktop.path = $$DATADIR/applications/hildon
+ desktop.files += ../../data/googlelatitude.desktop
+
+ icon64.path = $$DATADIR/icons/hicolor/64x64/apps
+ icon64.files += ../../data/googlelatitude.png
+
+ updater.path = /etc/event.d
+ updater.files += ../../data/glupdater
+}
+