############################################################################# # Makefile for building: bat # Generated by qmake (2.01a) (Qt 4.2.1) on: Mon Mar 5 09:37:46 2007 # Project: bat.pro # Template: app # Command: /usr/bin/qmake -unix -o Makefile bat.pro ############################################################################# ####### Compiler, tools and options CC = gcc CXX = g++ LEX = flex YACC = yacc DEFINES = -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED CFLAGS = -pipe -g -D_REENTRANT -Wall -W $(DEFINES) CXXFLAGS = -pipe -g -D_REENTRANT -Wall -W $(DEFINES) LEXFLAGS = YACCFLAGS = -d 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. LINK = g++ LFLAGS = 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 AR = ar cqs RANLIB = QMAKE = /usr/bin/qmake TAR = tar -cf COMPRESS = gzip -9f COPY = cp -f COPY_FILE = $(COPY) COPY_DIR = $(COPY) -r INSTALL_FILE = install -m 644 -p INSTALL_DIR = $(COPY_DIR) INSTALL_PROGRAM = install -m 755 -p DEL_FILE = rm -f SYMLINK = ln -sf DEL_DIR = rmdir MOVE = mv -f CHK_DIR_EXISTS= test -d MKDIR = mkdir -p ####### Output directory OBJECTS_DIR = obj/ ####### Files SOURCES = 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 moc/moc_mainwin.cpp \ moc/moc_console.cpp \ moc/moc_restore.cpp \ moc/moc_label.cpp \ moc/moc_run.cpp \ qrc_main.cpp OBJECTS = obj/main.o \ obj/bat_conf.o \ obj/mainwin.o \ obj/qstd.o \ obj/authenticate.o \ obj/console.o \ obj/prerestore.o \ obj/restore.o \ obj/brestore.o \ obj/label.o \ obj/run.o \ obj/moc_mainwin.o \ obj/moc_console.o \ obj/moc_restore.o \ obj/moc_label.o \ obj/moc_run.o \ obj/qrc_main.o DIST = /usr/share/qt4/mkspecs/common/unix.conf \ /usr/share/qt4/mkspecs/common/g++.conf \ /usr/share/qt4/mkspecs/common/linux.conf \ /usr/share/qt4/mkspecs/qconfig.pri \ /usr/share/qt4/mkspecs/features/qt_functions.prf \ /usr/share/qt4/mkspecs/features/qt_config.prf \ /usr/share/qt4/mkspecs/features/exclusive_builds.prf \ /usr/share/qt4/mkspecs/features/default_pre.prf \ /usr/share/qt4/mkspecs/features/debug.prf \ /usr/share/qt4/mkspecs/features/default_post.prf \ /usr/share/qt4/mkspecs/features/qt.prf \ /usr/share/qt4/mkspecs/features/unix/thread.prf \ /usr/share/qt4/mkspecs/features/moc.prf \ /usr/share/qt4/mkspecs/features/warn_on.prf \ /usr/share/qt4/mkspecs/features/resources.prf \ /usr/share/qt4/mkspecs/features/uic.prf \ bat.pro QMAKE_TARGET = bat DESTDIR = TARGET = bat first: all ####### Implicit rules .SUFFIXES: .o .c .cpp .cc .cxx .C .cpp.o: $(CXX) -c $(CXXFLAGS) $(INCPATH) -o "$@" "$<" .cc.o: $(CXX) -c $(CXXFLAGS) $(INCPATH) -o "$@" "$<" .cxx.o: $(CXX) -c $(CXXFLAGS) $(INCPATH) -o "$@" "$<" .C.o: $(CXX) -c $(CXXFLAGS) $(INCPATH) -o "$@" "$<" .c.o: $(CC) -c $(CFLAGS) $(INCPATH) -o "$@" "$<" ####### Build rules all: Makefile $(TARGET) $(TARGET): ui_main.h ui_label.h ui_console.h ui_restore.h ui_prerestore.h ui_brestore.h ui_run.h $(OBJECTS) $(LINK) $(LFLAGS) -o $(TARGET) $(OBJECTS) $(OBJCOMP) $(LIBS) Makefile: bat.pro /usr/share/qt4/mkspecs/default/qmake.conf /usr/share/qt4/mkspecs/common/unix.conf \ /usr/share/qt4/mkspecs/common/g++.conf \ /usr/share/qt4/mkspecs/common/linux.conf \ /usr/share/qt4/mkspecs/qconfig.pri \ /usr/share/qt4/mkspecs/features/qt_functions.prf \ /usr/share/qt4/mkspecs/features/qt_config.prf \ /usr/share/qt4/mkspecs/features/exclusive_builds.prf \ /usr/share/qt4/mkspecs/features/default_pre.prf \ /usr/share/qt4/mkspecs/features/debug.prf \ /usr/share/qt4/mkspecs/features/default_post.prf \ /usr/share/qt4/mkspecs/features/qt.prf \ /usr/share/qt4/mkspecs/features/unix/thread.prf \ /usr/share/qt4/mkspecs/features/moc.prf \ /usr/share/qt4/mkspecs/features/warn_on.prf \ /usr/share/qt4/mkspecs/features/resources.prf \ /usr/share/qt4/mkspecs/features/uic.prf \ /usr/lib/libQtGui.prl \ /usr/lib/libQtCore.prl $(QMAKE) -unix -o Makefile bat.pro /usr/share/qt4/mkspecs/common/unix.conf: /usr/share/qt4/mkspecs/common/g++.conf: /usr/share/qt4/mkspecs/common/linux.conf: /usr/share/qt4/mkspecs/qconfig.pri: /usr/share/qt4/mkspecs/features/qt_functions.prf: /usr/share/qt4/mkspecs/features/qt_config.prf: /usr/share/qt4/mkspecs/features/exclusive_builds.prf: /usr/share/qt4/mkspecs/features/default_pre.prf: /usr/share/qt4/mkspecs/features/debug.prf: /usr/share/qt4/mkspecs/features/default_post.prf: /usr/share/qt4/mkspecs/features/qt.prf: /usr/share/qt4/mkspecs/features/unix/thread.prf: /usr/share/qt4/mkspecs/features/moc.prf: /usr/share/qt4/mkspecs/features/warn_on.prf: /usr/share/qt4/mkspecs/features/resources.prf: /usr/share/qt4/mkspecs/features/uic.prf: /usr/lib/libQtGui.prl: /usr/lib/libQtCore.prl: qmake: FORCE @$(QMAKE) -unix -o Makefile bat.pro dist: @$(CHK_DIR_EXISTS) obj/bat1.0.0 || $(MKDIR) obj/bat1.0.0 $(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 yaccclean: lexclean: clean:compiler_clean -$(DEL_FILE) $(OBJECTS) -$(DEL_FILE) *~ core *.core ####### Sub-libraries distclean: clean -$(DEL_FILE) $(TARGET) -$(DEL_FILE) Makefile /usr/bin/moc: (cd $(QTDIR)/src/tools/moc && $(MAKE)) mocclean: compiler_moc_header_clean compiler_moc_source_clean mocables: compiler_moc_header_make_all compiler_moc_source_make_all 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 compiler_moc_header_clean: -$(DEL_FILE) moc/moc_mainwin.cpp moc/moc_console.cpp moc/moc_restore.cpp moc/moc_label.cpp moc/moc_run.cpp moc/moc_mainwin.cpp: ui_main.h \ label/label.h \ ui_label.h \ run/run.h \ ui_run.h \ restore/restore.h \ ui_brestore.h \ ui_restore.h \ ui_prerestore.h \ mainwin.h \ /usr/bin/moc /usr/bin/moc $(DEFINES) $(INCPATH) mainwin.h -o moc/moc_mainwin.cpp moc/moc_console.cpp: ui_console.h \ console/console.h \ /usr/bin/moc /usr/bin/moc $(DEFINES) $(INCPATH) console/console.h -o moc/moc_console.cpp moc/moc_restore.cpp: ui_brestore.h \ ui_restore.h \ ui_prerestore.h \ restore/restore.h \ /usr/bin/moc /usr/bin/moc $(DEFINES) $(INCPATH) restore/restore.h -o moc/moc_restore.cpp moc/moc_label.cpp: ui_label.h \ label/label.h \ /usr/bin/moc /usr/bin/moc $(DEFINES) $(INCPATH) label/label.h -o moc/moc_label.cpp moc/moc_run.cpp: ui_run.h \ run/run.h \ /usr/bin/moc /usr/bin/moc $(DEFINES) $(INCPATH) run/run.h -o moc/moc_run.cpp compiler_rcc_make_all: qrc_main.cpp compiler_rcc_clean: -$(DEL_FILE) qrc_main.cpp qrc_main.cpp: main.qrc \ /usr/bin/rcc \ images/new.png \ images/disconnected.png \ images/label.png \ images/server.png \ images/restore.png \ images/copy.png \ images/cut.png \ images/connected.png \ images/big-server.png \ images/save.png \ images/bat.png \ images/paste.png \ images/run.png \ images/open.png /usr/bin/rcc -name main main.qrc -o qrc_main.cpp compiler_image_collection_make_all: qmake_image_collection.cpp compiler_image_collection_clean: -$(DEL_FILE) qmake_image_collection.cpp compiler_moc_source_make_all: compiler_moc_source_clean: 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 compiler_uic_clean: -$(DEL_FILE) ui_main.h ui_label.h ui_console.h ui_restore.h ui_prerestore.h ui_brestore.h ui_run.h ui_main.h: main.ui /usr/bin/uic main.ui -o ui_main.h ui_label.h: label/label.ui /usr/bin/uic label/label.ui -o ui_label.h ui_console.h: console/console.ui /usr/bin/uic console/console.ui -o ui_console.h ui_restore.h: restore/restore.ui /usr/bin/uic restore/restore.ui -o ui_restore.h ui_prerestore.h: restore/prerestore.ui /usr/bin/uic restore/prerestore.ui -o ui_prerestore.h ui_brestore.h: restore/brestore.ui /usr/bin/uic restore/brestore.ui -o ui_brestore.h ui_run.h: run/run.ui /usr/bin/uic run/run.ui -o ui_run.h compiler_clean: compiler_moc_header_clean compiler_rcc_clean compiler_image_collection_clean compiler_moc_source_clean compiler_uic_clean ####### Compile obj/main.o: main.cpp bat.h \ mainwin.h \ ui_main.h \ label/label.h \ ui_label.h \ run/run.h \ ui_run.h \ restore/restore.h \ ui_brestore.h \ ui_restore.h \ ui_prerestore.h \ bat_conf.h \ qstd.h $(CXX) -c $(CXXFLAGS) $(INCPATH) -o obj/main.o main.cpp obj/bat_conf.o: bat_conf.cpp bat_conf.h $(CXX) -c $(CXXFLAGS) $(INCPATH) -o obj/bat_conf.o bat_conf.cpp obj/mainwin.o: mainwin.cpp bat.h \ mainwin.h \ ui_main.h \ label/label.h \ ui_label.h \ run/run.h \ ui_run.h \ restore/restore.h \ ui_brestore.h \ ui_restore.h \ ui_prerestore.h \ bat_conf.h \ qstd.h $(CXX) -c $(CXXFLAGS) $(INCPATH) -o obj/mainwin.o mainwin.cpp obj/qstd.o: qstd.cpp qstd.h $(CXX) -c $(CXXFLAGS) $(INCPATH) -o obj/qstd.o qstd.cpp obj/authenticate.o: console/authenticate.cpp bat.h \ mainwin.h \ ui_main.h \ label/label.h \ ui_label.h \ run/run.h \ ui_run.h \ restore/restore.h \ ui_brestore.h \ ui_restore.h \ ui_prerestore.h \ bat_conf.h \ qstd.h $(CXX) -c $(CXXFLAGS) $(INCPATH) -o obj/authenticate.o console/authenticate.cpp obj/console.o: console/console.cpp bat.h \ mainwin.h \ ui_main.h \ label/label.h \ ui_label.h \ run/run.h \ ui_run.h \ restore/restore.h \ ui_brestore.h \ ui_restore.h \ ui_prerestore.h \ bat_conf.h \ qstd.h \ console/console.h \ ui_console.h $(CXX) -c $(CXXFLAGS) $(INCPATH) -o obj/console.o console/console.cpp obj/prerestore.o: restore/prerestore.cpp bat.h \ mainwin.h \ ui_main.h \ label/label.h \ ui_label.h \ run/run.h \ ui_run.h \ restore/restore.h \ ui_brestore.h \ ui_restore.h \ ui_prerestore.h \ bat_conf.h \ qstd.h $(CXX) -c $(CXXFLAGS) $(INCPATH) -o obj/prerestore.o restore/prerestore.cpp obj/restore.o: restore/restore.cpp bat.h \ mainwin.h \ ui_main.h \ label/label.h \ ui_label.h \ run/run.h \ ui_run.h \ restore/restore.h \ ui_brestore.h \ ui_restore.h \ ui_prerestore.h \ bat_conf.h \ qstd.h $(CXX) -c $(CXXFLAGS) $(INCPATH) -o obj/restore.o restore/restore.cpp obj/brestore.o: restore/brestore.cpp bat.h \ mainwin.h \ ui_main.h \ label/label.h \ ui_label.h \ run/run.h \ ui_run.h \ restore/restore.h \ ui_brestore.h \ ui_restore.h \ ui_prerestore.h \ bat_conf.h \ qstd.h $(CXX) -c $(CXXFLAGS) $(INCPATH) -o obj/brestore.o restore/brestore.cpp obj/label.o: label/label.cpp bat.h \ mainwin.h \ ui_main.h \ label/label.h \ ui_label.h \ run/run.h \ ui_run.h \ restore/restore.h \ ui_brestore.h \ ui_restore.h \ ui_prerestore.h \ bat_conf.h \ qstd.h $(CXX) -c $(CXXFLAGS) $(INCPATH) -o obj/label.o label/label.cpp obj/run.o: run/run.cpp bat.h \ mainwin.h \ ui_main.h \ label/label.h \ ui_label.h \ run/run.h \ ui_run.h \ restore/restore.h \ ui_brestore.h \ ui_restore.h \ ui_prerestore.h \ bat_conf.h \ qstd.h $(CXX) -c $(CXXFLAGS) $(INCPATH) -o obj/run.o run/run.cpp obj/moc_mainwin.o: moc/moc_mainwin.cpp $(CXX) -c $(CXXFLAGS) $(INCPATH) -o obj/moc_mainwin.o moc/moc_mainwin.cpp obj/moc_console.o: moc/moc_console.cpp $(CXX) -c $(CXXFLAGS) $(INCPATH) -o obj/moc_console.o moc/moc_console.cpp obj/moc_restore.o: moc/moc_restore.cpp $(CXX) -c $(CXXFLAGS) $(INCPATH) -o obj/moc_restore.o moc/moc_restore.cpp obj/moc_label.o: moc/moc_label.cpp $(CXX) -c $(CXXFLAGS) $(INCPATH) -o obj/moc_label.o moc/moc_label.cpp obj/moc_run.o: moc/moc_run.cpp $(CXX) -c $(CXXFLAGS) $(INCPATH) -o obj/moc_run.o moc/moc_run.cpp obj/qrc_main.o: qrc_main.cpp $(CXX) -c $(CXXFLAGS) $(INCPATH) -o obj/qrc_main.o qrc_main.cpp ####### Install install: FORCE uninstall: FORCE FORCE: