charconvfw/Charconv/ongoing/Group/BASIC_SNM.MK
author Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
Wed, 14 Apr 2010 17:50:37 +0300
branchRCL_3
changeset 15 9a2be90ac9a2
parent 0 1fb32624e06b
child 16 56cd22a7a1cb
permissions -rw-r--r--
Revision: 201013 Kit: 201015

#
# Copyright (c) 2000-2004 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:      
#

!if "$(PLATFORM)"=="WINS" || "$(PLATFORM)"=="WINSCW"
TARGET_DIRECTORY=$(EPOCROOT)epoc32\release\$(PLATFORM)\$(CFG)\z\resource\charconv 
!else
TARGET_DIRECTORY=$(EPOCROOT)epoc32\data\z\resource\charconv
!endif

SOURCE_DIRECTORY=..\data\snm

TARGET_FILES=\
	$(TARGET_DIRECTORY)\BASIC.SNM

TOOLS=\
	$(EPOCROOT)epoc32\tools\UIDCRC.EXE \
	$(EPOCROOT)epoc32\tools\PARSER.PM \
	$(EPOCROOT)epoc32\tools\WRITER.PM \
	$(EPOCROOT)epoc32\tools\SNMTOOL.PL

$(TARGET_DIRECTORY):
	@perl -S emkdir.pl "$@\\"

$(TARGET_DIRECTORY)\BASIC.SNM : $(SOURCE_DIRECTORY)\BASIC.TXT $(TOOLS)
	@call SNMTOOL $(SOURCE_DIRECTORY)\BASIC.TXT $@

DO_NOTHING :
	@rem do nothing

# the targets below are the public ones

MAKMAKE : DO_NOTHING

BLD : $(TARGET_DIRECTORY) $(TARGET_FILES)

SAVESPACE : BLD

FREEZE : DO_NOTHING

LIB : DO_NOTHING

CLEANLIB : DO_NOTHING

RESOURCE : DO_NOTHING

CLEAN : 
	-@erase $(TARGET_FILES)

RELEASABLES : 
	@echo $(TARGET_FILES)

FINAL : DO_NOTHING