mirror of
git://projects.qi-hardware.com/qvido.git
synced 2024-12-22 09:06:28 +02:00
cd7e6f7475
Signed-off-by: Mirko Lindner <mirko@sharism.cc>
152 lines
6.5 KiB
Plaintext
152 lines
6.5 KiB
Plaintext
#############################################################################
|
|
# Makefile for building: qvido
|
|
# Generated by qmake (2.01a) (Qt 4.6.2) on: Tue Mar 30 08:39:25 2010
|
|
# Project: qvido.pro
|
|
# Template: app
|
|
# Command: /home/vegyraupe/work/qi/NanoNote/Ben/sw/openwrt-xburst/build_dir/target-mipsel_uClibc-0.9.30.1/qt-everywhere-opensource-src-4.6.2/bin/qmake -spec mkspecs -unix -o Makefile qvido.pro
|
|
#############################################################################
|
|
|
|
####### Compiler, tools and options
|
|
|
|
CC = mipsel-openwrt-linux-uclibc-gcc
|
|
CXX = ../../../staging_dir/toolchain-mipsel_gcc-4.3.3+cs_uClibc-0.9.30.1/usr/bin/mipsel-openwrt-linux-uclibc-g++
|
|
DEFINES =
|
|
CFLAGS = -Os -pipe -mips32 -mtune=mips32 -funit-at-a-time -fhonour-copts -msoft-float -I/home/vegyraupe/work/qi/NanoNote/Ben/sw/openwrt-xburst/staging_dir/target-mipsel_uClibc-0.9.30.1/usr/include -I/home/vegyraupe/work/qi/NanoNote/Ben/sw/openwrt-xburst/staging_dir/target-mipsel_uClibc-0.9.30.1/include -I/home/vegyraupe/work/qi/NanoNote/Ben/sw/openwrt-xburst/staging_dir/toolchain-mipsel_gcc-4.3.3+cs_uClibc-0.9.30.1/usr/include -I/home/vegyraupe/work/qi/NanoNote/Ben/sw/openwrt-xburst/staging_dir/toolchain-mipsel_gcc-4.3.3+cs_uClibc-0.9.30.1/include $(DEFINES)
|
|
CXXFLAGS = -Os -pipe -mips32 -mtune=mips32 -funit-at-a-time -fhonour-copts -msoft-float -I/home/vegyraupe/work/qi/NanoNote/Ben/sw/openwrt-xburst/staging_dir/target-mipsel_uClibc-0.9.30.1/usr/include -I/home/vegyraupe/work/qi/NanoNote/Ben/sw/openwrt-xburst/staging_dir/target-mipsel_uClibc-0.9.30.1/include -I/home/vegyraupe/work/qi/NanoNote/Ben/sw/openwrt-xburst/staging_dir/toolchain-mipsel_gcc-4.3.3+cs_uClibc-0.9.30.1/usr/include -I/home/vegyraupe/work/qi/NanoNote/Ben/sw/openwrt-xburst/staging_dir/toolchain-mipsel_gcc-4.3.3+cs_uClibc-0.9.30.1/include $(DEFINES)
|
|
INCPATH = -Imkspecs -I. -I. -I../../../staging_dir/target-mipsel_uClibc-0.9.30.1/usr/include -I../../../staging_dir/target-mipsel_uClibc-0.9.30.1/usr/include/Qt -I../../../staging_dir/target-mipsel_uClibc-0.9.30.1/usr/include/QtCore -I../../../staging_dir/target-mipsel_uClibc-0.9.30.1/usr/include/QtGui
|
|
LINK = ../../../staging_dir/toolchain-mipsel_gcc-4.3.3+cs_uClibc-0.9.30.1/usr/bin/mipsel-openwrt-linux-uclibc-g++
|
|
LFLAGS = -L/home/vegyraupe/work/qi/NanoNote/Ben/sw/openwrt-xburst/build_dir/target-mipsel_uClibc-0.9.30.1/qvido-20100329/lib -L/home/vegyraupe/work/qi/NanoNote/Ben/sw/openwrt-xburst/staging_dir/target-mipsel_uClibc-0.9.30.1/usr/lib -L/home/vegyraupe/work/qi/NanoNote/Ben/sw/openwrt-xburst/staging_dir/target-mipsel_uClibc-0.9.30.1/lib -L/home/vegyraupe/work/qi/NanoNote/Ben/sw/openwrt-xburst/staging_dir/toolchain-mipsel_gcc-4.3.3+cs_uClibc-0.9.30.1/usr/lib -L/home/vegyraupe/work/qi/NanoNote/Ben/sw/openwrt-xburst/staging_dir/toolchain-mipsel_gcc-4.3.3+cs_uClibc-0.9.30.1/lib -Wl,-rpath-link=/home/vegyraupe/work/qi/NanoNote/Ben/sw/openwrt-xburst/staging_dir/target-mipsel_uClibc-0.9.30.1/usr/lib
|
|
LIBS = $(SUBLIBS) -L../../../staging_dir/target-mipsel_uClibc-0.9.30.1/usr/lib -lzim -lcxxtools -lQtCore -lQtGui
|
|
AR = mipsel-openwrt-linux-uclibc-ar cqs
|
|
RANLIB = mipsel-openwrt-linux-uclibc-ranlib
|
|
QMAKE = /home/vegyraupe/work/qi/NanoNote/Ben/sw/openwrt-xburst/build_dir/target-mipsel_uClibc-0.9.30.1/qt-everywhere-opensource-src-4.6.2/bin/qmake
|
|
TAR = tar -cf
|
|
COMPRESS = gzip -9f
|
|
COPY = cp -f
|
|
SED = sed
|
|
COPY_FILE = $(COPY)
|
|
COPY_DIR = $(COPY) -r
|
|
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 \
|
|
htmlarea.cpp \
|
|
qmain.cpp \
|
|
moc_htmlarea.cpp \
|
|
moc_qmain.cpp
|
|
OBJECTS = main.o \
|
|
htmlarea.o \
|
|
qmain.o \
|
|
moc_htmlarea.o \
|
|
moc_qmain.o
|
|
DIST = ../qt-everywhere-opensource-src-4.6.2/mkspecs/common/g++.conf \
|
|
../qt-everywhere-opensource-src-4.6.2/mkspecs/common/unix.conf \
|
|
../qt-everywhere-opensource-src-4.6.2/mkspecs/common/linux.conf \
|
|
../qt-everywhere-opensource-src-4.6.2/mkspecs/common/qws.conf \
|
|
qvido.pro
|
|
QMAKE_TARGET = qvido
|
|
DESTDIR =
|
|
TARGET = qvido
|
|
|
|
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): $(OBJECTS)
|
|
$(LINK) $(LFLAGS) -o $(TARGET) $(OBJECTS) $(OBJCOMP) $(LIBS)
|
|
|
|
Makefile: qvido.pro mkspecs/qmake.conf ../qt-everywhere-opensource-src-4.6.2/mkspecs/common/g++.conf \
|
|
../qt-everywhere-opensource-src-4.6.2/mkspecs/common/unix.conf \
|
|
../qt-everywhere-opensource-src-4.6.2/mkspecs/common/linux.conf \
|
|
../qt-everywhere-opensource-src-4.6.2/mkspecs/common/qws.conf
|
|
$(QMAKE) -spec mkspecs -unix -o Makefile qvido.pro
|
|
../qt-everywhere-opensource-src-4.6.2/mkspecs/common/g++.conf:
|
|
../qt-everywhere-opensource-src-4.6.2/mkspecs/common/unix.conf:
|
|
../qt-everywhere-opensource-src-4.6.2/mkspecs/common/linux.conf:
|
|
../qt-everywhere-opensource-src-4.6.2/mkspecs/common/qws.conf:
|
|
qmake: FORCE
|
|
@$(QMAKE) -spec mkspecs -unix -o Makefile qvido.pro
|
|
|
|
dist:
|
|
@$(CHK_DIR_EXISTS) .tmp/qvido1.0.0 || $(MKDIR) .tmp/qvido1.0.0
|
|
$(COPY_FILE) --parents $(SOURCES) $(DIST) .tmp/qvido1.0.0/ && (cd `dirname .tmp/qvido1.0.0` && $(TAR) qvido1.0.0.tar qvido1.0.0 && $(COMPRESS) qvido1.0.0.tar) && $(MOVE) `dirname .tmp/qvido1.0.0`/qvido1.0.0.tar.gz . && $(DEL_FILE) -r .tmp/qvido1.0.0
|
|
|
|
|
|
clean:compiler_clean
|
|
-$(DEL_FILE) $(OBJECTS)
|
|
-$(DEL_FILE) *~ core *.core
|
|
|
|
|
|
####### Sub-libraries
|
|
|
|
distclean: clean
|
|
-$(DEL_FILE) $(TARGET)
|
|
-$(DEL_FILE) Makefile
|
|
|
|
|
|
compiler_clean:
|
|
|
|
####### Compile
|
|
|
|
main.o: main.cpp qmain.h \
|
|
htmlarea.h
|
|
$(CXX) -c $(CXXFLAGS) $(INCPATH) -o main.o main.cpp
|
|
|
|
htmlarea.o: htmlarea.cpp qmain.h \
|
|
htmlarea.h
|
|
$(CXX) -c $(CXXFLAGS) $(INCPATH) -o htmlarea.o htmlarea.cpp
|
|
|
|
qmain.o: qmain.cpp qmain.h \
|
|
htmlarea.h
|
|
$(CXX) -c $(CXXFLAGS) $(INCPATH) -o qmain.o qmain.cpp
|
|
|
|
moc_htmlarea.o: moc_htmlarea.cpp htmlarea.h
|
|
$(CXX) -c $(CXXFLAGS) $(INCPATH) -o moc_htmlarea.o moc_htmlarea.cpp
|
|
|
|
moc_qmain.o: moc_qmain.cpp qmain.h \
|
|
htmlarea.h
|
|
$(CXX) -c $(CXXFLAGS) $(INCPATH) -o moc_qmain.o moc_qmain.cpp
|
|
|
|
####### Install
|
|
|
|
install: FORCE
|
|
|
|
uninstall: FORCE
|
|
|
|
FORCE:
|
|
|