Reorganize CLEAN and DISTCLEAN targets.
[toast/confclerk.git] / src / gui / gui.pro
index ae85249b8aef59bafe9520dc5598997d6ccf8bda..b6898f79e8378ac340f87ff541518e8d18f87377 100644 (file)
@@ -4,7 +4,9 @@ TARGET = gui
 DESTDIR = ../bin
 CONFIG += static
 QT += sql \
-    xml
+    xml \
+    network
+QMAKE_CLEAN += ../bin/libgui.a
 
 # module dependencies
 LIBS += -L$$DESTDIR \
@@ -19,7 +21,7 @@ DEPENDPATH += . \
     ../orm \
     ../mvc \
     ../sql
-TARGETDEPS += $$DESTDIR/liborm.a \
+POST_TARGETDEPS += $$DESTDIR/liborm.a \
     $$DESTDIR/libmvc.a \
     $$DESTDIR/libsql.a
 maemo { 
@@ -27,7 +29,7 @@ maemo {
         -lqalarm
     INCLUDEPATH += ../alarm
     DEPENDPATH += ../alarm
-    TARGETDEPS += $$DESTDIR/libqalarm.a
+    POST_TARGETDEPS += $$DESTDIR/libqalarm.a
 }
 
 # A shamelessly long list of sources, headers and forms.
@@ -38,12 +40,13 @@ maemo {
 FORMS += searchhead.ui \
     mainwindow.ui \
     daynavigatorwidget.ui \
-    importschedulewidget.ui \
     about.ui \
     eventdialog.ui \
     conflictsdialog.ui \
     tabcontainer.ui \
-    mapwindow.ui
+    settingsdialog.ui \
+    conferenceeditor.ui \
+    urlinputdialog.ui
 
 HEADERS += roomstabcontainer.h \
     nowtabcontainer.h \
@@ -56,11 +59,11 @@ HEADERS += roomstabcontainer.h \
     conflictsdialog.h \
     mainwindow.h \
     daynavigatorwidget.h \
-    importschedulewidget.h \
     eventdialog.h \
-    tabwidget.h \
     tabcontainer.h \
-    mapwindow.h
+    settingsdialog.h \
+    conferenceeditor.h \
+    urlinputdialog.h
 
 SOURCES += roomstabcontainer.cpp \
     nowtabcontainer.cpp \
@@ -73,14 +76,20 @@ SOURCES += roomstabcontainer.cpp \
     conflictsdialog.cpp \
     mainwindow.cpp \
     daynavigatorwidget.cpp \
-    importschedulewidget.cpp \
     eventdialog.cpp \
-    tabwidget.cpp \
     tabcontainer.cpp \
-    mapwindow.cpp
+    settingsdialog.cpp \
+    conferenceeditor.cpp \
+    urlinputdialog.cpp
 
-maemo { 
-    FORMS += alarmdialog.ui
-    HEADERS += alarmdialog.h
-    SOURCES += alarmdialog.cpp
+HEADERS += errormessage.h
+SOURCES += errormessage.cpp
+CONFIG(maemo5) {
+    QT += maemo5
 }
+
+#maemo { 
+#    FORMS += alarmdialog.ui
+#    HEADERS += alarmdialog.h
+#    SOURCES += alarmdialog.cpp
+#}