Initial commit for Speed Freak app
[speedfreak] / UI / Makefile
1 #############################################################################
2 # Makefile for building: UI
3 # Generated by qmake (2.01a) (Qt 4.5.3) on: Fri Feb 26 11:59:23 2010
4 # Project:  UI.pro
5 # Template: app
6 # Command: /usr/bin/qmake -unix -o Makefile UI.pro
7 #############################################################################
8
9 ####### Compiler, tools and options
10
11 CC            = gcc
12 CXX           = g++
13 DEFINES       = -DQT_NO_DEBUG -DQT_XML_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED
14 CFLAGS        = -pipe -O3 -g -Wall -W -D_REENTRANT $(DEFINES)
15 CXXFLAGS      = -pipe -O3 -g -Wall -W -D_REENTRANT $(DEFINES)
16 INCPATH       = -I/targets/FREMANTLE_X86/usr/share/qt4/mkspecs/linux-g++-opengl -I. -I/targets/FREMANTLE_X86/usr/include/qt4/QtCore -I/targets/FREMANTLE_X86/usr/include/qt4/QtNetwork -I/targets/FREMANTLE_X86/usr/include/qt4/QtGui -I/targets/FREMANTLE_X86/usr/include/qt4/QtXml -I/targets/FREMANTLE_X86/usr/include/qt4 -I. -I.
17 LINK          = g++
18 LFLAGS        = -Wl,-O1
19 LIBS          = $(SUBLIBS)  -L/usr/lib -Wl,-rpath-link=/usr/lib -lQtXml -lQtGui -lQtNetwork -lQtCore -lpthread
20 AR            = ar cqs
21 RANLIB        = 
22 QMAKE         = /usr/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 INSTALL_FILE  = install -m 644 -p
30 INSTALL_DIR   = $(COPY_DIR)
31 INSTALL_PROGRAM = install -m 755 -p
32 DEL_FILE      = rm -f
33 SYMLINK       = ln -sf
34 DEL_DIR       = rmdir
35 MOVE          = mv -f
36 CHK_DIR_EXISTS= test -d
37 MKDIR         = mkdir -p
38
39 ####### Output directory
40
41 OBJECTS_DIR   = ./
42
43 ####### Files
44
45 SOURCES       = main.cpp \
46                 carmainwindow.cpp \
47                 resultdialog.cpp \
48                 stringlistmodel.cpp \
49                 measuredialog.cpp moc_carmainwindow.cpp \
50                 moc_resultdialog.cpp \
51                 moc_stringlistmodel.cpp \
52                 moc_measuredialog.cpp
53 OBJECTS       = main.o \
54                 carmainwindow.o \
55                 resultdialog.o \
56                 stringlistmodel.o \
57                 measuredialog.o \
58                 moc_carmainwindow.o \
59                 moc_resultdialog.o \
60                 moc_stringlistmodel.o \
61                 moc_measuredialog.o
62 DIST          = /targets/FREMANTLE_X86/usr/share/qt4/mkspecs/common/g++.conf \
63                 /targets/FREMANTLE_X86/usr/share/qt4/mkspecs/common/unix.conf \
64                 /targets/FREMANTLE_X86/usr/share/qt4/mkspecs/common/linux.conf \
65                 /targets/FREMANTLE_X86/usr/share/qt4/mkspecs/qconfig.pri \
66                 /targets/FREMANTLE_X86/usr/share/qt4/mkspecs/features/qt_functions.prf \
67                 /targets/FREMANTLE_X86/usr/share/qt4/mkspecs/features/qt_config.prf \
68                 /targets/FREMANTLE_X86/usr/share/qt4/mkspecs/features/exclusive_builds.prf \
69                 /targets/FREMANTLE_X86/usr/share/qt4/mkspecs/features/default_pre.prf \
70                 /targets/FREMANTLE_X86/usr/share/qt4/mkspecs/features/release.prf \
71                 /targets/FREMANTLE_X86/usr/share/qt4/mkspecs/features/default_post.prf \
72                 /targets/FREMANTLE_X86/usr/share/qt4/mkspecs/features/warn_on.prf \
73                 /targets/FREMANTLE_X86/usr/share/qt4/mkspecs/features/qt.prf \
74                 /targets/FREMANTLE_X86/usr/share/qt4/mkspecs/features/unix/thread.prf \
75                 /targets/FREMANTLE_X86/usr/share/qt4/mkspecs/features/moc.prf \
76                 /targets/FREMANTLE_X86/usr/share/qt4/mkspecs/features/resources.prf \
77                 /targets/FREMANTLE_X86/usr/share/qt4/mkspecs/features/uic.prf \
78                 /targets/FREMANTLE_X86/usr/share/qt4/mkspecs/features/yacc.prf \
79                 /targets/FREMANTLE_X86/usr/share/qt4/mkspecs/features/lex.prf \
80                 /targets/FREMANTLE_X86/usr/share/qt4/mkspecs/features/include_source_dir.prf \
81                 UI.pro
82 QMAKE_TARGET  = UI
83 DESTDIR       = 
84 TARGET        = UI
85
86 first: all
87 ####### Implicit rules
88
89 .SUFFIXES: .o .c .cpp .cc .cxx .C
90
91 .cpp.o:
92         $(CXX) -c $(CXXFLAGS) $(INCPATH) -o "$@" "$<"
93
94 .cc.o:
95         $(CXX) -c $(CXXFLAGS) $(INCPATH) -o "$@" "$<"
96
97 .cxx.o:
98         $(CXX) -c $(CXXFLAGS) $(INCPATH) -o "$@" "$<"
99
100 .C.o:
101         $(CXX) -c $(CXXFLAGS) $(INCPATH) -o "$@" "$<"
102
103 .c.o:
104         $(CC) -c $(CFLAGS) $(INCPATH) -o "$@" "$<"
105
106 ####### Build rules
107
108 all: Makefile $(TARGET)
109
110 $(TARGET): ui_carmainwindow.h ui_resultdialog.h ui_measuredialog.h $(OBJECTS)  
111         $(LINK) $(LFLAGS) -o $(TARGET) $(OBJECTS) $(OBJCOMP) $(LIBS)
112
113 Makefile: UI.pro  /targets/FREMANTLE_X86/usr/share/qt4/mkspecs/linux-g++-opengl/qmake.conf /targets/FREMANTLE_X86/usr/share/qt4/mkspecs/common/g++.conf \
114                 /targets/FREMANTLE_X86/usr/share/qt4/mkspecs/common/unix.conf \
115                 /targets/FREMANTLE_X86/usr/share/qt4/mkspecs/common/linux.conf \
116                 /targets/FREMANTLE_X86/usr/share/qt4/mkspecs/qconfig.pri \
117                 /targets/FREMANTLE_X86/usr/share/qt4/mkspecs/features/qt_functions.prf \
118                 /targets/FREMANTLE_X86/usr/share/qt4/mkspecs/features/qt_config.prf \
119                 /targets/FREMANTLE_X86/usr/share/qt4/mkspecs/features/exclusive_builds.prf \
120                 /targets/FREMANTLE_X86/usr/share/qt4/mkspecs/features/default_pre.prf \
121                 /targets/FREMANTLE_X86/usr/share/qt4/mkspecs/features/release.prf \
122                 /targets/FREMANTLE_X86/usr/share/qt4/mkspecs/features/default_post.prf \
123                 /targets/FREMANTLE_X86/usr/share/qt4/mkspecs/features/warn_on.prf \
124                 /targets/FREMANTLE_X86/usr/share/qt4/mkspecs/features/qt.prf \
125                 /targets/FREMANTLE_X86/usr/share/qt4/mkspecs/features/unix/thread.prf \
126                 /targets/FREMANTLE_X86/usr/share/qt4/mkspecs/features/moc.prf \
127                 /targets/FREMANTLE_X86/usr/share/qt4/mkspecs/features/resources.prf \
128                 /targets/FREMANTLE_X86/usr/share/qt4/mkspecs/features/uic.prf \
129                 /targets/FREMANTLE_X86/usr/share/qt4/mkspecs/features/yacc.prf \
130                 /targets/FREMANTLE_X86/usr/share/qt4/mkspecs/features/lex.prf \
131                 /targets/FREMANTLE_X86/usr/share/qt4/mkspecs/features/include_source_dir.prf \
132                 /usr/lib/libQtXml.prl \
133                 /usr/lib/libQtGui.prl \
134                 /usr/lib/libQtNetwork.prl \
135                 /usr/lib/libQtCore.prl
136         $(QMAKE) -unix -o Makefile UI.pro
137 /targets/FREMANTLE_X86/usr/share/qt4/mkspecs/common/g++.conf:
138 /targets/FREMANTLE_X86/usr/share/qt4/mkspecs/common/unix.conf:
139 /targets/FREMANTLE_X86/usr/share/qt4/mkspecs/common/linux.conf:
140 /targets/FREMANTLE_X86/usr/share/qt4/mkspecs/qconfig.pri:
141 /targets/FREMANTLE_X86/usr/share/qt4/mkspecs/features/qt_functions.prf:
142 /targets/FREMANTLE_X86/usr/share/qt4/mkspecs/features/qt_config.prf:
143 /targets/FREMANTLE_X86/usr/share/qt4/mkspecs/features/exclusive_builds.prf:
144 /targets/FREMANTLE_X86/usr/share/qt4/mkspecs/features/default_pre.prf:
145 /targets/FREMANTLE_X86/usr/share/qt4/mkspecs/features/release.prf:
146 /targets/FREMANTLE_X86/usr/share/qt4/mkspecs/features/default_post.prf:
147 /targets/FREMANTLE_X86/usr/share/qt4/mkspecs/features/warn_on.prf:
148 /targets/FREMANTLE_X86/usr/share/qt4/mkspecs/features/qt.prf:
149 /targets/FREMANTLE_X86/usr/share/qt4/mkspecs/features/unix/thread.prf:
150 /targets/FREMANTLE_X86/usr/share/qt4/mkspecs/features/moc.prf:
151 /targets/FREMANTLE_X86/usr/share/qt4/mkspecs/features/resources.prf:
152 /targets/FREMANTLE_X86/usr/share/qt4/mkspecs/features/uic.prf:
153 /targets/FREMANTLE_X86/usr/share/qt4/mkspecs/features/yacc.prf:
154 /targets/FREMANTLE_X86/usr/share/qt4/mkspecs/features/lex.prf:
155 /targets/FREMANTLE_X86/usr/share/qt4/mkspecs/features/include_source_dir.prf:
156 /usr/lib/libQtXml.prl:
157 /usr/lib/libQtGui.prl:
158 /usr/lib/libQtNetwork.prl:
159 /usr/lib/libQtCore.prl:
160 qmake:  FORCE
161         @$(QMAKE) -unix -o Makefile UI.pro
162
163 dist: 
164         @$(CHK_DIR_EXISTS) .tmp/UI1.0.0 || $(MKDIR) .tmp/UI1.0.0 
165         $(COPY_FILE) --parents $(SOURCES) $(DIST) .tmp/UI1.0.0/ && $(COPY_FILE) --parents carmainwindow.h resultdialog.h stringlistmodel.h measuredialog.h .tmp/UI1.0.0/ && $(COPY_FILE) --parents main.cpp carmainwindow.cpp resultdialog.cpp stringlistmodel.cpp measuredialog.cpp .tmp/UI1.0.0/ && $(COPY_FILE) --parents carmainwindow.ui resultdialog.ui measuredialog.ui .tmp/UI1.0.0/ && (cd `dirname .tmp/UI1.0.0` && $(TAR) UI1.0.0.tar UI1.0.0 && $(COMPRESS) UI1.0.0.tar) && $(MOVE) `dirname .tmp/UI1.0.0`/UI1.0.0.tar.gz . && $(DEL_FILE) -r .tmp/UI1.0.0
166
167
168 clean:compiler_clean 
169         -$(DEL_FILE) $(OBJECTS)
170         -$(DEL_FILE) *~ core *.core
171
172
173 ####### Sub-libraries
174
175 distclean: clean
176         -$(DEL_FILE) $(TARGET) 
177         -$(DEL_FILE) Makefile
178
179
180 mocclean: compiler_moc_header_clean compiler_moc_source_clean
181
182 mocables: compiler_moc_header_make_all compiler_moc_source_make_all
183
184 compiler_moc_header_make_all: moc_carmainwindow.cpp moc_resultdialog.cpp moc_stringlistmodel.cpp moc_measuredialog.cpp
185 compiler_moc_header_clean:
186         -$(DEL_FILE) moc_carmainwindow.cpp moc_resultdialog.cpp moc_stringlistmodel.cpp moc_measuredialog.cpp
187 moc_carmainwindow.cpp: resultdialog.h \
188                 measuredialog.h \
189                 carmainwindow.h
190         /usr/bin/moc $(DEFINES) $(INCPATH) carmainwindow.h -o moc_carmainwindow.cpp
191
192 moc_resultdialog.cpp: resultdialog.h
193         /usr/bin/moc $(DEFINES) $(INCPATH) resultdialog.h -o moc_resultdialog.cpp
194
195 moc_stringlistmodel.cpp: stringlistmodel.h
196         /usr/bin/moc $(DEFINES) $(INCPATH) stringlistmodel.h -o moc_stringlistmodel.cpp
197
198 moc_measuredialog.cpp: measuredialog.h
199         /usr/bin/moc $(DEFINES) $(INCPATH) measuredialog.h -o moc_measuredialog.cpp
200
201 compiler_rcc_make_all:
202 compiler_rcc_clean:
203 compiler_image_collection_make_all: qmake_image_collection.cpp
204 compiler_image_collection_clean:
205         -$(DEL_FILE) qmake_image_collection.cpp
206 compiler_moc_source_make_all:
207 compiler_moc_source_clean:
208 compiler_uic_make_all: ui_carmainwindow.h ui_resultdialog.h ui_measuredialog.h
209 compiler_uic_clean:
210         -$(DEL_FILE) ui_carmainwindow.h ui_resultdialog.h ui_measuredialog.h
211 ui_carmainwindow.h: carmainwindow.ui
212         /usr/bin/uic carmainwindow.ui -o ui_carmainwindow.h
213
214 ui_resultdialog.h: resultdialog.ui
215         /usr/bin/uic resultdialog.ui -o ui_resultdialog.h
216
217 ui_measuredialog.h: measuredialog.ui
218         /usr/bin/uic measuredialog.ui -o ui_measuredialog.h
219
220 compiler_yacc_decl_make_all:
221 compiler_yacc_decl_clean:
222 compiler_yacc_impl_make_all:
223 compiler_yacc_impl_clean:
224 compiler_lex_make_all:
225 compiler_lex_clean:
226 compiler_clean: compiler_moc_header_clean compiler_uic_clean 
227
228 ####### Compile
229
230 main.o: main.cpp carmainwindow.h \
231                 resultdialog.h \
232                 measuredialog.h
233         $(CXX) -c $(CXXFLAGS) $(INCPATH) -o main.o main.cpp
234
235 carmainwindow.o: carmainwindow.cpp carmainwindow.h \
236                 resultdialog.h \
237                 measuredialog.h \
238                 ui_carmainwindow.h \
239                 stringlistmodel.h
240         $(CXX) -c $(CXXFLAGS) $(INCPATH) -o carmainwindow.o carmainwindow.cpp
241
242 resultdialog.o: resultdialog.cpp resultdialog.h \
243                 ui_resultdialog.h
244         $(CXX) -c $(CXXFLAGS) $(INCPATH) -o resultdialog.o resultdialog.cpp
245
246 stringlistmodel.o: stringlistmodel.cpp stringlistmodel.h
247         $(CXX) -c $(CXXFLAGS) $(INCPATH) -o stringlistmodel.o stringlistmodel.cpp
248
249 measuredialog.o: measuredialog.cpp measuredialog.h \
250                 ui_measuredialog.h
251         $(CXX) -c $(CXXFLAGS) $(INCPATH) -o measuredialog.o measuredialog.cpp
252
253 moc_carmainwindow.o: moc_carmainwindow.cpp 
254         $(CXX) -c $(CXXFLAGS) $(INCPATH) -o moc_carmainwindow.o moc_carmainwindow.cpp
255
256 moc_resultdialog.o: moc_resultdialog.cpp 
257         $(CXX) -c $(CXXFLAGS) $(INCPATH) -o moc_resultdialog.o moc_resultdialog.cpp
258
259 moc_stringlistmodel.o: moc_stringlistmodel.cpp 
260         $(CXX) -c $(CXXFLAGS) $(INCPATH) -o moc_stringlistmodel.o moc_stringlistmodel.cpp
261
262 moc_measuredialog.o: moc_measuredialog.cpp 
263         $(CXX) -c $(CXXFLAGS) $(INCPATH) -o moc_measuredialog.o moc_measuredialog.cpp
264
265 ####### Install
266
267 install:   FORCE
268
269 uninstall:   FORCE
270
271 FORCE:
272