216
|
1 |
# ==============================================================================
|
|
2 |
# Generated by qmake (2.01a) (Qt 4.6.3) on: fr 20. aug 17:41:52 2010
|
|
3 |
# This file is generated by qmake and should not be modified by the
|
|
4 |
# user.
|
|
5 |
# Name : Makefile
|
|
6 |
# Description : Wrapper Makefile for calling Symbian build tools
|
|
7 |
#
|
|
8 |
# ==============================================================================
|
|
9 |
|
|
10 |
|
|
11 |
MAKEFILE = Makefile
|
|
12 |
QMAKE = c:\Qt\4.6.3\bin\qmake.exe
|
|
13 |
DEL_FILE = del
|
|
14 |
DEL_DIR = rmdir
|
|
15 |
MOVE = move
|
|
16 |
CHK_DIR_EXISTS = if not exist
|
|
17 |
MKDIR = mkdir
|
|
18 |
XCOPY = xcopy /d /f /h /r /y /i
|
|
19 |
ABLD = ABLD.BAT
|
|
20 |
DEBUG_PLATFORMS = winscw gcce armv5 armv6
|
|
21 |
RELEASE_PLATFORMS = gcce armv5 armv6
|
|
22 |
MAKE = make
|
|
23 |
|
|
24 |
ifeq (WINS,$(findstring WINS, $(PLATFORM)))
|
|
25 |
ZDIR=$(EPOCROOT)epoc32\release\$(PLATFORM)\$(CFG)\Z
|
|
26 |
else
|
|
27 |
ZDIR=$(EPOCROOT)epoc32\data\z
|
|
28 |
endif
|
|
29 |
|
|
30 |
DEFINES = -DSYMBIAN -DUNICODE -DQT_KEYPAD_NAVIGATION -DQT_SOFTKEYS_ENABLED -DQT_USE_MATH_H_FLOATS -DQT_GUI_LIB -DQT_CORE_LIB
|
|
31 |
INCPATH = -I"C:/Qt/4.6.3/include/QtCore" -I"C:/Qt/4.6.3/include/QtCore/tmp" -I"C:/Qt/4.6.3/include/QtGui" -I"C:/Qt/4.6.3/include/QtGui/tmp" -I"C:/Qt/4.6.3/include" -I"C:/Qt/4.6.3/include/tmp" -I"C:/Qt/4.6.3/mkspecs/common/symbian" -I"C:/Qt/4.6.3/mkspecs/common/symbian/tmp" -I"C:/S605th/symbian3/Nokia_Symbian3_SDK_v0.8/epoc32/include" -I"C:/S605th/symbian3/Nokia_Symbian3_SDK_v0.8/epoc32/include/stdapis" -I"C:/S605th/symbian3/Nokia_Symbian3_SDK_v0.8/epoc32/include/stdapis/sys" -I"C:/S605th/symbian3/Nokia_Symbian3_SDK_v0.8/epoc32/include/stdapis/stlportv5" -I"C:/S605th/symbian3/Nokia_Symbian3_SDK_v0.8/epoc32/include/mw" -I"C:/S605th/symbian3/Nokia_Symbian3_SDK_v0.8/epoc32/include/platform/mw" -I"C:/S605th/symbian3/Nokia_Symbian3_SDK_v0.8/epoc32/include/platform" -I"C:/S605th/symbian3/Nokia_Symbian3_SDK_v0.8/epoc32/include/platform/loc" -I"C:/S605th/symbian3/Nokia_Symbian3_SDK_v0.8/epoc32/include/platform/mw/loc" -I"C:/S605th/symbian3/Nokia_Symbian3_SDK_v0.8/epoc32/include/platform/loc/sc" -I"C:/S605th/symbian3/Nokia_Symbian3_SDK_v0.8/epoc32/include/platform/mw/loc/sc" -I"C:/hg/podcatcher_fcl/podcatcher_qt" -I"C:/hg/podcatcher_fcl/podcatcher_qt/tmp"
|
|
32 |
first: default
|
|
33 |
default: debug-winscw
|
|
34 |
all: debug release
|
|
35 |
|
|
36 |
qmake:
|
|
37 |
$(QMAKE) -spec symbian-abld -o "bld.inf" "C:/hg/podcatcher_fcl/podcatcher_qt/podcatcher_qt.pro"
|
|
38 |
|
|
39 |
bld.inf:
|
|
40 |
$(QMAKE)
|
|
41 |
|
|
42 |
$(ABLD): bld.inf
|
|
43 |
bldmake bldfiles
|
|
44 |
|
|
45 |
debug: $(ABLD)
|
|
46 |
$(ABLD) build winscw udeb
|
|
47 |
$(ABLD) build gcce udeb
|
|
48 |
$(ABLD) build armv5 udeb
|
|
49 |
$(ABLD) build armv6 udeb
|
|
50 |
|
|
51 |
release: $(ABLD)
|
|
52 |
$(ABLD) build gcce urel
|
|
53 |
$(ABLD) build armv5 urel
|
|
54 |
$(ABLD) build armv6 urel
|
|
55 |
|
|
56 |
debug-winscw: $(ABLD)
|
|
57 |
$(ABLD) build winscw udeb
|
|
58 |
debug-gcce: $(ABLD)
|
|
59 |
$(ABLD) build gcce udeb
|
|
60 |
debug-armv5: $(ABLD)
|
|
61 |
$(ABLD) build armv5 udeb
|
|
62 |
debug-armv6: $(ABLD)
|
|
63 |
$(ABLD) build armv6 udeb
|
|
64 |
release-gcce: $(ABLD)
|
|
65 |
$(ABLD) build gcce urel
|
|
66 |
release-armv5: $(ABLD)
|
|
67 |
$(ABLD) build armv5 urel
|
|
68 |
release-armv6: $(ABLD)
|
|
69 |
$(ABLD) build armv6 urel
|
|
70 |
|
|
71 |
export: $(ABLD)
|
|
72 |
$(ABLD) export
|
|
73 |
|
|
74 |
cleanexport: $(ABLD)
|
|
75 |
$(ABLD) cleanexport
|
|
76 |
|
|
77 |
check: first
|
|
78 |
|
|
79 |
mocclean: compiler_moc_header_clean compiler_moc_source_clean
|
|
80 |
|
|
81 |
mocables: compiler_moc_header_make_all compiler_moc_source_make_all
|
|
82 |
|
|
83 |
compiler_moc_header_make_all: moc_podcatcherwin.cpp
|
|
84 |
compiler_moc_header_clean:
|
|
85 |
-$(DEL_FILE) moc_podcatcherwin.cpp 2> NUL
|
|
86 |
moc_podcatcherwin.cpp: podcatcherwin.h
|
|
87 |
C:\Qt\4.6.3\bin\moc.exe $(DEFINES) $(INCPATH) -DSYMBIAN podcatcherwin.h -o moc_podcatcherwin.cpp
|
|
88 |
|
|
89 |
compiler_rcc_make_all:
|
|
90 |
compiler_rcc_clean:
|
|
91 |
compiler_image_collection_make_all: qmake_image_collection.cpp
|
|
92 |
compiler_image_collection_clean:
|
|
93 |
-$(DEL_FILE) qmake_image_collection.cpp 2> NUL
|
|
94 |
compiler_moc_source_make_all:
|
|
95 |
compiler_moc_source_clean:
|
|
96 |
compiler_uic_make_all: ui_podcatcherwin.h
|
|
97 |
compiler_uic_clean:
|
|
98 |
-$(DEL_FILE) ui_podcatcherwin.h 2> NUL
|
|
99 |
ui_podcatcherwin.h: podcatcherwin.ui
|
|
100 |
c:\Qt\4.6.3\bin\uic.exe podcatcherwin.ui -o ui_podcatcherwin.h
|
|
101 |
|
|
102 |
compiler_yacc_decl_make_all:
|
|
103 |
compiler_yacc_decl_clean:
|
|
104 |
compiler_yacc_impl_make_all:
|
|
105 |
compiler_yacc_impl_clean:
|
|
106 |
compiler_lex_make_all:
|
|
107 |
compiler_lex_clean:
|
|
108 |
compiler_clean: compiler_moc_header_clean compiler_uic_clean
|
|
109 |
|
|
110 |
create_temps:
|
|
111 |
-@ if NOT EXIST "C:\Qt\4.6.3\include\QtCore\tmp" mkdir "C:\Qt\4.6.3\include\QtCore\tmp"
|
|
112 |
-@ if NOT EXIST "C:\Qt\4.6.3\include\QtGui\tmp" mkdir "C:\Qt\4.6.3\include\QtGui\tmp"
|
|
113 |
-@ if NOT EXIST "C:\Qt\4.6.3\include\tmp" mkdir "C:\Qt\4.6.3\include\tmp"
|
|
114 |
-@ if NOT EXIST "C:\Qt\4.6.3\mkspecs\common\symbian\tmp" mkdir "C:\Qt\4.6.3\mkspecs\common\symbian\tmp"
|
|
115 |
-@ if NOT EXIST "C:\hg\podcatcher_fcl\podcatcher_qt\tmp" mkdir "C:\hg\podcatcher_fcl\podcatcher_qt\tmp"
|
|
116 |
|
|
117 |
extension_clean: compiler_clean
|
|
118 |
-@ if EXIST "C:\Qt\4.6.3\include\QtCore\tmp" rmdir /S /Q "C:\Qt\4.6.3\include\QtCore\tmp"
|
|
119 |
-@ if EXIST "C:\Qt\4.6.3\include\QtGui\tmp" rmdir /S /Q "C:\Qt\4.6.3\include\QtGui\tmp"
|
|
120 |
-@ if EXIST "C:\Qt\4.6.3\include\tmp" rmdir /S /Q "C:\Qt\4.6.3\include\tmp"
|
|
121 |
-@ if EXIST "C:\Qt\4.6.3\mkspecs\common\symbian\tmp" rmdir /S /Q "C:\Qt\4.6.3\mkspecs\common\symbian\tmp"
|
|
122 |
-@ if EXIST "C:\hg\podcatcher_fcl\podcatcher_qt\tmp" rmdir /S /Q "C:\hg\podcatcher_fcl\podcatcher_qt\tmp"
|
|
123 |
|
|
124 |
pre_targetdeps: \
|
|
125 |
generated_sources \
|
|
126 |
all_source_deps \
|
|
127 |
ui_podcatcherwin.h
|
|
128 |
|
|
129 |
generated_sources: \
|
|
130 |
moc_podcatcherwin.cpp
|
|
131 |
|
|
132 |
all_source_deps: \
|
|
133 |
podcatcherwin.h \
|
|
134 |
ui_podcatcherwin.h
|
|
135 |
|
|
136 |
finalize:
|
|
137 |
|
|
138 |
winscw_deployment:
|
|
139 |
|
|
140 |
winscw_deployment_clean:
|
|
141 |
|
|
142 |
deployment:
|
|
143 |
|
|
144 |
deployment_clean:
|
|
145 |
|
|
146 |
-include .make.cache
|
|
147 |
|
|
148 |
sis:
|
|
149 |
$(if $(wildcard podcatcher_qt_template.pkg),$(if $(wildcard .make.cache),$(MAKE) -s -f $(MAKEFILE) ok_sis,$(if $(QT_SIS_TARGET),$(MAKE) -s -f $(MAKEFILE) ok_sis,$(MAKE) -s -f $(MAKEFILE) fail_sis_nocache)),$(MAKE) -s -f $(MAKEFILE) fail_sis_nopkg)
|
|
150 |
|
|
151 |
ok_sis:
|
|
152 |
createpackage.bat $(QT_SIS_OPTIONS) podcatcher_qt_template.pkg $(QT_SIS_TARGET) $(QT_SIS_CERTIFICATE) $(QT_SIS_KEY) $(QT_SIS_PASSPHRASE)
|
|
153 |
|
|
154 |
podcatcher_qt.sis:
|
|
155 |
$(MAKE) -s -f $(MAKEFILE) sis
|
|
156 |
|
|
157 |
stub_sis:
|
|
158 |
$(if $(wildcard podcatcher_qt_template.pkg),$(if $(wildcard .make.cache),$(MAKE) -s -f $(MAKEFILE) ok_stub_sis,$(if $(QT_SIS_TARGET),$(MAKE) -s -f $(MAKEFILE) ok_stub_sis,$(MAKE) -s -f $(MAKEFILE) fail_sis_nocache)),$(MAKE) -s -f $(MAKEFILE) fail_sis_nopkg)
|
|
159 |
|
|
160 |
ok_stub_sis:
|
|
161 |
createpackage.bat -s $(QT_SIS_OPTIONS) podcatcher_qt_template.pkg $(QT_SIS_TARGET) $(QT_SIS_CERTIFICATE) $(QT_SIS_KEY) $(QT_SIS_PASSPHRASE)
|
|
162 |
|
|
163 |
installer_sis: podcatcher_qt.sis
|
|
164 |
$(if $(wildcard podcatcher_qt_installer.pkg),$(MAKE) -s -f $(MAKEFILE) ok_installer_sis,$(MAKE) -s -f $(MAKEFILE) fail_sis_nopkg)
|
|
165 |
|
|
166 |
ok_installer_sis:
|
|
167 |
createpackage.bat $(QT_SIS_OPTIONS) podcatcher_qt_installer.pkg - $(QT_SIS_CERTIFICATE) $(QT_SIS_KEY) $(QT_SIS_PASSPHRASE)
|
|
168 |
|
|
169 |
fail_sis_nopkg:
|
|
170 |
$(error PKG file does not exist, 'sis' and 'installer_sis' target are only supported for executables or projects with DEPLOYMENT statement)
|
|
171 |
|
|
172 |
fail_sis_nocache:
|
|
173 |
$(error Project has to be built or QT_SIS_TARGET environment variable has to be set before calling 'SIS' target)
|
|
174 |
|
|
175 |
store_build:
|
|
176 |
@echo # ============================================================================== > .make.cache
|
|
177 |
@echo # This file is generated by make and should not be modified by the user >> .make.cache
|
|
178 |
@echo # Name : .make.cache >> .make.cache
|
|
179 |
@echo # Part of : podcatcher_qt >> .make.cache
|
|
180 |
@echo # Description : This file is used to cache last build target for >> .make.cache
|
|
181 |
@echo # make sis target. >> .make.cache
|
|
182 |
@echo # Version : >> .make.cache
|
|
183 |
@echo # >> .make.cache
|
|
184 |
@echo # ============================================================================== >> .make.cache
|
|
185 |
@echo. >> .make.cache
|
|
186 |
@echo QT_SIS_TARGET ?= $(QT_SIS_TARGET) >> .make.cache
|
|
187 |
|
|
188 |
dodistclean:
|
|
189 |
-@ if EXIST "c:\hg\podcatcher_fcl\podcatcher_qt\podcatcher_qt_template.pkg" $(DEL_FILE) "c:\hg\podcatcher_fcl\podcatcher_qt\podcatcher_qt_template.pkg"
|
|
190 |
-@ if EXIST "c:\hg\podcatcher_fcl\podcatcher_qt\podcatcher_qt_installer.pkg" $(DEL_FILE) "c:\hg\podcatcher_fcl\podcatcher_qt\podcatcher_qt_installer.pkg"
|
|
191 |
-@ if EXIST "c:\hg\podcatcher_fcl\podcatcher_qt\Makefile" $(DEL_FILE) "c:\hg\podcatcher_fcl\podcatcher_qt\Makefile"
|
|
192 |
-@ if EXIST "c:\hg\podcatcher_fcl\podcatcher_qt\Makefile_0xe905eb0b.mk" $(DEL_FILE) "c:\hg\podcatcher_fcl\podcatcher_qt\Makefile_0xe905eb0b.mk"
|
|
193 |
-@ if EXIST "c:\hg\podcatcher_fcl\podcatcher_qt\podcatcher_qt_0xe905eb0b.mmp" $(DEL_FILE) "c:\hg\podcatcher_fcl\podcatcher_qt\podcatcher_qt_0xe905eb0b.mmp"
|
|
194 |
-@ if EXIST "c:\hg\podcatcher_fcl\podcatcher_qt\podcatcher_qt_reg.rss" $(DEL_FILE) "c:\hg\podcatcher_fcl\podcatcher_qt\podcatcher_qt_reg.rss"
|
|
195 |
-@ if EXIST "c:\hg\podcatcher_fcl\podcatcher_qt\podcatcher_qt.rss" $(DEL_FILE) "c:\hg\podcatcher_fcl\podcatcher_qt\podcatcher_qt.rss"
|
|
196 |
-@ if EXIST "c:\hg\podcatcher_fcl\podcatcher_qt\podcatcher_qt.loc" $(DEL_FILE) "c:\hg\podcatcher_fcl\podcatcher_qt\podcatcher_qt.loc"
|
|
197 |
-@ if EXIST "c:\hg\podcatcher_fcl\podcatcher_qt\.make.cache" $(DEL_FILE) "c:\hg\podcatcher_fcl\podcatcher_qt\.make.cache"
|
|
198 |
-@ if EXIST "c:\hg\podcatcher_fcl\podcatcher_qt\bld.inf" $(DEL_FILE) "c:\hg\podcatcher_fcl\podcatcher_qt\bld.inf"
|
|
199 |
|
|
200 |
distclean: clean dodistclean
|
|
201 |
|
|
202 |
clean: $(ABLD)
|
|
203 |
-$(ABLD) reallyclean
|
|
204 |
-bldmake clean
|
|
205 |
|
|
206 |
clean-debug: $(ABLD)
|
|
207 |
$(ABLD) reallyclean winscw udeb
|
|
208 |
$(ABLD) reallyclean gcce udeb
|
|
209 |
$(ABLD) reallyclean armv5 udeb
|
|
210 |
$(ABLD) reallyclean armv6 udeb
|
|
211 |
|
|
212 |
clean-release: $(ABLD)
|
|
213 |
$(ABLD) reallyclean gcce urel
|
|
214 |
$(ABLD) reallyclean armv5 urel
|
|
215 |
$(ABLD) reallyclean armv6 urel
|
|
216 |
|
|
217 |
clean-debug-winscw: $(ABLD)
|
|
218 |
$(ABLD) reallyclean winscw udeb
|
|
219 |
clean-debug-gcce: $(ABLD)
|
|
220 |
$(ABLD) reallyclean gcce udeb
|
|
221 |
clean-debug-armv5: $(ABLD)
|
|
222 |
$(ABLD) reallyclean armv5 udeb
|
|
223 |
clean-debug-armv6: $(ABLD)
|
|
224 |
$(ABLD) reallyclean armv6 udeb
|
|
225 |
clean-release-gcce: $(ABLD)
|
|
226 |
$(ABLD) reallyclean gcce urel
|
|
227 |
clean-release-armv5: $(ABLD)
|
|
228 |
$(ABLD) reallyclean armv5 urel
|
|
229 |
clean-release-armv6: $(ABLD)
|
|
230 |
$(ABLD) reallyclean armv6 urel
|
|
231 |
|
|
232 |
run:
|
|
233 |
-call /S605th/symbian3/Nokia_Symbian3_SDK_v0.8/epoc32/release/winscw/udeb/podcatcher_qt.exe $(QT_RUN_OPTIONS)
|
|
234 |
runonphone: sis
|
|
235 |
runonphone $(QT_RUN_ON_PHONE_OPTIONS) --sis podcatcher_qt.sis podcatcher_qt.exe $(QT_RUN_OPTIONS)
|
|
236 |
|