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