diff -r 4096754ee773 -r 52a167391590 localconnectivityservice/obexreceiveservices/mtmuiinfrared/group/IRmtmuiRegistry.mk --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/localconnectivityservice/obexreceiveservices/mtmuiinfrared/group/IRmtmuiRegistry.mk Wed Sep 01 12:20:40 2010 +0100 @@ -0,0 +1,74 @@ +# +# Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies). +# All rights reserved. +# This component and the accompanying materials are made available +# under the terms of "Eclipse Public License v1.0" +# which accompanies this distribution, and is available +# at the URL "http://www.eclipse.org/legal/epl-v10.html". +# +# Initial Contributors: +# Nokia Corporation - initial contribution. +# +# Contributors: +# +# Description: +# +# Build resource files +# + +SOURCEDIR=..\group +LANGUAGE=sc + +# +# Target directory +# + +ifeq (WINS,$(findstring WINS, $(PLATFORM))) +TARGETDIR=$(EPOCROOT)Epoc32\Release\$(PLATFORM)\$(CFG)\Z\System\Mtm +else +TARGETDIR=$(EPOCROOT)Epoc32\Data\Z\System\Mtm +endif + +$(TARGETDIR) : + @perl $(EPOCROOT)epoc32\tools\emkdir.pl $(TARGETDIR) + +# +# Build the mtm resource files +# + +PROJECT=IRMTMU +SOURCERESOURCE=$(SOURCEDIR)\$(PROJECT)Registry.rss +TARGETRESOURCE=$(TARGETDIR)\$(PROJECT).r$(LANGUAGE) +$(TARGETRESOURCE) : $(TARGETDIR) $(SOURCERESOURCE) + @copy $(SOURCERESOURCE) $(TARGETDIR)\$(PROJECT).rss + @epocrc.bat -u -I. -I%EPOCROOT%s60\irmtmui\group -I%EPOCROOT%epoc32\include $(TARGETDIR)\$(PROJECT).rss -o$(TARGETRESOURCE) + @del $(TARGETDIR)\$(PROJECT).rss + +do_nothing: + rem do nothing + +# +# The targets invoked by abld +# + +MAKMAKE : do_nothing + +RESOURCE : $(TARGETRESOURCE) + +SAVESPACE : BLD + +BLD : do_nothing + +FREEZE : do_nothing + +LIB : do_nothing + +CLEANLIB : do_nothing + +FINAL : do_nothing + +CLEAN : + @erase $(TARGETRESOURCE) + +RELEASABLES : + @echo $(TARGETRESOURCE)