]> git.sur5r.net Git - bacula/bacula/blob - bacula/src/qt-console/bat.pro.mingw32.in
bat: add new Expired button in MediaView
[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 debug cross-win32
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 @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      = moc
37 OBJECTS_DIR  = obj
38 UI_DIR       = ui
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/restoretree.ui
49 FORMS += run/run.ui run/runcmd.ui run/estimate.ui run/prune.ui
50 FORMS += select/select.ui
51 FORMS += medialist/medialist.ui mediaedit/mediaedit.ui joblist/joblist.ui
52 FORMS += clients/clients.ui storage/storage.ui fileset/fileset.ui
53 FORMS += joblog/joblog.ui jobs/jobs.ui job/job.ui
54 FORMS += help/help.ui
55 FORMS += status/dirstat.ui
56 FORMS += status/clientstat.ui
57 FORMS += status/storstat.ui
58 qwt {
59   FORMS += jobgraphs/jobplotcontrols.ui
60 }
61
62 # Main directory
63 HEADERS += mainwin.h bat.h bat_conf.h qstd.h pages.h
64 SOURCES += main.cpp bat_conf.cpp mainwin.cpp qstd.cpp pages.cpp
65
66 # bcomm
67 HEADERS += bcomm/dircomm.h
68 SOURCES += bcomm/dircomm.cpp bcomm/dircomm_auth.cpp
69
70 # Console
71 HEADERS += console/console.h
72 SOURCES += console/console.cpp
73
74 # Restore
75 HEADERS += restore/restore.h
76 SOURCES += restore/prerestore.cpp restore/restore.cpp restore/brestore.cpp
77
78 # Label dialog
79 HEADERS += label/label.h
80 SOURCES += label/label.cpp
81
82 # Relabel dialog
83 HEADERS += relabel/relabel.h
84 SOURCES += relabel/relabel.cpp
85
86 # Mount dialog
87 HEADERS += mount/mount.h
88 SOURCES += mount/mount.cpp
89
90 # Run dialog
91 HEADERS += run/run.h
92 SOURCES += run/run.cpp run/runcmd.cpp run/estimate.cpp run/prune.cpp
93
94 # Select dialog
95 HEADERS += select/select.h
96 SOURCES += select/select.cpp
97
98 ## MediaList
99 HEADERS += medialist/medialist.h
100 SOURCES += medialist/medialist.cpp
101
102 ## MediaEdit
103 HEADERS += mediaedit/mediaedit.h
104 SOURCES += mediaedit/mediaedit.cpp
105
106 ## JobList
107 HEADERS += joblist/joblist.h
108 SOURCES += joblist/joblist.cpp
109
110 ## Clients
111 HEADERS += clients/clients.h
112 SOURCES += clients/clients.cpp
113
114 ## Storage
115 HEADERS += storage/storage.h
116 SOURCES += storage/storage.cpp
117
118 ## Fileset
119 HEADERS += fileset/fileset.h
120 SOURCES += fileset/fileset.cpp
121
122 ## Job log
123 HEADERS += joblog/joblog.h
124 SOURCES += joblog/joblog.cpp
125
126 ## Jobs
127 HEADERS += jobs/jobs.h
128 SOURCES += jobs/jobs.cpp
129
130 ## Job
131 HEADERS += job/job.h
132 SOURCES += job/job.cpp
133
134 ## RestoreTree
135 HEADERS += restore/restoretree.h
136 SOURCES += restore/restoretree.cpp
137
138 ## Job Step Graphs
139 qwt {
140   HEADERS += jobgraphs/jobplot.h
141   SOURCES += jobgraphs/jobplot.cpp
142 }
143
144 # Help dialog
145 HEADERS += help/help.h
146 SOURCES += help/help.cpp
147
148 ## Status Dir
149 HEADERS += status/dirstat.h
150 SOURCES += status/dirstat.cpp
151
152 ## Status Client
153 HEADERS += status/clientstat.h
154 SOURCES += status/clientstat.cpp
155
156 ## Status Client
157 HEADERS += status/storstat.h
158 SOURCES += status/storstat.cpp
159
160 # Utility sources
161 HEADERS += util/fmtwidgetitem.h util/comboutil.h
162 SOURCES += util/fmtwidgetitem.cpp util/comboutil.cpp
163
164 INSTALLS += bins
165 INSTALLS += confs
166
167 QMAKE_EXTRA_TARGETS += depend
168
169 TRANSLATIONS += ts/bat_fr.ts ts/bat_de.ts