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