1 #############################################################################
2 # Makefile for building: bat
3 # Generated by qmake (2.01a) (Qt 4.2.1) on: Fri Mar 9 09:22:17 2007
6 # Command: /usr/bin/qmake -unix -o Makefile bat.pro
7 #############################################################################
9 ####### Compiler, tools and options
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)
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.
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
26 QMAKE = /usr/bin/qmake
32 INSTALL_FILE = install -m 644 -p
33 INSTALL_DIR = $(COPY_DIR)
34 INSTALL_PROGRAM = install -m 755 -p
39 CHK_DIR_EXISTS= test -d
42 ####### Output directory
52 console/authenticate.cpp \
54 restore/prerestore.cpp \
56 restore/brestore.cpp \
59 select/select.cpp moc/moc_mainwin.cpp \
66 OBJECTS = obj/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 \
107 ####### Implicit rules
109 .SUFFIXES: .o .c .cpp .cc .cxx .C
112 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o "$@" "$<"
115 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o "$@" "$<"
118 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o "$@" "$<"
121 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o "$@" "$<"
124 $(CC) -c $(CFLAGS) $(INCPATH) -o "$@" "$<"
128 all: Makefile $(TARGET)
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)
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:
171 @$(QMAKE) -unix -o Makefile bat.pro
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
181 -$(DEL_FILE) $(OBJECTS)
182 -$(DEL_FILE) *~ core *.core
185 ####### Sub-libraries
188 -$(DEL_FILE) $(TARGET)
189 -$(DEL_FILE) Makefile
193 (cd $(QTDIR)/src/tools/moc && $(MAKE))
195 mocclean: compiler_moc_header_clean compiler_moc_source_clean
197 mocables: compiler_moc_header_make_all compiler_moc_source_make_all
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 \
213 /usr/bin/moc $(DEFINES) $(INCPATH) mainwin.h -o moc/moc_mainwin.cpp
215 moc/moc_console.cpp: ui_console.h \
218 /usr/bin/moc $(DEFINES) $(INCPATH) console/console.h -o moc/moc_console.cpp
220 moc/moc_restore.cpp: ui_brestore.h \
225 /usr/bin/moc $(DEFINES) $(INCPATH) restore/restore.h -o moc/moc_restore.cpp
227 moc/moc_label.cpp: ui_label.h \
230 /usr/bin/moc $(DEFINES) $(INCPATH) label/label.h -o moc/moc_label.cpp
232 moc/moc_run.cpp: ui_run.h \
235 /usr/bin/moc $(DEFINES) $(INCPATH) run/run.h -o moc/moc_run.cpp
237 moc/moc_select.cpp: ui_select.h \
240 /usr/bin/moc $(DEFINES) $(INCPATH) select/select.h -o moc/moc_select.cpp
242 compiler_rcc_make_all: qrc_main.cpp
244 -$(DEL_FILE) qrc_main.cpp
245 qrc_main.cpp: main.qrc \
248 images/disconnected.png \
254 images/connected.png \
255 images/big-server.png \
261 /usr/bin/rcc -name main main.qrc -o qrc_main.cpp
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
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
272 /usr/bin/uic main.ui -o ui_main.h
274 ui_label.h: label/label.ui
275 /usr/bin/uic label/label.ui -o ui_label.h
277 ui_console.h: console/console.ui
278 /usr/bin/uic console/console.ui -o ui_console.h
280 ui_restore.h: restore/restore.ui
281 /usr/bin/uic restore/restore.ui -o ui_restore.h
283 ui_prerestore.h: restore/prerestore.ui
284 /usr/bin/uic restore/prerestore.ui -o ui_prerestore.h
286 ui_brestore.h: restore/brestore.ui
287 /usr/bin/uic restore/brestore.ui -o ui_brestore.h
290 /usr/bin/uic run/run.ui -o ui_run.h
292 ui_select.h: select/select.ui
293 /usr/bin/uic select/select.ui -o ui_select.h
295 compiler_clean: compiler_moc_header_clean compiler_rcc_clean compiler_image_collection_clean compiler_moc_source_clean compiler_uic_clean
299 obj/main.o: main.cpp bat.h \
312 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o obj/main.o main.cpp
314 obj/bat_conf.o: bat_conf.cpp bat_conf.h
315 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o obj/bat_conf.o bat_conf.cpp
317 obj/mainwin.o: mainwin.cpp bat.h \
330 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o obj/mainwin.o mainwin.cpp
332 obj/qstd.o: qstd.cpp qstd.h
333 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o obj/qstd.o qstd.cpp
335 obj/authenticate.o: console/authenticate.cpp bat.h \
348 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o obj/authenticate.o console/authenticate.cpp
350 obj/console.o: console/console.cpp bat.h \
365 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o obj/console.o console/console.cpp
367 obj/prerestore.o: restore/prerestore.cpp bat.h \
380 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o obj/prerestore.o restore/prerestore.cpp
382 obj/restore.o: restore/restore.cpp bat.h \
395 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o obj/restore.o restore/restore.cpp
397 obj/brestore.o: restore/brestore.cpp bat.h \
410 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o obj/brestore.o restore/brestore.cpp
412 obj/label.o: label/label.cpp bat.h \
425 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o obj/label.o label/label.cpp
427 obj/run.o: run/run.cpp bat.h \
440 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o obj/run.o run/run.cpp
442 obj/select.o: select/select.cpp bat.h \
457 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o obj/select.o select/select.cpp
459 obj/moc_mainwin.o: moc/moc_mainwin.cpp
460 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o obj/moc_mainwin.o moc/moc_mainwin.cpp
462 obj/moc_console.o: moc/moc_console.cpp
463 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o obj/moc_console.o moc/moc_console.cpp
465 obj/moc_restore.o: moc/moc_restore.cpp
466 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o obj/moc_restore.o moc/moc_restore.cpp
468 obj/moc_label.o: moc/moc_label.cpp
469 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o obj/moc_label.o moc/moc_label.cpp
471 obj/moc_run.o: moc/moc_run.cpp
472 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o obj/moc_run.o moc/moc_run.cpp
474 obj/moc_select.o: moc/moc_select.cpp
475 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o obj/moc_select.o moc/moc_select.cpp
477 obj/qrc_main.o: qrc_main.cpp
478 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o obj/qrc_main.o qrc_main.cpp