sl@0: # sl@0: # Copyright (c) 2010 Nokia Corporation and/or its subsidiary(-ies). sl@0: # All rights reserved. sl@0: # This component and the accompanying materials are made available sl@0: # under the terms of the License "Eclipse Public License v1.0" sl@0: # which accompanies this distribution, and is available sl@0: # at the URL "http://www.eclipse.org/legal/epl-v10.html". sl@0: # sl@0: # Initial Contributors: sl@0: # Nokia Corporation - initial contribution. sl@0: # sl@0: # Contributors: sl@0: # sl@0: # Description: sl@0: # sl@0: # sl@0: sl@0: # FLM to build upsromstubsis libraries. sl@0: sl@0: ## Outputs - upsserver.sis sl@0: sl@0: TARGETDIR:=$(EPOCROOT)/epoc32/data/z/system/install sl@0: sl@0: ifeq ($(PLATFORM),WINSCW) sl@0: TARGETDIR:=$(EPOCROOT)/epoc32/release/$(PLATFORM_PATH)/$(CFG_PATH)/z/system/install sl@0: endif sl@0: sl@0: $(call makepath,$(TARGETDIR)) sl@0: sl@0: define SisFileCreation sl@0: $(SISFILE): $(EXTENSION_ROOT)/$(SRCDIR)/$(SISNAME).pkg sl@0: $(call startrule,stubsis) \ sl@0: $(EPOCROOT)/epoc32/tools/makesis$(DOTEXE) -s $$? $$@ \ sl@0: $(call endrule,stubsis) sl@0: endef sl@0: sl@0: # Build stub SIS file sl@0: SISFILE:= $(TARGETDIR)/$(SISNAME).sis sl@0: sl@0: GUARD:=done_$(call sanitise,$(SISFILE)) sl@0: sl@0: ifeq ($($(GUARD)),) sl@0: $(GUARD):=1 sl@0: sl@0: ALL:: $(SISFILE) sl@0: $(eval $(call SisFileCreation)) sl@0: $(eval $(call whatmacro,$(SISFILE))) sl@0: $(eval $(call GenerateStandardCleanTarget,$(SISFILE),$(TARGETDIR))) sl@0: endif sl@0: sl@0: