attempt fix for autobuilder
[groove] / Makefile
1 #############################################################################
2 # Makefile for building: groove
3 # Generated by qmake (2.01a) (Qt 4.6.2) on: Fri Jun 25 06:09:19 2010
4 # Project:  Groove.pro
5 # Template: app
6 # Command: /usr/bin/qmake -unix -o Makefile Groove.pro
7 #############################################################################
8
9 ####### Compiler, tools and options
10
11 CC            = gcc
12 CXX           = g++
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.
17 LINK          = g++
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 
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 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                 groove.cpp \
48                 gscom.cpp \
49                 splayer.cpp \
50                 streamio.cpp \
51                 playlist.cpp \
52                 downloadmanager.cpp \
53                 grooveprogressbar.cpp \
54                 qmaemo5rotator.cpp moc_groove.cpp \
55                 moc_gscom.cpp \
56                 moc_splayer.cpp \
57                 moc_streamio.cpp \
58                 moc_playlist.cpp \
59                 moc_downloadmanager.cpp \
60                 moc_grooveprogressbar.cpp \
61                 moc_qmaemo5rotator.cpp \
62                 qrc_reasource.cpp
63 OBJECTS       = main.o \
64                 groove.o \
65                 gscom.o \
66                 splayer.o \
67                 streamio.o \
68                 playlist.o \
69                 downloadmanager.o \
70                 grooveprogressbar.o \
71                 qmaemo5rotator.o \
72                 moc_groove.o \
73                 moc_gscom.o \
74                 moc_splayer.o \
75                 moc_streamio.o \
76                 moc_playlist.o \
77                 moc_downloadmanager.o \
78                 moc_grooveprogressbar.o \
79                 moc_qmaemo5rotator.o \
80                 qrc_reasource.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 \
99                 Groove.pro
100 QMAKE_TARGET  = groove
101 DESTDIR       = 
102 TARGET        = groove
103
104 first: all
105 ####### Implicit rules
106
107 .SUFFIXES: .o .c .cpp .cc .cxx .C
108
109 .cpp.o:
110         $(CXX) -c $(CXXFLAGS) $(INCPATH) -o "$@" "$<"
111
112 .cc.o:
113         $(CXX) -c $(CXXFLAGS) $(INCPATH) -o "$@" "$<"
114
115 .cxx.o:
116         $(CXX) -c $(CXXFLAGS) $(INCPATH) -o "$@" "$<"
117
118 .C.o:
119         $(CXX) -c $(CXXFLAGS) $(INCPATH) -o "$@" "$<"
120
121 .c.o:
122         $(CC) -c $(CFLAGS) $(INCPATH) -o "$@" "$<"
123
124 ####### Build rules
125
126 all: Makefile $(TARGET)
127
128 $(TARGET):  $(OBJECTS)  
129         $(LINK) $(LFLAGS) -o $(TARGET) $(OBJECTS) $(OBJCOMP) $(LIBS)
130
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:
180 qmake:  FORCE
181         @$(QMAKE) -unix -o Makefile Groove.pro
182
183 dist: 
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
186
187
188 clean:compiler_clean 
189         -$(DEL_FILE) $(OBJECTS)
190         -$(DEL_FILE) *~ core *.core
191
192
193 ####### Sub-libraries
194
195 distclean: clean
196         -$(DEL_FILE) $(TARGET) 
197         -$(DEL_FILE) Makefile
198
199
200 mocclean: compiler_moc_header_clean compiler_moc_source_clean
201
202 mocables: compiler_moc_header_make_all compiler_moc_source_make_all
203
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 \
208                 splayer.h \
209                 streamio.h \
210                 grooveprogressbar.h \
211                 qmaemo5rotator.h \
212                 playlist.h \
213                 groove.h
214         /usr/bin/moc $(DEFINES) $(INCPATH) groove.h -o moc_groove.cpp
215
216 moc_gscom.cpp: gscom.h
217         /usr/bin/moc $(DEFINES) $(INCPATH) gscom.h -o moc_gscom.cpp
218
219 moc_splayer.cpp: streamio.h \
220                 splayer.h \
221                 grooveprogressbar.h \
222                 qmaemo5rotator.h \
223                 playlist.h \
224                 gscom.h \
225                 splayer.h
226         /usr/bin/moc $(DEFINES) $(INCPATH) splayer.h -o moc_splayer.cpp
227
228 moc_streamio.cpp: splayer.h \
229                 streamio.h \
230                 grooveprogressbar.h \
231                 qmaemo5rotator.h \
232                 playlist.h \
233                 gscom.h \
234                 streamio.h
235         /usr/bin/moc $(DEFINES) $(INCPATH) streamio.h -o moc_streamio.cpp
236
237 moc_playlist.cpp: gscom.h \
238                 playlist.h
239         /usr/bin/moc $(DEFINES) $(INCPATH) playlist.h -o moc_playlist.cpp
240
241 moc_downloadmanager.cpp: downloadmanager.h
242         /usr/bin/moc $(DEFINES) $(INCPATH) downloadmanager.h -o moc_downloadmanager.cpp
243
244 moc_grooveprogressbar.cpp: qmaemo5rotator.h \
245                 grooveprogressbar.h
246         /usr/bin/moc $(DEFINES) $(INCPATH) grooveprogressbar.h -o moc_grooveprogressbar.cpp
247
248 moc_qmaemo5rotator.cpp: qmaemo5rotator.h
249         /usr/bin/moc $(DEFINES) $(INCPATH) qmaemo5rotator.h -o moc_qmaemo5rotator.cpp
250
251 compiler_rcc_make_all: qrc_reasource.cpp
252 compiler_rcc_clean:
253         -$(DEL_FILE) qrc_reasource.cpp
254 qrc_reasource.cpp: reasource.qrc \
255                 icon.svg
256         /usr/bin/rcc -name reasource reasource.qrc -o qrc_reasource.cpp
257
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:
264 compiler_uic_clean:
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:
270 compiler_lex_clean:
271 compiler_clean: compiler_moc_header_clean compiler_rcc_clean 
272
273 ####### Compile
274
275 main.o: main.cpp groove.h \
276                 gscom.h \
277                 splayer.h \
278                 streamio.h \
279                 grooveprogressbar.h \
280                 qmaemo5rotator.h \
281                 playlist.h
282         $(CXX) -c $(CXXFLAGS) $(INCPATH) -o main.o main.cpp
283
284 groove.o: groove.cpp groove.h \
285                 gscom.h \
286                 splayer.h \
287                 streamio.h \
288                 grooveprogressbar.h \
289                 qmaemo5rotator.h \
290                 playlist.h
291         $(CXX) -c $(CXXFLAGS) $(INCPATH) -o groove.o groove.cpp
292
293 gscom.o: gscom.cpp gscom.h
294         $(CXX) -c $(CXXFLAGS) $(INCPATH) -o gscom.o gscom.cpp
295
296 splayer.o: splayer.cpp splayer.h \
297                 streamio.h \
298                 grooveprogressbar.h \
299                 qmaemo5rotator.h \
300                 playlist.h \
301                 gscom.h
302         $(CXX) -c $(CXXFLAGS) $(INCPATH) -o splayer.o splayer.cpp
303
304 streamio.o: streamio.cpp streamio.h \
305                 splayer.h \
306                 grooveprogressbar.h \
307                 qmaemo5rotator.h \
308                 playlist.h \
309                 gscom.h
310         $(CXX) -c $(CXXFLAGS) $(INCPATH) -o streamio.o streamio.cpp
311
312 playlist.o: playlist.cpp playlist.h \
313                 gscom.h
314         $(CXX) -c $(CXXFLAGS) $(INCPATH) -o playlist.o playlist.cpp
315
316 downloadmanager.o: downloadmanager.cpp downloadmanager.h
317         $(CXX) -c $(CXXFLAGS) $(INCPATH) -o downloadmanager.o downloadmanager.cpp
318
319 grooveprogressbar.o: grooveprogressbar.cpp grooveprogressbar.h \
320                 qmaemo5rotator.h
321         $(CXX) -c $(CXXFLAGS) $(INCPATH) -o grooveprogressbar.o grooveprogressbar.cpp
322
323 qmaemo5rotator.o: qmaemo5rotator.cpp qmaemo5rotator.h
324         $(CXX) -c $(CXXFLAGS) $(INCPATH) -o qmaemo5rotator.o qmaemo5rotator.cpp
325
326 moc_groove.o: moc_groove.cpp 
327         $(CXX) -c $(CXXFLAGS) $(INCPATH) -o moc_groove.o moc_groove.cpp
328
329 moc_gscom.o: moc_gscom.cpp 
330         $(CXX) -c $(CXXFLAGS) $(INCPATH) -o moc_gscom.o moc_gscom.cpp
331
332 moc_splayer.o: moc_splayer.cpp 
333         $(CXX) -c $(CXXFLAGS) $(INCPATH) -o moc_splayer.o moc_splayer.cpp
334
335 moc_streamio.o: moc_streamio.cpp 
336         $(CXX) -c $(CXXFLAGS) $(INCPATH) -o moc_streamio.o moc_streamio.cpp
337
338 moc_playlist.o: moc_playlist.cpp 
339         $(CXX) -c $(CXXFLAGS) $(INCPATH) -o moc_playlist.o moc_playlist.cpp
340
341 moc_downloadmanager.o: moc_downloadmanager.cpp 
342         $(CXX) -c $(CXXFLAGS) $(INCPATH) -o moc_downloadmanager.o moc_downloadmanager.cpp
343
344 moc_grooveprogressbar.o: moc_grooveprogressbar.cpp 
345         $(CXX) -c $(CXXFLAGS) $(INCPATH) -o moc_grooveprogressbar.o moc_grooveprogressbar.cpp
346
347 moc_qmaemo5rotator.o: moc_qmaemo5rotator.cpp 
348         $(CXX) -c $(CXXFLAGS) $(INCPATH) -o moc_qmaemo5rotator.o moc_qmaemo5rotator.cpp
349
350 qrc_reasource.o: qrc_reasource.cpp 
351         $(CXX) -c $(CXXFLAGS) $(INCPATH) -o qrc_reasource.o qrc_reasource.cpp
352
353 ####### Install
354
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)"
359
360 uninstall_target:  FORCE
361         -$(DEL_FILE) "$(INSTALL_ROOT)/usr/bin/$(QMAKE_TARGET)"
362         -$(DEL_DIR) $(INSTALL_ROOT)/usr/bin/ 
363
364
365 install:  install_target  FORCE
366
367 uninstall: uninstall_target   FORCE
368
369 FORCE:
370