os/security/authorisation/userpromptservice/test/tups/packages/testromstub.mak
changeset 0 bde4ae8d615e
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/os/security/authorisation/userpromptservice/test/tups/packages/testromstub.mak	Fri Jun 15 03:10:57 2012 +0200
     1.3 @@ -0,0 +1,62 @@
     1.4 +ifeq "$(PLATFORM)" "WINSCW"
     1.5 +ZDIR:=$(EPOCROOT)epoc32\release\$(PLATFORM)\$(CFG)\z
     1.6 +SISFILE=$(ZDIR)\system\install\testupsromstub.sis
     1.7 +endif
     1.8 +
     1.9 +ifeq "$(PLATFORM)" "ARMV5"
    1.10 +ZDIR:=$(EPOCROOT)epoc32\data\z
    1.11 +SISFILE=$(ZDIR)\system\install\testupsromstub.sis
    1.12 +endif
    1.13 +
    1.14 +#
    1.15 +# The targets invoked by abld...
    1.16 +#
    1.17 +
    1.18 +MAKMAKE : DO_NOTHING
    1.19 +FREEZE : DO_NOTHING
    1.20 +LIB : DO_NOTHING
    1.21 +RESOURCE : DO_NOTHING
    1.22 +CLEANLIB : DO_NOTHING
    1.23 +FINAL : DO_NOTHING
    1.24 +SAVESPACE : BLD
    1.25 +BLD : MAKEDATA
    1.26 +
    1.27 +DO_NOTHING:
    1.28 +
    1.29 +
    1.30 +ifndef SISFILE
    1.31 +#
    1.32 +# Not supported on this target so nothing to do
    1.33 +#
    1.34 +MAKEDATA :
    1.35 +	@echo ----------------
    1.36 +	@echo  Do nothing ...
    1.37 +	@echo ----------------
    1.38 +
    1.39 +CLEAN:
    1.40 +
    1.41 +RELEASABLES:
    1.42 +
    1.43 +else
    1.44 +#
    1.45 +# WINSCW or ARM
    1.46 +#
    1.47 +MAKEDATA : $(SISFILE)
    1.48 +
    1.49 +$(SISFILE) : testupsromstub.pkg
    1.50 +	@cd
    1.51 +	@echo ---------------------------
    1.52 +	@echo Building Test UPS ROM stub
    1.53 +	@echo ---------------------------
    1.54 +	@echo nb. The stub does not contain any exes, just mentions them.
    1.55 +	makesis -s $< $@
    1.56 +
    1.57 +DO_NOTHING:
    1.58 +	rem do nothing
    1.59 +
    1.60 +CLEAN :     
    1.61 +	-@erase $(SISFILE) /f
    1.62 +
    1.63 +RELEASABLES :
    1.64 +	@echo $(SISFILE)
    1.65 +endif