smf/smfservermodule/util/qjson/src/Makefile
changeset 7 be09cf1f39dd
equal deleted inserted replaced
6:c39a6cfd1fb9 7:be09cf1f39dd
       
     1 # ==============================================================================
       
     2 # Generated by qmake (2.01a) (Qt 4.6.1) on: Mon May 17 16:06:46 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             = d:\Qt\4.6.1\bin\qmake
       
    13 DEL_FILE          = del
       
    14 DEL_DIR           = rmdir
       
    15 MOVE              = move
       
    16 XCOPY             = xcopy /d /f /h /r /y /i
       
    17 ABLD              = ABLD.BAT
       
    18 DEBUG_PLATFORMS   = winscw gcce armv5 armv6
       
    19 RELEASE_PLATFORMS = gcce armv5 armv6
       
    20 MAKE              = make
       
    21 
       
    22 ifeq (WINS,$(findstring WINS, $(PLATFORM)))
       
    23 ZDIR=$(EPOCROOT)epoc32\release\$(PLATFORM)\$(CFG)\Z
       
    24 else
       
    25 ZDIR=$(EPOCROOT)epoc32\data\z
       
    26 endif
       
    27 
       
    28 DEFINES	 = -DSYMBIAN -DUNICODE -DQT_KEYPAD_NAVIGATION -DQT_SOFTKEYS_ENABLED -DQT_USE_MATH_H_FLOATS -DQJSON_MAKEDLL -DQT_CORE_LIB
       
    29 INCPATH	 =  -I"D:/Qt/4.6.1/include/QtCore" -I"D:/Qt/4.6.1/include/QtCore/tmp" -I"D:/Qt/4.6.1/include" -I"D:/Qt/4.6.1/include/tmp" -I"D:/Qt/4.6.1/mkspecs/common/symbian" -I"D:/Qt/4.6.1/mkspecs/common/symbian/tmp" -I"D:/S60/devices/S60_5th_Edition_SDK_v0.9/epoc32/include" -I"D:/CarbideWorkspace/TestQJson/qjson/src" -I"D:/CarbideWorkspace/TestQJson/qjson/src/tmp" -I"D:/S60/devices/S60_5th_Edition_SDK_v0.9/epoc32/include/stdapis" -I"D:/S60/devices/S60_5th_Edition_SDK_v0.9/epoc32/include/stdapis/sys" -I"D:/S60/devices/S60_5th_Edition_SDK_v0.9/epoc32/include/stdapis/stlport"
       
    30 first: default
       
    31 default: debug-winscw
       
    32 all: debug release
       
    33 
       
    34 qmake:
       
    35 	$(QMAKE) -spec symbian-abld -o "bld.inf" "D:/CarbideWorkspace/TestQJson/qjson/src/src.pro"
       
    36 
       
    37 bld.inf:
       
    38 	$(QMAKE)
       
    39 
       
    40 $(ABLD): bld.inf
       
    41 	bldmake bldfiles
       
    42 
       
    43 debug: $(ABLD)
       
    44 	$(ABLD) build winscw udeb
       
    45 	$(ABLD) build gcce udeb
       
    46 	$(ABLD) build armv5 udeb
       
    47 	$(ABLD) build armv6 udeb
       
    48 
       
    49 release: $(ABLD)
       
    50 	$(ABLD) build gcce urel
       
    51 	$(ABLD) build armv5 urel
       
    52 	$(ABLD) build armv6 urel
       
    53 
       
    54 debug-winscw: $(ABLD)
       
    55 	$(ABLD) build winscw udeb
       
    56 debug-gcce: $(ABLD)
       
    57 	$(ABLD) build gcce udeb
       
    58 debug-armv5: $(ABLD)
       
    59 	$(ABLD) build armv5 udeb
       
    60 debug-armv6: $(ABLD)
       
    61 	$(ABLD) build armv6 udeb
       
    62 release-gcce: $(ABLD)
       
    63 	$(ABLD) build gcce urel
       
    64 release-armv5: $(ABLD)
       
    65 	$(ABLD) build armv5 urel
       
    66 release-armv6: $(ABLD)
       
    67 	$(ABLD) build armv6 urel
       
    68 
       
    69 export: $(ABLD)
       
    70 	$(ABLD) export
       
    71 
       
    72 cleanexport: $(ABLD)
       
    73 	$(ABLD) cleanexport
       
    74 
       
    75 D:\Qt\4.6.1\bin\moc.exe:
       
    76 	(cd $(QTDIR)/src/tools/moc && $(MAKE))
       
    77 
       
    78 mocclean: compiler_moc_header_clean compiler_moc_source_clean
       
    79 
       
    80 mocables: compiler_moc_header_make_all compiler_moc_source_make_all
       
    81 
       
    82 compiler_moc_header_make_all: moc_parserrunnable.cpp moc_serializerrunnable.cpp
       
    83 compiler_moc_header_clean:
       
    84 	-$(DEL_FILE) moc_parserrunnable.cpp moc_serializerrunnable.cpp 2> NUL
       
    85 moc_parserrunnable.cpp: qjson_export.h \
       
    86 		parserrunnable.h \
       
    87 		..\..\..\..\Qt\4.6.1\bin\moc.exe
       
    88 	D:\Qt\4.6.1\bin\moc.exe $(DEFINES) $(INCPATH) -DSYMBIAN parserrunnable.h -o moc_parserrunnable.cpp
       
    89 
       
    90 moc_serializerrunnable.cpp: qjson_export.h \
       
    91 		serializerrunnable.h \
       
    92 		..\..\..\..\Qt\4.6.1\bin\moc.exe
       
    93 	D:\Qt\4.6.1\bin\moc.exe $(DEFINES) $(INCPATH) -DSYMBIAN serializerrunnable.h -o moc_serializerrunnable.cpp
       
    94 
       
    95 compiler_rcc_make_all:
       
    96 compiler_rcc_clean:
       
    97 compiler_image_collection_make_all: qmake_image_collection.cpp
       
    98 compiler_image_collection_clean:
       
    99 	-$(DEL_FILE) qmake_image_collection.cpp 2> NUL
       
   100 compiler_moc_source_make_all:
       
   101 compiler_moc_source_clean:
       
   102 compiler_uic_make_all:
       
   103 compiler_uic_clean:
       
   104 compiler_yacc_decl_make_all:
       
   105 compiler_yacc_decl_clean:
       
   106 compiler_yacc_impl_make_all:
       
   107 compiler_yacc_impl_clean:
       
   108 compiler_lex_make_all:
       
   109 compiler_lex_clean:
       
   110 compiler_clean: compiler_moc_header_clean 
       
   111 
       
   112 create_temps:
       
   113 	-@ if NOT EXIST "D:\Qt\4.6.1\include\QtCore\tmp" mkdir "D:\Qt\4.6.1\include\QtCore\tmp"
       
   114 	-@ if NOT EXIST "D:\Qt\4.6.1\include\tmp" mkdir "D:\Qt\4.6.1\include\tmp"
       
   115 	-@ if NOT EXIST "D:\Qt\4.6.1\mkspecs\common\symbian\tmp" mkdir "D:\Qt\4.6.1\mkspecs\common\symbian\tmp"
       
   116 	-@ if NOT EXIST "D:\CarbideWorkspace\TestQJson\qjson\src\tmp" mkdir "D:\CarbideWorkspace\TestQJson\qjson\src\tmp"
       
   117 
       
   118 extension_clean: compiler_clean
       
   119 	-@ if EXIST "D:\Qt\4.6.1\include\QtCore\tmp" rmdir  /S /Q  "D:\Qt\4.6.1\include\QtCore\tmp"
       
   120 	-@ if EXIST "D:\Qt\4.6.1\include\tmp" rmdir  /S /Q  "D:\Qt\4.6.1\include\tmp"
       
   121 	-@ if EXIST "D:\Qt\4.6.1\mkspecs\common\symbian\tmp" rmdir  /S /Q  "D:\Qt\4.6.1\mkspecs\common\symbian\tmp"
       
   122 	-@ if EXIST "D:\CarbideWorkspace\TestQJson\qjson\src\tmp" rmdir  /S /Q  "D:\CarbideWorkspace\TestQJson\qjson\src\tmp"
       
   123 
       
   124 pre_targetdeps: \
       
   125 	generated_sources \
       
   126 	all_source_deps
       
   127 
       
   128 generated_sources: \
       
   129 	moc_parserrunnable.cpp \
       
   130 	moc_serializerrunnable.cpp
       
   131 
       
   132 all_source_deps: \
       
   133 	json_parser.hh \
       
   134 	stack.hh \
       
   135 	parser_p.h \
       
   136 	parser.h \
       
   137 	qjson_export.h \
       
   138 	json_scanner.h \
       
   139 	qjson_debug.h \
       
   140 	location.hh \
       
   141 	position.hh \
       
   142 	parserrunnable.h \
       
   143 	qobjecthelper.h \
       
   144 	serializer.h \
       
   145 	serializerrunnable.h
       
   146 
       
   147 finalize:
       
   148 
       
   149 winscw_deployment:
       
   150 
       
   151 winscw_deployment_clean:
       
   152 
       
   153 sis: restore_build
       
   154 	$(if $(wildcard qjson_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)
       
   155 
       
   156 ok_sis:
       
   157 	createpackage.bat $(QT_SIS_OPTIONS) qjson_template.pkg $(QT_SIS_TARGET) $(QT_SIS_CERTIFICATE) $(QT_SIS_KEY) $(QT_SIS_PASSPHRASE)
       
   158 
       
   159 fail_sis_nopkg:
       
   160 	$(error PKG file does not exist, 'SIS' target is only supported for executables or projects with DEPLOYMENT statement)
       
   161 
       
   162 fail_sis_nocache:
       
   163 	$(error Project has to be built or QT_SIS_TARGET environment variable has to be set before calling 'SIS' target)
       
   164 
       
   165 restore_build:
       
   166 -include .make.cache
       
   167 
       
   168 store_build:
       
   169 	@echo # ============================================================================== > .make.cache
       
   170 	@echo # This file is generated by make and should not be modified by the user >> .make.cache
       
   171 	@echo #  Name        : .make.cache >> .make.cache
       
   172 	@echo #  Part of     : qjson >> .make.cache
       
   173 	@echo #  Description : This file is used to cache last build target for >> .make.cache
       
   174 	@echo #                make sis target. >> .make.cache
       
   175 	@echo #  Version     :  >> .make.cache
       
   176 	@echo # >> .make.cache
       
   177 	@echo # ============================================================================== >> .make.cache
       
   178 	@echo. >> .make.cache
       
   179 	@echo QT_SIS_TARGET ?= $(QT_SIS_TARGET) >> .make.cache
       
   180 
       
   181 dodistclean:
       
   182 	-@ if EXIST "d:\CarbideWorkspace\TestQJson\qjson\src\qjson_template.pkg" $(DEL_FILE)  "d:\CarbideWorkspace\TestQJson\qjson\src\qjson_template.pkg"
       
   183 	-@ if EXIST "d:\CarbideWorkspace\TestQJson\qjson\src\Makefile" $(DEL_FILE)  "d:\CarbideWorkspace\TestQJson\qjson\src\Makefile"
       
   184 	-@ if EXIST "d:\CarbideWorkspace\TestQJson\qjson\src\Makefile_0xEe29a5ee.mk" $(DEL_FILE)  "d:\CarbideWorkspace\TestQJson\qjson\src\Makefile_0xEe29a5ee.mk"
       
   185 	-@ if EXIST "d:\CarbideWorkspace\TestQJson\qjson\src\src_0xEe29a5ee.mmp" $(DEL_FILE)  "d:\CarbideWorkspace\TestQJson\qjson\src\src_0xEe29a5ee.mmp"
       
   186 	-@ if EXIST "d:\CarbideWorkspace\TestQJson\qjson\src\.make.cache" $(DEL_FILE)  "d:\CarbideWorkspace\TestQJson\qjson\src\.make.cache"
       
   187 	-@ if EXIST "d:\CarbideWorkspace\TestQJson\qjson\src\bld.inf" $(DEL_FILE)  "d:\CarbideWorkspace\TestQJson\qjson\src\bld.inf"
       
   188 	-@ if EXIST "d:\CarbideWorkspace\TestQJson\qjson\lib\qjson.prl" $(DEL_FILE)  "d:\CarbideWorkspace\TestQJson\qjson\lib\qjson.prl"
       
   189 
       
   190 distclean: clean dodistclean
       
   191 
       
   192 clean: $(ABLD)
       
   193 	-$(ABLD) reallyclean
       
   194 	-bldmake clean
       
   195 
       
   196 clean-debug: $(ABLD)
       
   197 	$(ABLD) reallyclean winscw udeb
       
   198 	$(ABLD) reallyclean gcce udeb
       
   199 	$(ABLD) reallyclean armv5 udeb
       
   200 	$(ABLD) reallyclean armv6 udeb
       
   201 
       
   202 clean-release: $(ABLD)
       
   203 	$(ABLD) reallyclean gcce urel
       
   204 	$(ABLD) reallyclean armv5 urel
       
   205 	$(ABLD) reallyclean armv6 urel
       
   206 
       
   207 clean-debug-winscw: $(ABLD)
       
   208 	$(ABLD) reallyclean winscw udeb
       
   209 clean-debug-gcce: $(ABLD)
       
   210 	$(ABLD) reallyclean gcce udeb
       
   211 clean-debug-armv5: $(ABLD)
       
   212 	$(ABLD) reallyclean armv5 udeb
       
   213 clean-debug-armv6: $(ABLD)
       
   214 	$(ABLD) reallyclean armv6 udeb
       
   215 clean-release-gcce: $(ABLD)
       
   216 	$(ABLD) reallyclean gcce urel
       
   217 clean-release-armv5: $(ABLD)
       
   218 	$(ABLD) reallyclean armv5 urel
       
   219 clean-release-armv6: $(ABLD)
       
   220 	$(ABLD) reallyclean armv6 urel
       
   221