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