1 #############################################################################
2 # Makefile for building: groove
3 # Generated by qmake (2.01a) (Qt 4.6.2) on: Fri Jun 25 06:09:19 2010
6 # Command: /usr/bin/qmake -unix -o Makefile Groove.pro
7 #############################################################################
9 ####### Compiler, tools and options
13 DEFINES = -DQT_GL_NO_SCISSOR_TEST -DQT_DEFAULT_TEXTURE_GLYPH_CACHE_WIDTH=1024 -DQT_NO_DEBUG -DQT_PHONON_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED
14 CFLAGS = -pipe -O3 -fno-omit-frame-pointer -fno-optimize-sibling-calls -Wall -W -D_REENTRANT $(DEFINES)
15 CXXFLAGS = -pipe -O3 -fno-omit-frame-pointer -fno-optimize-sibling-calls -Wall -W -D_REENTRANT $(DEFINES)
16 INCPATH = -I/targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/linux-g++-maemo5 -I. -I/targets/FREMANTLE_ARMEL/usr/include/QtCore -I/targets/FREMANTLE_ARMEL/usr/include/QtNetwork -I/targets/FREMANTLE_ARMEL/usr/include/QtGui -I/targets/FREMANTLE_ARMEL/usr/include/phonon -I/targets/FREMANTLE_ARMEL/usr/include -I. -I../qjson/src -I/usr/include/phonon_compat -I.
18 LFLAGS = -Wl,-rpath-link,/usr/lib -Wl,-O1 -Wl,--hash-style=gnu -Wl,-rpath,/usr/lib
19 LIBS = $(SUBLIBS) -L/usr/lib -L~/NokiaQtSDK/Maemo/4.6.2/sysroots/fremantle-arm-sysroot-1014-slim/usr/lib -lqjson -lphonon -L/usr/lib -L/usr/X11R6/lib -lQtGui -lQtNetwork -lQtDBus -lQtXml -lQtCore -lpthread
22 QMAKE = /usr/bin/qmake
30 INSTALL_FILE = install -m 644 -p
31 INSTALL_DIR = $(COPY_DIR)
32 INSTALL_PROGRAM = install -m 755 -p
37 CHK_DIR_EXISTS= test -d
40 ####### Output directory
53 grooveprogressbar.cpp \
54 qmaemo5rotator.cpp moc_groove.cpp \
59 moc_downloadmanager.cpp \
60 moc_grooveprogressbar.cpp \
61 moc_qmaemo5rotator.cpp \
77 moc_downloadmanager.o \
78 moc_grooveprogressbar.o \
79 moc_qmaemo5rotator.o \
81 DIST = /targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/common/unix.conf \
82 /targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/common/linux.conf \
83 /targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/qconfig.pri \
84 /targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/features/qt_functions.prf \
85 /targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/features/qt_config.prf \
86 /targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/features/exclusive_builds.prf \
87 /targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/features/default_pre.prf \
88 /targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/features/release.prf \
89 /targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/features/default_post.prf \
90 /targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/features/warn_on.prf \
91 /targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/features/qt.prf \
92 /targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/features/unix/thread.prf \
93 /targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/features/moc.prf \
94 /targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/features/resources.prf \
95 /targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/features/uic.prf \
96 /targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/features/yacc.prf \
97 /targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/features/lex.prf \
98 /targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/features/include_source_dir.prf \
100 QMAKE_TARGET = groove
105 ####### Implicit rules
107 .SUFFIXES: .o .c .cpp .cc .cxx .C
110 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o "$@" "$<"
113 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o "$@" "$<"
116 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o "$@" "$<"
119 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o "$@" "$<"
122 $(CC) -c $(CFLAGS) $(INCPATH) -o "$@" "$<"
126 all: Makefile $(TARGET)
128 $(TARGET): $(OBJECTS)
129 $(LINK) $(LFLAGS) -o $(TARGET) $(OBJECTS) $(OBJCOMP) $(LIBS)
131 Makefile: Groove.pro /targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/linux-g++-maemo5/qmake.conf /targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/common/unix.conf \
132 /targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/common/linux.conf \
133 /targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/qconfig.pri \
134 /targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/features/qt_functions.prf \
135 /targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/features/qt_config.prf \
136 /targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/features/exclusive_builds.prf \
137 /targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/features/default_pre.prf \
138 /targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/features/release.prf \
139 /targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/features/default_post.prf \
140 /targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/features/warn_on.prf \
141 /targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/features/qt.prf \
142 /targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/features/unix/thread.prf \
143 /targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/features/moc.prf \
144 /targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/features/resources.prf \
145 /targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/features/uic.prf \
146 /targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/features/yacc.prf \
147 /targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/features/lex.prf \
148 /targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/features/include_source_dir.prf \
149 /usr/lib/libphonon.prl \
150 /usr/lib/libQtDBus.prl \
151 /usr/lib/libQtXml.prl \
152 /usr/lib/libQtCore.prl \
153 /usr/lib/libQtGui.prl \
154 /usr/lib/libQtNetwork.prl
155 $(QMAKE) -unix -o Makefile Groove.pro
156 /targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/common/unix.conf:
157 /targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/common/linux.conf:
158 /targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/qconfig.pri:
159 /targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/features/qt_functions.prf:
160 /targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/features/qt_config.prf:
161 /targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/features/exclusive_builds.prf:
162 /targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/features/default_pre.prf:
163 /targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/features/release.prf:
164 /targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/features/default_post.prf:
165 /targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/features/warn_on.prf:
166 /targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/features/qt.prf:
167 /targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/features/unix/thread.prf:
168 /targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/features/moc.prf:
169 /targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/features/resources.prf:
170 /targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/features/uic.prf:
171 /targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/features/yacc.prf:
172 /targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/features/lex.prf:
173 /targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/features/include_source_dir.prf:
174 /usr/lib/libphonon.prl:
175 /usr/lib/libQtDBus.prl:
176 /usr/lib/libQtXml.prl:
177 /usr/lib/libQtCore.prl:
178 /usr/lib/libQtGui.prl:
179 /usr/lib/libQtNetwork.prl:
181 @$(QMAKE) -unix -o Makefile Groove.pro
184 @$(CHK_DIR_EXISTS) .tmp/groove1.0.0 || $(MKDIR) .tmp/groove1.0.0
185 $(COPY_FILE) --parents $(SOURCES) $(DIST) .tmp/groove1.0.0/ && $(COPY_FILE) --parents groove.h gscom.h splayer.h streamio.h playlist.h downloadmanager.h grooveprogressbar.h qmaemo5rotator.h .tmp/groove1.0.0/ && $(COPY_FILE) --parents reasource.qrc .tmp/groove1.0.0/ && $(COPY_FILE) --parents main.cpp groove.cpp gscom.cpp splayer.cpp streamio.cpp playlist.cpp downloadmanager.cpp grooveprogressbar.cpp qmaemo5rotator.cpp .tmp/groove1.0.0/ && (cd `dirname .tmp/groove1.0.0` && $(TAR) groove1.0.0.tar groove1.0.0 && $(COMPRESS) groove1.0.0.tar) && $(MOVE) `dirname .tmp/groove1.0.0`/groove1.0.0.tar.gz . && $(DEL_FILE) -r .tmp/groove1.0.0
189 -$(DEL_FILE) $(OBJECTS)
190 -$(DEL_FILE) *~ core *.core
193 ####### Sub-libraries
196 -$(DEL_FILE) $(TARGET)
197 -$(DEL_FILE) Makefile
200 mocclean: compiler_moc_header_clean compiler_moc_source_clean
202 mocables: compiler_moc_header_make_all compiler_moc_source_make_all
204 compiler_moc_header_make_all: moc_groove.cpp moc_gscom.cpp moc_splayer.cpp moc_streamio.cpp moc_playlist.cpp moc_downloadmanager.cpp moc_grooveprogressbar.cpp moc_qmaemo5rotator.cpp
205 compiler_moc_header_clean:
206 -$(DEL_FILE) moc_groove.cpp moc_gscom.cpp moc_splayer.cpp moc_streamio.cpp moc_playlist.cpp moc_downloadmanager.cpp moc_grooveprogressbar.cpp moc_qmaemo5rotator.cpp
207 moc_groove.cpp: gscom.h \
210 grooveprogressbar.h \
214 /usr/bin/moc $(DEFINES) $(INCPATH) groove.h -o moc_groove.cpp
216 moc_gscom.cpp: gscom.h
217 /usr/bin/moc $(DEFINES) $(INCPATH) gscom.h -o moc_gscom.cpp
219 moc_splayer.cpp: streamio.h \
221 grooveprogressbar.h \
226 /usr/bin/moc $(DEFINES) $(INCPATH) splayer.h -o moc_splayer.cpp
228 moc_streamio.cpp: splayer.h \
230 grooveprogressbar.h \
235 /usr/bin/moc $(DEFINES) $(INCPATH) streamio.h -o moc_streamio.cpp
237 moc_playlist.cpp: gscom.h \
239 /usr/bin/moc $(DEFINES) $(INCPATH) playlist.h -o moc_playlist.cpp
241 moc_downloadmanager.cpp: downloadmanager.h
242 /usr/bin/moc $(DEFINES) $(INCPATH) downloadmanager.h -o moc_downloadmanager.cpp
244 moc_grooveprogressbar.cpp: qmaemo5rotator.h \
246 /usr/bin/moc $(DEFINES) $(INCPATH) grooveprogressbar.h -o moc_grooveprogressbar.cpp
248 moc_qmaemo5rotator.cpp: qmaemo5rotator.h
249 /usr/bin/moc $(DEFINES) $(INCPATH) qmaemo5rotator.h -o moc_qmaemo5rotator.cpp
251 compiler_rcc_make_all: qrc_reasource.cpp
253 -$(DEL_FILE) qrc_reasource.cpp
254 qrc_reasource.cpp: reasource.qrc \
256 /usr/bin/rcc -name reasource reasource.qrc -o qrc_reasource.cpp
258 compiler_image_collection_make_all: qmake_image_collection.cpp
259 compiler_image_collection_clean:
260 -$(DEL_FILE) qmake_image_collection.cpp
261 compiler_moc_source_make_all:
262 compiler_moc_source_clean:
263 compiler_uic_make_all:
265 compiler_yacc_decl_make_all:
266 compiler_yacc_decl_clean:
267 compiler_yacc_impl_make_all:
268 compiler_yacc_impl_clean:
269 compiler_lex_make_all:
271 compiler_clean: compiler_moc_header_clean compiler_rcc_clean
275 main.o: main.cpp groove.h \
279 grooveprogressbar.h \
282 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o main.o main.cpp
284 groove.o: groove.cpp groove.h \
288 grooveprogressbar.h \
291 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o groove.o groove.cpp
293 gscom.o: gscom.cpp gscom.h
294 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o gscom.o gscom.cpp
296 splayer.o: splayer.cpp splayer.h \
298 grooveprogressbar.h \
302 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o splayer.o splayer.cpp
304 streamio.o: streamio.cpp streamio.h \
306 grooveprogressbar.h \
310 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o streamio.o streamio.cpp
312 playlist.o: playlist.cpp playlist.h \
314 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o playlist.o playlist.cpp
316 downloadmanager.o: downloadmanager.cpp downloadmanager.h
317 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o downloadmanager.o downloadmanager.cpp
319 grooveprogressbar.o: grooveprogressbar.cpp grooveprogressbar.h \
321 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o grooveprogressbar.o grooveprogressbar.cpp
323 qmaemo5rotator.o: qmaemo5rotator.cpp qmaemo5rotator.h
324 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o qmaemo5rotator.o qmaemo5rotator.cpp
326 moc_groove.o: moc_groove.cpp
327 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o moc_groove.o moc_groove.cpp
329 moc_gscom.o: moc_gscom.cpp
330 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o moc_gscom.o moc_gscom.cpp
332 moc_splayer.o: moc_splayer.cpp
333 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o moc_splayer.o moc_splayer.cpp
335 moc_streamio.o: moc_streamio.cpp
336 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o moc_streamio.o moc_streamio.cpp
338 moc_playlist.o: moc_playlist.cpp
339 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o moc_playlist.o moc_playlist.cpp
341 moc_downloadmanager.o: moc_downloadmanager.cpp
342 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o moc_downloadmanager.o moc_downloadmanager.cpp
344 moc_grooveprogressbar.o: moc_grooveprogressbar.cpp
345 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o moc_grooveprogressbar.o moc_grooveprogressbar.cpp
347 moc_qmaemo5rotator.o: moc_qmaemo5rotator.cpp
348 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o moc_qmaemo5rotator.o moc_qmaemo5rotator.cpp
350 qrc_reasource.o: qrc_reasource.cpp
351 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o qrc_reasource.o qrc_reasource.cpp
355 install_target: first FORCE
356 @$(CHK_DIR_EXISTS) $(INSTALL_ROOT)/usr/bin/ || $(MKDIR) $(INSTALL_ROOT)/usr/bin/
357 -$(INSTALL_PROGRAM) "$(QMAKE_TARGET)" "$(INSTALL_ROOT)/usr/bin/$(QMAKE_TARGET)"
358 -$(STRIP) "$(INSTALL_ROOT)/usr/bin/$(QMAKE_TARGET)"
360 uninstall_target: FORCE
361 -$(DEL_FILE) "$(INSTALL_ROOT)/usr/bin/$(QMAKE_TARGET)"
362 -$(DEL_DIR) $(INSTALL_ROOT)/usr/bin/
365 install: install_target FORCE
367 uninstall: uninstall_target FORCE