sdkcreationmw/sdkruntimes/MIDP/group/lib.mk
changeset 0 b26acd06ea60
child 1 ac50fd48361b
equal deleted inserted replaced
-1:000000000000 0:b26acd06ea60
       
     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 !INCLUDE config.mk
       
    18 
       
    19 SrcJar = ..\..\..\..\epoc32\tools\java\sei\$(PLATFORM)\udeb\$(MidpProduct)\lib\$(MidpProduct).jar
       
    20 DestJar = $(MidpLibDir)\$(MidpProduct).jar
       
    21 
       
    22 DistEpoc32 = $(MidpBinDir)\epoc32
       
    23 PrefsDir = $(DistEpoc32)\tools\java\sei\winscw\udeb\$(MidpProduct)\symbian\lib
       
    24 
       
    25 # Command to remove directory tree
       
    26 RmTree = rd /s /q
       
    27 
       
    28 # Targets
       
    29 
       
    30 # Separate debug and release builds don't make sense here.
       
    31 # We are only building our stuff in release pass to avoid
       
    32 # building it twice
       
    33 
       
    34 RELEASABLES:
       
    35     @echo $(DestJar)
       
    36 
       
    37 CLEAN:
       
    38     if exist "$(DestJar)" del "$(DestJar)"
       
    39     if exist "$(DistEpoc32)" $(RmTree) "$(DistEpoc32)"
       
    40 
       
    41 BLD:
       
    42     if not exist "$(PrefsDir)" md "$(PrefsDir)"
       
    43     if not exist "$(MidpLibDir)" md "$(MidpLibDir)"
       
    44 !IF "$(CFG)" != "UDEB"
       
    45     copy "$(SrcJar)" "$(DestJar)"
       
    46 !ENDIF
       
    47 
       
    48 MAKMAKE FINAL FREEZE LIB CLEANLIB RESOURCE SAVESPACE :
       
    49    @rem donothing