authorisation/userpromptservice/test/tups/packages/testromstub.mak
author Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
Wed, 18 Aug 2010 11:33:05 +0300
changeset 91 a675745f8b2e
parent 8 35751d3474b7
permissions -rw-r--r--
Revision: 201033 Kit: 201033

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

ifeq "$(PLATFORM)" "ARMV5"
ZDIR:=$(EPOCROOT)epoc32\data\z
SISFILE=$(ZDIR)\system\install\testupsromstub.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) : testupsromstub.pkg
	@cd
	@echo ---------------------------
	@echo Building Test 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