sdkcreationmw/sdkruntimes/MIDP/group/nei.mk
author rajpuroh
Mon, 08 Mar 2010 12:09:11 +0530
changeset 0 b26acd06ea60
permissions -rw-r--r--
First Contribution of SDK components

#
# Copyright (c) 2000 - 2005 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"
!ERROR "Only building Java for WINS or WINSCW platform!"
!ENDIF

!IFNDEF EPOCROOT
EPOCROOT = \
!ENDIF

!INCLUDE config.mk

Ant = ant
BuildFile = ../nei/build.xml
BuildDir = ..\nei\build
JarFile = nei.jar
FinalJarDir = $(MidpBinDir)\epoc32\tools\ecmt
FinalJarFile = $(FinalJarDir)\$(JarFile)

# Targets

# Separate debug and release builds don't make sense here.
# We are only building our stuff in release pass to avoid
# building it twice

RELEASABLES:
    @echo $(FinalJarFile)

CLEAN:
    if exist $(FinalJarFile) del $(FinalJarFile)
!IF "$(CFG)" != "UDEB"
    $(Ant) -f $(BuildFile) clean
!ENDIF


BLD:
# Don't need to create $(MidpBinDir) - it's a subdirectory of $(FinalJarDir)
    if not exist $(FinalJarDir) md $(FinalJarDir)
!IF "$(CFG)" != "UDEB"
    $(Ant) -f $(BuildFile) build
    if exist $(BuildDir)\$(JarFile) copy $(BuildDir)\$(JarFile) $(FinalJarFile)
!ENDIF

MAKMAKE FINAL FREEZE LIB CLEANLIB RESOURCE SAVESPACE :
   @rem donothing