]> git.sur5r.net Git - bacula/bacula/blob - bacula/src/qt-console/bat.pro.in
kes Apply libdbi patch from Joao Freitas for regress and for
[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
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 INCLUDEPATH += @QWT_INC@ 
22 LIBS        += -L../lib -lbac @OPENSSL_LIBS@
23 LIBS        += @QWT_LDFLAGS@ -lqwt
24
25 RESOURCES    = main.qrc
26 MOC_DIR      = moc
27 OBJECTS_DIR  = obj
28 UI_DIR       = ui
29
30 # Main window
31 FORMS += main.ui 
32 FORMS += prefs.ui
33 FORMS += label/label.ui 
34 FORMS += relabel/relabel.ui 
35 FORMS += mount/mount.ui
36 FORMS += console/console.ui
37 FORMS += restore/restore.ui restore/prerestore.ui restore/brestore.ui
38 FORMS += restore/restoretree.ui
39 FORMS += run/run.ui run/runcmd.ui run/estimate.ui run/prune.ui
40 FORMS += select/select.ui
41 FORMS += medialist/medialist.ui mediaedit/mediaedit.ui joblist/joblist.ui
42 FORMS += clients/clients.ui storage/storage.ui fileset/fileset.ui
43 FORMS += joblog/joblog.ui jobs/jobs.ui
44 FORMS += help/help.ui
45 FORMS += jobgraphs/jobplotcontrols.ui
46 FORMS += status/dirstat.ui
47 FORMS += status/clientstat.ui
48 FORMS += status/storstat.ui
49
50 # Main directory
51 HEADERS += mainwin.h bat.h bat_conf.h qstd.h pages.h
52 SOURCES += main.cpp bat_conf.cpp mainwin.cpp qstd.cpp pages.cpp
53
54 # bcomm
55 HEADERS += bcomm/dircomm.h
56 SOURCES += bcomm/dircomm.cpp bcomm/dircomm_auth.cpp
57
58 # Console
59 HEADERS += console/console.h
60 SOURCES += console/authenticate.cpp console/console.cpp
61
62 # Restore
63 HEADERS += restore/restore.h
64 SOURCES += restore/prerestore.cpp restore/restore.cpp restore/brestore.cpp
65
66 # Label dialog
67 HEADERS += label/label.h
68 SOURCES += label/label.cpp
69
70 # Relabel dialog
71 HEADERS += relabel/relabel.h
72 SOURCES += relabel/relabel.cpp
73
74 # Mount dialog
75 HEADERS += mount/mount.h
76 SOURCES += mount/mount.cpp
77
78 # Run dialog
79 HEADERS += run/run.h
80 SOURCES += run/run.cpp run/runcmd.cpp run/estimate.cpp run/prune.cpp
81
82 # Select dialog
83 HEADERS += select/select.h
84 SOURCES += select/select.cpp
85
86 ## MediaList
87 HEADERS += medialist/medialist.h
88 SOURCES += medialist/medialist.cpp
89
90 ## MediaEdit
91 HEADERS += mediaedit/mediaedit.h
92 SOURCES += mediaedit/mediaedit.cpp
93
94 ## JobList
95 HEADERS += joblist/joblist.h
96 SOURCES += joblist/joblist.cpp
97
98 ## Clients
99 HEADERS += clients/clients.h
100 SOURCES += clients/clients.cpp
101
102 ## Storage
103 HEADERS += storage/storage.h
104 SOURCES += storage/storage.cpp
105
106 ## Fileset
107 HEADERS += fileset/fileset.h
108 SOURCES += fileset/fileset.cpp
109
110 ## Job log
111 HEADERS += joblog/joblog.h
112 SOURCES += joblog/joblog.cpp
113
114 ## Jobs
115 HEADERS += jobs/jobs.h
116 SOURCES += jobs/jobs.cpp
117
118 ## RestoreTree
119 HEADERS += restore/restoretree.h
120 SOURCES += restore/restoretree.cpp
121
122 ## Job Step Graphs
123 HEADERS += jobgraphs/jobplot.h
124 SOURCES += jobgraphs/jobplot.cpp
125
126 # Help dialog
127 HEADERS += help/help.h
128 SOURCES += help/help.cpp
129
130 ## Status Dir
131 HEADERS += status/dirstat.h
132 SOURCES += status/dirstat.cpp
133
134 ## Status Client
135 HEADERS += status/clientstat.h
136 SOURCES += status/clientstat.cpp
137
138 ## Status Client
139 HEADERS += status/storstat.h
140 SOURCES += status/storstat.cpp
141
142 INSTALLS += bins
143 INSTALLS += confs
144
145 QMAKE_EXTRA_TARGETS += depend
146
147 TRANSLATIONS += ts/bat_fr.ts ts/bat_de.ts