Added icon.
[ptas] / zouba / zouba.pro
1 TARGET      = zouba
2 SOURCES += \
3     main.cpp \
4     route.cpp \
5     route_p.cpp \
6     uicontroller.cpp \
7     location.cpp \
8     location_p.cpp \
9     locations.cpp \
10     gpscontroller.cpp \
11     ui.cpp \
12     messagetable.cpp \
13     messagehandler.cpp \
14
15 HEADERS += \
16     route.h \
17     route_p.h \
18     uicontroller.h \
19     location.h \
20     location_p.h \
21     locations.h \
22     ytv.h \
23     gpscontroller.h \
24     ui.h \
25     messagetable.h \
26     messagehandler.h \
27
28 FORMS       += 
29 LEXSOURCES  += #LEXS#
30 YACCSOURCES += #YACCS#
31
32 INCLUDEPATH += include
33 QMAKE_LIBDIR_QT = qt4-maemo5/lib
34 #QMAKE_INCDIR_QT = qt4-maemo5/include
35 LIBS        += lib/libQtLocation.so
36 DEFINES     += Q_WS_MAEMO_5
37
38 # All generated files goes same directory
39 OBJECTS_DIR = build
40 MOC_DIR     = build
41 UI_DIR      = build
42
43 DESTDIR     = build
44 TEMPLATE    = app
45 DEPENDPATH  +=
46 VPATH       += src uis
47 CONFIG      -= 
48 CONFIG      += debug qt mobility
49 MOBILITY    += location bearer
50 QT=core gui network
51
52 INSTALLS    += target
53 target.path  = /usr/bin/
54
55 INSTALLS    += desktop
56 desktop.path  = /usr/share/applications/hildon
57 desktop.files  = data/zouba.desktop
58
59 INSTALLS    += service
60 service.path  = /usr/share/dbus-1/services
61 service.files  = data/zouba.service
62
63 INSTALLS    += icon64
64 icon64.path  = /usr/share/icons/hicolor/64x64/apps
65 icon64.files  = data/64x64/zouba.png
66
67 #
68 # Targets for debian source and binary package creation
69 #
70 debian-src.commands = dpkg-buildpackage -S -r -us -uc -d
71 debian-bin.commands = dpkg-buildpackage -b -r -uc -d
72 debian-all.depends = debian-src debian-bin
73
74 #
75 # Clean all but Makefile
76 #
77 compiler_clean.commands = -$(DEL_FILE) $(TARGET)
78
79 QMAKE_EXTRA_TARGETS += debian-all debian-src debian-bin compiler_clean