charconvfw/Charconv/ongoing/Group/BASIC_SNM.MK
author William Roberts <williamr@symbian.org>
Mon, 08 Mar 2010 21:45:11 +0000
branchCompilerCompatibility
changeset 7 3969f087709d
parent 0 1fb32624e06b
child 16 56cd22a7a1cb
permissions -rw-r--r--
Create CompilerCompatibility branch

#
# 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