1 #############################################################################
2 # Makefile for building: bat
3 # Generated by qmake (2.01a) (Qt 4.2.1) on: Mon Mar 5 17:45:21 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 -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 \
58 run/run.cpp moc/moc_mainwin.cpp \
64 OBJECTS = obj/main.o \
81 DIST = /usr/share/qt4/mkspecs/common/unix.conf \
82 /usr/share/qt4/mkspecs/common/g++.conf \
83 /usr/share/qt4/mkspecs/common/linux.conf \
84 /usr/share/qt4/mkspecs/qconfig.pri \
85 /usr/share/qt4/mkspecs/features/qt_functions.prf \
86 /usr/share/qt4/mkspecs/features/qt_config.prf \
87 /usr/share/qt4/mkspecs/features/exclusive_builds.prf \
88 /usr/share/qt4/mkspecs/features/default_pre.prf \
89 /usr/share/qt4/mkspecs/features/debug.prf \
90 /usr/share/qt4/mkspecs/features/default_post.prf \
91 /usr/share/qt4/mkspecs/features/qt.prf \
92 /usr/share/qt4/mkspecs/features/unix/thread.prf \
93 /usr/share/qt4/mkspecs/features/moc.prf \
94 /usr/share/qt4/mkspecs/features/warn_on.prf \
95 /usr/share/qt4/mkspecs/features/resources.prf \
96 /usr/share/qt4/mkspecs/features/uic.prf \
103 ####### Implicit rules
105 .SUFFIXES: .o .c .cpp .cc .cxx .C
108 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o "$@" "$<"
111 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o "$@" "$<"
114 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o "$@" "$<"
117 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o "$@" "$<"
120 $(CC) -c $(CFLAGS) $(INCPATH) -o "$@" "$<"
124 all: Makefile $(TARGET)
126 $(TARGET): ui_main.h ui_label.h ui_console.h ui_restore.h ui_prerestore.h ui_brestore.h ui_run.h $(OBJECTS)
127 $(LINK) $(LFLAGS) -o $(TARGET) $(OBJECTS) $(OBJCOMP) $(LIBS)
129 Makefile: bat.pro /usr/share/qt4/mkspecs/default/qmake.conf /usr/share/qt4/mkspecs/common/unix.conf \
130 /usr/share/qt4/mkspecs/common/g++.conf \
131 /usr/share/qt4/mkspecs/common/linux.conf \
132 /usr/share/qt4/mkspecs/qconfig.pri \
133 /usr/share/qt4/mkspecs/features/qt_functions.prf \
134 /usr/share/qt4/mkspecs/features/qt_config.prf \
135 /usr/share/qt4/mkspecs/features/exclusive_builds.prf \
136 /usr/share/qt4/mkspecs/features/default_pre.prf \
137 /usr/share/qt4/mkspecs/features/debug.prf \
138 /usr/share/qt4/mkspecs/features/default_post.prf \
139 /usr/share/qt4/mkspecs/features/qt.prf \
140 /usr/share/qt4/mkspecs/features/unix/thread.prf \
141 /usr/share/qt4/mkspecs/features/moc.prf \
142 /usr/share/qt4/mkspecs/features/warn_on.prf \
143 /usr/share/qt4/mkspecs/features/resources.prf \
144 /usr/share/qt4/mkspecs/features/uic.prf \
145 /usr/lib/libQtGui.prl \
146 /usr/lib/libQtCore.prl
147 $(QMAKE) -unix -o Makefile bat.pro
148 /usr/share/qt4/mkspecs/common/unix.conf:
149 /usr/share/qt4/mkspecs/common/g++.conf:
150 /usr/share/qt4/mkspecs/common/linux.conf:
151 /usr/share/qt4/mkspecs/qconfig.pri:
152 /usr/share/qt4/mkspecs/features/qt_functions.prf:
153 /usr/share/qt4/mkspecs/features/qt_config.prf:
154 /usr/share/qt4/mkspecs/features/exclusive_builds.prf:
155 /usr/share/qt4/mkspecs/features/default_pre.prf:
156 /usr/share/qt4/mkspecs/features/debug.prf:
157 /usr/share/qt4/mkspecs/features/default_post.prf:
158 /usr/share/qt4/mkspecs/features/qt.prf:
159 /usr/share/qt4/mkspecs/features/unix/thread.prf:
160 /usr/share/qt4/mkspecs/features/moc.prf:
161 /usr/share/qt4/mkspecs/features/warn_on.prf:
162 /usr/share/qt4/mkspecs/features/resources.prf:
163 /usr/share/qt4/mkspecs/features/uic.prf:
164 /usr/lib/libQtGui.prl:
165 /usr/lib/libQtCore.prl:
167 @$(QMAKE) -unix -o Makefile bat.pro
170 @$(CHK_DIR_EXISTS) obj/bat1.0.0 || $(MKDIR) obj/bat1.0.0
171 $(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/prerestore.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
177 -$(DEL_FILE) $(OBJECTS)
178 -$(DEL_FILE) *~ core *.core
181 ####### Sub-libraries
184 -$(DEL_FILE) $(TARGET)
185 -$(DEL_FILE) Makefile
189 (cd $(QTDIR)/src/tools/moc && $(MAKE))
191 mocclean: compiler_moc_header_clean compiler_moc_source_clean
193 mocables: compiler_moc_header_make_all compiler_moc_source_make_all
195 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
196 compiler_moc_header_clean:
197 -$(DEL_FILE) moc/moc_mainwin.cpp moc/moc_console.cpp moc/moc_restore.cpp moc/moc_label.cpp moc/moc_run.cpp
198 moc/moc_mainwin.cpp: ui_main.h \
209 /usr/bin/moc $(DEFINES) $(INCPATH) mainwin.h -o moc/moc_mainwin.cpp
211 moc/moc_console.cpp: ui_console.h \
214 /usr/bin/moc $(DEFINES) $(INCPATH) console/console.h -o moc/moc_console.cpp
216 moc/moc_restore.cpp: ui_brestore.h \
221 /usr/bin/moc $(DEFINES) $(INCPATH) restore/restore.h -o moc/moc_restore.cpp
223 moc/moc_label.cpp: ui_label.h \
226 /usr/bin/moc $(DEFINES) $(INCPATH) label/label.h -o moc/moc_label.cpp
228 moc/moc_run.cpp: ui_run.h \
231 /usr/bin/moc $(DEFINES) $(INCPATH) run/run.h -o moc/moc_run.cpp
233 compiler_rcc_make_all: qrc_main.cpp
235 -$(DEL_FILE) qrc_main.cpp
236 qrc_main.cpp: main.qrc \
239 images/disconnected.png \
245 images/connected.png \
246 images/big-server.png \
252 /usr/bin/rcc -name main main.qrc -o qrc_main.cpp
254 compiler_image_collection_make_all: qmake_image_collection.cpp
255 compiler_image_collection_clean:
256 -$(DEL_FILE) qmake_image_collection.cpp
257 compiler_moc_source_make_all:
258 compiler_moc_source_clean:
259 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
261 -$(DEL_FILE) ui_main.h ui_label.h ui_console.h ui_restore.h ui_prerestore.h ui_brestore.h ui_run.h
263 /usr/bin/uic main.ui -o ui_main.h
265 ui_label.h: label/label.ui
266 /usr/bin/uic label/label.ui -o ui_label.h
268 ui_console.h: console/console.ui
269 /usr/bin/uic console/console.ui -o ui_console.h
271 ui_restore.h: restore/restore.ui
272 /usr/bin/uic restore/restore.ui -o ui_restore.h
274 ui_prerestore.h: restore/prerestore.ui
275 /usr/bin/uic restore/prerestore.ui -o ui_prerestore.h
277 ui_brestore.h: restore/brestore.ui
278 /usr/bin/uic restore/brestore.ui -o ui_brestore.h
281 /usr/bin/uic run/run.ui -o ui_run.h
283 compiler_clean: compiler_moc_header_clean compiler_rcc_clean compiler_image_collection_clean compiler_moc_source_clean compiler_uic_clean
287 obj/main.o: main.cpp bat.h \
300 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o obj/main.o main.cpp
302 obj/bat_conf.o: bat_conf.cpp bat_conf.h
303 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o obj/bat_conf.o bat_conf.cpp
305 obj/mainwin.o: mainwin.cpp bat.h \
318 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o obj/mainwin.o mainwin.cpp
320 obj/qstd.o: qstd.cpp qstd.h
321 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o obj/qstd.o qstd.cpp
323 obj/authenticate.o: console/authenticate.cpp bat.h \
336 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o obj/authenticate.o console/authenticate.cpp
338 obj/console.o: console/console.cpp bat.h \
353 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o obj/console.o console/console.cpp
355 obj/prerestore.o: restore/prerestore.cpp bat.h \
368 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o obj/prerestore.o restore/prerestore.cpp
370 obj/restore.o: restore/restore.cpp bat.h \
383 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o obj/restore.o restore/restore.cpp
385 obj/brestore.o: restore/brestore.cpp bat.h \
398 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o obj/brestore.o restore/brestore.cpp
400 obj/label.o: label/label.cpp bat.h \
413 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o obj/label.o label/label.cpp
415 obj/run.o: run/run.cpp bat.h \
428 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o obj/run.o run/run.cpp
430 obj/moc_mainwin.o: moc/moc_mainwin.cpp
431 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o obj/moc_mainwin.o moc/moc_mainwin.cpp
433 obj/moc_console.o: moc/moc_console.cpp
434 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o obj/moc_console.o moc/moc_console.cpp
436 obj/moc_restore.o: moc/moc_restore.cpp
437 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o obj/moc_restore.o moc/moc_restore.cpp
439 obj/moc_label.o: moc/moc_label.cpp
440 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o obj/moc_label.o moc/moc_label.cpp
442 obj/moc_run.o: moc/moc_run.cpp
443 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o obj/moc_run.o moc/moc_run.cpp
445 obj/qrc_main.o: qrc_main.cpp
446 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o obj/qrc_main.o qrc_main.cpp