Subversion Repositories OpenCV2-Cookbook

Rev

Rev 3 | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
5 PointedEar 1
#############################################################################
2
# Makefile for building: anotherQtGUI
3
# Generated by qmake (2.01a) (Qt 4.8.6) on: Sa. Jan 25 06:37:10 2014
4
# Project:  anotherQtGUI.pro
5
# Template: app
6
# Command: /usr/lib/i386-linux-gnu/qt4/bin/qmake -o Makefile anotherQtGUI.pro
7
#############################################################################
8
 
9
####### Compiler, tools and options
10
 
11
CC            = gcc
12
CXX           = g++
13
DEFINES       = -DQT_WEBKIT -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED
14
CFLAGS        = -pipe -O2 -Wall -W -D_REENTRANT $(DEFINES)
15
CXXFLAGS      = -pipe -O2 -Wall -W -D_REENTRANT $(DEFINES)
16
INCPATH       = -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4 -IC:\OpenCV2.2\include -I. -I.
17
LINK          = g++
18
LFLAGS        = -Wl,-O1
19
LIBS          = $(SUBLIBS)  -L/usr/lib/i386-linux-gnu -LC:\OpenCV2.2\lib -lopencv_core -lopencv_highgui -lopencv_imgproc -lopencv_features2d -lopencv_calib3d -lQtGui -lQtCore -lpthread
20
AR            = ar cqs
21
RANLIB        =
22
QMAKE         = /usr/lib/i386-linux-gnu/qt4/bin/qmake
23
TAR           = tar -cf
24
COMPRESS      = gzip -9f
25
COPY          = cp -f
26
SED           = sed
27
COPY_FILE     = $(COPY)
28
COPY_DIR      = $(COPY) -r
29
STRIP         = strip
30
INSTALL_FILE  = install -m 644 -p
31
INSTALL_DIR   = $(COPY_DIR)
32
INSTALL_PROGRAM = install -m 755 -p
33
DEL_FILE      = rm -f
34
SYMLINK       = ln -f -s
35
DEL_DIR       = rmdir
36
MOVE          = mv -f
37
CHK_DIR_EXISTS= test -d
38
MKDIR         = mkdir -p
39
 
40
####### Output directory
41
 
42
OBJECTS_DIR   = ./
43
 
44
####### Files
45
 
46
SOURCES       = main.cpp \
47
		mainwindow.cpp moc_mainwindow.cpp
48
OBJECTS       = main.o \
49
		mainwindow.o \
50
		moc_mainwindow.o
51
DIST          = /usr/share/qt4/mkspecs/common/unix.conf \
52
		/usr/share/qt4/mkspecs/common/linux.conf \
53
		/usr/share/qt4/mkspecs/common/gcc-base.conf \
54
		/usr/share/qt4/mkspecs/common/gcc-base-unix.conf \
55
		/usr/share/qt4/mkspecs/common/g++-base.conf \
56
		/usr/share/qt4/mkspecs/common/g++-unix.conf \
57
		/usr/share/qt4/mkspecs/qconfig.pri \
58
		/usr/share/qt4/mkspecs/modules/qt_webkit_version.pri \
59
		/usr/share/qt4/mkspecs/features/qt_functions.prf \
60
		/usr/share/qt4/mkspecs/features/qt_config.prf \
61
		/usr/share/qt4/mkspecs/features/exclusive_builds.prf \
62
		/usr/share/qt4/mkspecs/features/default_pre.prf \
63
		/usr/share/qt4/mkspecs/features/release.prf \
64
		/usr/share/qt4/mkspecs/features/default_post.prf \
65
		/usr/share/qt4/mkspecs/features/shared.prf \
66
		/usr/share/qt4/mkspecs/features/unix/gdb_dwarf_index.prf \
67
		/usr/share/qt4/mkspecs/features/warn_on.prf \
68
		/usr/share/qt4/mkspecs/features/qt.prf \
69
		/usr/share/qt4/mkspecs/features/unix/thread.prf \
70
		/usr/share/qt4/mkspecs/features/moc.prf \
71
		/usr/share/qt4/mkspecs/features/resources.prf \
72
		/usr/share/qt4/mkspecs/features/uic.prf \
73
		/usr/share/qt4/mkspecs/features/yacc.prf \
74
		/usr/share/qt4/mkspecs/features/lex.prf \
75
		/usr/share/qt4/mkspecs/features/include_source_dir.prf \
76
		anotherQtGUI.pro
77
QMAKE_TARGET  = anotherQtGUI
78
DESTDIR       =
79
TARGET        = anotherQtGUI
80
 
81
first: all
82
####### Implicit rules
83
 
