build/Makefile.comp
changeset 50 023eef975703
parent 35 85266cc22c7f
child 78 71ad690e91f5
equal deleted inserted replaced
49:35baca0e7a2e 50:023eef975703
   117 endif
   117 endif
   118 
   118 
   119 # Symbian ----------------------------------
   119 # Symbian ----------------------------------
   120 ifeq ($(BUILDENV),symbian)
   120 ifeq ($(BUILDENV),symbian)
   121 
   121 
   122 all: qmake java native
   122 all: qmake java native codescanner
   123 
   123 
   124 # Extract basename of current component
   124 # Extract basename of current component
   125 BASENAME = $(basename $(PRO_FILE))
   125 BASENAME = $(basename $(PRO_FILE))
   126 
   126 
   127 # Use separate qmakefix run, so that wildcards are evaluated with 
   127 # Use separate qmakefix run, so that wildcards are evaluated with 
   149 endif
   149 endif
   150 ifneq ($(wildcard exports.inf),)
   150 ifneq ($(wildcard exports.inf),)
   151 	echo #include "exports.inf" >> bld.inf
   151 	echo #include "exports.inf" >> bld.inf
   152 endif
   152 endif
   153 
   153 
       
   154 # Quick java releasables target
       
   155 RELEASABLE_PATH = $(EPOCROOT)epoc32/release/$(PLATFORM)/$(CFG)/z/resource/java/jvm/lib/jrt
   154 javareleasables:
   156 javareleasables:
   155 ifneq ($(ANT_FILE),)
   157 ifneq ($(ANT_FILE),)
   156 	$(ANT) -q -Dtarget.platform=$(PLATFORM) -Dtarget.cfg=$(VARIANT) $(ANT_PROJECT_DEFINES) releasables > $(DEVNULL)
   158 	echo $(RELEASABLE_PATH)/$(BASENAME).odc
   157 	$(call CATCOMMAND,java_releasables_$(PLATFORM)_$(VARIANT).tmp)
       
   158 	$(call RMFILE,java_releasables_$(PLATFORM)_$(VARIANT).tmp)
       
   159 endif
   159 endif
   160 
   160 
   161 # Remove all generated build files
   161 # Remove all generated build files
   162 clean_generated: FORCE
   162 clean_generated: FORCE
   163 	$(PHASEINFO)
   163 	$(PHASEINFO)
   167 	-$(call RMFILES,abld.bat bld.inf* Makefile* $(BASENAME).mmp $(BASENAME)_*.mmp $(BASENAME)_*.pkg $(BASENAME)_reg.rss eabi_stl4/*)
   167 	-$(call RMFILES,abld.bat bld.inf* Makefile* $(BASENAME).mmp $(BASENAME)_*.mmp $(BASENAME)_*.pkg $(BASENAME)_reg.rss eabi_stl4/*)
   168 	-$(call RMDIR, eabi_stl4) > $(DEVNULL) 2>&1
   168 	-$(call RMDIR, eabi_stl4) > $(DEVNULL) 2>&1
   169 
   169 
   170 clean_qmake:
   170 clean_qmake:
   171 	-$(call RMFILES,abld.bat bld.inf* Makefile* $(BASENAME).mmp $(BASENAME)_*.mmp $(BASENAME)_*.pkg $(BASENAME)_reg.rss eabi_stl4/*)
   171 	-$(call RMFILES,abld.bat bld.inf* Makefile* $(BASENAME).mmp $(BASENAME)_*.mmp $(BASENAME)_*.pkg $(BASENAME)_reg.rss eabi_stl4/*)
       
   172 
       
   173 # Use Carbide CodeScanner to list high-level issues
       
   174 codescanner:
       
   175 ifneq ($(call PATHSEARCH,codescanner.exe),)
       
   176 	$(call CODESCANNER,..)
       
   177 endif
   172 
   178 
   173 # Symbian SBS ------------------------------
   179 # Symbian SBS ------------------------------
   174 ifdef USESBS
   180 ifdef USESBS
   175 
   181 
   176 export: 
   182 export: