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