1 ######################################################################
4 # !!!!!!! IMPORTANT !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
6 # Edit only bat.pro.in -- bat.pro is built by the ./configure program
8 # !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
10 CONFIG += qt debug @QWT@
12 bins.path = /$(DESTDIR)@sbindir@
14 confs.path = /$(DESTDIR)@sysconfdir@
15 confs.commands = ./install_conf_file
20 INCLUDEPATH += .. . ./console ./restore ./select
21 LIBS += -L../lib -lbac @OPENSSL_LIBS@
24 INCLUDEPATH += @QWT_INC@
25 LIBS += @QWT_LDFLAGS@ @QWT_LIB@
36 FORMS += label/label.ui
37 FORMS += relabel/relabel.ui
38 FORMS += mount/mount.ui
39 FORMS += console/console.ui
40 FORMS += restore/restore.ui restore/prerestore.ui restore/brestore.ui
41 FORMS += restore/restoretree.ui
42 FORMS += run/run.ui run/runcmd.ui run/estimate.ui run/prune.ui
43 FORMS += select/select.ui
44 FORMS += medialist/medialist.ui mediaedit/mediaedit.ui joblist/joblist.ui
45 FORMS += clients/clients.ui storage/storage.ui fileset/fileset.ui
46 FORMS += joblog/joblog.ui jobs/jobs.ui
48 FORMS += status/dirstat.ui
49 FORMS += status/clientstat.ui
50 FORMS += status/storstat.ui
52 FORMS += jobgraphs/jobplotcontrols.ui
56 HEADERS += mainwin.h bat.h bat_conf.h qstd.h pages.h
57 SOURCES += main.cpp bat_conf.cpp mainwin.cpp qstd.cpp pages.cpp
60 HEADERS += bcomm/dircomm.h
61 SOURCES += bcomm/dircomm.cpp bcomm/dircomm_auth.cpp
64 HEADERS += console/console.h
65 SOURCES += console/authenticate.cpp console/console.cpp
68 HEADERS += restore/restore.h
69 SOURCES += restore/prerestore.cpp restore/restore.cpp restore/brestore.cpp
72 HEADERS += label/label.h
73 SOURCES += label/label.cpp
76 HEADERS += relabel/relabel.h
77 SOURCES += relabel/relabel.cpp
80 HEADERS += mount/mount.h
81 SOURCES += mount/mount.cpp
85 SOURCES += run/run.cpp run/runcmd.cpp run/estimate.cpp run/prune.cpp
88 HEADERS += select/select.h
89 SOURCES += select/select.cpp
92 HEADERS += medialist/medialist.h
93 SOURCES += medialist/medialist.cpp
96 HEADERS += mediaedit/mediaedit.h
97 SOURCES += mediaedit/mediaedit.cpp
100 HEADERS += joblist/joblist.h
101 SOURCES += joblist/joblist.cpp
104 HEADERS += clients/clients.h
105 SOURCES += clients/clients.cpp
108 HEADERS += storage/storage.h
109 SOURCES += storage/storage.cpp
112 HEADERS += fileset/fileset.h
113 SOURCES += fileset/fileset.cpp
116 HEADERS += joblog/joblog.h
117 SOURCES += joblog/joblog.cpp
120 HEADERS += jobs/jobs.h
121 SOURCES += jobs/jobs.cpp
124 HEADERS += restore/restoretree.h
125 SOURCES += restore/restoretree.cpp
129 HEADERS += jobgraphs/jobplot.h
130 SOURCES += jobgraphs/jobplot.cpp
134 HEADERS += help/help.h
135 SOURCES += help/help.cpp
138 HEADERS += status/dirstat.h
139 SOURCES += status/dirstat.cpp
142 HEADERS += status/clientstat.h
143 SOURCES += status/clientstat.cpp
146 HEADERS += status/storstat.h
147 SOURCES += status/storstat.cpp
150 HEADERS += util/fmtwidgetitem.h util/comboutil.h
151 SOURCES += util/fmtwidgetitem.cpp util/comboutil.cpp
156 QMAKE_EXTRA_TARGETS += depend
158 TRANSLATIONS += ts/bat_fr.ts ts/bat_de.ts