############################################################################# # Makefile for building: IoSQL # Generated by qmake (2.01a) (Qt 4.7.2) on: Fri Jun 24 13:41:46 2011 # Project: IoSQL.pro # Template: app # Command: /usr/bin/qmake -spec /usr/share/qt4/mkspecs/linux-g++ QMLJSDEBUGGER_PATH=/usr/share/qtcreator/qml/qmljsdebugger -o Makefile IoSQL.pro ############################################################################# ####### Compiler, tools and options CC = gcc CXX = g++ DEFINES = -DQT_NO_DEBUG -DQT_SQL_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED CFLAGS = -pipe -O2 -Wall -W -D_REENTRANT $(DEFINES) CXXFLAGS = -pipe -O2 -Wall -W -D_REENTRANT $(DEFINES) INCPATH = -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtNetwork -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtSql -I/usr/include/qt4 -I/usr/include/qt4/Qsci -I. -I. LINK = g++ LFLAGS = -Wl,-O1 LIBS = $(SUBLIBS) -L/usr/lib -lqscintilla2 -lQtSql -lQtGui -lQtNetwork -lQtCore -lpthread AR = ar cqs RANLIB = QMAKE = /usr/bin/qmake TAR = tar -cf COMPRESS = gzip -9f COPY = cp -f SED = sed COPY_FILE = $(COPY) COPY_DIR = $(COPY) -r STRIP = strip INSTALL_FILE = install -m 644 -p INSTALL_DIR = $(COPY_DIR) INSTALL_PROGRAM = install -m 755 -p DEL_FILE = rm -f SYMLINK = ln -f -s DEL_DIR = rmdir MOVE = mv -f CHK_DIR_EXISTS= test -d MKDIR = mkdir -p ####### Output directory OBJECTS_DIR = ./ ####### Files SOURCES = main.cpp \ mainwindow.cpp \ registerdialog.cpp \ tableform.cpp \ sqlform.cpp moc_mainwindow.cpp \ moc_registerdialog.cpp \ moc_tableform.cpp \ moc_sqlform.cpp \ qrc_IoSQL.cpp OBJECTS = main.o \ mainwindow.o \ registerdialog.o \ tableform.o \ sqlform.o \ moc_mainwindow.o \ moc_registerdialog.o \ moc_tableform.o \ moc_sqlform.o \ qrc_IoSQL.o DIST = /usr/share/qt4/mkspecs/common/g++.conf \ /usr/share/qt4/mkspecs/common/unix.conf \ /usr/share/qt4/mkspecs/common/linux.conf \ /usr/share/qt4/mkspecs/qconfig.pri \ /usr/share/qt4/mkspecs/modules/qt_phonon.pri \ /usr/share/qt4/mkspecs/modules/qt_webkit_version.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/release.prf \ /usr/share/qt4/mkspecs/features/default_post.prf \ /usr/share/qt4/mkspecs/features/warn_on.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/resources.prf \ /usr/share/qt4/mkspecs/features/uic.prf \ /usr/share/qt4/mkspecs/features/yacc.prf \ /usr/share/qt4/mkspecs/features/lex.prf \ /usr/share/qt4/mkspecs/features/include_source_dir.prf \ IoSQL.pro QMAKE_TARGET = IoSQL DESTDIR = TARGET = IoSQL 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_mainwindow.h ui_registerdialog.h ui_tableform.h ui_sqlform.h $(OBJECTS) $(LINK) $(LFLAGS) -o $(TARGET) $(OBJECTS) $(OBJCOMP) $(LIBS) Makefile: IoSQL.pro /usr/share/qt4/mkspecs/linux-g++/qmake.conf /usr/share/qt4/mkspecs/common/g++.conf \ /usr/share/qt4/mkspecs/common/unix.conf \ /usr/share/qt4/mkspecs/common/linux.conf \ /usr/share/qt4/mkspecs/qconfig.pri \ /usr/share/qt4/mkspecs/modules/qt_phonon.pri \ /usr/share/qt4/mkspecs/modules/qt_webkit_version.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/release.prf \ /usr/share/qt4/mkspecs/features/default_post.prf \ /usr/share/qt4/mkspecs/features/warn_on.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/resources.prf \ /usr/share/qt4/mkspecs/features/uic.prf \ /usr/share/qt4/mkspecs/features/yacc.prf \ /usr/share/qt4/mkspecs/features/lex.prf \ /usr/share/qt4/mkspecs/features/include_source_dir.prf \ /usr/lib/libQtSql.prl \ /usr/lib/libQtGui.prl \ /usr/lib/libQtNetwork.prl \ /usr/lib/libQtCore.prl $(QMAKE) -spec /usr/share/qt4/mkspecs/linux-g++ QMLJSDEBUGGER_PATH=/usr/share/qtcreator/qml/qmljsdebugger -o Makefile IoSQL.pro /usr/share/qt4/mkspecs/common/g++.conf: /usr/share/qt4/mkspecs/common/unix.conf: /usr/share/qt4/mkspecs/common/linux.conf: /usr/share/qt4/mkspecs/qconfig.pri: /usr/share/qt4/mkspecs/modules/qt_phonon.pri: /usr/share/qt4/mkspecs/modules/qt_webkit_version.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/release.prf: /usr/share/qt4/mkspecs/features/default_post.prf: /usr/share/qt4/mkspecs/features/warn_on.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/resources.prf: /usr/share/qt4/mkspecs/features/uic.prf: /usr/share/qt4/mkspecs/features/yacc.prf: /usr/share/qt4/mkspecs/features/lex.prf: /usr/share/qt4/mkspecs/features/include_source_dir.prf: /usr/lib/libQtSql.prl: /usr/lib/libQtGui.prl: /usr/lib/libQtNetwork.prl: /usr/lib/libQtCore.prl: qmake: FORCE @$(QMAKE) -spec /usr/share/qt4/mkspecs/linux-g++ QMLJSDEBUGGER_PATH=/usr/share/qtcreator/qml/qmljsdebugger -o Makefile IoSQL.pro dist: @$(CHK_DIR_EXISTS) .tmp/IoSQL1.0.0 || $(MKDIR) .tmp/IoSQL1.0.0 $(COPY_FILE) --parents $(SOURCES) $(DIST) .tmp/IoSQL1.0.0/ && $(COPY_FILE) --parents mainwindow.h registerdialog.h tableform.h sqlform.h .tmp/IoSQL1.0.0/ && $(COPY_FILE) --parents IoSQL.qrc .tmp/IoSQL1.0.0/ && $(COPY_FILE) --parents main.cpp mainwindow.cpp registerdialog.cpp tableform.cpp sqlform.cpp .tmp/IoSQL1.0.0/ && $(COPY_FILE) --parents mainwindow.ui registerdialog.ui tableform.ui sqlform.ui .tmp/IoSQL1.0.0/ && (cd `dirname .tmp/IoSQL1.0.0` && $(TAR) IoSQL1.0.0.tar IoSQL1.0.0 && $(COMPRESS) IoSQL1.0.0.tar) && $(MOVE) `dirname .tmp/IoSQL1.0.0`/IoSQL1.0.0.tar.gz . && $(DEL_FILE) -r .tmp/IoSQL1.0.0 clean:compiler_clean -$(DEL_FILE) $(OBJECTS) -$(DEL_FILE) *~ core *.core ####### Sub-libraries distclean: clean -$(DEL_FILE) $(TARGET) -$(DEL_FILE) Makefile check: first 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_mainwindow.cpp moc_registerdialog.cpp moc_tableform.cpp moc_sqlform.cpp compiler_moc_header_clean: -$(DEL_FILE) moc_mainwindow.cpp moc_registerdialog.cpp moc_tableform.cpp moc_sqlform.cpp moc_mainwindow.cpp: registerdialog.h \ sqlform.h \ mainwindow.h /usr/bin/moc-qt4 $(DEFINES) $(INCPATH) mainwindow.h -o moc_mainwindow.cpp moc_registerdialog.cpp: registerdialog.h /usr/bin/moc-qt4 $(DEFINES) $(INCPATH) registerdialog.h -o moc_registerdialog.cpp moc_tableform.cpp: tableform.h /usr/bin/moc-qt4 $(DEFINES) $(INCPATH) tableform.h -o moc_tableform.cpp moc_sqlform.cpp: sqlform.h /usr/bin/moc-qt4 $(DEFINES) $(INCPATH) sqlform.h -o moc_sqlform.cpp compiler_rcc_make_all: qrc_IoSQL.cpp compiler_rcc_clean: -$(DEL_FILE) qrc_IoSQL.cpp qrc_IoSQL.cpp: IoSQL.qrc \ images/general/refresh.png \ images/run-build.png \ images/table/rollback.png \ images/table/commit.png \ images/table/table.png \ images/table/list.png \ images/table/icon.png \ images/table/delete-column.png \ images/table/insert-row.png \ images/table/insert-column.png \ images/table/delete-row.png \ images/view/list.png \ images/view/view.png \ images/server-database-edit.png \ images/server-database-register.png \ images/server-database-deregister.png /usr/bin/rcc -name IoSQL IoSQL.qrc -o qrc_IoSQL.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_mainwindow.h ui_registerdialog.h ui_tableform.h ui_sqlform.h compiler_uic_clean: -$(DEL_FILE) ui_mainwindow.h ui_registerdialog.h ui_tableform.h ui_sqlform.h ui_mainwindow.h: mainwindow.ui /usr/bin/uic-qt4 mainwindow.ui -o ui_mainwindow.h ui_registerdialog.h: registerdialog.ui /usr/bin/uic-qt4 registerdialog.ui -o ui_registerdialog.h ui_tableform.h: tableform.ui /usr/bin/uic-qt4 tableform.ui -o ui_tableform.h ui_sqlform.h: sqlform.ui /usr/bin/uic-qt4 sqlform.ui -o ui_sqlform.h compiler_yacc_decl_make_all: compiler_yacc_decl_clean: compiler_yacc_impl_make_all: compiler_yacc_impl_clean: compiler_lex_make_all: compiler_lex_clean: compiler_clean: compiler_moc_header_clean compiler_rcc_clean compiler_uic_clean ####### Compile main.o: main.cpp mainwindow.h \ registerdialog.h \ sqlform.h $(CXX) -c $(CXXFLAGS) $(INCPATH) -o main.o main.cpp mainwindow.o: mainwindow.cpp mainwindow.h \ registerdialog.h \ sqlform.h \ ui_mainwindow.h \ tableform.h $(CXX) -c $(CXXFLAGS) $(INCPATH) -o mainwindow.o mainwindow.cpp registerdialog.o: registerdialog.cpp registerdialog.h \ ui_registerdialog.h $(CXX) -c $(CXXFLAGS) $(INCPATH) -o registerdialog.o registerdialog.cpp tableform.o: tableform.cpp tableform.h \ ui_tableform.h $(CXX) -c $(CXXFLAGS) $(INCPATH) -o tableform.o tableform.cpp sqlform.o: sqlform.cpp sqlform.h \ ui_sqlform.h $(CXX) -c $(CXXFLAGS) $(INCPATH) -o sqlform.o sqlform.cpp moc_mainwindow.o: moc_mainwindow.cpp $(CXX) -c $(CXXFLAGS) $(INCPATH) -o moc_mainwindow.o moc_mainwindow.cpp moc_registerdialog.o: moc_registerdialog.cpp $(CXX) -c $(CXXFLAGS) $(INCPATH) -o moc_registerdialog.o moc_registerdialog.cpp moc_tableform.o: moc_tableform.cpp $(CXX) -c $(CXXFLAGS) $(INCPATH) -o moc_tableform.o moc_tableform.cpp moc_sqlform.o: moc_sqlform.cpp $(CXX) -c $(CXXFLAGS) $(INCPATH) -o moc_sqlform.o moc_sqlform.cpp qrc_IoSQL.o: qrc_IoSQL.cpp $(CXX) -c $(CXXFLAGS) $(INCPATH) -o qrc_IoSQL.o qrc_IoSQL.cpp ####### Install install: FORCE uninstall: FORCE FORCE: