]> git.sur5r.net Git - bacula/bacula/blob - bacula/src/qt-console/Makefile
First cut run dialog
[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 Feb 9 23:20: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.. -I. -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   = ./
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/brestore.cpp \
55                 label/label.cpp \
56                 run/run.cpp moc_mainwin.cpp \
57                 moc_console.cpp \
58                 moc_restore.cpp \
59                 moc_label.cpp \
60                 moc_run.cpp \
61                 qrc_main.cpp
62 OBJECTS       = main.o \
63                 bat_conf.o \
64                 mainwin.o \
65                 qstd.o \
66                 authenticate.o \
67                 console.o \
68                 brestore.o \
69                 label.o \
70                 run.o \
71                 moc_mainwin.o \
72                 moc_console.o \
73                 moc_restore.o \
74                 moc_label.o \
75                 moc_run.o \
76                 qrc_main.o
77 DIST          = /usr/share/qt4/mkspecs/common/unix.conf \
78                 /usr/share/qt4/mkspecs/common/g++.conf \
79                 /usr/share/qt4/mkspecs/common/linux.conf \
80                 /usr/share/qt4/mkspecs/qconfig.pri \
81                 /usr/share/qt4/mkspecs/features/qt_functions.prf \
82                 /usr/share/qt4/mkspecs/features/qt_config.prf \
83                 /usr/share/qt4/mkspecs/features/exclusive_builds.prf \
84                 /usr/share/qt4/mkspecs/features/default_pre.prf \
85                 /usr/share/qt4/mkspecs/features/release.prf \
86                 /usr/share/qt4/mkspecs/features/default_post.prf \
87                 /usr/share/qt4/mkspecs/features/warn_on.prf \
88                 /usr/share/qt4/mkspecs/features/qt.prf \
89                 /usr/share/qt4/mkspecs/features/unix/thread.prf \
90                 /usr/share/qt4/mkspecs/features/moc.prf \
91                 /usr/share/qt4/mkspecs/features/resources.prf \
92                 /usr/share/qt4/mkspecs/features/uic.prf \
93                 bat.pro
94 QMAKE_TARGET  = bat
95 DESTDIR       = 
96 TARGET        = bat
97
98 first: all
99 ####### Implicit rules
100
101 .SUFFIXES: .o .c .cpp .cc .cxx .C
102
103 .cpp.o:
104         $(CXX) -c $(CXXFLAGS) $(INCPATH) -o "$@" "$<"
105
106 .cc.o:
107         $(CXX) -c $(CXXFLAGS) $(INCPATH) -o "$@" "$<"
108
109 .cxx.o:
110         $(CXX) -c $(CXXFLAGS) $(INCPATH) -o "$@" "$<"
111
112 .C.o:
113         $(CXX) -c $(CXXFLAGS) $(INCPATH) -o "$@" "$<"
114
115 .c.o:
116         $(CC) -c $(CFLAGS) $(INCPATH) -o "$@" "$<"
117
118 ####### Build rules
119
120 all: Makefile $(TARGET)
121
122 $(TARGET): ui_main.h ui_label.h ui_console.h ui_brestore.h ui_run.h $(OBJECTS)  
123         $(LINK) $(LFLAGS) -o $(TARGET) $(OBJECTS) $(OBJCOMP) $(LIBS)
124
125 Makefile: bat.pro  /usr/share/qt4/mkspecs/default/qmake.conf /usr/share/qt4/mkspecs/common/unix.conf \
126                 /usr/share/qt4/mkspecs/common/g++.conf \
127                 /usr/share/qt4/mkspecs/common/linux.conf \
128                 /usr/share/qt4/mkspecs/qconfig.pri \
129                 /usr/share/qt4/mkspecs/features/qt_functions.prf \
130                 /usr/share/qt4/mkspecs/features/qt_config.prf \
131                 /usr/share/qt4/mkspecs/features/exclusive_builds.prf \
132                 /usr/share/qt4/mkspecs/features/default_pre.prf \
133                 /usr/share/qt4/mkspecs/features/release.prf \
134                 /usr/share/qt4/mkspecs/features/default_post.prf \
135                 /usr/share/qt4/mkspecs/features/warn_on.prf \
136                 /usr/share/qt4/mkspecs/features/qt.prf \
137                 /usr/share/qt4/mkspecs/features/unix/thread.prf \
138                 /usr/share/qt4/mkspecs/features/moc.prf \
139                 /usr/share/qt4/mkspecs/features/resources.prf \
140                 /usr/share/qt4/mkspecs/features/uic.prf \
141                 /usr/lib/libQtGui.prl \
142                 /usr/lib/libQtCore.prl
143         $(QMAKE) -unix -o Makefile bat.pro
144 /usr/share/qt4/mkspecs/common/unix.conf:
145 /usr/share/qt4/mkspecs/common/g++.conf:
146 /usr/share/qt4/mkspecs/common/linux.conf:
147 /usr/share/qt4/mkspecs/qconfig.pri:
148 /usr/share/qt4/mkspecs/features/qt_functions.prf:
149 /usr/share/qt4/mkspecs/features/qt_config.prf:
150 /usr/share/qt4/mkspecs/features/exclusive_builds.prf:
151 /usr/share/qt4/mkspecs/features/default_pre.prf:
152 /usr/share/qt4/mkspecs/features/release.prf:
153 /usr/share/qt4/mkspecs/features/default_post.prf:
154 /usr/share/qt4/mkspecs/features/warn_on.prf:
155 /usr/share/qt4/mkspecs/features/qt.prf:
156 /usr/share/qt4/mkspecs/features/unix/thread.prf:
157 /usr/share/qt4/mkspecs/features/moc.prf:
158 /usr/share/qt4/mkspecs/features/resources.prf:
159 /usr/share/qt4/mkspecs/features/uic.prf:
160 /usr/lib/libQtGui.prl:
161 /usr/lib/libQtCore.prl:
162 qmake:  FORCE
163         @$(QMAKE) -unix -o Makefile bat.pro
164
165 dist: 
166         @$(CHK_DIR_EXISTS) .tmp/bat1.0.0 || $(MKDIR) .tmp/bat1.0.0 
167         $(COPY_FILE) --parents $(SOURCES) $(DIST) .tmp/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 .tmp/bat1.0.0/ && $(COPY_FILE) --parents main.qrc .tmp/bat1.0.0/ && $(COPY_FILE) --parents main.cpp bat_conf.cpp mainwin.cpp qstd.cpp console/authenticate.cpp console/console.cpp restore/brestore.cpp label/label.cpp run/run.cpp .tmp/bat1.0.0/ && $(COPY_FILE) --parents main.ui label/label.ui console/console.ui restore/brestore.ui run/run.ui .tmp/bat1.0.0/ && (cd `dirname .tmp/bat1.0.0` && $(TAR) bat1.0.0.tar bat1.0.0 && $(COMPRESS) bat1.0.0.tar) && $(MOVE) `dirname .tmp/bat1.0.0`/bat1.0.0.tar.gz . && $(DEL_FILE) -r .tmp/bat1.0.0
168
169
170 yaccclean:
171 lexclean:
172 clean:compiler_clean 
173         -$(DEL_FILE) $(OBJECTS)
174         -$(DEL_FILE) *~ core *.core
175
176
177 ####### Sub-libraries
178
179 distclean: clean
180         -$(DEL_FILE) $(TARGET) 
181         -$(DEL_FILE) Makefile
182
183
184 /usr/bin/moc:
185         (cd $(QTDIR)/src/tools/moc && $(MAKE))
186
187 mocclean: compiler_moc_header_clean compiler_moc_source_clean
188
189 mocables: compiler_moc_header_make_all compiler_moc_source_make_all
190
191 compiler_moc_header_make_all: moc_mainwin.cpp moc_console.cpp moc_restore.cpp moc_label.cpp moc_run.cpp
192 compiler_moc_header_clean:
193         -$(DEL_FILE) moc_mainwin.cpp moc_console.cpp moc_restore.cpp moc_label.cpp moc_run.cpp
194 moc_mainwin.cpp: ui_main.h \
195                 label/label.h \
196                 ui_label.h \
197                 run/run.h \
198                 ui_run.h \
199                 mainwin.h \
200                 /usr/bin/moc
201         /usr/bin/moc $(DEFINES) $(INCPATH) mainwin.h -o moc_mainwin.cpp
202
203 moc_console.cpp: ui_console.h \
204                 console/console.h \
205                 /usr/bin/moc
206         /usr/bin/moc $(DEFINES) $(INCPATH) console/console.h -o moc_console.cpp
207
208 moc_restore.cpp: ui_brestore.h \
209                 restore/restore.h \
210                 /usr/bin/moc
211         /usr/bin/moc $(DEFINES) $(INCPATH) restore/restore.h -o moc_restore.cpp
212
213 moc_label.cpp: ui_label.h \
214                 label/label.h \
215                 /usr/bin/moc
216         /usr/bin/moc $(DEFINES) $(INCPATH) label/label.h -o moc_label.cpp
217
218 moc_run.cpp: ui_run.h \
219                 run/run.h \
220                 /usr/bin/moc
221         /usr/bin/moc $(DEFINES) $(INCPATH) run/run.h -o moc_run.cpp
222
223 compiler_rcc_make_all: qrc_main.cpp
224 compiler_rcc_clean:
225         -$(DEL_FILE) qrc_main.cpp
226 qrc_main.cpp: main.qrc \
227                 /usr/bin/rcc \
228                 images/new.png \
229                 images/disconnected.png \
230                 images/label.png \
231                 images/server.png \
232                 images/restore.png \
233                 images/copy.png \
234                 images/cut.png \
235                 images/connected.png \
236                 images/big-server.png \
237                 images/save.png \
238                 images/bat.png \
239                 images/paste.png \
240                 images/run.png \
241                 images/open.png
242         /usr/bin/rcc -name main main.qrc -o qrc_main.cpp
243
244 compiler_image_collection_make_all: qmake_image_collection.cpp
245 compiler_image_collection_clean:
246         -$(DEL_FILE) qmake_image_collection.cpp
247 compiler_moc_source_make_all:
248 compiler_moc_source_clean:
249 compiler_uic_make_all: ui_main.h ui_label.h ui_console.h ui_brestore.h ui_run.h
250 compiler_uic_clean:
251         -$(DEL_FILE) ui_main.h ui_label.h ui_console.h ui_brestore.h ui_run.h
252 ui_main.h: main.ui
253         /usr/bin/uic main.ui -o ui_main.h
254
255 ui_label.h: label/label.ui
256         /usr/bin/uic label/label.ui -o ui_label.h
257
258 ui_console.h: console/console.ui
259         /usr/bin/uic console/console.ui -o ui_console.h
260
261 ui_brestore.h: restore/brestore.ui
262         /usr/bin/uic restore/brestore.ui -o ui_brestore.h
263
264 ui_run.h: run/run.ui
265         /usr/bin/uic run/run.ui -o ui_run.h
266
267 compiler_clean: compiler_moc_header_clean compiler_rcc_clean compiler_image_collection_clean compiler_moc_source_clean compiler_uic_clean 
268
269 ####### Compile
270
271 main.o: main.cpp bat.h \
272                 mainwin.h \
273                 ui_main.h \
274                 label/label.h \
275                 ui_label.h \
276                 run/run.h \
277                 ui_run.h \
278                 bat_conf.h \
279                 qstd.h
280         $(CXX) -c $(CXXFLAGS) $(INCPATH) -o main.o main.cpp
281
282 bat_conf.o: bat_conf.cpp bat_conf.h
283         $(CXX) -c $(CXXFLAGS) $(INCPATH) -o bat_conf.o bat_conf.cpp
284
285 mainwin.o: mainwin.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                 bat_conf.h \
293                 qstd.h
294         $(CXX) -c $(CXXFLAGS) $(INCPATH) -o mainwin.o mainwin.cpp
295
296 qstd.o: qstd.cpp qstd.h
297         $(CXX) -c $(CXXFLAGS) $(INCPATH) -o qstd.o qstd.cpp
298
299 authenticate.o: console/authenticate.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                 bat_conf.h \
307                 qstd.h
308         $(CXX) -c $(CXXFLAGS) $(INCPATH) -o authenticate.o console/authenticate.cpp
309
310 console.o: console/console.cpp bat.h \
311                 mainwin.h \
312                 ui_main.h \
313                 label/label.h \
314                 ui_label.h \
315                 run/run.h \
316                 ui_run.h \
317                 bat_conf.h \
318                 qstd.h \
319                 console/console.h \
320                 ui_console.h
321         $(CXX) -c $(CXXFLAGS) $(INCPATH) -o console.o console/console.cpp
322
323 brestore.o: restore/brestore.cpp bat.h \
324                 mainwin.h \
325                 ui_main.h \
326                 label/label.h \
327                 ui_label.h \
328                 run/run.h \
329                 ui_run.h \
330                 bat_conf.h \
331                 qstd.h \
332                 restore/restore.h \
333                 ui_brestore.h
334         $(CXX) -c $(CXXFLAGS) $(INCPATH) -o brestore.o restore/brestore.cpp
335
336 label.o: label/label.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                 bat_conf.h \
344                 qstd.h
345         $(CXX) -c $(CXXFLAGS) $(INCPATH) -o label.o label/label.cpp
346
347 run.o: run/run.cpp bat.h \
348                 mainwin.h \
349                 ui_main.h \
350                 label/label.h \
351                 ui_label.h \
352                 run/run.h \
353                 ui_run.h \
354                 bat_conf.h \
355                 qstd.h
356         $(CXX) -c $(CXXFLAGS) $(INCPATH) -o run.o run/run.cpp
357
358 moc_mainwin.o: moc_mainwin.cpp 
359         $(CXX) -c $(CXXFLAGS) $(INCPATH) -o moc_mainwin.o moc_mainwin.cpp
360
361 moc_console.o: moc_console.cpp 
362         $(CXX) -c $(CXXFLAGS) $(INCPATH) -o moc_console.o moc_console.cpp
363
364 moc_restore.o: moc_restore.cpp 
365         $(CXX) -c $(CXXFLAGS) $(INCPATH) -o moc_restore.o moc_restore.cpp
366
367 moc_label.o: moc_label.cpp 
368         $(CXX) -c $(CXXFLAGS) $(INCPATH) -o moc_label.o moc_label.cpp
369
370 moc_run.o: moc_run.cpp 
371         $(CXX) -c $(CXXFLAGS) $(INCPATH) -o moc_run.o moc_run.cpp
372
373 qrc_main.o: qrc_main.cpp 
374         $(CXX) -c $(CXXFLAGS) $(INCPATH) -o qrc_main.o qrc_main.cpp
375
376 ####### Install
377
378 install:   FORCE
379
380 uninstall:   FORCE
381
382 FORCE:
383