Altered changelog and fixes to project file.
[ptas] / 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     gpscontroller_p.cpp \
12     ui.cpp \
13     xmlparser.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     gpscontroller_p.h \
25     ui.h \
26     xmlparser.h \
27
28 FORMS       +=
29 LEXSOURCES  += #LEXS#
30 YACCSOURCES += #YACCS#
31
32 INCLUDEPATH += include
33 DEPENDSPATH += INCLUDEPATH
34 #QMAKE_LIBDIR_QT = qt4-maemo5/lib
35 #QMAKE_INCDIR_QT = qt4-maemo5/include
36 LIBS        += -Llib -lQtBearer -lQtLocation
37 DEFINES     += Q_WS_MAEMO_5
38
39 # All generated files goes same directory
40 OBJECTS_DIR = build
41 MOC_DIR     = build
42 UI_DIR      = build
43
44 DESTDIR     = build
45 TEMPLATE    = app
46 DEPENDPATH  +=
47 VPATH       += src uis
48 CONFIG      -=
49 CONFIG      += debug qt mobility
50 MOBILITY    += location bearer
51 QT=core gui network maemo5
52
53 INSTALLS    += target
54 target.path  = /usr/bin/
55
56 INSTALLS    += desktop
57 desktop.path  = /usr/share/applications/hildon
58 desktop.files  = data/zouba.desktop
59
60 INSTALLS    += service
61 service.path  = /usr/share/dbus-1/services
62 service.files  = data/zouba.service
63
64 INSTALLS    += icon64
65 icon64.path  = /usr/share/icons/hicolor/64x64/apps
66 icon64.files  = data/64x64/zouba.png
67
68 #
69 # Targets for debian source and binary package creation
70 #
71 debian-src.commands = dpkg-buildpackage -S -r -us -uc -d
72 debian-bin.commands = dpkg-buildpackage -b -r -uc -d
73 debian-all.depends = debian-src debian-bin
74
75 #
76 # Clean all but Makefile
77 #
78 compiler_clean.commands = -$(DEL_FILE) $(TARGET)
79
80 QMAKE_EXTRA_TARGETS += debian-all debian-src debian-bin compiler_clean