]> git.sur5r.net Git - bacula/bacula/blob - bacula/src/qt-console/Makefile
Create first cut prerestore and restore dialogs
[bacula/bacula] / bacula / src / qt-console / Makefile
1 #############################################################################
2 # Makefile for building: bat
3 # Generated by qmake (2.01a) (Qt 4.2.1) on: Sun Feb 11 21:47:13 2007
4 # Project:  bat.pro
5 # Template: app
6 # Command: /usr/bin/qmake -unix -o Makefile bat.pro
7 #############################################################################
8
9 ####### Compiler, tools and options
10
11 CC            = gcc
12 CXX           = g++
13 LEX           = flex
14 YACC          = yacc
15 DEFINES       = -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED
16 CFLAGS        = -pipe -O2 -Wall -W -D_REENTRANT  $(DEFINES)
17 CXXFLAGS      = -pipe -O2 -Wall -W -D_REENTRANT  $(DEFINES)
18 LEXFLAGS      = 
19 YACCFLAGS     = -d
20 INCPATH       = -I/usr/share/qt4/mkspecs/default -I. -I/usr/include/QtCore -I/usr/include/QtCore -I/usr/include/QtGui -I/usr/include/QtGui -I/usr/include -I. -Iconsole -Irestore -I.. -Imoc -I.
21 LINK          = g++
22 LFLAGS        = 
23 LIBS          = $(SUBLIBS)  -L/usr/lib -L../lib -lbac -lssl -lcrypto -lQtGui -L/usr/lib -L/usr/X11R6/lib -lpng -lSM -lICE -lXi -lXrender -lXrandr -lXfixes -lXcursor -lXinerama -lfreetype -lfontconfig -lXext -lX11 -lQtCore -lz -lm -ldl -lpthread
24 AR            = ar cqs
25 RANLIB        = 
26 QMAKE         = /usr/bin/qmake
27 TAR           = tar -cf
28 COMPRESS      = gzip -9f
29 COPY          = cp -f
30 COPY_FILE     = $(COPY)
31 COPY_DIR      = $(COPY) -r
32 INSTALL_FILE  = install -m 644 -p
33 INSTALL_DIR   = $(COPY_DIR)
34 INSTALL_PROGRAM = install -m 755 -p
35 DEL_FILE      = rm -f
36 SYMLINK       = ln -sf
37 DEL_DIR       = rmdir
38 MOVE          = mv -f
39 CHK_DIR_EXISTS= test -d
40 MKDIR         = mkdir -p
41
42 ####### Output directory
43
44 OBJECTS_DIR   = obj/
45
46 ####### Files
47
48 SOURCES       = main.cpp \
49                 bat_conf.cpp \
50                 mainwin.cpp \
51                 qstd.cpp \
52                 console/authenticate.cpp \
53                 console/console.cpp \
54                 restore/restore.cpp \
55                 restore/brestore.cpp \
56                 label/label.cpp \
57                 run/run.cpp moc/moc_mainwin.cpp \
58                 moc/moc_console.cpp \
59                 moc/moc_restore.cpp \
60                 moc/moc_label.cpp \
61                 moc/moc_run.cpp \
62                 qrc_main.cpp
63 OBJECTS       = obj/main.o \
64                 obj/bat_conf.o \
65                 obj/mainwin.o \
66                 obj/qstd.o \
67                 obj/authenticate.o \
68                 obj/console.o \
69                 obj/restore.o \
70                 obj/brestore.o \
71                 obj/label.o \
72                 obj/run.o \
73                 obj/moc_mainwin.o \
74                 obj/moc_console.o \
75                 obj/moc_restore.o \
76                 obj/moc_label.o \
77                 obj/moc_run.o \
78                 obj/qrc_main.o
79 DIST          = /usr/share/qt4/mkspecs/common/unix.conf \
80                 /usr/share/qt4/mkspecs/common/g++.conf \
81                 /usr/share/qt4/mkspecs/common/linux.conf \
82                 /usr/share/qt4/mkspecs/qconfig.pri \
83                 /usr/share/qt4/mkspecs/features/qt_functions.prf \
84                 /usr/share/qt4/mkspecs/features/qt_config.prf \
85                 /usr/share/qt4/mkspecs/features/exclusive_builds.prf \
86                 /usr/share/qt4/mkspecs/features/default_pre.prf \
87                 /usr/share/qt4/mkspecs/features/release.prf \
88                 /usr/share/qt4/mkspecs/features/default_post.prf \
89                 /usr/share/qt4/mkspecs/features/warn_on.prf \
90                 /usr/share/qt4/mkspecs/features/qt.prf \
91                 /usr/share/qt4/mkspecs/features/unix/thread.prf \
92                 /usr/share/qt4/mkspecs/features/moc.prf \
93                 /usr/share/qt4/mkspecs/features/resources.prf \
94                 /usr/share/qt4/mkspecs/features/uic.prf \
95                 bat.pro
96 QMAKE_TARGET  = bat
97 DESTDIR       = 
98 TARGET        = bat
99
100 first: all
101 ####### Implicit rules
102
103 .SUFFIXES: .o .c .cpp .cc .cxx .C
104
105 .cpp.o:
106         $(CXX) -c $(CXXFLAGS) $(INCPATH) -o "$@" "$<"
107
108 .cc.o:
109         $(CXX) -c $(CXXFLAGS) $(INCPATH) -o "$@" "$<"
110
111 .cxx.o:
112         $(CXX) -c $(CXXFLAGS) $(INCPATH) -o "$@" "$<"
113
114 .C.o:
115         $(CXX) -c $(CXXFLAGS) $(INCPATH) -o "$@" "$<"
116
117 .c.o:
118         $(CC) -c $(CFLAGS) $(INCPATH) -o "$@" "$<"
119
120 ####### Build rules
121
122 all: Makefile $(TARGET)
123
124 $(TARGET): ui_main.h ui_label.h ui_console.h ui_restore.h ui_prerestore.h ui_brestore.h ui_run.h $(OBJECTS)  
125         $(LINK) $(LFLAGS) -o $(TARGET) $(OBJECTS) $(OBJCOMP) $(LIBS)
126
127 Makefile: bat.pro  /usr/share/qt4/mkspecs/default/qmake.conf /usr/share/qt4/mkspecs/common/unix.conf \
128                 /usr/share/qt4/mkspecs/common/g++.conf \
129                 /usr/share/qt4/mkspecs/common/linux.conf \
130                 /usr/share/qt4/mkspecs/qconfig.pri \
131                 /usr/share/qt4/mkspecs/features/qt_functions.prf \
132                 /usr/share/qt4/mkspecs/features/qt_config.prf \
133                 /usr/share/qt4/mkspecs/features/exclusive_builds.prf \
134                 /usr/share/qt4/mkspecs/features/default_pre.prf \
135                 /usr/share/qt4/mkspecs/features/release.prf \
136                 /usr/share/qt4/mkspecs/features/default_post.prf \
137                 /usr/share/qt4/mkspecs/features/warn_on.prf \
138                 /usr/share/qt4/mkspecs/features/qt.prf \
139                 /usr/share/qt4/mkspecs/features/unix/thread.prf \
140                 /usr/share/qt4/mkspecs/features/moc.prf \
141                 /usr/share/qt4/mkspecs/features/resources.prf \
142                 /usr/share/qt4/mkspecs/features/uic.prf \
143                 /usr/lib/libQtGui.prl \
144                 /usr/lib/libQtCore.prl
145         $(QMAKE) -unix -o Makefile bat.pro
146 /usr/share/qt4/mkspecs/common/unix.conf:
147 /usr/share/qt4/mkspecs/common/g++.conf:
148 /usr/share/qt4/mkspecs/common/linux.conf:
149 /usr/share/qt4/mkspecs/qconfig.pri:
150 /usr/share/qt4/mkspecs/features/qt_functions.prf:
151 /usr/share/qt4/mkspecs/features/qt_config.prf:
152 /usr/share/qt4/mkspecs/features/exclusive_builds.prf:
153 /usr/share/qt4/mkspecs/features/default_pre.prf:
154 /usr/share/qt4/mkspecs/features/release.prf:
155 /usr/share/qt4/mkspecs/features/default_post.prf:
156 /usr/share/qt4/mkspecs/features/warn_on.prf:
157 /usr/share/qt4/mkspecs/features/qt.prf:
158 /usr/share/qt4/mkspecs/features/unix/thread.prf:
159 /usr/share/qt4/mkspecs/features/moc.prf:
160 /usr/share/qt4/mkspecs/features/resources.prf:
161 /usr/share/qt4/mkspecs/features/uic.prf:
162 /usr/lib/libQtGui.prl:
163 /usr/lib/libQtCore.prl:
164 qmake:  FORCE
165         @$(QMAKE) -unix -o Makefile bat.pro
166
167 dist: 
168         @$(CHK_DIR_EXISTS) obj/bat1.0.0 || $(MKDIR) obj/bat1.0.0 
169         $(COPY_FILE) --parents $(SOURCES) $(DIST) obj/bat1.0.0/ && $(COPY_FILE) --parents mainwin.h bat.h bat_conf.h qstd.h console/console.h restore/restore.h label/label.h run/run.h obj/bat1.0.0/ && $(COPY_FILE) --parents main.qrc obj/bat1.0.0/ && $(COPY_FILE) --parents main.cpp bat_conf.cpp mainwin.cpp qstd.cpp console/authenticate.cpp console/console.cpp restore/restore.cpp restore/brestore.cpp label/label.cpp run/run.cpp obj/bat1.0.0/ && $(COPY_FILE) --parents main.ui label/label.ui console/console.ui restore/restore.ui restore/prerestore.ui restore/brestore.ui run/run.ui obj/bat1.0.0/ && (cd `dirname obj/bat1.0.0` && $(TAR) bat1.0.0.tar bat1.0.0 && $(COMPRESS) bat1.0.0.tar) && $(MOVE) `dirname obj/bat1.0.0`/bat1.0.0.tar.gz . && $(DEL_FILE) -r obj/bat1.0.0
170
171
172 yaccclean:
173 lexclean:
174 clean:compiler_clean 
175         -$(DEL_FILE) $(OBJECTS)
176         -$(DEL_FILE) *~ core *.core
177
178
179 ####### Sub-libraries
180
181 distclean: clean
182         -$(DEL_FILE) $(TARGET) 
183         -$(DEL_FILE) Makefile
184
185
186 /usr/bin/moc:
187         (cd $(QTDIR)/src/tools/moc && $(MAKE))
188
189 mocclean: compiler_moc_header_clean compiler_moc_source_clean
190
191 mocables: compiler_moc_header_make_all compiler_moc_source_make_all
192
193 compiler_moc_header_make_all: moc/moc_mainwin.cpp moc/moc_console.cpp moc/moc_restore.cpp moc/moc_label.cpp moc/moc_run.cpp
194 compiler_moc_header_clean:
195         -$(DEL_FILE) moc/moc_mainwin.cpp moc/moc_console.cpp moc/moc_restore.cpp moc/moc_label.cpp moc/moc_run.cpp
196 moc/moc_mainwin.cpp: ui_main.h \
197                 label/label.h \
198                 ui_label.h \
199                 run/run.h \
200                 ui_run.h \
201                 mainwin.h \
202                 /usr/bin/moc
203         /usr/bin/moc $(DEFINES) $(INCPATH) mainwin.h -o moc/moc_mainwin.cpp
204
205 moc/moc_console.cpp: ui_console.h \
206                 console/console.h \
207                 /usr/bin/moc
208         /usr/bin/moc $(DEFINES) $(INCPATH) console/console.h -o moc/moc_console.cpp
209
210 moc/moc_restore.cpp: ui_brestore.h \
211                 ui_restore.h \
212                 ui_prerestore.h \
213                 restore/restore.h \
214                 /usr/bin/moc
215         /usr/bin/moc $(DEFINES) $(INCPATH) restore/restore.h -o moc/moc_restore.cpp
216
217 moc/moc_label.cpp: ui_label.h \
218                 label/label.h \
219                 /usr/bin/moc
220         /usr/bin/moc $(DEFINES) $(INCPATH) label/label.h -o moc/moc_label.cpp
221
222 moc/moc_run.cpp: ui_run.h \
223                 run/run.h \
224                 /usr/bin/moc
225         /usr/bin/moc $(DEFINES) $(INCPATH) run/run.h -o moc/moc_run.cpp
226
227 compiler_rcc_make_all: qrc_main.cpp
228 compiler_rcc_clean:
229         -$(DEL_FILE) qrc_main.cpp
230 qrc_main.cpp: main.qrc \
231                 /usr/bin/rcc \
232                 images/new.png \
233                 images/disconnected.png \
234                 images/label.png \
235                 images/server.png \
236                 images/restore.png \
237                 images/copy.png \
238                 images/cut.png \
239                 images/connected.png \
240                 images/big-server.png \
241                 images/save.png \
242                 images/bat.png \
243                 images/paste.png \
244                 images/run.png \
245                 images/open.png
246         /usr/bin/rcc -name main main.qrc -o qrc_main.cpp
247
248 compiler_image_collection_make_all: qmake_image_collection.cpp
249 compiler_image_collection_clean:
250         -$(DEL_FILE) qmake_image_collection.cpp
251 compiler_moc_source_make_all:
252 compiler_moc_source_clean:
253 compiler_uic_make_all: ui_main.h ui_label.h ui_console.h ui_restore.h ui_prerestore.h ui_brestore.h ui_run.h
254 compiler_uic_clean:
255         -$(DEL_FILE) ui_main.h ui_label.h ui_console.h ui_restore.h ui_prerestore.h ui_brestore.h ui_run.h
256 ui_main.h: main.ui
257         /usr/bin/uic main.ui -o ui_main.h
258
259 ui_label.h: label/label.ui
260         /usr/bin/uic label/label.ui -o ui_label.h
261
262 ui_console.h: console/console.ui
263         /usr/bin/uic console/console.ui -o ui_console.h
264
265 ui_restore.h: restore/restore.ui
266         /usr/bin/uic restore/restore.ui -o ui_restore.h
267
268 ui_prerestore.h: restore/prerestore.ui
269         /usr/bin/uic restore/prerestore.ui -o ui_prerestore.h
270
271 ui_brestore.h: restore/brestore.ui
272         /usr/bin/uic restore/brestore.ui -o ui_brestore.h
273
274 ui_run.h: run/run.ui
275         /usr/bin/uic run/run.ui -o ui_run.h
276
277 compiler_clean: compiler_moc_header_clean compiler_rcc_clean compiler_image_collection_clean compiler_moc_source_clean compiler_uic_clean 
278
279 ####### Compile
280
281 obj/main.o: main.cpp bat.h \
282                 mainwin.h \
283                 ui_main.h \
284                 label/label.h \
285                 ui_label.h \
286                 run/run.h \
287                 ui_run.h \
288                 bat_conf.h \
289                 qstd.h
290         $(CXX) -c $(CXXFLAGS) $(INCPATH) -o obj/main.o main.cpp
291
292 obj/bat_conf.o: bat_conf.cpp bat_conf.h
293         $(CXX) -c $(CXXFLAGS) $(INCPATH) -o obj/bat_conf.o bat_conf.cpp
294
295 obj/mainwin.o: mainwin.cpp bat.h \
296                 mainwin.h \
297                 ui_main.h \
298                 label/label.h \
299                 ui_label.h \
300                 run/run.h \
301                 ui_run.h \
302                 bat_conf.h \
303                 qstd.h
304         $(CXX) -c $(CXXFLAGS) $(INCPATH) -o obj/mainwin.o mainwin.cpp
305
306 obj/qstd.o: qstd.cpp qstd.h
307         $(CXX) -c $(CXXFLAGS) $(INCPATH) -o obj/qstd.o qstd.cpp
308
309 obj/authenticate.o: console/authenticate.cpp bat.h \
310                 mainwin.h \
311                 ui_main.h \
312                 label/label.h \
313                 ui_label.h \
314                 run/run.h \
315                 ui_run.h \
316                 bat_conf.h \
317                 qstd.h
318         $(CXX) -c $(CXXFLAGS) $(INCPATH) -o obj/authenticate.o console/authenticate.cpp
319
320 obj/console.o: console/console.cpp bat.h \
321                 mainwin.h \
322                 ui_main.h \
323                 label/label.h \
324                 ui_label.h \
325                 run/run.h \
326                 ui_run.h \
327                 bat_conf.h \
328                 qstd.h \
329                 console/console.h \
330                 ui_console.h
331         $(CXX) -c $(CXXFLAGS) $(INCPATH) -o obj/console.o console/console.cpp
332
333 obj/restore.o: restore/restore.cpp bat.h \
334                 mainwin.h \
335                 ui_main.h \
336                 label/label.h \
337                 ui_label.h \
338                 run/run.h \
339                 ui_run.h \
340                 bat_conf.h \
341                 qstd.h \
342                 restore/restore.h \
343                 ui_brestore.h \
344                 ui_restore.h \
345                 ui_prerestore.h
346         $(CXX) -c $(CXXFLAGS) $(INCPATH) -o obj/restore.o restore/restore.cpp
347
348 obj/brestore.o: restore/brestore.cpp bat.h \
349                 mainwin.h \
350                 ui_main.h \
351                 label/label.h \
352                 ui_label.h \
353                 run/run.h \
354                 ui_run.h \
355                 bat_conf.h \
356                 qstd.h \
357                 restore/restore.h \
358                 ui_brestore.h \
359                 ui_restore.h \
360                 ui_prerestore.h
361         $(CXX) -c $(CXXFLAGS) $(INCPATH) -o obj/brestore.o restore/brestore.cpp
362
363 obj/label.o: label/label.cpp bat.h \
364                 mainwin.h \
365                 ui_main.h \
366                 label/label.h \
367                 ui_label.h \
368                 run/run.h \
369                 ui_run.h \
370                 bat_conf.h \
371                 qstd.h
372         $(CXX) -c $(CXXFLAGS) $(INCPATH) -o obj/label.o label/label.cpp
373
374 obj/run.o: run/run.cpp bat.h \
375                 mainwin.h \
376                 ui_main.h \
377                 label/label.h \
378                 ui_label.h \
379                 run/run.h \
380                 ui_run.h \
381                 bat_conf.h \
382                 qstd.h
383         $(CXX) -c $(CXXFLAGS) $(INCPATH) -o obj/run.o run/run.cpp
384
385 obj/moc_mainwin.o: moc/moc_mainwin.cpp 
386         $(CXX) -c $(CXXFLAGS) $(INCPATH) -o obj/moc_mainwin.o moc/moc_mainwin.cpp
387
388 obj/moc_console.o: moc/moc_console.cpp 
389         $(CXX) -c $(CXXFLAGS) $(INCPATH) -o obj/moc_console.o moc/moc_console.cpp
390
391 obj/moc_restore.o: moc/moc_restore.cpp 
392         $(CXX) -c $(CXXFLAGS) $(INCPATH) -o obj/moc_restore.o moc/moc_restore.cpp
393
394 obj/moc_label.o: moc/moc_label.cpp 
395         $(CXX) -c $(CXXFLAGS) $(INCPATH) -o obj/moc_label.o moc/moc_label.cpp
396
397 obj/moc_run.o: moc/moc_run.cpp 
398         $(CXX) -c $(CXXFLAGS) $(INCPATH) -o obj/moc_run.o moc/moc_run.cpp
399
400 obj/qrc_main.o: qrc_main.cpp 
401         $(CXX) -c $(CXXFLAGS) $(INCPATH) -o obj/qrc_main.o qrc_main.cpp
402
403 ####### Install
404
405 install:   FORCE
406
407 uninstall:   FORCE
408
409 FORCE:
410