version 0.3-5
[googlelatitude] / src / src.pro
1 QT += network
2 QT += webkit
3 CONFIG += link_pkgconfig
4 PKGCONFIG += glib-2.0 \
5     liblocation
6 TARGET = GoogleLatitude
7 TEMPLATE = app
8 SOURCES += main.cpp \
9     latitude.cpp \
10     glatitude.cpp \
11     gps.cpp
12 HEADERS += latitude.h \
13     glatitude.h \
14     gps.h
15 HEADERS += gpsfake.h
16
17 unix { 
18     isEmpty(PREFIX):PREFIX = /usr/local
19     BINDIR = $$PREFIX/bin
20     DATADIR = $$PREFIX/share
21     DEFINES += DATADIR=\"$$DATADIR\" \
22         PKGDATADIR=\"$$PKGDATADIR\"
23     INSTALLS += target \
24         desktop \
25         iconxpm \
26         icon26 \
27         icon40 \
28         icon64
29     target.path = $$BINDIR
30     desktop.path = $$DATADIR/applications/hildon
31     desktop.files += $${TARGET}.desktop
32     iconxpm.path = $$DATADIR/pixmap
33     iconxpm.files += ../data/maemo/$${TARGET}.xpm
34     icon26.path = $$DATADIR/icons/hicolor/26x26/apps
35     icon26.files += ../data/26x26/$${TARGET}.png
36     icon40.path = $$DATADIR/icons/hicolor/40x40/apps
37     icon40.files += ../data/40x40/$${TARGET}.png
38     icon64.path = $$DATADIR/icons/hicolor/64x64/apps
39     icon64.files += ../data/64x64/$${TARGET}.png
40 }