1 #############################################################################
2 # Makefile for building: bat
3 # Generated by qmake (2.01a) (Qt 4.2.1) on: Sat Mar 10 21:24:05 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 \
60 select/select.cpp moc/moc_mainwin.cpp \
67 OBJECTS = obj/main.o \
87 DIST = /usr/share/qt4/mkspecs/common/unix.conf \
88 /usr/share/qt4/mkspecs/common/g++.conf \
89 /usr/share/qt4/mkspecs/common/linux.conf \
90 /usr/share/qt4/mkspecs/qconfig.pri \
91 /usr/share/qt4/mkspecs/features/qt_functions.prf \
92 /usr/share/qt4/mkspecs/features/qt_config.prf \
93 /usr/share/qt4/mkspecs/features/exclusive_builds.prf \
94 /usr/share/qt4/mkspecs/features/default_pre.prf \
95 /usr/share/qt4/mkspecs/features/debug.prf \
96 /usr/share/qt4/mkspecs/features/default_post.prf \
97 /usr/share/qt4/mkspecs/features/qt.prf \
98 /usr/share/qt4/mkspecs/features/unix/thread.prf \
99 /usr/share/qt4/mkspecs/features/moc.prf \
100 /usr/share/qt4/mkspecs/features/warn_on.prf \
101 /usr/share/qt4/mkspecs/features/resources.prf \
102 /usr/share/qt4/mkspecs/features/uic.prf \
109 ####### Implicit rules
111 .SUFFIXES: .o .c .cpp .cc .cxx .C
114 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o "$@" "$<"
117 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o "$@" "$<"
120 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o "$@" "$<"
123 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o "$@" "$<"
126 $(CC) -c $(CFLAGS) $(INCPATH) -o "$@" "$<"
130 all: Makefile $(TARGET)
132 $(TARGET): ui_main.h ui_label.h ui_console.h ui_restore.h ui_prerestore.h ui_brestore.h ui_run.h ui_runcmd.h ui_select.h $(OBJECTS)
133 $(LINK) $(LFLAGS) -o $(TARGET) $(OBJECTS) $(OBJCOMP) $(LIBS)
135 Makefile: bat.pro /usr/share/qt4/mkspecs/default/qmake.conf /usr/share/qt4/mkspecs/common/unix.conf \
136 /usr/share/qt4/mkspecs/common/g++.conf \
137 /usr/share/qt4/mkspecs/common/linux.conf \
138 /usr/share/qt4/mkspecs/qconfig.pri \
139 /usr/share/qt4/mkspecs/features/qt_functions.prf \
140 /usr/share/qt4/mkspecs/features/qt_config.prf \
141 /usr/share/qt4/mkspecs/features/exclusive_builds.prf \
142 /usr/share/qt4/mkspecs/features/default_pre.prf \
143 /usr/share/qt4/mkspecs/features/debug.prf \
144 /usr/share/qt4/mkspecs/features/default_post.prf \
145 /usr/share/qt4/mkspecs/features/qt.prf \
146 /usr/share/qt4/mkspecs/features/unix/thread.prf \
147 /usr/share/qt4/mkspecs/features/moc.prf \
148 /usr/share/qt4/mkspecs/features/warn_on.prf \
149 /usr/share/qt4/mkspecs/features/resources.prf \
150 /usr/share/qt4/mkspecs/features/uic.prf \
151 /usr/lib/libQtGui.prl \
152 /usr/lib/libQtCore.prl
153 $(QMAKE) -unix -o Makefile bat.pro
154 /usr/share/qt4/mkspecs/common/unix.conf:
155 /usr/share/qt4/mkspecs/common/g++.conf:
156 /usr/share/qt4/mkspecs/common/linux.conf:
157 /usr/share/qt4/mkspecs/qconfig.pri:
158 /usr/share/qt4/mkspecs/features/qt_functions.prf:
159 /usr/share/qt4/mkspecs/features/qt_config.prf:
160 /usr/share/qt4/mkspecs/features/exclusive_builds.prf:
161 /usr/share/qt4/mkspecs/features/default_pre.prf:
162 /usr/share/qt4/mkspecs/features/debug.prf:
163 /usr/share/qt4/mkspecs/features/default_post.prf:
164 /usr/share/qt4/mkspecs/features/qt.prf:
165 /usr/share/qt4/mkspecs/features/unix/thread.prf:
166 /usr/share/qt4/mkspecs/features/moc.prf:
167 /usr/share/qt4/mkspecs/features/warn_on.prf:
168 /usr/share/qt4/mkspecs/features/resources.prf:
169 /usr/share/qt4/mkspecs/features/uic.prf:
170 /usr/lib/libQtGui.prl:
171 /usr/lib/libQtCore.prl:
173 @$(QMAKE) -unix -o Makefile bat.pro
176 @$(CHK_DIR_EXISTS) obj/bat1.0.0 || $(MKDIR) obj/bat1.0.0
177 $(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 run/runcmd.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 run/runcmd.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
183 -$(DEL_FILE) $(OBJECTS)
184 -$(DEL_FILE) *~ core *.core
187 ####### Sub-libraries
190 -$(DEL_FILE) $(TARGET)
191 -$(DEL_FILE) Makefile
195 (cd $(QTDIR)/src/tools/moc && $(MAKE))
197 mocclean: compiler_moc_header_clean compiler_moc_source_clean
199 mocables: compiler_moc_header_make_all compiler_moc_source_make_all
201 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
202 compiler_moc_header_clean:
203 -$(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
204 moc/moc_mainwin.cpp: ui_main.h \
215 /usr/bin/moc $(DEFINES) $(INCPATH) mainwin.h -o moc/moc_mainwin.cpp
217 moc/moc_console.cpp: ui_console.h \
220 /usr/bin/moc $(DEFINES) $(INCPATH) console/console.h -o moc/moc_console.cpp
222 moc/moc_restore.cpp: ui_brestore.h \
227 /usr/bin/moc $(DEFINES) $(INCPATH) restore/restore.h -o moc/moc_restore.cpp
229 moc/moc_label.cpp: ui_label.h \
232 /usr/bin/moc $(DEFINES) $(INCPATH) label/label.h -o moc/moc_label.cpp
234 moc/moc_run.cpp: ui_run.h \
237 /usr/bin/moc $(DEFINES) $(INCPATH) run/run.h -o moc/moc_run.cpp
239 moc/moc_select.cpp: ui_select.h \
242 /usr/bin/moc $(DEFINES) $(INCPATH) select/select.h -o moc/moc_select.cpp
244 compiler_rcc_make_all: qrc_main.cpp
246 -$(DEL_FILE) qrc_main.cpp
247 qrc_main.cpp: main.qrc \
250 images/disconnected.png \
256 images/connected.png \
257 images/big-server.png \
263 /usr/bin/rcc -name main main.qrc -o qrc_main.cpp
265 compiler_image_collection_make_all: qmake_image_collection.cpp
266 compiler_image_collection_clean:
267 -$(DEL_FILE) qmake_image_collection.cpp
268 compiler_moc_source_make_all:
269 compiler_moc_source_clean:
270 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_runcmd.h ui_select.h
272 -$(DEL_FILE) ui_main.h ui_label.h ui_console.h ui_restore.h ui_prerestore.h ui_brestore.h ui_run.h ui_runcmd.h ui_select.h
274 /usr/bin/uic main.ui -o ui_main.h
276 ui_label.h: label/label.ui
277 /usr/bin/uic label/label.ui -o ui_label.h
279 ui_console.h: console/console.ui
280 /usr/bin/uic console/console.ui -o ui_console.h
282 ui_restore.h: restore/restore.ui
283 /usr/bin/uic restore/restore.ui -o ui_restore.h
285 ui_prerestore.h: restore/prerestore.ui
286 /usr/bin/uic restore/prerestore.ui -o ui_prerestore.h
288 ui_brestore.h: restore/brestore.ui
289 /usr/bin/uic restore/brestore.ui -o ui_brestore.h
292 /usr/bin/uic run/run.ui -o ui_run.h
294 ui_runcmd.h: run/runcmd.ui
295 /usr/bin/uic run/runcmd.ui -o ui_runcmd.h
297 ui_select.h: select/select.ui
298 /usr/bin/uic select/select.ui -o ui_select.h
300 compiler_clean: compiler_moc_header_clean compiler_rcc_clean compiler_image_collection_clean compiler_moc_source_clean compiler_uic_clean
304 obj/main.o: main.cpp bat.h \
317 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o obj/main.o main.cpp
319 obj/bat_conf.o: bat_conf.cpp bat_conf.h
320 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o obj/bat_conf.o bat_conf.cpp
322 obj/mainwin.o: mainwin.cpp bat.h \
335 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o obj/mainwin.o mainwin.cpp
337 obj/qstd.o: qstd.cpp qstd.h
338 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o obj/qstd.o qstd.cpp
340 obj/authenticate.o: console/authenticate.cpp bat.h \
353 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o obj/authenticate.o console/authenticate.cpp
355 obj/console.o: console/console.cpp bat.h \
370 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o obj/console.o console/console.cpp
372 obj/prerestore.o: restore/prerestore.cpp bat.h \
385 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o obj/prerestore.o restore/prerestore.cpp
387 obj/restore.o: restore/restore.cpp bat.h \
400 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o obj/restore.o restore/restore.cpp
402 obj/brestore.o: restore/brestore.cpp bat.h \
415 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o obj/brestore.o restore/brestore.cpp
417 obj/label.o: label/label.cpp bat.h \
430 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o obj/label.o label/label.cpp
432 obj/run.o: run/run.cpp bat.h \
445 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o obj/run.o run/run.cpp
447 obj/runcmd.o: run/runcmd.cpp bat.h \
460 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o obj/runcmd.o run/runcmd.cpp
462 obj/select.o: select/select.cpp bat.h \
477 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o obj/select.o select/select.cpp
479 obj/moc_mainwin.o: moc/moc_mainwin.cpp
480 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o obj/moc_mainwin.o moc/moc_mainwin.cpp
482 obj/moc_console.o: moc/moc_console.cpp
483 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o obj/moc_console.o moc/moc_console.cpp
485 obj/moc_restore.o: moc/moc_restore.cpp
486 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o obj/moc_restore.o moc/moc_restore.cpp
488 obj/moc_label.o: moc/moc_label.cpp
489 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o obj/moc_label.o moc/moc_label.cpp
491 obj/moc_run.o: moc/moc_run.cpp
492 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o obj/moc_run.o moc/moc_run.cpp
494 obj/moc_select.o: moc/moc_select.cpp
495 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o obj/moc_select.o moc/moc_select.cpp
497 obj/qrc_main.o: qrc_main.cpp
498 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o obj/qrc_main.o qrc_main.cpp