84
.SUFFIXES: .o .c .cpp .cc .cxx .C
85
 
86
.cpp.o:
87
	$(CXX) -c $(CXXFLAGS) $(INCPATH) -o "$@" "$<"
88
 
89
.cc.o:
90
	$(CXX) -c $(CXXFLAGS) $(INCPATH) -o "$@" "$<"
91
 
92
.cxx.o:
93
	$(CXX) -c $(CXXFLAGS) $(INCPATH) -o "$@" "$<"
94
 
95
.C.o:
96
	$(CXX) -c $(CXXFLAGS) $(INCPATH) -o "$@" "$<"
97
 
98
.c.o:
99
	$(CC) -c $(CFLAGS) $(INCPATH) -o "$@" "$<"
100
 
101
####### Build rules
102
 
103
all: Makefile $(TARGET)
104
 
105
$(TARGET): ui_mainwindow.h $(OBJECTS)
106
	$(LINK) $(LFLAGS) -o $(TARGET) $(OBJECTS) $(OBJCOMP) $(LIBS)
107
 
108
Makefile: anotherQtGUI.pro  /usr/share/qt4/mkspecs/linux-g++/qmake.conf /usr/share/qt4/mkspecs/common/unix.conf \
109
		/usr/share/qt4/mkspecs/common/linux.conf \
110
		/usr/share/qt4/mkspecs/common/gcc-base.conf \
111
		/usr/share/qt4/mkspecs/common/gcc-base-unix.conf \
112
		/usr/share/qt4/mkspecs/common/g++-base.conf \
113
		/usr/share/qt4/mkspecs/common/g++-unix.conf \
114
		/usr/share/qt4/mkspecs/qconfig.pri \
115
		/usr/share/qt4/mkspecs/modules/qt_webkit_version.pri \
116
		/usr/share/qt4/mkspecs/features/qt_functions.prf \
117
		/usr/share/qt4/mkspecs/features/qt_config.prf \
118
		/usr/share/qt4/mkspecs/features/exclusive_builds.prf \
119
		/usr/share/qt4/mkspecs/features/default_pre.prf \
120
		/usr/share/qt4/mkspecs/features/release.prf \
121
		/usr/share/qt4/mkspecs/features/default_post.prf \
122
		/usr/share/qt4/mkspecs/features/shared.prf \
123
		/usr/share/qt4/mkspecs/features/unix/gdb_dwarf_index.prf \
124
		/usr/share/qt4/mkspecs/features/warn_on.prf \
125
		/usr/share/qt4/mkspecs/features/qt.prf \
126
		/usr/share/qt4/mkspecs/features/unix/thread.prf \
127
		/usr/share/qt4/mkspecs/features/moc.prf \
128
		/usr/share/qt4/mkspecs/features/resources.prf \
129
		/usr/share/qt4/mkspecs/features/uic.prf \
130
		/usr/share/qt4/mkspecs/features/yacc.prf \
131
		/usr/share/qt4/mkspecs/features/lex.prf \
132
		/usr/share/qt4/mkspecs/features/include_source_dir.prf \
133
		/usr/lib/i386-linux-gnu/libQtGui.prl \
134
		/usr/lib/i386-linux-gnu/libQtCore.prl
135
	$(QMAKE) -o Makefile anotherQtGUI.pro
136
/usr/share/qt4/mkspecs/common/unix.conf:
137
/usr/share/qt4/mkspecs/common/linux.conf:
138
/usr/share/qt4/mkspecs/common/gcc-base.conf:
139
/usr/share/qt4/mkspecs/common/gcc-base-unix.conf:
140
/usr/share/qt4/mkspecs/common/g++-base.conf:
141
/usr/share/qt4/mkspecs/common/g++-unix.conf:
142
/usr/share/qt4/mkspecs/qconfig.pri:
143
/usr/share/qt4/mkspecs/modules/qt_webkit_version.pri:
144
/usr/share/qt4/mkspecs/features/qt_functions.prf:
145
/usr/share/qt4/mkspecs/features/qt_config.prf:
146
/usr/share/qt4/mkspecs/features/exclusive_builds.prf:
147
/usr/share/qt4/mkspecs/features/default_pre.prf:
148
/usr/share/qt4/mkspecs/features/release.prf:
149
/usr/share/qt4/mkspecs/features/default_post.prf:
150
/usr/share/qt4/mkspecs/features/shared.prf:
151
/usr/share/qt4/mkspecs/features/unix/gdb_dwarf_index.prf:
152
/usr/share/qt4/mkspecs/features/warn_on.prf:
153
/usr/share/qt4/mkspecs/features/qt.prf:
154
/usr/share/qt4/mkspecs/features/unix/thread.prf:
155
/usr/share/qt4/mkspecs/features/moc.prf:
156
/usr/share/qt4/mkspecs/features/resources.prf:
157
/usr/share/qt4/mkspecs/features/uic.prf:
158
/usr/share/qt4/mkspecs/features/yacc.prf:
159
/usr/share/qt4/mkspecs/features/lex.prf:
160
/usr/share/qt4/mkspecs/features/include_source_dir.prf:
161
/usr/lib/i386-linux-gnu/libQtGui.prl:
162
/usr/lib/i386-linux-gnu/libQtCore.prl:
163
qmake:  FORCE
164
	@$(QMAKE) -o Makefile anotherQtGUI.pro
