1 #############################################################################
2 # Makefile for building: bat
3 # Generated by qmake (2.01a) (Qt 4.2.1) on: Sun Feb 11 21:06:09 2007
6 # Command: /usr/bin/qmake -unix -o Makefile bat.pro
7 #############################################################################
9 ####### Compiler, tools and options
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)
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/brestore.cpp \
56 run/run.cpp moc/moc_mainwin.cpp \
62 OBJECTS = obj/main.o \
77 DIST = /usr/share/qt4/mkspecs/common/unix.conf \
78 /usr/share/qt4/mkspecs/common/g++.conf \
79 /usr/share/qt4/mkspecs/common/linux.conf \
80 /usr/share/qt4/mkspecs/qconfig.pri \
81 /usr/share/qt4/mkspecs/features/qt_functions.prf \
82 /usr/share/qt4/mkspecs/features/qt_config.prf \
83 /usr/share/qt4/mkspecs/features/exclusive_builds.prf \
84 /usr/share/qt4/mkspecs/features/default_pre.prf \
85 /usr/share/qt4/mkspecs/features/release.prf \
86 /usr/share/qt4/mkspecs/features/default_post.prf \
87 /usr/share/qt4/mkspecs/features/warn_on.prf \
88 /usr/share/qt4/mkspecs/features/qt.prf \
89 /usr/share/qt4/mkspecs/features/unix/thread.prf \
90 /usr/share/qt4/mkspecs/features/moc.prf \
91 /usr/share/qt4/mkspecs/features/resources.prf \
92 /usr/share/qt4/mkspecs/features/uic.prf \
99 ####### Implicit rules
101 .SUFFIXES: .o .c .cpp .cc .cxx .C
104 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o "$@" "$<"
107 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o "$@" "$<"
110 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o "$@" "$<"
113 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o "$@" "$<"
116 $(CC) -c $(CFLAGS) $(INCPATH) -o "$@" "$<"
120 all: Makefile $(TARGET)
122 $(TARGET): ui_main.h ui_label.h ui_console.h ui_brestore.h ui_restore.h ui_restore-select.h ui_run.h $(OBJECTS)
123 $(LINK) $(LFLAGS) -o $(TARGET) $(OBJECTS) $(OBJCOMP) $(LIBS)
125 Makefile: bat.pro /usr/share/qt4/mkspecs/default/qmake.conf /usr/share/qt4/mkspecs/common/unix.conf \
126 /usr/share/qt4/mkspecs/common/g++.conf \
127 /usr/share/qt4/mkspecs/common/linux.conf \
128 /usr/share/qt4/mkspecs/qconfig.pri \
129 /usr/share/qt4/mkspecs/features/qt_functions.prf \
130 /usr/share/qt4/mkspecs/features/qt_config.prf \
131 /usr/share/qt4/mkspecs/features/exclusive_builds.prf \
132 /usr/share/qt4/mkspecs/features/default_pre.prf \
133 /usr/share/qt4/mkspecs/features/release.prf \
134 /usr/share/qt4/mkspecs/features/default_post.prf \
135 /usr/share/qt4/mkspecs/features/warn_on.prf \
136 /usr/share/qt4/mkspecs/features/qt.prf \
137 /usr/share/qt4/mkspecs/features/unix/thread.prf \
138 /usr/share/qt4/mkspecs/features/moc.prf \
139 /usr/share/qt4/mkspecs/features/resources.prf \
140 /usr/share/qt4/mkspecs/features/uic.prf \
141 /usr/lib/libQtGui.prl \
142 /usr/lib/libQtCore.prl
143 $(QMAKE) -unix -o Makefile bat.pro
144 /usr/share/qt4/mkspecs/common/unix.conf:
145 /usr/share/qt4/mkspecs/common/g++.conf:
146 /usr/share/qt4/mkspecs/common/linux.conf:
147 /usr/share/qt4/mkspecs/qconfig.pri:
148 /usr/share/qt4/mkspecs/features/qt_functions.prf:
149 /usr/share/qt4/mkspecs/features/qt_config.prf:
150 /usr/share/qt4/mkspecs/features/exclusive_builds.prf:
151 /usr/share/qt4/mkspecs/features/default_pre.prf:
152 /usr/share/qt4/mkspecs/features/release.prf:
153 /usr/share/qt4/mkspecs/features/default_post.prf:
154 /usr/share/qt4/mkspecs/features/warn_on.prf:
155 /usr/share/qt4/mkspecs/features/qt.prf:
156 /usr/share/qt4/mkspecs/features/unix/thread.prf:
157 /usr/share/qt4/mkspecs/features/moc.prf:
158 /usr/share/qt4/mkspecs/features/resources.prf:
159 /usr/share/qt4/mkspecs/features/uic.prf:
160 /usr/lib/libQtGui.prl:
161 /usr/lib/libQtCore.prl:
163 @$(QMAKE) -unix -o Makefile bat.pro
166 @$(CHK_DIR_EXISTS) obj/bat1.0.0 || $(MKDIR) obj/bat1.0.0
167 $(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/brestore.cpp label/label.cpp run/run.cpp obj/bat1.0.0/ && $(COPY_FILE) --parents main.ui label/label.ui console/console.ui restore/brestore.ui restore/restore.ui restore/restore-select.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
173 -$(DEL_FILE) $(OBJECTS)
174 -$(DEL_FILE) *~ core *.core
177 ####### Sub-libraries
180 -$(DEL_FILE) $(TARGET)
181 -$(DEL_FILE) Makefile
185 (cd $(QTDIR)/src/tools/moc && $(MAKE))
187 mocclean: compiler_moc_header_clean compiler_moc_source_clean
189 mocables: compiler_moc_header_make_all compiler_moc_source_make_all
191 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
192 compiler_moc_header_clean:
193 -$(DEL_FILE) moc/moc_mainwin.cpp moc/moc_console.cpp moc/moc_restore.cpp moc/moc_label.cpp moc/moc_run.cpp
194 moc/moc_mainwin.cpp: ui_main.h \
201 /usr/bin/moc $(DEFINES) $(INCPATH) mainwin.h -o moc/moc_mainwin.cpp
203 moc/moc_console.cpp: ui_console.h \
206 /usr/bin/moc $(DEFINES) $(INCPATH) console/console.h -o moc/moc_console.cpp
208 moc/moc_restore.cpp: ui_brestore.h \
211 /usr/bin/moc $(DEFINES) $(INCPATH) restore/restore.h -o moc/moc_restore.cpp
213 moc/moc_label.cpp: ui_label.h \
216 /usr/bin/moc $(DEFINES) $(INCPATH) label/label.h -o moc/moc_label.cpp
218 moc/moc_run.cpp: ui_run.h \
221 /usr/bin/moc $(DEFINES) $(INCPATH) run/run.h -o moc/moc_run.cpp
223 compiler_rcc_make_all: qrc_main.cpp
225 -$(DEL_FILE) qrc_main.cpp
226 qrc_main.cpp: main.qrc \
229 images/disconnected.png \
235 images/connected.png \
236 images/big-server.png \
242 /usr/bin/rcc -name main main.qrc -o qrc_main.cpp
244 compiler_image_collection_make_all: qmake_image_collection.cpp
245 compiler_image_collection_clean:
246 -$(DEL_FILE) qmake_image_collection.cpp
247 compiler_moc_source_make_all:
248 compiler_moc_source_clean:
249 compiler_uic_make_all: ui_main.h ui_label.h ui_console.h ui_brestore.h ui_restore.h ui_restore-select.h ui_run.h
251 -$(DEL_FILE) ui_main.h ui_label.h ui_console.h ui_brestore.h ui_restore.h ui_restore-select.h ui_run.h
253 /usr/bin/uic main.ui -o ui_main.h
255 ui_label.h: label/label.ui
256 /usr/bin/uic label/label.ui -o ui_label.h
258 ui_console.h: console/console.ui
259 /usr/bin/uic console/console.ui -o ui_console.h
261 ui_brestore.h: restore/brestore.ui
262 /usr/bin/uic restore/brestore.ui -o ui_brestore.h
264 ui_restore.h: restore/restore.ui
265 /usr/bin/uic restore/restore.ui -o ui_restore.h
267 ui_restore-select.h: restore/restore-select.ui
268 /usr/bin/uic restore/restore-select.ui -o ui_restore-select.h
271 /usr/bin/uic run/run.ui -o ui_run.h
273 compiler_clean: compiler_moc_header_clean compiler_rcc_clean compiler_image_collection_clean compiler_moc_source_clean compiler_uic_clean
277 obj/main.o: main.cpp bat.h \
286 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o obj/main.o main.cpp
288 obj/bat_conf.o: bat_conf.cpp bat_conf.h
289 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o obj/bat_conf.o bat_conf.cpp
291 obj/mainwin.o: mainwin.cpp bat.h \
300 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o obj/mainwin.o mainwin.cpp
302 obj/qstd.o: qstd.cpp qstd.h
303 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o obj/qstd.o qstd.cpp
305 obj/authenticate.o: console/authenticate.cpp bat.h \
314 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o obj/authenticate.o console/authenticate.cpp
316 obj/console.o: console/console.cpp bat.h \
327 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o obj/console.o console/console.cpp
329 obj/brestore.o: restore/brestore.cpp bat.h \
340 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o obj/brestore.o restore/brestore.cpp
342 obj/label.o: label/label.cpp bat.h \
351 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o obj/label.o label/label.cpp
353 obj/run.o: run/run.cpp bat.h \
362 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o obj/run.o run/run.cpp
364 obj/moc_mainwin.o: moc/moc_mainwin.cpp
365 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o obj/moc_mainwin.o moc/moc_mainwin.cpp
367 obj/moc_console.o: moc/moc_console.cpp
368 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o obj/moc_console.o moc/moc_console.cpp
370 obj/moc_restore.o: moc/moc_restore.cpp
371 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o obj/moc_restore.o moc/moc_restore.cpp
373 obj/moc_label.o: moc/moc_label.cpp
374 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o obj/moc_label.o moc/moc_label.cpp
376 obj/moc_run.o: moc/moc_run.cpp
377 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o obj/moc_run.o moc/moc_run.cpp
379 obj/qrc_main.o: qrc_main.cpp
380 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o obj/qrc_main.o qrc_main.cpp