+include(../global.pri)
TEMPLATE = lib
TARGET = gui
DESTDIR = ../bin
CONFIG += static
-QT += sql
+QT += sql xml
# module dependencies
-LIBS += -L$$DESTDIR -lmodel -orm
-INCLUDEPATH += ../orm ../model
-DEPENDPATH += . ../orm ../model
-TARGETDEPS += $$DESTDIR/liborm.a $$DESTDIR/libmodel.a
+LIBS += -L$$DESTDIR -lmvc -lorm -lsql
+INCLUDEPATH += ../orm ../mvc ../sql
+DEPENDPATH += . ../orm ../mvc ../sql
+TARGETDEPS += $$DESTDIR/liborm.a $$DESTDIR/libmvc.a $$DESTDIR/libsql.a
+maemo {
+ LIBS += -L$$DESTDIR -lqalarm
+ INCLUDEPATH += ../alarm
+ DEPENDPATH += ../alarm
+ TARGETDEPS += $$DESTDIR/libqalarm.a
+}
# A shamelessly long list of sources, headers and forms.
# Please note that resources MUST be added to the app module
# (which means they need to be added to the test module as well,
# but I am sure you can live with that for the time being).
-FORMS += mainwindow.ui
-SOURCES += mainwindow.cpp
-HEADERS += mainwindow.h
+
+FORMS += mainwindow.ui \
+ daynavigatorwidget.ui \
+ about.ui \
+ eventdialog.ui \
+ mapwindow.ui
+
+HEADERS += mainwindow.h \
+ daynavigatorwidget.h \
+ eventdialog.h \
+ mapwindow.h
+
+SOURCES += mainwindow.cpp \
+ daynavigatorwidget.cpp \
+ eventdialog.cpp \
+ mapwindow.cpp
+
+maemo {
+ FORMS += alarmdialog.ui
+ HEADERS += alarmdialog.h
+ SOURCES += alarmdialog.cpp
+}