]> git.sur5r.net Git - bacula/bacula/blob - bacula/src/qt-console/Makefile
Add smartctl call to bacula-sd.conf as an example of getting
[bacula/bacula] / bacula / src / qt-console / Makefile
1 #############################################################################
2 # Makefile for building: bat
3 # Generated by qmake (2.01a) (Qt 4.2.1) on: Tue Feb 27 17:51:23 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 -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/debug.prf \
88                 /usr/share/qt4/mkspecs/features/default_post.prf \
89                 /usr/share/qt4/mkspecs/features/qt.prf \
90                 /usr/share/qt4/mkspecs/features/unix/thread.prf \
91                 /usr/share/qt4/mkspecs/features/moc.prf \
92                 /usr/share/qt4/mkspecs/features/warn_on.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/debug.prf \
136                 /usr/share/qt4/mkspecs/features/default_post.prf \
137                 /usr/share/qt4/mkspecs/features/qt.prf \
138                 /usr/share/qt4/mkspecs/features/unix/thread.prf \
139                 /usr/share/qt4/mkspecs/features/moc.prf \
140                 /usr/share/qt4/mkspecs/features/warn_on.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/debug.prf:
155 /usr/share/qt4/mkspecs/features/default_post.prf:
156 /usr/share/qt4/mkspecs/features/qt.prf:
157 /usr/share/qt4/mkspecs/features/unix/thread.prf:
158 /usr/share/qt4/mkspecs/features/moc.prf:
159 /usr/share/qt4/mkspecs/features/warn_on.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                 restore/restore.h \
202                 ui_brestore.h \
203                 ui_restore.h \
204                 ui_prerestore.h \
205                 mainwin.h \
206                 /usr/bin/moc
207         /usr/bin/moc $(DEFINES) $(INCPATH) mainwin.h -o moc/moc_mainwin.cpp
208
209 moc/moc_console.cpp: ui_console.h \
210                 console/console.h \
211                 /usr/bin/moc
212         /usr/bin/moc $(DEFINES) $(INCPATH) console/console.h -o moc/moc_console.cpp
213
214 moc/moc_restore.cpp: ui_brestore.h \
215                 ui_restore.h \
216                 ui_prerestore.h \
217                 restore/restore.h \
218                 /usr/bin/moc
219         /usr/bin/moc $(DEFINES) $(INCPATH) restore/restore.h -o moc/moc_restore.cpp
220
221 moc/moc_label.cpp: ui_label.h \
222                 label/label.h \
223                 /usr/bin/moc
224         /usr/bin/moc $(DEFINES) $(INCPATH) label/label.h -o moc/moc_label.cpp
225
226 moc/moc_run.cpp: ui_run.h \
227                 run/run.h \
228                 /usr/bin/moc
229         /usr/bin/moc $(DEFINES) $(INCPATH) run/run.h -o moc/moc_run.cpp
230
231 compiler_rcc_make_all: qrc_main.cpp
232 compiler_rcc_clean:
233         -$(DEL_FILE) qrc_main.cpp
234 qrc_main.cpp: main.qrc \
235                 /usr/bin/rcc \
236                 images/new.png \
237                 images/disconnected.png \
238                 images/label.png \
239                 images/server.png \
240                 images/restore.png \
241                 images/copy.png \
242                 images/cut.png \
243                 images/connected.png \
244                 images/big-server.png \
245                 images/save.png \
246                 images/bat.png \
247                 images/paste.png \
248                 images/run.png \
249                 images/open.png
250         /usr/bin/rcc -name main main.qrc -o qrc_main.cpp
251
252 compiler_image_collection_make_all: qmake_image_collection.cpp
253 compiler_image_collection_clean:
254         -$(DEL_FILE) qmake_image_collection.cpp
255 compiler_moc_source_make_all:
256 compiler_moc_source_clean:
257 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
258 compiler_uic_clean:
259         -$(DEL_FILE) ui_main.h ui_label.h ui_console.h ui_restore.h ui_prerestore.h ui_brestore.h ui_run.h
260 ui_main.h: main.ui
261         /usr/bin/uic main.ui -o ui_main.h
262
263 ui_label.h: label/label.ui
264         /usr/bin/uic label/label.ui -o ui_label.h
265
266 ui_console.h: console/console.ui
267         /usr/bin/uic console/console.ui -o ui_console.h
268
269 ui_restore.h: restore/restore.ui
270         /usr/bin/uic restore/restore.ui -o ui_restore.h
271
272 ui_prerestore.h: restore/prerestore.ui
273         /usr/bin/uic restore/prerestore.ui -o ui_prerestore.h
274
275 ui_brestore.h: restore/brestore.ui
276         /usr/bin/uic restore/brestore.ui -o ui_brestore.h
277
278 ui_run.h: run/run.ui
279         /usr/bin/uic run/run.ui -o ui_run.h
280
281 compiler_clean: compiler_moc_header_clean compiler_rcc_clean compiler_image_collection_clean compiler_moc_source_clean compiler_uic_clean 
282
283 ####### Compile
284
285 obj/main.o: main.cpp bat.h \
286                 mainwin.h \
287                 ui_main.h \
288                 label/label.h \
289                 ui_label.h \
290                 run/run.h \
291                 ui_run.h \
292                 restore/restore.h \
293                 ui_brestore.h \
294                 ui_restore.h \
295                 ui_prerestore.h \
296                 bat_conf.h \
297                 qstd.h
298         $(CXX) -c $(CXXFLAGS) $(INCPATH) -o obj/main.o main.cpp
299
300 obj/bat_conf.o: bat_conf.cpp bat_conf.h
301         $(CXX) -c $(CXXFLAGS) $(INCPATH) -o obj/bat_conf.o bat_conf.cpp
302
303 obj/mainwin.o: mainwin.cpp bat.h \
304                 mainwin.h \
305                 ui_main.h \
306                 label/label.h \
307                 ui_label.h \
308                 run/run.h \
309                 ui_run.h \
310                 restore/restore.h \
311                 ui_brestore.h \
312                 ui_restore.h \
313                 ui_prerestore.h \
314                 bat_conf.h \
315                 qstd.h
316         $(CXX) -c $(CXXFLAGS) $(INCPATH) -o obj/mainwin.o mainwin.cpp
317
318 obj/qstd.o: qstd.cpp qstd.h
319         $(CXX) -c $(CXXFLAGS) $(INCPATH) -o obj/qstd.o qstd.cpp
320
321 obj/authenticate.o: console/authenticate.cpp bat.h \
322                 mainwin.h \
323                 ui_main.h \
324                 label/label.h \
325                 ui_label.h \
326                 run/run.h \
327                 ui_run.h \
328                 restore/restore.h \
329                 ui_brestore.h \
330                 ui_restore.h \
331                 ui_prerestore.h \
332                 bat_conf.h \
333                 qstd.h
334         $(CXX) -c $(CXXFLAGS) $(INCPATH) -o obj/authenticate.o console/authenticate.cpp
335
336 obj/console.o: console/console.cpp bat.h \
337                 mainwin.h \
338                 ui_main.h \
339                 label/label.h \
340                 ui_label.h \
341                 run/run.h \
342                 ui_run.h \
343                 restore/restore.h \
344                 ui_brestore.h \
345                 ui_restore.h \
346                 ui_prerestore.h \
347                 bat_conf.h \
348                 qstd.h \
349                 console/console.h \
350                 ui_console.h
351         $(CXX) -c $(CXXFLAGS) $(INCPATH) -o obj/console.o console/console.cpp
352
353 obj/restore.o: restore/restore.cpp bat.h \
354                 mainwin.h \
355                 ui_main.h \
356                 label/label.h \
357                 ui_label.h \
358                 run/run.h \
359                 ui_run.h \
360                 restore/restore.h \
361                 ui_brestore.h \
362                 ui_restore.h \
363                 ui_prerestore.h \
364                 bat_conf.h \
365                 qstd.h
366         $(CXX) -c $(CXXFLAGS) $(INCPATH) -o obj/restore.o restore/restore.cpp
367
368 obj/brestore.o: restore/brestore.cpp bat.h \
369                 mainwin.h \
370                 ui_main.h \
371                 label/label.h \
372                 ui_label.h \
373                 run/run.h \
374                 ui_run.h \
375                 restore/restore.h \
376                 ui_brestore.h \
377                 ui_restore.h \
378                 ui_prerestore.h \
379                 bat_conf.h \
380                 qstd.h
381         $(CXX) -c $(CXXFLAGS) $(INCPATH) -o obj/brestore.o restore/brestore.cpp
382
383 obj/label.o: label/label.cpp bat.h \
384                 mainwin.h \
385                 ui_main.h \
386                 label/label.h \
387                 ui_label.h \
388                 run/run.h \
389                 ui_run.h \
390                 restore/restore.h \
391                 ui_brestore.h \
392                 ui_restore.h \
393                 ui_prerestore.h \
394                 bat_conf.h \
395                 qstd.h
396         $(CXX) -c $(CXXFLAGS) $(INCPATH) -o obj/label.o label/label.cpp
397
398 obj/run.o: run/run.cpp bat.h \
399                 mainwin.h \
400                 ui_main.h \
401                 label/label.h \
402                 ui_label.h \
403                 run/run.h \
404                 ui_run.h \
405                 restore/restore.h \
406                 ui_brestore.h \
407                 ui_restore.h \
408                 ui_prerestore.h \
409                 bat_conf.h \
410                 qstd.h
411         $(CXX) -c $(CXXFLAGS) $(INCPATH) -o obj/run.o run/run.cpp
412
413 obj/moc_mainwin.o: moc/moc_mainwin.cpp 
414         $(CXX) -c $(CXXFLAGS) $(INCPATH) -o obj/moc_mainwin.o moc/moc_mainwin.cpp
415
416 obj/moc_console.o: moc/moc_console.cpp 
417         $(CXX) -c $(CXXFLAGS) $(INCPATH) -o obj/moc_console.o moc/moc_console.cpp
418
419 obj/moc_restore.o: moc/moc_restore.cpp 
420         $(CXX) -c $(CXXFLAGS) $(INCPATH) -o obj/moc_restore.o moc/moc_restore.cpp
421
422 obj/moc_label.o: moc/moc_label.cpp 
423         $(CXX) -c $(CXXFLAGS) $(INCPATH) -o obj/moc_label.o moc/moc_label.cpp
424
425 obj/moc_run.o: moc/moc_run.cpp 
426         $(CXX) -c $(CXXFLAGS) $(INCPATH) -o obj/moc_run.o moc/moc_run.cpp
427
428 obj/qrc_main.o: qrc_main.cpp 
429         $(CXX) -c $(CXXFLAGS) $(INCPATH) -o obj/qrc_main.o qrc_main.cpp
430
431 ####### Install
432
433 install:   FORCE
434
435 uninstall:   FORCE
436
437 FORCE:
438