securityanddataprivacytools/securityconfig/ups/romstub/buildstub.mak
author Santosh Patil <santosh.v.patil@nokia.com>
Wed, 08 Jul 2009 11:25:26 +0100
changeset 0 2c201484c85f
child 8 35751d3474b7
permissions -rw-r--r--
Move the Security package to EPL, and add the implementations of the cryptographic algorithms

ifeq "$(PLATFORM)" "WINSCW"
ZDIR:=$(EPOCROOT)epoc32\release\$(PLATFORM)\$(CFG)\z
SISFILE=$(ZDIR)\system\install\upsserver.sis
endif

ifeq "$(PLATFORM)" "ARMV5"
ZDIR:=$(EPOCROOT)epoc32\data\z
SISFILE=$(ZDIR)\system\install\upsserver.sis
endif

#
# The targets invoked by abld...
#

MAKMAKE : DO_NOTHING
FREEZE : DO_NOTHING
LIB : DO_NOTHING
RESOURCE : DO_NOTHING
CLEANLIB : DO_NOTHING
FINAL : DO_NOTHING
SAVESPACE : BLD
BLD : MAKEDATA

DO_NOTHING:


ifndef SISFILE
#
# Not supported on this target so nothing to do
#
MAKEDATA :
	@echo ----------------
	@echo  Do nothing ...
	@echo ----------------

CLEAN:

RELEASABLES:

else
#
# WINSCW or ARM
#
MAKEDATA : $(SISFILE)

$(SISFILE) : upsserver.pkg
	@cd
	@echo ---------------------------
	@echo Building UPS ROM stub
	@echo ---------------------------
	@echo nb. The stub does not contain any exes, just mentions them.
	makesis -s $< $@

DO_NOTHING:
	rem do nothing

CLEAN :     
	-@erase $(SISFILE) /f

RELEASABLES :
	@echo $(SISFILE)
endif