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