Reorganize CLEAN and DISTCLEAN targets.
[toast/confclerk.git] / src / gui / gui.pro
1 include(../global.pri)
2 TEMPLATE = lib
3 TARGET = gui
4 DESTDIR = ../bin
5 CONFIG += static
6 QT += sql \
7     xml \
8     network
9 QMAKE_CLEAN += ../bin/libgui.a
10
11 # module dependencies
12 LIBS += -L$$DESTDIR \
13     -lmvc \
14     -lorm \
15     -lsql
16 INCLUDEPATH += ../orm \
17     ../mvc \
18     ../sql \
19     ../app
20 DEPENDPATH += . \
21     ../orm \
22     ../mvc \
23     ../sql
24 POST_TARGETDEPS += $$DESTDIR/liborm.a \
25     $$DESTDIR/libmvc.a \
26     $$DESTDIR/libsql.a
27 maemo { 
28     LIBS += -L$$DESTDIR \
29         -lqalarm
30     INCLUDEPATH += ../alarm
31     DEPENDPATH += ../alarm
32     POST_TARGETDEPS += $$DESTDIR/libqalarm.a
33 }
34
35 # A shamelessly long list of sources, headers and forms.
36 # Please note that resources MUST be added to the app module
37 # (which means they need to be added to the test module as well,
38 # but I am sure you can live with that for the time being).
39
40 FORMS += searchhead.ui \
41     mainwindow.ui \
42     daynavigatorwidget.ui \
43     about.ui \
44     eventdialog.ui \
45     conflictsdialog.ui \
46     tabcontainer.ui \
47     settingsdialog.ui \
48     conferenceeditor.ui \
49     urlinputdialog.ui
50
51 HEADERS += roomstabcontainer.h \
52     nowtabcontainer.h \
53     trackstabcontainer.h \
54     favtabcontainer.h \
55     searchtabcontainer.h \
56     searchhead.h \
57     dayviewtabcontainer.h \
58     conflictdialogcontainer.h \
59     conflictsdialog.h \
60     mainwindow.h \
61     daynavigatorwidget.h \
62     eventdialog.h \
63     tabcontainer.h \
64     settingsdialog.h \
65     conferenceeditor.h \
66     urlinputdialog.h
67
68 SOURCES += roomstabcontainer.cpp \
69     nowtabcontainer.cpp \
70     trackstabcontainer.cpp \
71     favtabcontainer.cpp \
72     searchtabcontainer.cpp \
73     searchhead.cpp \
74     dayviewtabcontainer.cpp \
75     conflictdialogcontainer.cpp \
76     conflictsdialog.cpp \
77     mainwindow.cpp \
78     daynavigatorwidget.cpp \
79     eventdialog.cpp \
80     tabcontainer.cpp \
81     settingsdialog.cpp \
82     conferenceeditor.cpp \
83     urlinputdialog.cpp
84
85 HEADERS += errormessage.h
86 SOURCES += errormessage.cpp
87 CONFIG(maemo5) {
88     QT += maemo5
89 }
90
91 #maemo { 
92 #    FORMS += alarmdialog.ui
93 #    HEADERS += alarmdialog.h
94 #    SOURCES += alarmdialog.cpp
95 #}