-CONFIG += \
- qt \
- debug \
+TARGET = zouba
+SOURCES += \
+ main.cpp \
+ route.cpp \
+ route_p.cpp \
+ uicontroller.cpp \
+ location.cpp \
+ location_p.cpp \
+ locations.cpp \
+ gpscontroller.cpp \
+ ui.cpp \
+ messagetable.cpp \
+ messagehandler.cpp \
-QT += \
- network \
+HEADERS += \
+ route.h \
+ route_p.h \
+ uicontroller.h \
+ location.h \
+ location_p.h \
+ locations.h \
+ ytv.h \
+ gpscontroller.h \
+ ui.h \
+ messagetable.h \
+ messagehandler.h \
-TEMPLATE = app
-FORMS = zouba.ui
+FORMS +=
+LEXSOURCES += #LEXS#
+YACCSOURCES += #YACCS#
-SOURCES = \
- main.cpp \
- route.cpp \
- route_p.cpp \
- uicontroller.cpp \
- location.cpp \
- location_p.cpp \
+INCLUDEPATH += include
+#QMAKE_LIBDIR_QT = qt4-maemo5/lib
+#QMAKE_INCDIR_QT = qt4-maemo5/include
+LIBS += -Llib -lQtBearer -lQtLocation
+DEFINES += Q_WS_MAEMO_5
-HEADERS += \
- route.h \
- route_p.h \
- uicontroller.h \
- location.h \
- location_p.h \
+# All generated files goes same directory
+OBJECTS_DIR = build
+MOC_DIR = build
+UI_DIR = build
+
+DESTDIR = build
+TEMPLATE = app
+DEPENDPATH +=
+VPATH += src uis
+CONFIG -=
+CONFIG += debug qt mobility
+MOBILITY += location bearer
+QT=core gui network
+
+INSTALLS += target
+target.path = /usr/bin/
+
+INSTALLS += desktop
+desktop.path = /usr/share/applications/hildon
+desktop.files = data/zouba.desktop
+
+INSTALLS += service
+service.path = /usr/share/dbus-1/services
+service.files = data/zouba.service
+
+INSTALLS += icon64
+icon64.path = /usr/share/icons/hicolor/64x64/apps
+icon64.files = data/64x64/zouba.png
+
+#
+# Targets for debian source and binary package creation
+#
+debian-src.commands = dpkg-buildpackage -S -r -us -uc -d
+debian-bin.commands = dpkg-buildpackage -b -r -uc -d
+debian-all.depends = debian-src debian-bin
+
+#
+# Clean all but Makefile
+#
+compiler_clean.commands = -$(DEL_FILE) $(TARGET)
+QMAKE_EXTRA_TARGETS += debian-all debian-src debian-bin compiler_clean