mobilemessaging/smum/group/SmsRegistry.mk
changeset 0 72b543305e3a
equal deleted inserted replaced
-1:000000000000 0:72b543305e3a
       
     1 #
       
     2 # Copyright (c) 2002 Nokia Corporation and/or its subsidiary(-ies).
       
     3 # All rights reserved.
       
     4 # This component and the accompanying materials are made available
       
     5 # under the terms of "Eclipse Public License v1.0"
       
     6 # which accompanies this distribution, and is available
       
     7 # at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     8 #
       
     9 # Initial Contributors:
       
    10 # Nokia Corporation - initial contribution.
       
    11 #
       
    12 # Contributors:
       
    13 #
       
    14 # Description: SmsRegistry.mk#
       
    15 
       
    16 SOURCEDIR=..\..\SMUM
       
    17 LANGUAGE=sc
       
    18 
       
    19 #
       
    20 # Target directory
       
    21 #
       
    22 
       
    23 ifeq (WINS,$(findstring WINS, $(PLATFORM)))
       
    24 TARGETDIR=$(EPOCROOT)Epoc32\Release\$(PLATFORM)\$(CFG)\Z\System\Mtm
       
    25 else
       
    26 TARGETDIR=$(EPOCROOT)Epoc32\Release\$(PLATFORM)\$(CFG)
       
    27 endif
       
    28 
       
    29 $(TARGETDIR) :
       
    30 	@perl $(EPOCROOT)epoc32\tools\emkdir.pl $(TARGETDIR)
       
    31 
       
    32 #
       
    33 # Build the mtm resource files
       
    34 #
       
    35 
       
    36 PROJECT=SMUM
       
    37 SOURCERESOURCE=$(SOURCEDIR)\Group\SmsRegistry.rss
       
    38 TARGETRESOURCE=$(TARGETDIR)\Sms.r$(LANGUAGE)
       
    39 $(TARGETRESOURCE) : $(TARGETDIR) $(SOURCERESOURCE)
       
    40 	@copy $(SOURCERESOURCE) $(TARGETDIR)\$(PROJECT).rss
       
    41 	@epocrc.bat -u -I. -I%EPOCROOT%epoc32\include $(TARGETDIR)\$(PROJECT).rss -o$(TARGETRESOURCE)
       
    42 	@del $(TARGETDIR)\$(PROJECT).rss
       
    43 
       
    44 do_nothing:
       
    45 	rem do nothing
       
    46 
       
    47 #
       
    48 # The targets invoked by abld 
       
    49 #
       
    50 
       
    51 MAKMAKE : do_nothing
       
    52 
       
    53 RESOURCE : $(TARGETRESOURCE)
       
    54 
       
    55 SAVESPACE : BLD
       
    56 
       
    57 BLD : do_nothing
       
    58 
       
    59 FREEZE : do_nothing
       
    60 
       
    61 LIB : do_nothing
       
    62 
       
    63 CLEANLIB : do_nothing
       
    64 
       
    65 FINAL : do_nothing
       
    66 
       
    67 CLEAN :
       
    68 	@erase $(TARGETRESOURCE)
       
    69 
       
    70 RELEASABLES :
       
    71 	@echo $(TARGETRESOURCE)