0
|
1 |
#
|
|
2 |
# Copyright (c) 2000 - 2005 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:
|
|
15 |
#
|
|
16 |
|
|
17 |
!IF "$(PLATFORM)" != "WINS" && "$(PLATFORM)" != "WINSCW"
|
|
18 |
!ERROR "Only building Java for WINS or WINSCW platform!"
|
|
19 |
!ENDIF
|
|
20 |
|
|
21 |
!IFNDEF EPOCROOT
|
|
22 |
EPOCROOT = \
|
|
23 |
!ENDIF
|
|
24 |
|
|
25 |
!INCLUDE config.mk
|
|
26 |
|
|
27 |
Ant = ant
|
|
28 |
BuildFile = ../nei/build.xml
|
|
29 |
BuildDir = ..\nei\build
|
|
30 |
JarFile = nei.jar
|
|
31 |
FinalJarDir = $(MidpBinDir)\epoc32\tools\ecmt
|
|
32 |
FinalJarFile = $(FinalJarDir)\$(JarFile)
|
|
33 |
|
|
34 |
# Targets
|
|
35 |
|
|
36 |
# Separate debug and release builds don't make sense here.
|
|
37 |
# We are only building our stuff in release pass to avoid
|
|
38 |
# building it twice
|
|
39 |
|
|
40 |
RELEASABLES:
|
|
41 |
@echo $(FinalJarFile)
|
|
42 |
|
|
43 |
CLEAN:
|
|
44 |
if exist $(FinalJarFile) del $(FinalJarFile)
|
|
45 |
!IF "$(CFG)" != "UDEB"
|
|
46 |
$(Ant) -f $(BuildFile) clean
|
|
47 |
!ENDIF
|
|
48 |
|
|
49 |
|
|
50 |
BLD:
|
|
51 |
# Don't need to create $(MidpBinDir) - it's a subdirectory of $(FinalJarDir)
|
|
52 |
if not exist $(FinalJarDir) md $(FinalJarDir)
|
|
53 |
!IF "$(CFG)" != "UDEB"
|
|
54 |
$(Ant) -f $(BuildFile) build
|
|
55 |
if exist $(BuildDir)\$(JarFile) copy $(BuildDir)\$(JarFile) $(FinalJarFile)
|
|
56 |
!ENDIF
|
|
57 |
|
|
58 |
MAKMAKE FINAL FREEZE LIB CLEANLIB RESOURCE SAVESPACE :
|
|
59 |
@rem donothing
|