Root/Makefile_openwrt

1#############################################################################
2# Makefile for building: qvido
3# Generated by qmake (2.01a) (Qt 4.6.2) on: Tue Mar 30 08:39:25 2010
4# Project: qvido.pro
5# Template: app
6# 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
7#############################################################################
8
9####### Compiler, tools and options
10
11CC = mipsel-openwrt-linux-uclibc-gcc
12CXX = ../../../staging_dir/toolchain-mipsel_gcc-4.3.3+cs_uClibc-0.9.30.1/usr/bin/mipsel-openwrt-linux-uclibc-g++
13DEFINES =
14CFLAGS = -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)
15CXXFLAGS = -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)
16INCPATH = -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
17LINK = ../../../staging_dir/toolchain-mipsel_gcc-4.3.3+cs_uClibc-0.9.30.1/usr/bin/mipsel-openwrt-linux-uclibc-g++
18LFLAGS = -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
19LIBS = $(SUBLIBS) -L../../../staging_dir/target-mipsel_uClibc-0.9.30.1/usr/lib -lzim -lcxxtools -lQtCore -lQtGui
20AR = mipsel-openwrt-linux-uclibc-ar cqs
21RANLIB = mipsel-openwrt-linux-uclibc-ranlib
22QMAKE = /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
23TAR = tar -cf
24COMPRESS = gzip -9f
25COPY = cp -f
26SED = sed
27COPY_FILE = $(COPY)
28COPY_DIR = $(COPY) -r
29STRIP = :
30INSTALL_FILE = install -m 644 -p
31INSTALL_DIR = $(COPY_DIR)
32INSTALL_PROGRAM = install -m 755 -p
33DEL_FILE = rm -f
34SYMLINK = ln -f -s
35DEL_DIR = rmdir
36MOVE = mv -f
37CHK_DIR_EXISTS= test -d
38MKDIR = mkdir -p
39
40####### Output directory
41
42OBJECTS_DIR = ./
43
44####### Files
45
46SOURCES = main.cpp \
47        htmlarea.cpp \
48        qmain.cpp \
49        moc_htmlarea.cpp \
50        moc_qmain.cpp
51OBJECTS = main.o \
52        htmlarea.o \
53        qmain.o \
54        moc_htmlarea.o \
55        moc_qmain.o
56DIST = ../qt-everywhere-opensource-src-4.6.2/mkspecs/common/g++.conf \
57        ../qt-everywhere-opensource-src-4.6.2/mkspecs/common/unix.conf \
58        ../qt-everywhere-opensource-src-4.6.2/mkspecs/common/linux.conf \
59        ../qt-everywhere-opensource-src-4.6.2/mkspecs/common/qws.conf \
60        qvido.pro
61QMAKE_TARGET = qvido
62DESTDIR =
63TARGET = qvido
64
65first: all
66####### Implicit rules
67
68.SUFFIXES: .o .c .cpp .cc .cxx .C
69
70.cpp.o:
71    $(CXX) -c $(CXXFLAGS) $(INCPATH) -o "$@" "$<"
72
73.cc.o:
74    $(CXX) -c $(CXXFLAGS) $(INCPATH) -o "$@" "$<"
75
76.cxx.o:
77    $(CXX) -c $(CXXFLAGS) $(INCPATH) -o "$@" "$<"
78
79.C.o:
80    $(CXX) -c $(CXXFLAGS) $(INCPATH) -o "$@" "$<"
81
82.c.o:
83    $(CC) -c $(CFLAGS) $(INCPATH) -o "$@" "$<"
84
85####### Build rules
86
87all: Makefile $(TARGET)
88
89$(TARGET): $(OBJECTS)
90    $(LINK) $(LFLAGS) -o $(TARGET) $(OBJECTS) $(OBJCOMP) $(LIBS)
91
92Makefile: qvido.pro mkspecs/qmake.conf ../qt-everywhere-opensource-src-4.6.2/mkspecs/common/g++.conf \
93        ../qt-everywhere-opensource-src-4.6.2/mkspecs/common/unix.conf \
94        ../qt-everywhere-opensource-src-4.6.2/mkspecs/common/linux.conf \
95        ../qt-everywhere-opensource-src-4.6.2/mkspecs/common/qws.conf
96    $(QMAKE) -spec mkspecs -unix -o Makefile qvido.pro
97../qt-everywhere-opensource-src-4.6.2/mkspecs/common/g++.conf:
98../qt-everywhere-opensource-src-4.6.2/mkspecs/common/unix.conf:
99../qt-everywhere-opensource-src-4.6.2/mkspecs/common/linux.conf:
100../qt-everywhere-opensource-src-4.6.2/mkspecs/common/qws.conf:
101qmake: FORCE
102    @$(QMAKE) -spec mkspecs -unix -o Makefile qvido.pro
103
104dist:
105    @$(CHK_DIR_EXISTS) .tmp/qvido1.0.0 || $(MKDIR) .tmp/qvido1.0.0
106    $(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
107
108
109clean:compiler_clean
110    -$(DEL_FILE) $(OBJECTS)
111    -$(DEL_FILE) *~ core *.core
112
113
114####### Sub-libraries
115
116distclean: clean
117    -$(DEL_FILE) $(TARGET)
118    -$(DEL_FILE) Makefile
119
120
121compiler_clean:
122
123####### Compile
124
125main.o: main.cpp qmain.h \
126        htmlarea.h
127    $(CXX) -c $(CXXFLAGS) $(INCPATH) -o main.o main.cpp
128
129htmlarea.o: htmlarea.cpp qmain.h \
130        htmlarea.h
131    $(CXX) -c $(CXXFLAGS) $(INCPATH) -o htmlarea.o htmlarea.cpp
132
133qmain.o: qmain.cpp qmain.h \
134        htmlarea.h
135    $(CXX) -c $(CXXFLAGS) $(INCPATH) -o qmain.o qmain.cpp
136
137moc_htmlarea.o: moc_htmlarea.cpp htmlarea.h
138    $(CXX) -c $(CXXFLAGS) $(INCPATH) -o moc_htmlarea.o moc_htmlarea.cpp
139
140moc_qmain.o: moc_qmain.cpp qmain.h \
141        htmlarea.h
142    $(CXX) -c $(CXXFLAGS) $(INCPATH) -o moc_qmain.o moc_qmain.cpp
143
144####### Install
145
146install: FORCE
147
148uninstall: FORCE
149
150FORCE:
151
152

Archive Download this file

Branches:
master



interactive