]> git.sur5r.net Git - bacula/bacula/blob - bacula/src/qt-console/bat.pro.mingw32.in
Massive bat notifier rewrite + fix seg fault + implement text input dialog
[bacula/bacula] / bacula / src / qt-console / bat.pro.mingw32.in
1 ######################################################################
2 # Version $Id: bat.pro.in 7051 2008-05-29 01:19:31Z bartleyd2 $
3 #
4 #   !!!!!!! IMPORTANT !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
5 #
6 #      Edit only bat.pro.in  -- bat.pro is built by the ./configure program
7 #
8 #   !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
9 #    
10 CONFIG += qt cross-win32
11 # CONFIG += debug 
12
13 bins.path = ./
14 bins.files = ./bat
15 confs.path = ./
16 confs.commands = ./install_conf_file   
17
18 TEMPLATE     = app
19 TARGET       = bat
20 DEPENDPATH  += .
21 INCLUDEPATH += .. . ./console ./restore ./select
22
23 cross-win32 {
24 #  LIBS       +=  ../win32/dll/bacula.a
25   LIBS       +=  -mwindows -L../win32/release32 -lbacula
26 }
27 !cross-win32 {
28   LIBS        += -L../lib -lbac @OPENSSL_LIBS@
29 }
30
31 qwt {
32   INCLUDEPATH += @QWT_INC@ 
33   LIBS        += @QWT_LDFLAGS@ @QWT_LIB@
34 }
35
36 RESOURCES    = main.qrc
37 MOC_DIR      = moc32
38 OBJECTS_DIR  = obj32
39 UI_DIR       = ui32
40
41 # Main window
42 FORMS += main.ui 
43 FORMS += prefs.ui
44 FORMS += label/label.ui 
45 FORMS += relabel/relabel.ui 
46 FORMS += mount/mount.ui     
47 FORMS += console/console.ui 
48 FORMS += restore/restore.ui restore/prerestore.ui restore/brestore.ui
49 FORMS += restore/restoretree.ui                                      
50 FORMS += run/run.ui run/runcmd.ui run/estimate.ui run/prune.ui       
51 FORMS += select/select.ui select/textinput.ui                        
52 FORMS += medialist/medialist.ui mediaedit/mediaedit.ui joblist/joblist.ui
53 FORMS += medialist/mediaview.ui                                          
54 FORMS += clients/clients.ui storage/storage.ui fileset/fileset.ui        
55 FORMS += joblog/joblog.ui jobs/jobs.ui job/job.ui                        
56 FORMS += help/help.ui mediainfo/mediainfo.ui                             
57 FORMS += status/dirstat.ui storage/content.ui                            
58 FORMS += status/clientstat.ui                                            
59 FORMS += status/storstat.ui                                              
60 qwt {                                                                    
61   FORMS += jobgraphs/jobplotcontrols.ui                                  
62 }                                                                        
63
64 # Main directory
65 HEADERS += mainwin.h bat.h bat_conf.h qstd.h pages.h
66 SOURCES += main.cpp bat_conf.cpp mainwin.cpp qstd.cpp pages.cpp
67
68 # bcomm
69 HEADERS += bcomm/dircomm.h
70 SOURCES += bcomm/dircomm.cpp bcomm/dircomm_auth.cpp
71
72 # Console
73 HEADERS += console/console.h
74 SOURCES += console/console.cpp
75
76 # Restore
77 HEADERS += restore/restore.h
78 SOURCES += restore/prerestore.cpp restore/restore.cpp restore/brestore.cpp
79
80 # Label dialog
81 HEADERS += label/label.h
82 SOURCES += label/label.cpp
83
84 # Relabel dialog
85 HEADERS += relabel/relabel.h
86 SOURCES += relabel/relabel.cpp
87
88 # Mount dialog
89 HEADERS += mount/mount.h
90 SOURCES += mount/mount.cpp
91
92 # Run dialog
93 HEADERS += run/run.h
94 SOURCES += run/run.cpp run/runcmd.cpp run/estimate.cpp run/prune.cpp
95
96 # Select dialog
97 HEADERS += select/select.h select/textinput.h
98 SOURCES += select/select.cpp select/textinput.cpp
99
100 ## MediaList
101 HEADERS += medialist/medialist.h
102 SOURCES += medialist/medialist.cpp
103
104 # MediaView
105 HEADERS += medialist/mediaview.h
106 SOURCES += medialist/mediaview.cpp
107
108 ## MediaEdit
109 HEADERS += mediaedit/mediaedit.h
110 SOURCES += mediaedit/mediaedit.cpp
111
112 ## JobList
113 HEADERS += joblist/joblist.h
114 SOURCES += joblist/joblist.cpp
115
116 ## Clients
117 HEADERS += clients/clients.h
118 SOURCES += clients/clients.cpp
119
120 ## Storage
121 HEADERS += storage/storage.h
122 SOURCES += storage/storage.cpp
123
124 ## Storage content
125 HEADERS += storage/content.h
126 SOURCES += storage/content.cpp
127
128 ## Fileset
129 HEADERS += fileset/fileset.h
130 SOURCES += fileset/fileset.cpp
131
132 ## Job log
133 HEADERS += joblog/joblog.h
134 SOURCES += joblog/joblog.cpp
135
136 ## Job
137 HEADERS += job/job.h
138 SOURCES += job/job.cpp
139
140 ## Jobs
141 HEADERS += jobs/jobs.h
142 SOURCES += jobs/jobs.cpp
143
144 ## RestoreTree
145 HEADERS += restore/restoretree.h
146 SOURCES += restore/restoretree.cpp
147
148 ## Job Step Graphs
149 qwt {
150   HEADERS += jobgraphs/jobplot.h
151   SOURCES += jobgraphs/jobplot.cpp
152 }
153
154 # Help dialog
155 HEADERS += help/help.h
156 SOURCES += help/help.cpp
157
158 # Media info dialog
159 HEADERS += mediainfo/mediainfo.h
160 SOURCES += mediainfo/mediainfo.cpp
161
162 ## Status Dir
163 HEADERS += status/dirstat.h
164 SOURCES += status/dirstat.cpp
165
166 ## Status Client
167 HEADERS += status/clientstat.h
168 SOURCES += status/clientstat.cpp
169
170 ## Status Client
171 HEADERS += status/storstat.h
172 SOURCES += status/storstat.cpp
173
174 # Utility sources
175 HEADERS += util/fmtwidgetitem.h util/comboutil.h
176 SOURCES += util/fmtwidgetitem.cpp util/comboutil.cpp
177
178 INSTALLS += bins
179 INSTALLS += confs
180
181 QMAKE_EXTRA_TARGETS += depend
182
183 TRANSLATIONS += ts/bat_fr.ts ts/bat_de.ts