]> git.sur5r.net Git - bacula/bacula/blob - bacula/src/qt-console/bat.pro.mingw
ebl Add project file for mingw
[bacula/bacula] / bacula / src / qt-console / bat.pro.mingw
1 ######################################################################
2 # Version $Id: bat.pro.in 6956 2008-05-12 09:32:54Z kerns $
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 = ./
13 bins.files = ./bat.exe
14 confs.path = ./
15 confs.commands = ./install_conf_file   
16
17 TEMPLATE     = app
18 TARGET       = bat
19 DEPENDPATH  += .
20 INCLUDEPATH += .. . ./console ./restore ./select
21 LIBS        += -L../win32/release -lbacula -mwindows
22
23 RESOURCES    = main.qrc
24 MOC_DIR      = moc
25 OBJECTS_DIR  = obj
26 UI_DIR       = ui
27
28 # Main window
29 FORMS += main.ui 
30 FORMS += prefs.ui
31 FORMS += label/label.ui 
32 FORMS += relabel/relabel.ui 
33 FORMS += mount/mount.ui
34 FORMS += console/console.ui
35 FORMS += restore/restore.ui restore/prerestore.ui restore/brestore.ui
36 FORMS += restore/restoretree.ui
37 FORMS += run/run.ui run/runcmd.ui run/estimate.ui run/prune.ui
38 FORMS += select/select.ui
39 FORMS += medialist/medialist.ui mediaedit/mediaedit.ui joblist/joblist.ui
40 FORMS += clients/clients.ui storage/storage.ui fileset/fileset.ui
41 FORMS += joblog/joblog.ui jobs/jobs.ui
42 FORMS += help/help.ui
43 qwt {
44    FORMS += jobgraphs/jobplotcontrols.ui
45 }
46
47 # Main directory
48 HEADERS += mainwin.h bat.h bat_conf.h qstd.h pages.h
49 SOURCES += main.cpp bat_conf.cpp mainwin.cpp qstd.cpp pages.cpp
50
51 # bcomm
52 HEADERS += bcomm/dircomm.h
53 SOURCES += bcomm/dircomm.cpp bcomm/dircomm_auth.cpp
54
55 # Console
56 HEADERS += console/console.h
57 SOURCES += console/authenticate.cpp console/console.cpp
58
59 # Restore
60 HEADERS += restore/restore.h
61 SOURCES += restore/prerestore.cpp restore/restore.cpp restore/brestore.cpp
62
63 # Label dialog
64 HEADERS += label/label.h
65 SOURCES += label/label.cpp
66
67 # Relabel dialog
68 HEADERS += relabel/relabel.h
69 SOURCES += relabel/relabel.cpp
70
71 # Mount dialog
72 HEADERS += mount/mount.h
73 SOURCES += mount/mount.cpp
74
75 # Run dialog
76 HEADERS += run/run.h
77 SOURCES += run/run.cpp run/runcmd.cpp run/estimate.cpp run/prune.cpp
78
79 # Select dialog
80 HEADERS += select/select.h
81 SOURCES += select/select.cpp
82
83 ## MediaList
84 HEADERS += medialist/medialist.h
85 SOURCES += medialist/medialist.cpp
86
87 ## MediaEdit
88 HEADERS += mediaedit/mediaedit.h
89 SOURCES += mediaedit/mediaedit.cpp
90
91 ## JobList
92 HEADERS += joblist/joblist.h
93 SOURCES += joblist/joblist.cpp
94
95 ## Clients
96 HEADERS += clients/clients.h
97 SOURCES += clients/clients.cpp
98
99 ## Storage
100 HEADERS += storage/storage.h
101 SOURCES += storage/storage.cpp
102
103 ## Fileset
104 HEADERS += fileset/fileset.h
105 SOURCES += fileset/fileset.cpp
106
107 ## Job log
108 HEADERS += joblog/joblog.h
109 SOURCES += joblog/joblog.cpp
110
111 ## Jobs
112 HEADERS += jobs/jobs.h
113 SOURCES += jobs/jobs.cpp
114
115 ## RestoreTree
116 HEADERS += restore/restoretree.h
117 SOURCES += restore/restoretree.cpp
118
119 ## Job Step Graphs
120 qwt {
121   HEADERS += jobgraphs/jobplot.h
122   SOURCES += jobgraphs/jobplot.cpp
123 }
124
125 # Help dialog
126 HEADERS += help/help.h
127 SOURCES += help/help.cpp
128
129 INSTALLS += bins
130 INSTALLS += confs
131
132 QMAKE_EXTRA_TARGETS += depend