############################################################################# # Makefile for building: ftpclient # Generated by qmake (1.07a) (Qt 3.3.6) on: Fri Sep 1 22:02:57 2006 # Project: ftpclient.pro # Template: app # Command: $(QMAKE) -spec /usr/lib/qt/mkspecs/linux-g++ -o Makefile ftpclient.pro ############################################################################# ####### Compiler, tools and options CC = gcc CXX = g++ LEX = flex YACC = yacc CFLAGS = -pipe -fno-exceptions -Wall -W -O2 -march=i486 -mtune=i686 -D_REENTRANT -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -DQT_SHARED CXXFLAGS = -pipe -fno-exceptions -Wall -W -O2 -march=i486 -mtune=i686 -D_REENTRANT -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -DQT_SHARED LEXFLAGS = YACCFLAGS= -d INCPATH = -I/usr/lib/qt/mkspecs/linux-g++ -I. -I/usr/include/freetype2 -I../../../include -I/usr/X11R6/include -I/usr/X11R6/include -I.moc/release-shared-mt/ LINK = g++ LFLAGS = -fno-exceptions -Wl,-rpath,/usr/lib/qt/lib LIBS = $(SUBLIBS) -L/usr/lib/qt/lib -L/usr/X11R6/lib -L/usr/X11R6/lib -lqt-mt -lmng -ljpeg -lpng -lz -lGLU -lGL -lXmu -lXrender -lXrandr -lXcursor -lXinerama -lXft -lfreetype -lfontconfig -lXext -lX11 -lm -lSM -lICE -ldl -lpthread AR = ar cqs RANLIB = MOC = /usr/lib/qt/bin/moc UIC = /usr/lib/qt/bin/uic -L /usr/lib/qt/plugins QMAKE = /usr/lib/qt/bin/qmake TAR = tar -cf GZIP = gzip -9f COPY = cp -f COPY_FILE= $(COPY) COPY_DIR = $(COPY) -r INSTALL_FILE= $(COPY_FILE) INSTALL_DIR = $(COPY_DIR) 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/release-shared-mt/ ####### Files HEADERS = ftpviewitem.h SOURCES = main.cpp \ ftpviewitem.cpp OBJECTS = .obj/release-shared-mt/main.o \ .obj/release-shared-mt/ftpviewitem.o \ .obj/release-shared-mt/ftpmainwindow.o \ .obj/release-shared-mt/connectdialog.o \ .obj/release-shared-mt/qmake_image_collection.o FORMS = ftpmainwindow.ui \ connectdialog.ui UICDECLS = ftpmainwindow.h \ connectdialog.h UICIMPLS = ftpmainwindow.cpp \ connectdialog.cpp SRCMOC = .moc/release-shared-mt/moc_ftpmainwindow.cpp \ .moc/release-shared-mt/moc_connectdialog.cpp OBJMOC = .obj/release-shared-mt/moc_ftpmainwindow.o \ .obj/release-shared-mt/moc_connectdialog.o DIST = ftpclient.pro QMAKE_TARGET = ftpclient DESTDIR = TARGET = ftpclient first: all ####### Implicit rules .SUFFIXES: .c .o .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): $(UICDECLS) $(OBJECTS) $(OBJMOC) $(LINK) $(LFLAGS) -o $(TARGET) $(OBJECTS) $(OBJMOC) $(OBJCOMP) $(LIBS) mocables: $(SRCMOC) uicables: $(UICDECLS) $(UICIMPLS) $(MOC): ( cd /usr/lib/qt/src/moc && $(MAKE) ) Makefile: ftpclient.pro ../../../.qmake.cache /usr/lib/qt/mkspecs/linux-g++/qmake.conf ../../../lib/libqt-mt.prl $(QMAKE) -spec /usr/lib/qt/mkspecs/linux-g++ -o Makefile ftpclient.pro qmake: @$(QMAKE) -spec /usr/lib/qt/mkspecs/linux-g++ -o Makefile ftpclient.pro dist: @mkdir -p .obj/release-shared-mt/ftpclient && $(COPY_FILE) --parents $(SOURCES) $(HEADERS) $(FORMS) $(DIST) .obj/release-shared-mt/ftpclient/ && $(COPY_FILE) --parents images/file.png images/folder.png .obj/release-shared-mt/ftpclient/ && $(COPY_FILE) --parents ftpmainwindow.ui.h .obj/release-shared-mt/ftpclient/ && ( cd `dirname .obj/release-shared-mt/ftpclient` && $(TAR) ftpclient.tar ftpclient && $(GZIP) ftpclient.tar ) && $(MOVE) `dirname .obj/release-shared-mt/ftpclient`/ftpclient.tar.gz . && $(DEL_FILE) -r .obj/release-shared-mt/ftpclient mocclean: -$(DEL_FILE) $(OBJMOC) -$(DEL_FILE) $(SRCMOC) uiclean: -$(DEL_FILE) $(UICIMPLS) $(UICDECLS) yaccclean: lexclean: clean: mocclean uiclean -$(DEL_FILE) $(OBJECTS) -$(DEL_FILE) qmake_image_collection.cpp -$(DEL_FILE) *~ core *.core ####### Sub-libraries distclean: clean -$(DEL_FILE) $(TARGET) $(TARGET) FORCE: ####### Compile .obj/release-shared-mt/main.o: main.cpp ftpmainwindow.h $(CXX) -c $(CXXFLAGS) $(INCPATH) -o .obj/release-shared-mt/main.o main.cpp .obj/release-shared-mt/ftpviewitem.o: ftpviewitem.cpp ftpviewitem.h $(CXX) -c $(CXXFLAGS) $(INCPATH) -o .obj/release-shared-mt/ftpviewitem.o ftpviewitem.cpp ftpmainwindow.h: ftpmainwindow.ui $(UIC) ftpmainwindow.ui -o ftpmainwindow.h ftpmainwindow.cpp: ftpmainwindow.h ftpmainwindow.ui ftpmainwindow.ui.h $(UIC) ftpmainwindow.ui -i ftpmainwindow.h -o ftpmainwindow.cpp connectdialog.h: connectdialog.ui $(UIC) connectdialog.ui -o connectdialog.h connectdialog.cpp: connectdialog.h connectdialog.ui $(UIC) connectdialog.ui -i connectdialog.h -o connectdialog.cpp .obj/release-shared-mt/ftpmainwindow.o: ftpmainwindow.cpp ftpmainwindow.ui.h \ ftpmainwindow.h $(CXX) -c $(CXXFLAGS) $(INCPATH) -o .obj/release-shared-mt/ftpmainwindow.o ftpmainwindow.cpp .obj/release-shared-mt/connectdialog.o: connectdialog.cpp connectdialog.h $(CXX) -c $(CXXFLAGS) $(INCPATH) -o .obj/release-shared-mt/connectdialog.o connectdialog.cpp .obj/release-shared-mt/moc_ftpmainwindow.o: .moc/release-shared-mt/moc_ftpmainwindow.cpp ftpmainwindow.h $(CXX) -c $(CXXFLAGS) $(INCPATH) -o .obj/release-shared-mt/moc_ftpmainwindow.o .moc/release-shared-mt/moc_ftpmainwindow.cpp .obj/release-shared-mt/moc_connectdialog.o: .moc/release-shared-mt/moc_connectdialog.cpp connectdialog.h $(CXX) -c $(CXXFLAGS) $(INCPATH) -o .obj/release-shared-mt/moc_connectdialog.o .moc/release-shared-mt/moc_connectdialog.cpp .moc/release-shared-mt/moc_ftpmainwindow.cpp: $(MOC) ftpmainwindow.h $(MOC) ftpmainwindow.h -o .moc/release-shared-mt/moc_ftpmainwindow.cpp .moc/release-shared-mt/moc_connectdialog.cpp: $(MOC) connectdialog.h $(MOC) connectdialog.h -o .moc/release-shared-mt/moc_connectdialog.cpp .obj/release-shared-mt/qmake_image_collection.o: qmake_image_collection.cpp $(CXX) -c $(CXXFLAGS) $(INCPATH) -o .obj/release-shared-mt/qmake_image_collection.o qmake_image_collection.cpp qmake_image_collection.cpp: images/file.png \ images/folder.png $(UIC) -embed ftpclient images/file.png images/folder.png -o qmake_image_collection.cpp ####### Install install: uninstall: