Changes: display route legs in table; removed message table/button
[ptas] / zouba / zouba.pro
index d56ef81..845d0ff 100644 (file)
@@ -1,34 +1,15 @@
-CONFIG += \
-    qt \
-    debug \
-    mobility \
-
-MOBILITY = \
-   location \
-   bearer \
-
-LIBS += \
-   /usr/lib/libQtLocation.so \
-
-DEFINES+= Q_WS_MAEMO_5
-
-QT += \
-  network \
-
-TEMPLATE = app
-
+TARGET      = zouba
 SOURCES += \
     main.cpp \
     route.cpp \
     route_p.cpp \
     uicontroller.cpp \
     location.cpp \
-    locations.cpp \
     location_p.cpp \
+    locations.cpp \
     gpscontroller.cpp \
+    gpscontroller_p.cpp \
     ui.cpp \
-    messagetable.cpp \
-    messagehandler.cpp \
 
 HEADERS += \
     route.h \
@@ -36,9 +17,62 @@ HEADERS += \
     uicontroller.h \
     location.h \
     location_p.h \
+    locations.h \
     ytv.h \
     gpscontroller.h \
+    gpscontroller_p.h \
     ui.h \
-    messagetable.h \
-    messagehandler.h \
 
+FORMS       +=
+LEXSOURCES  += #LEXS#
+YACCSOURCES += #YACCS#
+
+INCLUDEPATH += include
+DEPENDSPATH += INCLUDEPATH
+#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