]> git.sur5r.net Git - bacula/bacula/blob - bacula/src/qt-console/Makefile
da4fd113c9c6930a65c35ae872aa739be6a8381a
[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 Mar 11 11:56:33 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_GUI_LIB -DQT_CORE_LIB -DQT_SHARED
16 CFLAGS        = -pipe -g -D_REENTRANT -Wall -W  $(DEFINES)
17 CXXFLAGS      = -pipe -g -D_REENTRANT -Wall -W  $(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 -Iselect -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/prerestore.cpp \
55                 restore/restore.cpp \
56                 restore/brestore.cpp \
57                 label/label.cpp \
58                 run/run.cpp \
59                 run/runcmd.cpp \
60                 select/select.cpp moc/moc_mainwin.cpp \
61                 moc/moc_console.cpp \
62                 moc/moc_restore.cpp \
63                 moc/moc_label.cpp \
64                 moc/moc_run.cpp \
65                 moc/moc_select.cpp \
66                 qrc_main.cpp
67 OBJECTS       = obj/main.o \
68                 obj/bat_conf.o \
69                 obj/mainwin.o \
70                 obj/qstd.o \
71                 obj/authenticate.o \
72                 obj/console.o \
73                 obj/prerestore.o \
74                 obj/restore.o \
75                 obj/brestore.o \
76                 obj/label.o \
77                 obj/run.o \
78                 obj/runcmd.o \
79                 obj/select.o \
80                 obj/moc_mainwin.o \
81                 obj/moc_console.o \
82                 obj/moc_restore.o \
83                 obj/moc_label.o \
84                 obj/moc_run.o \
85                 obj/moc_select.o \
86                 obj/qrc_main.o
87 DIST          = /usr/share/qt4/mkspecs/common/unix.conf \
88                 /usr/share/qt4/mkspecs/common/g++.conf \
89                 /usr/share/qt4/mkspecs/common/linux.conf \
90                 /usr/share/qt4/mkspecs/qconfig.pri \
91                 /usr/share/qt4/mkspecs/features/qt_functions.prf \
92                 /usr/share/qt4/mkspecs/features/qt_config.prf \
93                 /usr/share/qt4/mkspecs/features/exclusive_builds.prf \
94                 /usr/share/qt4/mkspecs/features/default_pre.prf \
95                 /usr/share/qt4/mkspecs/features/debug.prf \
96                 /usr/share/qt4/mkspecs/features/default_post.prf \
97                 /usr/share/qt4/mkspecs/features/qt.prf \
98                 /usr/share/qt4/mkspecs/features/unix/thread.prf \
99                 /usr/share/qt4/mkspecs/features/moc.prf \
100                 /usr/share/qt4/mkspecs/features/warn_on.prf \
101                 /usr/share/qt4/mkspecs/features/resources.prf \
102                 /usr/share/qt4/mkspecs/features/uic.prf \
103                 bat.pro
104 QMAKE_TARGET  = bat
105 DESTDIR       = 
106 TARGET        = bat
107
108 first: all
109 ####### Implicit rules
110
111 .SUFFIXES: .o .c .cpp .cc .cxx .C
112
113 .cpp.o:
114         $(CXX) -c $(CXXFLAGS) $(INCPATH) -o "$@" "$<"
115
116 .cc.o:
117         $(CXX) -c $(CXXFLAGS) $(INCPATH) -o "$@" "$<"
118
119 .cxx.o:
120         $(CXX) -c $(CXXFLAGS) $(INCPATH) -o "$@" "$<"
121
122 .C.o:
123         $(CXX) -c $(CXXFLAGS) $(INCPATH) -o "$@" "$<"
124
125 .c.o:
126         $(CC) -c $(CFLAGS) $(INCPATH) -o "$@" "$<"
127
128 ####### Build rules
129
130 all: Makefile $(TARGET)
131
132 $(TARGET): ui_main.h ui_label.h ui_console.h ui_restore.h ui_prerestore.h ui_brestore.h ui_run.h ui_runcmd.h ui_select.h $(OBJECTS)  
133         $(LINK) $(LFLAGS) -o $(TARGET) $(OBJECTS) $(OBJCOMP) $(LIBS)
134
135 Makefile: bat.pro  /usr/share/qt4/mkspecs/default/qmake.conf /usr/share/qt4/mkspecs/common/unix.conf \
136                 /usr/share/qt4/mkspecs/common/g++.conf \
137                 /usr/share/qt4/mkspecs/common/linux.conf \
138                 /usr/share/qt4/mkspecs/qconfig.pri \
139                 /usr/share/qt4/mkspecs/features/qt_functions.prf \
140                 /usr/share/qt4/mkspecs/features/qt_config.prf \
141                 /usr/share/qt4/mkspecs/features/exclusive_builds.prf \
142                 /usr/share/qt4/mkspecs/features/default_pre.prf \
143                 /usr/share/qt4/mkspecs/features/debug.prf \
144                 /usr/share/qt4/mkspecs/features/default_post.prf \
145                 /usr/share/qt4/mkspecs/features/qt.prf \
146                 /usr/share/qt4/mkspecs/features/unix/thread.prf \
147                 /usr/share/qt4/mkspecs/features/moc.prf \
148                 /usr/share/qt4/mkspecs/features/warn_on.prf \
149                 /usr/share/qt4/mkspecs/features/resources.prf \
150                 /usr/share/qt4/mkspecs/features/uic.prf \
151                 /usr/lib/libQtGui.prl \
152                 /usr/lib/libQtCore.prl
153         $(QMAKE) -unix -o Makefile bat.pro
154 /usr/share/qt4/mkspecs/common/unix.conf:
155 /usr/share/qt4/mkspecs/common/g++.conf:
156 /usr/share/qt4/mkspecs/common/linux.conf:
157 /usr/share/qt4/mkspecs/qconfig.pri:
158 /usr/share/qt4/mkspecs/features/qt_functions.prf:
159 /usr/share/qt4/mkspecs/features/qt_config.prf:
160 /usr/share/qt4/mkspecs/features/exclusive_builds.prf:
161 /usr/share/qt4/mkspecs/features/default_pre.prf:
162 /usr/share/qt4/mkspecs/features/debug.prf:
163 /usr/share/qt4/mkspecs/features/default_post.prf:
164 /usr/share/qt4/mkspecs/features/qt.prf:
165 /usr/share/qt4/mkspecs/features/unix/thread.prf:
166 /usr/share/qt4/mkspecs/features/moc.prf:
167 /usr/share/qt4/mkspecs/features/warn_on.prf:
168 /usr/share/qt4/mkspecs/features/resources.prf:
169 /usr/share/qt4/mkspecs/features/uic.prf:
170 /usr/lib/libQtGui.prl:
171 /usr/lib/libQtCore.prl:
172 qmake:  FORCE
173         @$(QMAKE) -unix -o Makefile bat.pro
174
175 dist: 
176         @$(CHK_DIR_EXISTS) obj/bat1.0.0 || $(MKDIR) obj/bat1.0.0 
177         $(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 select/select.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/prerestore.cpp restore/restore.cpp restore/brestore.cpp label/label.cpp run/run.cpp run/runcmd.cpp select/select.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 run/runcmd.ui select/select.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
178
179
180 yaccclean:
181 lexclean:
182 clean:compiler_clean 
183         -$(DEL_FILE) $(OBJECTS)
184         -$(DEL_FILE) *~ core *.core
185
186
187 ####### Sub-libraries
188
189 distclean: clean
190         -$(DEL_FILE) $(TARGET) 
191         -$(DEL_FILE) Makefile
192
193
194 /usr/bin/moc:
195         (cd $(QTDIR)/src/tools/moc && $(MAKE))
196
197 mocclean: compiler_moc_header_clean compiler_moc_source_clean
198
199 mocables: compiler_moc_header_make_all compiler_moc_source_make_all
200
201 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 moc/moc_select.cpp
202 compiler_moc_header_clean:
203         -$(DEL_FILE) moc/moc_mainwin.cpp moc/moc_console.cpp moc/moc_restore.cpp moc/moc_label.cpp moc/moc_run.cpp moc/moc_select.cpp
204 moc/moc_mainwin.cpp: ui_main.h \
205                 label/label.h \
206                 ui_label.h \
207                 run/run.h \
208                 ui_run.h \
209                 restore/restore.h \
210                 ui_brestore.h \
211                 ui_restore.h \
212                 ui_prerestore.h \
213                 mainwin.h \
214                 /usr/bin/moc
215         /usr/bin/moc $(DEFINES) $(INCPATH) mainwin.h -o moc/moc_mainwin.cpp
216
217 moc/moc_console.cpp: ui_console.h \
218                 console/console.h \
219                 /usr/bin/moc
220         /usr/bin/moc $(DEFINES) $(INCPATH) console/console.h -o moc/moc_console.cpp
221
222 moc/moc_restore.cpp: ui_brestore.h \
223                 ui_restore.h \
224                 ui_prerestore.h \
225                 restore/restore.h \
226                 /usr/bin/moc
227         /usr/bin/moc $(DEFINES) $(INCPATH) restore/restore.h -o moc/moc_restore.cpp
228
229 moc/moc_label.cpp: ui_label.h \
230                 label/label.h \
231                 /usr/bin/moc
232         /usr/bin/moc $(DEFINES) $(INCPATH) label/label.h -o moc/moc_label.cpp
233
234 moc/moc_run.cpp: ui_run.h \
235                 run/run.h \
236                 /usr/bin/moc
237         /usr/bin/moc $(DEFINES) $(INCPATH) run/run.h -o moc/moc_run.cpp
238
239 moc/moc_select.cpp: ui_select.h \
240                 select/select.h \
241                 /usr/bin/moc
242         /usr/bin/moc $(DEFINES) $(INCPATH) select/select.h -o moc/moc_select.cpp
243
244 compiler_rcc_make_all: qrc_main.cpp
245 compiler_rcc_clean:
246         -$(DEL_FILE) qrc_main.cpp
247 qrc_main.cpp: main.qrc \
248                 /usr/bin/rcc \
249                 images/new.png \
250                 images/disconnected.png \
251                 images/label.png \
252                 images/server.png \
253                 images/restore.png \
254                 images/copy.png \
255                 images/cut.png \
256                 images/connected.png \
257                 images/big-server.png \
258                 images/save.png \
259                 images/bat.png \
260                 images/paste.png \
261                 images/run.png \
262                 images/open.png
263         /usr/bin/rcc -name main main.qrc -o qrc_main.cpp
264
265 compiler_image_collection_make_all: qmake_image_collection.cpp
266 compiler_image_collection_clean:
267         -$(DEL_FILE) qmake_image_collection.cpp
268 compiler_moc_source_make_all:
269 compiler_moc_source_clean:
270 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 ui_runcmd.h ui_select.h
271 compiler_uic_clean:
272         -$(DEL_FILE) ui_main.h ui_label.h ui_console.h ui_restore.h ui_prerestore.h ui_brestore.h ui_run.h ui_runcmd.h ui_select.h
273 ui_main.h: main.ui
274         /usr/bin/uic main.ui -o ui_main.h
275
276 ui_label.h: label/label.ui
277         /usr/bin/uic label/label.ui -o ui_label.h
278
279 ui_console.h: console/console.ui
280         /usr/bin/uic console/console.ui -o ui_console.h
281
282 ui_restore.h: restore/restore.ui
283         /usr/bin/uic restore/restore.ui -o ui_restore.h
284
285 ui_prerestore.h: restore/prerestore.ui
286         /usr/bin/uic restore/prerestore.ui -o ui_prerestore.h
287
288 ui_brestore.h: restore/brestore.ui
289         /usr/bin/uic restore/brestore.ui -o ui_brestore.h
290
291 ui_run.h: run/run.ui
292         /usr/bin/uic run/run.ui -o ui_run.h
293
294 ui_runcmd.h: run/runcmd.ui
295         /usr/bin/uic run/runcmd.ui -o ui_runcmd.h
296
297 ui_select.h: select/select.ui
298         /usr/bin/uic select/select.ui -o ui_select.h
299
300 compiler_clean: compiler_moc_header_clean compiler_rcc_clean compiler_image_collection_clean compiler_moc_source_clean compiler_uic_clean 
301
302 ####### Compile
303
304 obj/main.o: main.cpp bat.h \
305                 mainwin.h \
306                 ui_main.h \
307                 label/label.h \
308                 ui_label.h \
309                 run/run.h \
310                 ui_run.h \
311                 restore/restore.h \
312                 ui_brestore.h \
313                 ui_restore.h \
314                 ui_prerestore.h \
315                 bat_conf.h \
316                 qstd.h
317         $(CXX) -c $(CXXFLAGS) $(INCPATH) -o obj/main.o main.cpp
318
319 obj/bat_conf.o: bat_conf.cpp bat_conf.h
320         $(CXX) -c $(CXXFLAGS) $(INCPATH) -o obj/bat_conf.o bat_conf.cpp
321
322 obj/mainwin.o: mainwin.cpp bat.h \
323                 mainwin.h \
324                 ui_main.h \
325                 label/label.h \
326                 ui_label.h \
327                 run/run.h \
328                 ui_run.h \
329                 restore/restore.h \
330                 ui_brestore.h \
331                 ui_restore.h \
332                 ui_prerestore.h \
333                 bat_conf.h \
334                 qstd.h
335         $(CXX) -c $(CXXFLAGS) $(INCPATH) -o obj/mainwin.o mainwin.cpp
336
337 obj/qstd.o: qstd.cpp qstd.h
338         $(CXX) -c $(CXXFLAGS) $(INCPATH) -o obj/qstd.o qstd.cpp
339
340 obj/authenticate.o: console/authenticate.cpp bat.h \
341                 mainwin.h \
342                 ui_main.h \
343                 label/label.h \
344                 ui_label.h \
345                 run/run.h \
346                 ui_run.h \
347                 restore/restore.h \
348                 ui_brestore.h \
349                 ui_restore.h \
350                 ui_prerestore.h \
351                 bat_conf.h \
352                 qstd.h
353         $(CXX) -c $(CXXFLAGS) $(INCPATH) -o obj/authenticate.o console/authenticate.cpp
354
355 obj/console.o: console/console.cpp bat.h \
356                 mainwin.h \
357                 ui_main.h \
358                 label/label.h \
359                 ui_label.h \
360                 run/run.h \
361                 ui_run.h \
362                 restore/restore.h \
363                 ui_brestore.h \
364                 ui_restore.h \
365                 ui_prerestore.h \
366                 bat_conf.h \
367                 qstd.h \
368                 console/console.h \
369                 ui_console.h
370         $(CXX) -c $(CXXFLAGS) $(INCPATH) -o obj/console.o console/console.cpp
371
372 obj/prerestore.o: restore/prerestore.cpp bat.h \
373                 mainwin.h \
374                 ui_main.h \
375                 label/label.h \
376                 ui_label.h \
377                 run/run.h \
378                 ui_run.h \
379                 restore/restore.h \
380                 ui_brestore.h \
381                 ui_restore.h \
382                 ui_prerestore.h \
383                 bat_conf.h \
384                 qstd.h
385         $(CXX) -c $(CXXFLAGS) $(INCPATH) -o obj/prerestore.o restore/prerestore.cpp
386
387 obj/restore.o: restore/restore.cpp bat.h \
388                 mainwin.h \
389                 ui_main.h \
390                 label/label.h \
391                 ui_label.h \
392                 run/run.h \
393                 ui_run.h \
394                 restore/restore.h \
395                 ui_brestore.h \
396                 ui_restore.h \
397                 ui_prerestore.h \
398                 bat_conf.h \
399                 qstd.h
400         $(CXX) -c $(CXXFLAGS) $(INCPATH) -o obj/restore.o restore/restore.cpp
401
402 obj/brestore.o: restore/brestore.cpp bat.h \
403                 mainwin.h \
404                 ui_main.h \
405                 label/label.h \
406                 ui_label.h \
407                 run/run.h \
408                 ui_run.h \
409                 restore/restore.h \
410                 ui_brestore.h \
411                 ui_restore.h \
412                 ui_prerestore.h \
413                 bat_conf.h \
414                 qstd.h
415         $(CXX) -c $(CXXFLAGS) $(INCPATH) -o obj/brestore.o restore/brestore.cpp
416
417 obj/label.o: label/label.cpp bat.h \
418                 mainwin.h \
419                 ui_main.h \
420                 label/label.h \
421                 ui_label.h \
422                 run/run.h \
423                 ui_run.h \
424                 restore/restore.h \
425                 ui_brestore.h \
426                 ui_restore.h \
427                 ui_prerestore.h \
428                 bat_conf.h \
429                 qstd.h
430         $(CXX) -c $(CXXFLAGS) $(INCPATH) -o obj/label.o label/label.cpp
431
432 obj/run.o: run/run.cpp bat.h \
433                 mainwin.h \
434                 ui_main.h \
435                 label/label.h \
436                 ui_label.h \
437                 run/run.h \
438                 ui_run.h \
439                 restore/restore.h \
440                 ui_brestore.h \
441                 ui_restore.h \
442                 ui_prerestore.h \
443                 bat_conf.h \
444                 qstd.h
445         $(CXX) -c $(CXXFLAGS) $(INCPATH) -o obj/run.o run/run.cpp
446
447 obj/runcmd.o: run/runcmd.cpp bat.h \
448                 mainwin.h \
449                 ui_main.h \
450                 label/label.h \
451                 ui_label.h \
452                 run/run.h \
453                 ui_run.h \
454                 restore/restore.h \
455                 ui_brestore.h \
456                 ui_restore.h \
457                 ui_prerestore.h \
458                 bat_conf.h \
459                 qstd.h
460         $(CXX) -c $(CXXFLAGS) $(INCPATH) -o obj/runcmd.o run/runcmd.cpp
461
462 obj/select.o: select/select.cpp bat.h \
463                 mainwin.h \
464                 ui_main.h \
465                 label/label.h \
466                 ui_label.h \
467                 run/run.h \
468                 ui_run.h \
469                 restore/restore.h \
470                 ui_brestore.h \
471                 ui_restore.h \
472                 ui_prerestore.h \
473                 bat_conf.h \
474                 qstd.h \
475                 select/select.h \
476                 ui_select.h
477         $(CXX) -c $(CXXFLAGS) $(INCPATH) -o obj/select.o select/select.cpp
478
479 obj/moc_mainwin.o: moc/moc_mainwin.cpp 
480         $(CXX) -c $(CXXFLAGS) $(INCPATH) -o obj/moc_mainwin.o moc/moc_mainwin.cpp
481
482 obj/moc_console.o: moc/moc_console.cpp 
483         $(CXX) -c $(CXXFLAGS) $(INCPATH) -o obj/moc_console.o moc/moc_console.cpp
484
485 obj/moc_restore.o: moc/moc_restore.cpp 
486         $(CXX) -c $(CXXFLAGS) $(INCPATH) -o obj/moc_restore.o moc/moc_restore.cpp
487
488 obj/moc_label.o: moc/moc_label.cpp 
489         $(CXX) -c $(CXXFLAGS) $(INCPATH) -o obj/moc_label.o moc/moc_label.cpp
490
491 obj/moc_run.o: moc/moc_run.cpp 
492         $(CXX) -c $(CXXFLAGS) $(INCPATH) -o obj/moc_run.o moc/moc_run.cpp
493
494 obj/moc_select.o: moc/moc_select.cpp 
495         $(CXX) -c $(CXXFLAGS) $(INCPATH) -o obj/moc_select.o moc/moc_select.cpp
496
497 obj/qrc_main.o: qrc_main.cpp 
498         $(CXX) -c $(CXXFLAGS) $(INCPATH) -o obj/qrc_main.o qrc_main.cpp
499
500 ####### Install
501
502 install:   FORCE
503
504 uninstall:   FORCE
505
506 FORCE:
507