-CONFIG += \
- qt \
- debug \
- mobility \
-
-MOBILITY = \
- location \
- bearer \
-
-LIBS += \
- /usr/lib/libQtLocation.so \
-
-DEFINES+= Q_WS_MAEMO_5
-
-QT += \
- network \
-
-TEMPLATE = app
-
-FORMS = zouba.ui
-
+TARGET = zouba
SOURCES += \
main.cpp \
route.cpp \
uicontroller.cpp \
location.cpp \
location_p.cpp \
+ locations.cpp \
gpscontroller.cpp \
+ ui.cpp \
+ messagetable.cpp \
+ messagehandler.cpp \
HEADERS += \
route.h \
uicontroller.h \
location.h \
location_p.h \
+ locations.h \
ytv.h \
gpscontroller.h \
+ ui.h \
+ messagetable.h \
+ messagehandler.h \
+
+FORMS +=
+LEXSOURCES += #LEXS#
+YACCSOURCES += #YACCS#
+
+INCLUDEPATH += include
+#QMAKE_LIBDIR_QT = qt4-maemo5/lib
+#QMAKE_INCDIR_QT = qt4-maemo5/include
+LIBS += -Llib -lQtBearer -lQtLocation
+DEFINES += Q_WS_MAEMO_5
+
+# 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