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 -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} install -m 0754 -p
26 QMAKE_CLEAN += .libs/* bat
29 INCLUDEPATH += @QWT_INC@
30 LIBS += @QWT_LDFLAGS@ @QWT_LIB@
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
53 FORMS += status/dirstat.ui
54 FORMS += status/clientstat.ui
55 FORMS += status/storstat.ui
57 FORMS += jobgraphs/jobplotcontrols.ui
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
65 HEADERS += bcomm/dircomm.h
66 SOURCES += bcomm/dircomm.cpp bcomm/dircomm_auth.cpp
69 HEADERS += console/console.h
70 SOURCES += console/console.cpp
73 HEADERS += restore/restore.h
74 SOURCES += restore/prerestore.cpp restore/restore.cpp restore/brestore.cpp
77 HEADERS += label/label.h
78 SOURCES += label/label.cpp
81 HEADERS += relabel/relabel.h
82 SOURCES += relabel/relabel.cpp
85 HEADERS += mount/mount.h
86 SOURCES += mount/mount.cpp
90 SOURCES += run/run.cpp run/runcmd.cpp run/estimate.cpp run/prune.cpp
93 HEADERS += select/select.h
94 SOURCES += select/select.cpp
97 HEADERS += medialist/medialist.h
98 SOURCES += medialist/medialist.cpp
101 HEADERS += mediaedit/mediaedit.h
102 SOURCES += mediaedit/mediaedit.cpp
105 HEADERS += joblist/joblist.h
106 SOURCES += joblist/joblist.cpp
109 HEADERS += clients/clients.h
110 SOURCES += clients/clients.cpp
113 HEADERS += storage/storage.h
114 SOURCES += storage/storage.cpp
117 HEADERS += fileset/fileset.h
118 SOURCES += fileset/fileset.cpp
121 HEADERS += joblog/joblog.h
122 SOURCES += joblog/joblog.cpp
125 HEADERS += jobs/jobs.h
126 SOURCES += jobs/jobs.cpp
129 HEADERS += restore/restoretree.h
130 SOURCES += restore/restoretree.cpp
134 HEADERS += jobgraphs/jobplot.h
135 SOURCES += jobgraphs/jobplot.cpp
139 HEADERS += help/help.h
140 SOURCES += help/help.cpp
143 HEADERS += status/dirstat.h
144 SOURCES += status/dirstat.cpp
147 HEADERS += status/clientstat.h
148 SOURCES += status/clientstat.cpp
151 HEADERS += status/storstat.h
152 SOURCES += status/storstat.cpp
155 HEADERS += util/fmtwidgetitem.h util/comboutil.h
156 SOURCES += util/fmtwidgetitem.cpp util/comboutil.cpp
161 QMAKE_EXTRA_TARGETS += depend
163 TRANSLATIONS += ts/bat_fr.ts ts/bat_de.ts