233 lines
6.9 KiB
Text
233 lines
6.9 KiB
Text
#############################################################################
|
|
# Makefile for building: QTMatrix
|
|
# Generated by qmake (2.01a) (Qt 4.4.3) on: So Jan 25 20:23:06 2009
|
|
# Project: QTMatrix.pro
|
|
# Template: app
|
|
#############################################################################
|
|
|
|
####### Compiler, tools and options
|
|
|
|
CC = gcc
|
|
CXX = g++
|
|
DEFINES = -DQT_XML_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED
|
|
CFLAGS = -pipe -g -Wall -W -D_REENTRANT $(DEFINES)
|
|
CXXFLAGS = -pipe -g -Wall -W -D_REENTRANT $(DEFINES)
|
|
INCPATH = -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXml -I/usr/include/qt4 -Idebug -I.
|
|
LINK = g++
|
|
LFLAGS = -Wl,--no-undefined
|
|
LIBS = $(SUBLIBS) -L/usr/lib -lQtXml -lQtGui -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
|
|
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 = debug/
|
|
|
|
####### Files
|
|
|
|
SOURCES = line.cpp \
|
|
point.cpp \
|
|
main.cpp \
|
|
qtmatrix.cpp \
|
|
drawwidget.cpp debug/moc_qtmatrix.cpp \
|
|
debug/moc_drawwidget.cpp \
|
|
debug/qrc_icons.cpp
|
|
OBJECTS = debug/line.o \
|
|
debug/point.o \
|
|
debug/main.o \
|
|
debug/qtmatrix.o \
|
|
debug/drawwidget.o \
|
|
debug/moc_qtmatrix.o \
|
|
debug/moc_drawwidget.o \
|
|
debug/qrc_icons.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/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/debug_and_release.prf \
|
|
/usr/share/qt4/mkspecs/features/default_post.prf \
|
|
/usr/share/qt4/mkspecs/features/build_pass.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 \
|
|
QTMatrix.pro
|
|
QMAKE_TARGET = QTMatrix
|
|
DESTDIR =
|
|
TARGET = QTMatrix
|
|
|
|
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.Debug $(TARGET)
|
|
|
|
$(TARGET): ui_qtmatrix.h ui_drawwidget.h $(OBJECTS)
|
|
$(LINK) $(LFLAGS) -o $(TARGET) $(OBJECTS) $(OBJCOMP) $(LIBS)
|
|
|
|
qmake: FORCE
|
|
@$(QMAKE) -unix CONFIG+=debug_and_release -o Makefile.Debug QTMatrix.pro
|
|
|
|
dist:
|
|
@$(CHK_DIR_EXISTS) debug/QTMatrix1.0.0 || $(MKDIR) debug/QTMatrix1.0.0
|
|
$(COPY_FILE) --parents $(SOURCES) $(DIST) debug/QTMatrix1.0.0/ && $(COPY_FILE) --parents line.h point.h qtmatrix.h drawwidget.h debug/QTMatrix1.0.0/ && $(COPY_FILE) --parents icons.qrc debug/QTMatrix1.0.0/ && $(COPY_FILE) --parents line.cpp point.cpp main.cpp qtmatrix.cpp drawwidget.cpp debug/QTMatrix1.0.0/ && $(COPY_FILE) --parents qtmatrix.ui drawwidget.ui debug/QTMatrix1.0.0/ && (cd `dirname debug/QTMatrix1.0.0` && $(TAR) QTMatrix1.0.0.tar QTMatrix1.0.0 && $(COMPRESS) QTMatrix1.0.0.tar) && $(MOVE) `dirname debug/QTMatrix1.0.0`/QTMatrix1.0.0.tar.gz . && $(DEL_FILE) -r debug/QTMatrix1.0.0
|
|
|
|
|
|
clean:compiler_clean
|
|
-$(DEL_FILE) $(OBJECTS)
|
|
-$(DEL_FILE) *~ core *.core
|
|
|
|
|
|
####### Sub-libraries
|
|
|
|
distclean: clean
|
|
-$(DEL_FILE) $(TARGET)
|
|
-$(DEL_FILE) Makefile.Debug
|
|
|
|
|
|
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: debug/moc_qtmatrix.cpp debug/moc_drawwidget.cpp
|
|
compiler_moc_header_clean:
|
|
-$(DEL_FILE) debug/moc_qtmatrix.cpp debug/moc_drawwidget.cpp
|
|
debug/moc_qtmatrix.cpp: ui_qtmatrix.h \
|
|
drawwidget.h \
|
|
point.h \
|
|
line.h \
|
|
ui_drawwidget.h \
|
|
qtmatrix.h
|
|
/usr/bin/moc-qt4 $(DEFINES) $(INCPATH) qtmatrix.h -o debug/moc_qtmatrix.cpp
|
|
|
|
debug/moc_drawwidget.cpp: point.h \
|
|
line.h \
|
|
ui_drawwidget.h \
|
|
drawwidget.h
|
|
/usr/bin/moc-qt4 $(DEFINES) $(INCPATH) drawwidget.h -o debug/moc_drawwidget.cpp
|
|
|
|
compiler_rcc_make_all: debug/qrc_icons.cpp
|
|
compiler_rcc_clean:
|
|
-$(DEL_FILE) debug/qrc_icons.cpp
|
|
debug/qrc_icons.cpp: icons.qrc \
|
|
add.png \
|
|
del.png
|
|
/usr/bin/rcc -name icons icons.qrc -o debug/qrc_icons.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_qtmatrix.h ui_drawwidget.h
|
|
compiler_uic_clean:
|
|
-$(DEL_FILE) ui_qtmatrix.h ui_drawwidget.h
|
|
ui_qtmatrix.h: qtmatrix.ui \
|
|
drawwidget.h \
|
|
point.h \
|
|
line.h \
|
|
ui_drawwidget.h
|
|
/usr/bin/uic-qt4 qtmatrix.ui -o ui_qtmatrix.h
|
|
|
|
ui_drawwidget.h: drawwidget.ui
|
|
/usr/bin/uic-qt4 drawwidget.ui -o ui_drawwidget.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
|
|
|
|
debug/line.o: line.cpp line.h \
|
|
point.h
|
|
$(CXX) -c $(CXXFLAGS) $(INCPATH) -o debug/line.o line.cpp
|
|
|
|
debug/point.o: point.cpp point.h
|
|
$(CXX) -c $(CXXFLAGS) $(INCPATH) -o debug/point.o point.cpp
|
|
|
|
debug/main.o: main.cpp qtmatrix.h \
|
|
ui_qtmatrix.h \
|
|
drawwidget.h \
|
|
point.h \
|
|
line.h \
|
|
ui_drawwidget.h
|
|
$(CXX) -c $(CXXFLAGS) $(INCPATH) -o debug/main.o main.cpp
|
|
|
|
debug/qtmatrix.o: qtmatrix.cpp qtmatrix.h \
|
|
ui_qtmatrix.h \
|
|
drawwidget.h \
|
|
point.h \
|
|
line.h \
|
|
ui_drawwidget.h
|
|
$(CXX) -c $(CXXFLAGS) $(INCPATH) -o debug/qtmatrix.o qtmatrix.cpp
|
|
|
|
debug/drawwidget.o: drawwidget.cpp drawwidget.h \
|
|
point.h \
|
|
line.h \
|
|
ui_drawwidget.h
|
|
$(CXX) -c $(CXXFLAGS) $(INCPATH) -o debug/drawwidget.o drawwidget.cpp
|
|
|
|
debug/moc_qtmatrix.o: debug/moc_qtmatrix.cpp
|
|
$(CXX) -c $(CXXFLAGS) $(INCPATH) -o debug/moc_qtmatrix.o debug/moc_qtmatrix.cpp
|
|
|
|
debug/moc_drawwidget.o: debug/moc_drawwidget.cpp
|
|
$(CXX) -c $(CXXFLAGS) $(INCPATH) -o debug/moc_drawwidget.o debug/moc_drawwidget.cpp
|
|
|
|
debug/qrc_icons.o: debug/qrc_icons.cpp
|
|
$(CXX) -c $(CXXFLAGS) $(INCPATH) -o debug/qrc_icons.o debug/qrc_icons.cpp
|
|
|
|
####### Install
|
|
|
|
install: FORCE
|
|
|
|
uninstall: FORCE
|
|
|
|
FORCE:
|
|
|