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