1 #############################################################################
2 # Makefile for building: bat
3 # Generated by qmake (2.01a) (Qt 4.2.1) on: Sun Feb 4 16:56:30 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.. -I. -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 moc_mainwin.cpp \
69 DIST = /usr/share/qt4/mkspecs/common/unix.conf \
70 /usr/share/qt4/mkspecs/common/g++.conf \
71 /usr/share/qt4/mkspecs/common/linux.conf \
72 /usr/share/qt4/mkspecs/qconfig.pri \
73 /usr/share/qt4/mkspecs/features/qt_functions.prf \
74 /usr/share/qt4/mkspecs/features/qt_config.prf \
75 /usr/share/qt4/mkspecs/features/exclusive_builds.prf \
76 /usr/share/qt4/mkspecs/features/default_pre.prf \
77 /usr/share/qt4/mkspecs/features/release.prf \
78 /usr/share/qt4/mkspecs/features/default_post.prf \
79 /usr/share/qt4/mkspecs/features/warn_on.prf \
80 /usr/share/qt4/mkspecs/features/qt.prf \
81 /usr/share/qt4/mkspecs/features/unix/thread.prf \
82 /usr/share/qt4/mkspecs/features/moc.prf \
83 /usr/share/qt4/mkspecs/features/resources.prf \
84 /usr/share/qt4/mkspecs/features/uic.prf \
91 ####### Implicit rules
93 .SUFFIXES: .o .c .cpp .cc .cxx .C
96 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o "$@" "$<"
99 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o "$@" "$<"
102 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o "$@" "$<"
105 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o "$@" "$<"
108 $(CC) -c $(CFLAGS) $(INCPATH) -o "$@" "$<"
112 all: Makefile $(TARGET)
114 $(TARGET): ui_main.h ui_label.h ui_console.h ui_brestore.h $(OBJECTS)
115 $(LINK) $(LFLAGS) -o $(TARGET) $(OBJECTS) $(OBJCOMP) $(LIBS)
117 Makefile: bat.pro /usr/share/qt4/mkspecs/default/qmake.conf /usr/share/qt4/mkspecs/common/unix.conf \
118 /usr/share/qt4/mkspecs/common/g++.conf \
119 /usr/share/qt4/mkspecs/common/linux.conf \
120 /usr/share/qt4/mkspecs/qconfig.pri \
121 /usr/share/qt4/mkspecs/features/qt_functions.prf \
122 /usr/share/qt4/mkspecs/features/qt_config.prf \
123 /usr/share/qt4/mkspecs/features/exclusive_builds.prf \
124 /usr/share/qt4/mkspecs/features/default_pre.prf \
125 /usr/share/qt4/mkspecs/features/release.prf \
126 /usr/share/qt4/mkspecs/features/default_post.prf \
127 /usr/share/qt4/mkspecs/features/warn_on.prf \
128 /usr/share/qt4/mkspecs/features/qt.prf \
129 /usr/share/qt4/mkspecs/features/unix/thread.prf \
130 /usr/share/qt4/mkspecs/features/moc.prf \
131 /usr/share/qt4/mkspecs/features/resources.prf \
132 /usr/share/qt4/mkspecs/features/uic.prf \
133 /usr/lib/libQtGui.prl \
134 /usr/lib/libQtCore.prl
135 $(QMAKE) -unix -o Makefile bat.pro
136 /usr/share/qt4/mkspecs/common/unix.conf:
137 /usr/share/qt4/mkspecs/common/g++.conf:
138 /usr/share/qt4/mkspecs/common/linux.conf:
139 /usr/share/qt4/mkspecs/qconfig.pri:
140 /usr/share/qt4/mkspecs/features/qt_functions.prf:
141 /usr/share/qt4/mkspecs/features/qt_config.prf:
142 /usr/share/qt4/mkspecs/features/exclusive_builds.prf:
143 /usr/share/qt4/mkspecs/features/default_pre.prf:
144 /usr/share/qt4/mkspecs/features/release.prf:
145 /usr/share/qt4/mkspecs/features/default_post.prf:
146 /usr/share/qt4/mkspecs/features/warn_on.prf:
147 /usr/share/qt4/mkspecs/features/qt.prf:
148 /usr/share/qt4/mkspecs/features/unix/thread.prf:
149 /usr/share/qt4/mkspecs/features/moc.prf:
150 /usr/share/qt4/mkspecs/features/resources.prf:
151 /usr/share/qt4/mkspecs/features/uic.prf:
152 /usr/lib/libQtGui.prl:
153 /usr/lib/libQtCore.prl:
155 @$(QMAKE) -unix -o Makefile bat.pro
158 @$(CHK_DIR_EXISTS) .tmp/bat1.0.0 || $(MKDIR) .tmp/bat1.0.0
159 $(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 .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 .tmp/bat1.0.0/ && $(COPY_FILE) --parents main.ui 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
165 -$(DEL_FILE) $(OBJECTS)
166 -$(DEL_FILE) *~ core *.core
169 ####### Sub-libraries
172 -$(DEL_FILE) $(TARGET)
173 -$(DEL_FILE) Makefile
177 (cd $(QTDIR)/src/tools/moc && $(MAKE))
179 mocclean: compiler_moc_header_clean compiler_moc_source_clean
181 mocables: compiler_moc_header_make_all compiler_moc_source_make_all
183 compiler_moc_header_make_all: moc_mainwin.cpp moc_console.cpp moc_restore.cpp
184 compiler_moc_header_clean:
185 -$(DEL_FILE) moc_mainwin.cpp moc_console.cpp moc_restore.cpp
186 moc_mainwin.cpp: ui_main.h \
189 /usr/bin/moc $(DEFINES) $(INCPATH) mainwin.h -o moc_mainwin.cpp
191 moc_console.cpp: ui_console.h \
194 /usr/bin/moc $(DEFINES) $(INCPATH) console/console.h -o moc_console.cpp
196 moc_restore.cpp: ui_brestore.h \
199 /usr/bin/moc $(DEFINES) $(INCPATH) restore/restore.h -o moc_restore.cpp
201 compiler_rcc_make_all: qrc_main.cpp
203 -$(DEL_FILE) qrc_main.cpp
204 qrc_main.cpp: main.qrc \
207 images/disconnected.png \
213 images/connected.png \
214 images/big-server.png \
220 /usr/bin/rcc -name main main.qrc -o qrc_main.cpp
222 compiler_image_collection_make_all: qmake_image_collection.cpp
223 compiler_image_collection_clean:
224 -$(DEL_FILE) qmake_image_collection.cpp
225 compiler_moc_source_make_all:
226 compiler_moc_source_clean:
227 compiler_uic_make_all: ui_main.h ui_label.h ui_console.h ui_brestore.h
229 -$(DEL_FILE) ui_main.h ui_label.h ui_console.h ui_brestore.h
231 /usr/bin/uic main.ui -o ui_main.h
234 /usr/bin/uic label.ui -o ui_label.h
236 ui_console.h: console/console.ui
237 /usr/bin/uic console/console.ui -o ui_console.h
239 ui_brestore.h: restore/brestore.ui
240 /usr/bin/uic restore/brestore.ui -o ui_brestore.h
242 compiler_clean: compiler_moc_header_clean compiler_rcc_clean compiler_image_collection_clean compiler_moc_source_clean compiler_uic_clean
246 main.o: main.cpp bat.h \
251 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o main.o main.cpp
253 bat_conf.o: bat_conf.cpp bat_conf.h
254 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o bat_conf.o bat_conf.cpp
256 mainwin.o: mainwin.cpp bat.h \
261 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o mainwin.o mainwin.cpp
263 qstd.o: qstd.cpp qstd.h
264 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o qstd.o qstd.cpp
266 authenticate.o: console/authenticate.cpp bat.h \
271 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o authenticate.o console/authenticate.cpp
273 console.o: console/console.cpp bat.h \
280 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o console.o console/console.cpp
282 brestore.o: restore/brestore.cpp bat.h \
289 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o brestore.o restore/brestore.cpp
291 moc_mainwin.o: moc_mainwin.cpp
292 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o moc_mainwin.o moc_mainwin.cpp
294 moc_console.o: moc_console.cpp
295 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o moc_console.o moc_console.cpp
297 moc_restore.o: moc_restore.cpp
298 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o moc_restore.o moc_restore.cpp
300 qrc_main.o: qrc_main.cpp
301 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o qrc_main.o qrc_main.cpp