]> git.sur5r.net Git - bacula/bacula/blob - bacula/src/qt-console/bat.pro.in
Add configure bat QWT libraries, so that bat can be built
[bacula/bacula] / bacula / src / qt-console / bat.pro.in
1 ######################################################################
2 # Version $Id$
3 #
4 #   !!!!!!! IMPORTANT !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
5 #
6 #      Edit only bat.pro.in  -- bat.pro is built by the ./configure program
7 #
8 #   !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
9 #    
10 CONFIG += qt debug @QWT@
11
12 bins.path = /$(DESTDIR)@sbindir@
13 bins.files = ./bat
14 confs.path = /$(DESTDIR)@sysconfdir@
15 confs.commands = ./install_conf_file   
16
17 TEMPLATE     = app
18 TARGET       = bat
19 DEPENDPATH  += .
20 INCLUDEPATH += .. . ./console ./restore ./select
21 LIBS        += -L../lib -lbac @OPENSSL_LIBS@
22
23 qwt {
24   INCLUDEPATH += @QWT_INC@ 
25   LIBS        += @QWT_LDFLAGS@ @QWT_LIB@
26 }
27
28 RESOURCES    = main.qrc
29 MOC_DIR      = moc
30 OBJECTS_DIR  = obj
31 UI_DIR       = ui
32
33 # Main window
34 FORMS += main.ui 
35 FORMS += prefs.ui
36 FORMS += label/label.ui 
37 FORMS += relabel/relabel.ui 
38 FORMS += mount/mount.ui
39 FORMS += console/console.ui
40 FORMS += restore/restore.ui restore/prerestore.ui restore/brestore.ui
41 FORMS += restore/restoretree.ui
42 FORMS += run/run.ui run/runcmd.ui run/estimate.ui run/prune.ui
43 FORMS += select/select.ui
44 FORMS += medialist/medialist.ui mediaedit/mediaedit.ui joblist/joblist.ui
45 FORMS += clients/clients.ui storage/storage.ui fileset/fileset.ui
46 FORMS += joblog/joblog.ui jobs/jobs.ui
47 FORMS += help/help.ui
48 FORMS += status/dirstat.ui
49 FORMS += status/clientstat.ui
50 FORMS += status/storstat.ui
51 qwt {
52   FORMS += jobgraphs/jobplotcontrols.ui
53 }
54
55 # Main directory
56 HEADERS += mainwin.h bat.h bat_conf.h qstd.h pages.h
57 SOURCES += main.cpp bat_conf.cpp mainwin.cpp qstd.cpp pages.cpp
58
59 # bcomm
60 HEADERS += bcomm/dircomm.h
61 SOURCES += bcomm/dircomm.cpp bcomm/dircomm_auth.cpp
62
63 # Console
64 HEADERS += console/console.h
65 SOURCES += console/authenticate.cpp console/console.cpp
66
67 # Restore
68 HEADERS += restore/restore.h
69 SOURCES += restore/prerestore.cpp restore/restore.cpp restore/brestore.cpp
70
71 # Label dialog
72 HEADERS += label/label.h
73 SOURCES += label/label.cpp
74
75 # Relabel dialog
76 HEADERS += relabel/relabel.h
77 SOURCES += relabel/relabel.cpp
78
79 # Mount dialog
80 HEADERS += mount/mount.h
81 SOURCES += mount/mount.cpp
82
83 # Run dialog
84 HEADERS += run/run.h
85 SOURCES += run/run.cpp run/runcmd.cpp run/estimate.cpp run/prune.cpp
86
87 # Select dialog
88 HEADERS += select/select.h
89 SOURCES += select/select.cpp
90
91 ## MediaList
92 HEADERS += medialist/medialist.h
93 SOURCES += medialist/medialist.cpp
94
95 ## MediaEdit
96 HEADERS += mediaedit/mediaedit.h
97 SOURCES += mediaedit/mediaedit.cpp
98
99 ## JobList
100 HEADERS += joblist/joblist.h
101 SOURCES += joblist/joblist.cpp
102
103 ## Clients
104 HEADERS += clients/clients.h
105 SOURCES += clients/clients.cpp
106
107 ## Storage
108 HEADERS += storage/storage.h
109 SOURCES += storage/storage.cpp
110
111 ## Fileset
112 HEADERS += fileset/fileset.h
113 SOURCES += fileset/fileset.cpp
114
115 ## Job log
116 HEADERS += joblog/joblog.h
117 SOURCES += joblog/joblog.cpp
118
119 ## Jobs
120 HEADERS += jobs/jobs.h
121 SOURCES += jobs/jobs.cpp
122
123 ## RestoreTree
124 HEADERS += restore/restoretree.h
125 SOURCES += restore/restoretree.cpp
126
127 ## Job Step Graphs
128 qwt {
129   HEADERS += jobgraphs/jobplot.h
130   SOURCES += jobgraphs/jobplot.cpp
131 }
132
133 # Help dialog
134 HEADERS += help/help.h
135 SOURCES += help/help.cpp
136
137 ## Status Dir
138 HEADERS += status/dirstat.h
139 SOURCES += status/dirstat.cpp
140
141 ## Status Client
142 HEADERS += status/clientstat.h
143 SOURCES += status/clientstat.cpp
144
145 ## Status Client
146 HEADERS += status/storstat.h
147 SOURCES += status/storstat.cpp
148
149 # Utility sources
150 HEADERS += util/fmtwidgetitem.h
151 SOURCES += util/fmtwidgetitem.cpp
152
153 INSTALLS += bins
154 INSTALLS += confs
155
156 QMAKE_EXTRA_TARGETS += depend
157
158 TRANSLATIONS += ts/bat_fr.ts ts/bat_de.ts