Debian Codegraph @

src/qt-console/bat.pro.in

raw ◀ ▶
Source reconstructed at patch state 0 of 3 — not the installed (fully patched) source.
3 Debian patches touch this file
1 ######################################################################
2 #
3 # !!!!!!! IMPORTANT !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
4 #
5 # Edit only bat.pro.in -- bat.pro is built by the ./configure program
6 #
7 # !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
8 #
9 CONFIG += qt debug @QWT@
10
11 greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
12
13 datarootdir = @datarootdir@
14 bins.path = /$(DESTDIR)@sbindir@
15 bins.files = bat
16 confs.path = /$(DESTDIR)@sysconfdir@
17 confs.commands = ./install_conf_file
18 help.path = /$(DESTDIR)@docdir@
19 help.files = help/*.html images/status.png images/mail-message-new.png
20
21 TEMPLATE = app
22 TARGET = bat
23 DEPENDPATH += .
24 INCLUDEPATH += .. . ./console ./restore ./select
25 LIBS += -L../lib -lbaccfg -lbac -L../findlib -lbacfind @OPENSSL_LIBS@
26 LIBTOOL_LINK = @QMAKE_LIBTOOL@ --silent --tag=CXX --mode=link
27 LIBTOOL_INSTALL = @QMAKE_LIBTOOL@ --silent --mode=install
28 QMAKE_LINK = $${LIBTOOL_LINK} $(CXX)
29 QMAKE_INSTALL_PROGRAM = $${LIBTOOL_INSTALL} install -m @SBINPERM@ -p
30 QMAKE_CLEAN += .libs/* bat
31
32 qwt {
33 INCLUDEPATH += @QWT_INC@
34 LIBS += @QWT_LDFLAGS@ @QWT_LIB@
35 }
36
37 macx {
38 ICON = images/bat_icon.icns
39 }
40
41 RESOURCES = main.qrc
42 MOC_DIR = moc
43 OBJECTS_DIR = obj
44 UI_DIR = ui
45
46 # Main window
47 FORMS += main.ui
48 FORMS += prefs.ui
49 FORMS += label/label.ui
50 FORMS += relabel/relabel.ui
51 FORMS += mount/mount.ui
52 FORMS += console/console.ui
53 FORMS += restore/restore.ui restore/prerestore.ui restore/brestore.ui
54 FORMS += restore/runrestore.ui
55 FORMS += restore/restoretree.ui
56 FORMS += run/run.ui run/runcmd.ui run/estimate.ui run/prune.ui
57 FORMS += select/select.ui select/textinput.ui
58 FORMS += medialist/medialist.ui mediaedit/mediaedit.ui joblist/joblist.ui
59 FORMS += medialist/mediaview.ui
60 FORMS += clients/clients.ui storage/storage.ui fileset/fileset.ui
61 FORMS += joblog/joblog.ui jobs/jobs.ui job/job.ui
62 FORMS += help/help.ui mediainfo/mediainfo.ui
63 FORMS += status/dirstat.ui storage/content.ui
64 FORMS += status/clientstat.ui
65 FORMS += status/storstat.ui
66 qwt {
67 FORMS += jobgraphs/jobplotcontrols.ui
68 }
69
70 # Main directory
71 HEADERS += mainwin.h bat.h bat_conf.h qstd.h pages.h
72 SOURCES += main.cpp bat_conf.cpp mainwin.cpp qstd.cpp pages.cpp
73
74 # include authenticatebase.cpp that is already in libbac because
75 # libbac is compiled with -no-rtti while qt-console use RTTI by
76 # default. Inherited sub-class with virtual method in shared lib
77 # using a diffferent RTTI model dont work well, see this error a
78 # link time: "... DirCommAuthenticate ... undefined reference to
79 # typeinfo for AuthenticateBase"
80 HEADERS += ../lib/authenticatebase.h
81 SOURCES += ../lib/authenticatebase.cc
82
83 # bcomm
84 HEADERS += bcomm/dircomm.h
85 SOURCES += bcomm/dircomm.cpp bcomm/dircomm_auth.cpp
86
87 # Console
88 HEADERS += console/console.h
89 SOURCES += console/console.cpp
90
91 # Restore
92 HEADERS += restore/restore.h
93 SOURCES += restore/prerestore.cpp restore/restore.cpp restore/brestore.cpp
94
95 # Label dialog
96 HEADERS += label/label.h
97 SOURCES += label/label.cpp
98
99 # Relabel dialog
100 HEADERS += relabel/relabel.h
101 SOURCES += relabel/relabel.cpp
102
103 # Mount dialog
104 HEADERS += mount/mount.h
105 SOURCES += mount/mount.cpp
106
107 # Run dialog
108 HEADERS += run/run.h
109 SOURCES += run/run.cpp run/runcmd.cpp run/estimate.cpp run/prune.cpp
110
111 # Select dialog
112 HEADERS += select/select.h select/textinput.h
113 SOURCES += select/select.cpp select/textinput.cpp
114
115 ## MediaList
116 HEADERS += medialist/medialist.h
117 SOURCES += medialist/medialist.cpp
118
119 # MediaView
120 HEADERS += medialist/mediaview.h
121 SOURCES += medialist/mediaview.cpp
122
123 ## MediaEdit
124 HEADERS += mediaedit/mediaedit.h
125 SOURCES += mediaedit/mediaedit.cpp
126
127 ## JobList
128 HEADERS += joblist/joblist.h
129 SOURCES += joblist/joblist.cpp
130
131 ## Clients
132 HEADERS += clients/clients.h
133 SOURCES += clients/clients.cpp
134
135 ## Storage
136 HEADERS += storage/storage.h
137 SOURCES += storage/storage.cpp
138
139 ## Storage content
140 HEADERS += storage/content.h
141 SOURCES += storage/content.cpp
142
143 ## Fileset
144 HEADERS += fileset/fileset.h
145 SOURCES += fileset/fileset.cpp
146
147 ## Job log
148 HEADERS += joblog/joblog.h
149 SOURCES += joblog/joblog.cpp
150
151 ## Job
152 HEADERS += job/job.h
153 SOURCES += job/job.cpp
154
155 ## Jobs
156 HEADERS += jobs/jobs.h
157 SOURCES += jobs/jobs.cpp
158
159 ## RestoreTree
160 HEADERS += restore/restoretree.h
161 SOURCES += restore/restoretree.cpp
162
163 ## Job Step Graphs
164 qwt {
165 HEADERS += jobgraphs/jobplot.h
166 SOURCES += jobgraphs/jobplot.cpp
167 }
168
169 # Help dialog
170 HEADERS += help/help.h
171 SOURCES += help/help.cpp
172
173 # Media info dialog
174 HEADERS += mediainfo/mediainfo.h
175 SOURCES += mediainfo/mediainfo.cpp
176
177 ## Status Dir
178 HEADERS += status/dirstat.h
179 SOURCES += status/dirstat.cpp
180
181 ## Status Client
182 HEADERS += status/clientstat.h
183 SOURCES += status/clientstat.cpp
184
185 ## Status Client
186 HEADERS += status/storstat.h
187 SOURCES += status/storstat.cpp
188
189 # Utility sources
190 HEADERS += util/fmtwidgetitem.h util/comboutil.h
191 SOURCES += util/fmtwidgetitem.cpp util/comboutil.cpp
192
193 INSTALLS = bins confs help
194
195 QMAKE_EXTRA_TARGETS += depend
196
197 TRANSLATIONS += ts/bat_fr.ts ts/bat_de.ts