Reorganize CLEAN and DISTCLEAN targets.
[toast/confclerk.git] / src / gui / gui.pro
index 12237c4940cf1a4eae41d74734079fee418cca47..b6898f79e8378ac340f87ff541518e8d18f87377 100644 (file)
@@ -3,48 +3,93 @@ TEMPLATE = lib
 TARGET = gui
 DESTDIR = ../bin
 CONFIG += static
-QT += sql xml
+QT += sql \
+    xml \
+    network
+QMAKE_CLEAN += ../bin/libgui.a
 
 # module dependencies
-LIBS += -L$$DESTDIR -lmvc -lorm -lsql
-INCLUDEPATH += ../orm ../mvc ../sql ../app
-DEPENDPATH += . ../orm ../mvc ../sql
-TARGETDEPS += $$DESTDIR/liborm.a $$DESTDIR/libmvc.a $$DESTDIR/libsql.a
-maemo {
-    LIBS += -L$$DESTDIR -lqalarm
+LIBS += -L$$DESTDIR \
+    -lmvc \
+    -lorm \
+    -lsql
+INCLUDEPATH += ../orm \
+    ../mvc \
+    ../sql \
+    ../app
+DEPENDPATH += . \
+    ../orm \
+    ../mvc \
+    ../sql
+POST_TARGETDEPS += $$DESTDIR/liborm.a \
+    $$DESTDIR/libmvc.a \
+    $$DESTDIR/libsql.a
+maemo { 
+    LIBS += -L$$DESTDIR \
+        -lqalarm
     INCLUDEPATH += ../alarm
-    DEPENDPATH +=  ../alarm
-    TARGETDEPS +=  $$DESTDIR/libqalarm.a
+    DEPENDPATH += ../alarm
+    POST_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 \
-         daynavigatorwidget.ui \
-         importscheduledialog.ui \
-         about.ui \
-         eventdialog.ui \
-         mapwindow.ui
+FORMS += searchhead.ui \
+    mainwindow.ui \
+    daynavigatorwidget.ui \
+    about.ui \
+    eventdialog.ui \
+    conflictsdialog.ui \
+    tabcontainer.ui \
+    settingsdialog.ui \
+    conferenceeditor.ui \
+    urlinputdialog.ui
 
-HEADERS += mainwindow.h \
-           daynavigatorwidget.h \
-           importscheduledialog.h \
-           eventdialog.h \
-           mapwindow.h
+HEADERS += roomstabcontainer.h \
+    nowtabcontainer.h \
+    trackstabcontainer.h \
+    favtabcontainer.h \
+    searchtabcontainer.h \
+    searchhead.h \
+    dayviewtabcontainer.h \
+    conflictdialogcontainer.h \
+    conflictsdialog.h \
+    mainwindow.h \
+    daynavigatorwidget.h \
+    eventdialog.h \
+    tabcontainer.h \
+    settingsdialog.h \
+    conferenceeditor.h \
+    urlinputdialog.h
 
-SOURCES += mainwindow.cpp \
-           daynavigatorwidget.cpp \
-           importscheduledialog.cpp \
-           eventdialog.cpp \
-           mapwindow.cpp
+SOURCES += roomstabcontainer.cpp \
+    nowtabcontainer.cpp \
+    trackstabcontainer.cpp \
+    favtabcontainer.cpp \
+    searchtabcontainer.cpp \
+    searchhead.cpp \
+    dayviewtabcontainer.cpp \
+    conflictdialogcontainer.cpp \
+    conflictsdialog.cpp \
+    mainwindow.cpp \
+    daynavigatorwidget.cpp \
+    eventdialog.cpp \
+    tabcontainer.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
+#}