165
 
166
dist:
167
	@$(CHK_DIR_EXISTS) .tmp/anotherQtGUI1.0.0 || $(MKDIR) .tmp/anotherQtGUI1.0.0
168
	$(COPY_FILE) --parents $(SOURCES) $(DIST) .tmp/anotherQtGUI1.0.0/ && $(COPY_FILE) --parents mainwindow.h .tmp/anotherQtGUI1.0.0/ && $(COPY_FILE) --parents main.cpp mainwindow.cpp .tmp/anotherQtGUI1.0.0/ && $(COPY_FILE) --parents mainwindow.ui .tmp/anotherQtGUI1.0.0/ && (cd `dirname .tmp/anotherQtGUI1.0.0` && $(TAR) anotherQtGUI1.0.0.tar anotherQtGUI1.0.0 && $(COMPRESS) anotherQtGUI1.0.0.tar) && $(MOVE) `dirname .tmp/anotherQtGUI1.0.0`/anotherQtGUI1.0.0.tar.gz . && $(DEL_FILE) -r .tmp/anotherQtGUI1.0.0
169
 
170
 
171
clean:compiler_clean
172
	-$(DEL_FILE) $(OBJECTS)
173
	-$(DEL_FILE) *~ core *.core
174
 
175
 
176
####### Sub-libraries
177
 
178
distclean: clean
179
	-$(DEL_FILE) $(TARGET)
180
	-$(DEL_FILE) Makefile
181
 
182
 
183
check: first
184
 
185
mocclean: compiler_moc_header_clean compiler_moc_source_clean
186
 
187
mocables: compiler_moc_header_make_all compiler_moc_source_make_all
188
 
189
compiler_moc_header_make_all: moc_mainwindow.cpp
190
compiler_moc_header_clean:
191
	-$(DEL_FILE) moc_mainwindow.cpp
192
moc_mainwindow.cpp: mainwindow.h
193
	/usr/lib/i386-linux-gnu/qt4/bin/moc $(DEFINES) $(INCPATH) mainwindow.h -o moc_mainwindow.cpp
194
 
195
compiler_rcc_make_all:
196
compiler_rcc_clean:
197
compiler_image_collection_make_all: qmake_image_collection.cpp
198
compiler_image_collection_clean:
199
	-$(DEL_FILE) qmake_image_collection.cpp
200
compiler_moc_source_make_all:
201
compiler_moc_source_clean:
202
compiler_uic_make_all: ui_mainwindow.h
203
compiler_uic_clean:
204
	-$(DEL_FILE) ui_mainwindow.h
205
ui_mainwindow.h: mainwindow.ui
206
	/usr/lib/i386-linux-gnu/qt4/bin/uic mainwindow.ui -o ui_mainwindow.h
207
 
208
compiler_yacc_decl_make_all:
209
compiler_yacc_decl_clean:
210
compiler_yacc_impl_make_all:
211
compiler_yacc_impl_clean:
212
compiler_lex_make_all:
213
compiler_lex_clean:
214
compiler_clean: compiler_moc_header_clean compiler_uic_clean
215
 
216
####### Compile
217
 
218
main.o: main.cpp mainwindow.h
219
	$(CXX) -c $(CXXFLAGS) $(INCPATH) -o main.o main.cpp
220
 
221
mainwindow.o: mainwindow.cpp mainwindow.h \
222
		ui_mainwindow.h
223
	$(CXX) -c $(CXXFLAGS) $(INCPATH) -o mainwindow.o mainwindow.cpp
224
 
225
moc_mainwindow.o: moc_mainwindow.cpp
226
	$(CXX) -c $(CXXFLAGS) $(INCPATH) -o moc_mainwindow.o moc_mainwindow.cpp
227
 
228
####### Install
229
 
230
install:   FORCE
231
 
232
uninstall:   FORCE
233
 
234
FORCE:
235