]> git.sur5r.net Git - bacula/bacula/blob - bacula/src/qt-console/Makefile
Implement command output lists
[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 4 16:56:30 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 moc_mainwin.cpp \
55                 moc_console.cpp \
56                 moc_restore.cpp \
57                 qrc_main.cpp
58 OBJECTS       = main.o \
59                 bat_conf.o \
60                 mainwin.o \
61                 qstd.o \
62                 authenticate.o \
63                 console.o \
64                 brestore.o \
65                 moc_mainwin.o \
66                 moc_console.o \
67                 moc_restore.o \
68                 qrc_main.o
69 DIST          = /usr/share/qt4/mkspecs/common/unix.conf \
70                 /usr/share/qt4/mkspecs/common/g++.conf \
71                 /usr/share/qt4/mkspecs/common/linux.conf \
72                 /usr/share/qt4/mkspecs/qconfig.pri \
73                 /usr/share/qt4/mkspecs/features/qt_functions.prf \
74                 /usr/share/qt4/mkspecs/features/qt_config.prf \
75                 /usr/share/qt4/mkspecs/features/exclusive_builds.prf \
76                 /usr/share/qt4/mkspecs/features/default_pre.prf \
77                 /usr/share/qt4/mkspecs/features/release.prf \
78                 /usr/share/qt4/mkspecs/features/default_post.prf \
79                 /usr/share/qt4/mkspecs/features/warn_on.prf \
80                 /usr/share/qt4/mkspecs/features/qt.prf \
81                 /usr/share/qt4/mkspecs/features/unix/thread.prf \
82                 /usr/share/qt4/mkspecs/features/moc.prf \
83                 /usr/share/qt4/mkspecs/features/resources.prf \
84                 /usr/share/qt4/mkspecs/features/uic.prf \
85                 bat.pro
86 QMAKE_TARGET  = bat
87 DESTDIR       = 
88 TARGET        = bat
89
90 first: all
91 ####### Implicit rules
92
93 .SUFFIXES: .o .c .cpp .cc .cxx .C
94
95 .cpp.o:
96         $(CXX) -c $(CXXFLAGS) $(INCPATH) -o "$@" "$<"
97
98 .cc.o:
99         $(CXX) -c $(CXXFLAGS) $(INCPATH) -o "$@" "$<"
100
101 .cxx.o:
102         $(CXX) -c $(CXXFLAGS) $(INCPATH) -o "$@" "$<"
103
104 .C.o:
105         $(CXX) -c $(CXXFLAGS) $(INCPATH) -o "$@" "$<"
106
107 .c.o:
108         $(CC) -c $(CFLAGS) $(INCPATH) -o "$@" "$<"
109
110 ####### Build rules
111
112 all: Makefile $(TARGET)
113
114 $(TARGET): ui_main.h ui_label.h ui_console.h ui_brestore.h $(OBJECTS)  
115         $(LINK) $(LFLAGS) -o $(TARGET) $(OBJECTS) $(OBJCOMP) $(LIBS)
116
117 Makefile: bat.pro  /usr/share/qt4/mkspecs/default/qmake.conf /usr/share/qt4/mkspecs/common/unix.conf \
118                 /usr/share/qt4/mkspecs/common/g++.conf \
119                 /usr/share/qt4/mkspecs/common/linux.conf \
120                 /usr/share/qt4/mkspecs/qconfig.pri \
121                 /usr/share/qt4/mkspecs/features/qt_functions.prf \
122                 /usr/share/qt4/mkspecs/features/qt_config.prf \
123                 /usr/share/qt4/mkspecs/features/exclusive_builds.prf \
124                 /usr/share/qt4/mkspecs/features/default_pre.prf \
125                 /usr/share/qt4/mkspecs/features/release.prf \
126                 /usr/share/qt4/mkspecs/features/default_post.prf \
127                 /usr/share/qt4/mkspecs/features/warn_on.prf \
128                 /usr/share/qt4/mkspecs/features/qt.prf \
129                 /usr/share/qt4/mkspecs/features/unix/thread.prf \
130                 /usr/share/qt4/mkspecs/features/moc.prf \
131                 /usr/share/qt4/mkspecs/features/resources.prf \
132                 /usr/share/qt4/mkspecs/features/uic.prf \
133                 /usr/lib/libQtGui.prl \
134                 /usr/lib/libQtCore.prl
135         $(QMAKE) -unix -o Makefile bat.pro
136 /usr/share/qt4/mkspecs/common/unix.conf:
137 /usr/share/qt4/mkspecs/common/g++.conf:
138 /usr/share/qt4/mkspecs/common/linux.conf:
139 /usr/share/qt4/mkspecs/qconfig.pri:
140 /usr/share/qt4/mkspecs/features/qt_functions.prf:
141 /usr/share/qt4/mkspecs/features/qt_config.prf:
142 /usr/share/qt4/mkspecs/features/exclusive_builds.prf:
143 /usr/share/qt4/mkspecs/features/default_pre.prf:
144 /usr/share/qt4/mkspecs/features/release.prf:
145 /usr/share/qt4/mkspecs/features/default_post.prf:
146 /usr/share/qt4/mkspecs/features/warn_on.prf:
147 /usr/share/qt4/mkspecs/features/qt.prf:
148 /usr/share/qt4/mkspecs/features/unix/thread.prf:
149 /usr/share/qt4/mkspecs/features/moc.prf:
150 /usr/share/qt4/mkspecs/features/resources.prf:
151 /usr/share/qt4/mkspecs/features/uic.prf:
152 /usr/lib/libQtGui.prl:
153 /usr/lib/libQtCore.prl:
154 qmake:  FORCE
155         @$(QMAKE) -unix -o Makefile bat.pro
156
157 dist: 
158         @$(CHK_DIR_EXISTS) .tmp/bat1.0.0 || $(MKDIR) .tmp/bat1.0.0 
159         $(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 .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 .tmp/bat1.0.0/ && $(COPY_FILE) --parents main.ui label.ui console/console.ui restore/brestore.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
160
161
162 yaccclean:
163 lexclean:
164 clean:compiler_clean 
165         -$(DEL_FILE) $(OBJECTS)
166         -$(DEL_FILE) *~ core *.core
167
168
169 ####### Sub-libraries
170
171 distclean: clean
172         -$(DEL_FILE) $(TARGET) 
173         -$(DEL_FILE) Makefile
174
175
176 /usr/bin/moc:
177         (cd $(QTDIR)/src/tools/moc && $(MAKE))
178
179 mocclean: compiler_moc_header_clean compiler_moc_source_clean
180
181 mocables: compiler_moc_header_make_all compiler_moc_source_make_all
182
183 compiler_moc_header_make_all: moc_mainwin.cpp moc_console.cpp moc_restore.cpp
184 compiler_moc_header_clean:
185         -$(DEL_FILE) moc_mainwin.cpp moc_console.cpp moc_restore.cpp
186 moc_mainwin.cpp: ui_main.h \
187                 mainwin.h \
188                 /usr/bin/moc
189         /usr/bin/moc $(DEFINES) $(INCPATH) mainwin.h -o moc_mainwin.cpp
190
191 moc_console.cpp: ui_console.h \
192                 console/console.h \
193                 /usr/bin/moc
194         /usr/bin/moc $(DEFINES) $(INCPATH) console/console.h -o moc_console.cpp
195
196 moc_restore.cpp: ui_brestore.h \
197                 restore/restore.h \
198                 /usr/bin/moc
199         /usr/bin/moc $(DEFINES) $(INCPATH) restore/restore.h -o moc_restore.cpp
200
201 compiler_rcc_make_all: qrc_main.cpp
202 compiler_rcc_clean:
203         -$(DEL_FILE) qrc_main.cpp
204 qrc_main.cpp: main.qrc \
205                 /usr/bin/rcc \
206                 images/new.png \
207                 images/disconnected.png \
208                 images/label.png \
209                 images/server.png \
210                 images/restore.png \
211                 images/copy.png \
212                 images/cut.png \
213                 images/connected.png \
214                 images/big-server.png \
215                 images/save.png \
216                 images/bat.png \
217                 images/paste.png \
218                 images/run.png \
219                 images/open.png
220         /usr/bin/rcc -name main main.qrc -o qrc_main.cpp
221
222 compiler_image_collection_make_all: qmake_image_collection.cpp
223 compiler_image_collection_clean:
224         -$(DEL_FILE) qmake_image_collection.cpp
225 compiler_moc_source_make_all:
226 compiler_moc_source_clean:
227 compiler_uic_make_all: ui_main.h ui_label.h ui_console.h ui_brestore.h
228 compiler_uic_clean:
229         -$(DEL_FILE) ui_main.h ui_label.h ui_console.h ui_brestore.h
230 ui_main.h: main.ui
231         /usr/bin/uic main.ui -o ui_main.h
232
233 ui_label.h: label.ui
234         /usr/bin/uic label.ui -o ui_label.h
235
236 ui_console.h: console/console.ui
237         /usr/bin/uic console/console.ui -o ui_console.h
238
239 ui_brestore.h: restore/brestore.ui
240         /usr/bin/uic restore/brestore.ui -o ui_brestore.h
241
242 compiler_clean: compiler_moc_header_clean compiler_rcc_clean compiler_image_collection_clean compiler_moc_source_clean compiler_uic_clean 
243
244 ####### Compile
245
246 main.o: main.cpp bat.h \
247                 mainwin.h \
248                 ui_main.h \
249                 bat_conf.h \
250                 qstd.h
251         $(CXX) -c $(CXXFLAGS) $(INCPATH) -o main.o main.cpp
252
253 bat_conf.o: bat_conf.cpp bat_conf.h
254         $(CXX) -c $(CXXFLAGS) $(INCPATH) -o bat_conf.o bat_conf.cpp
255
256 mainwin.o: mainwin.cpp bat.h \
257                 mainwin.h \
258                 ui_main.h \
259                 bat_conf.h \
260                 qstd.h
261         $(CXX) -c $(CXXFLAGS) $(INCPATH) -o mainwin.o mainwin.cpp
262
263 qstd.o: qstd.cpp qstd.h
264         $(CXX) -c $(CXXFLAGS) $(INCPATH) -o qstd.o qstd.cpp
265
266 authenticate.o: console/authenticate.cpp bat.h \
267                 mainwin.h \
268                 ui_main.h \
269                 bat_conf.h \
270                 qstd.h
271         $(CXX) -c $(CXXFLAGS) $(INCPATH) -o authenticate.o console/authenticate.cpp
272
273 console.o: console/console.cpp bat.h \
274                 mainwin.h \
275                 ui_main.h \
276                 bat_conf.h \
277                 qstd.h \
278                 console/console.h \
279                 ui_console.h
280         $(CXX) -c $(CXXFLAGS) $(INCPATH) -o console.o console/console.cpp
281
282 brestore.o: restore/brestore.cpp bat.h \
283                 mainwin.h \
284                 ui_main.h \
285                 bat_conf.h \
286                 qstd.h \
287                 restore/restore.h \
288                 ui_brestore.h
289         $(CXX) -c $(CXXFLAGS) $(INCPATH) -o brestore.o restore/brestore.cpp
290
291 moc_mainwin.o: moc_mainwin.cpp 
292         $(CXX) -c $(CXXFLAGS) $(INCPATH) -o moc_mainwin.o moc_mainwin.cpp
293
294 moc_console.o: moc_console.cpp 
295         $(CXX) -c $(CXXFLAGS) $(INCPATH) -o moc_console.o moc_console.cpp
296
297 moc_restore.o: moc_restore.cpp 
298         $(CXX) -c $(CXXFLAGS) $(INCPATH) -o moc_restore.o moc_restore.cpp
299
300 qrc_main.o: qrc_main.cpp 
301         $(CXX) -c $(CXXFLAGS) $(INCPATH) -o qrc_main.o qrc_main.cpp
302
303 ####### Install
304
305 install:   FORCE
306
307 uninstall:   FORCE
308
309 FORCE:
310