|
1 # ============================================================================== |
|
2 # Generated by qmake (2.01a) (Qt 4.6.3) on: Wed Jul 21 14:16:31 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 = x:\epoc32\tools\qt\qmake |
|
13 DEL_FILE = del |
|
14 DEL_DIR = rmdir |
|
15 CHK_DIR_EXISTS = if not exist |
|
16 MKDIR = mkdir |
|
17 MOVE = move |
|
18 DEBUG_PLATFORMS = winscw gcce armv5 armv6 |
|
19 RELEASE_PLATFORMS = gcce armv5 armv6 |
|
20 MAKE = make |
|
21 SBS = sbs |
|
22 |
|
23 DEFINES = -DSYMBIAN -DUNICODE -DQT_KEYPAD_NAVIGATION -DQT_SOFTKEYS_ENABLED -DQT_USE_MATH_H_FLOATS -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB |
|
24 INCPATH = -I"X:/epoc32/include/mw/QtCore" -I"X:/epoc32/include/mw/QtNetwork" -I"X:/epoc32/include/mw/QtGui" -I"X:/epoc32/include/mw" -I"X:/sf/mw/qt/mkspecs/common/symbian" -I"X:/epoc32/include" -I"X:/epoc32/include/stdapis" -I"X:/epoc32/include/stdapis/sys" -I"X:/epoc32/include/platform/mw" -I"X:/epoc32/include/platform" -I"X:/epoc32/include/app" -I"X:/epoc32/include/platform/app" -I"X:/epoc32/include/platform/loc" -I"X:/epoc32/include/platform/mw/loc" -I"X:/epoc32/include/platform/app/loc" -I"X:/epoc32/include/platform/loc/sc" -I"X:/epoc32/include/platform/mw/loc/sc" -I"X:/epoc32/include/platform/app/loc/sc" -I"X:/epoc32/include/stdapis/stlportv5" -I"X:/zeroconfsharing" |
|
25 first: default |
|
26 default: debug-winscw |
|
27 all: debug release |
|
28 |
|
29 qmake: |
|
30 $(QMAKE) -spec symbian-sbsv2 -o "bld.inf" "X:/zeroconfsharing/zeroconfsharing.pro" |
|
31 |
|
32 bld.inf: |
|
33 $(QMAKE) |
|
34 |
|
35 debug: bld.inf |
|
36 $(SBS) -c winscw_udeb.mwccinc -c gcce_udeb -c armv5_udeb -c armv6_udeb |
|
37 release: bld.inf |
|
38 $(SBS) -c gcce_urel -c armv5_urel -c armv6_urel |
|
39 debug-winscw: bld.inf |
|
40 $(SBS) -c winscw_udeb.mwccinc |
|
41 debug-gcce: bld.inf |
|
42 $(SBS) -c gcce_udeb |
|
43 debug-armv5: bld.inf |
|
44 $(SBS) -c armv5_udeb |
|
45 debug-armv6: bld.inf |
|
46 $(SBS) -c armv6_udeb |
|
47 release-gcce: bld.inf |
|
48 $(SBS) -c gcce_urel |
|
49 release-armv5: bld.inf |
|
50 $(SBS) -c armv5_urel |
|
51 release-armv6: bld.inf |
|
52 $(SBS) -c armv6_urel |
|
53 |
|
54 export: bld.inf |
|
55 $(SBS) export |
|
56 |
|
57 cleanexport: bld.inf |
|
58 $(SBS) cleanexport |
|
59 |
|
60 check: first |
|
61 |
|
62 mocclean: compiler_moc_header_clean compiler_moc_source_clean |
|
63 |
|
64 mocables: compiler_moc_header_make_all compiler_moc_source_make_all |
|
65 |
|
66 compiler_moc_header_make_all: moc_zeroconfsharing.cpp moc_downloadicon.cpp |
|
67 compiler_moc_header_clean: |
|
68 -$(DEL_FILE) moc_zeroconfsharing.cpp moc_downloadicon.cpp 2> NUL |
|
69 moc_zeroconfsharing.cpp: ui_mainwindow.h \ |
|
70 zeroconfclient.h \ |
|
71 musicprovider.h \ |
|
72 zeroconfsharing.h |
|
73 /epoc32/tools/qt/moc $(DEFINES) $(INCPATH) -DSYMBIAN x:\zeroconfsharing\zeroconfsharing.h -o x:\zeroconfsharing\moc_zeroconfsharing.cpp |
|
74 |
|
75 moc_downloadicon.cpp: ui_mainwindow.h \ |
|
76 downloadicon.h |
|
77 /epoc32/tools/qt/moc $(DEFINES) $(INCPATH) -DSYMBIAN x:\zeroconfsharing\downloadicon.h -o x:\zeroconfsharing\moc_downloadicon.cpp |
|
78 |
|
79 compiler_rcc_make_all: qrc_TabIcon.cpp |
|
80 compiler_rcc_clean: |
|
81 -$(DEL_FILE) qrc_TabIcon.cpp 2> NUL |
|
82 qrc_TabIcon.cpp: TabIcon.qrc |
|
83 \epoc32\tools\qt\rcc -name TabIcon x:\zeroconfsharing\TabIcon.qrc -o x:\zeroconfsharing\qrc_TabIcon.cpp |
|
84 |
|
85 compiler_image_collection_make_all: qmake_image_collection.cpp |
|
86 compiler_image_collection_clean: |
|
87 -$(DEL_FILE) qmake_image_collection.cpp 2> NUL |
|
88 compiler_moc_source_make_all: |
|
89 compiler_moc_source_clean: |
|
90 compiler_uic_make_all: ui_mainwindow.h |
|
91 compiler_uic_clean: |
|
92 -$(DEL_FILE) ui_mainwindow.h 2> NUL |
|
93 ui_mainwindow.h: mainwindow.ui |
|
94 \epoc32\tools\qt\uic x:\zeroconfsharing\mainwindow.ui -o x:\zeroconfsharing\ui_mainwindow.h |
|
95 |
|
96 compiler_yacc_decl_make_all: |
|
97 compiler_yacc_decl_clean: |
|
98 compiler_yacc_impl_make_all: |
|
99 compiler_yacc_impl_clean: |
|
100 compiler_lex_make_all: |
|
101 compiler_lex_clean: |
|
102 compiler_clean: compiler_moc_header_clean compiler_rcc_clean compiler_uic_clean |
|
103 |
|
104 -include .make.cache |
|
105 |
|
106 sis: |
|
107 $(if $(wildcard zeroconfsharing_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) |
|
108 |
|
109 ok_sis: |
|
110 createpackage.bat $(QT_SIS_OPTIONS) zeroconfsharing_template.pkg $(QT_SIS_TARGET) $(QT_SIS_CERTIFICATE) $(QT_SIS_KEY) $(QT_SIS_PASSPHRASE) |
|
111 |
|
112 zeroconfsharing.sis: |
|
113 $(MAKE) -s -f $(MAKEFILE) sis |
|
114 |
|
115 stub_sis: |
|
116 $(if $(wildcard zeroconfsharing_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) |
|
117 |
|
118 ok_stub_sis: |
|
119 createpackage.bat -s $(QT_SIS_OPTIONS) zeroconfsharing_template.pkg $(QT_SIS_TARGET) $(QT_SIS_CERTIFICATE) $(QT_SIS_KEY) $(QT_SIS_PASSPHRASE) |
|
120 |
|
121 installer_sis: zeroconfsharing.sis |
|
122 $(if $(wildcard zeroconfsharing_installer.pkg),$(MAKE) -s -f $(MAKEFILE) ok_installer_sis,$(MAKE) -s -f $(MAKEFILE) fail_sis_nopkg) |
|
123 |
|
124 ok_installer_sis: |
|
125 createpackage.bat $(QT_SIS_OPTIONS) zeroconfsharing_installer.pkg - $(QT_SIS_CERTIFICATE) $(QT_SIS_KEY) $(QT_SIS_PASSPHRASE) |
|
126 |
|
127 fail_sis_nopkg: |
|
128 $(error PKG file does not exist, 'sis' and 'installer_sis' target are only supported for executables or projects with DEPLOYMENT statement) |
|
129 |
|
130 fail_sis_nocache: |
|
131 $(error Project has to be built or QT_SIS_TARGET environment variable has to be set before calling 'SIS' target) |
|
132 |
|
133 dodistclean: |
|
134 -@ if EXIST "x:\zeroconfsharing\zeroconfsharing_template.pkg" $(DEL_FILE) "x:\zeroconfsharing\zeroconfsharing_template.pkg" |
|
135 -@ if EXIST "x:\zeroconfsharing\zeroconfsharing_installer.pkg" $(DEL_FILE) "x:\zeroconfsharing\zeroconfsharing_installer.pkg" |
|
136 -@ if EXIST "x:\zeroconfsharing\Makefile" $(DEL_FILE) "x:\zeroconfsharing\Makefile" |
|
137 -@ if EXIST "x:\zeroconfsharing\zeroconfsharing_0xEA84AF50.mmp" $(DEL_FILE) "x:\zeroconfsharing\zeroconfsharing_0xEA84AF50.mmp" |
|
138 -@ if EXIST "x:\zeroconfsharing\zeroconfsharing_reg.rss" $(DEL_FILE) "x:\zeroconfsharing\zeroconfsharing_reg.rss" |
|
139 -@ if EXIST "x:\zeroconfsharing\zeroconfsharing.rss" $(DEL_FILE) "x:\zeroconfsharing\zeroconfsharing.rss" |
|
140 -@ if EXIST "x:\zeroconfsharing\zeroconfsharing.loc" $(DEL_FILE) "x:\zeroconfsharing\zeroconfsharing.loc" |
|
141 -@ if EXIST "x:\zeroconfsharing\bld.inf" $(DEL_FILE) "x:\zeroconfsharing\bld.inf" |
|
142 |
|
143 distclean: clean dodistclean |
|
144 |
|
145 clean: bld.inf |
|
146 -$(SBS) reallyclean |
|
147 |
|
148 clean-debug: bld.inf |
|
149 $(SBS) reallyclean -c winscw_udeb -c gcce_udeb -c armv5_udeb -c armv6_udeb |
|
150 clean-release: bld.inf |
|
151 $(SBS) reallyclean -c gcce_urel -c armv5_urel -c armv6_urel |
|
152 clean-debug-winscw: bld.inf |
|
153 $(SBS) reallyclean -c winscw_udeb |
|
154 clean-debug-gcce: bld.inf |
|
155 $(SBS) reallyclean -c gcce_udeb |
|
156 clean-debug-armv5: bld.inf |
|
157 $(SBS) reallyclean -c armv5_udeb |
|
158 clean-debug-armv6: bld.inf |
|
159 $(SBS) reallyclean -c armv6_udeb |
|
160 clean-release-gcce: bld.inf |
|
161 $(SBS) reallyclean -c gcce_urel |
|
162 clean-release-armv5: bld.inf |
|
163 $(SBS) reallyclean -c armv5_urel |
|
164 clean-release-armv6: bld.inf |
|
165 $(SBS) reallyclean -c armv6_urel |
|
166 |
|
167 run: |
|
168 -call /epoc32/release/winscw/udeb/zeroconfsharing.exe $(QT_RUN_OPTIONS) |
|
169 runonphone: sis |
|
170 runonphone $(QT_RUN_ON_PHONE_OPTIONS) --sis zeroconfsharing.sis zeroconfsharing.exe $(QT_RUN_OPTIONS) |
|
171 |