javaruntimes/starterutils/build/javaruntimestarterutils.pro
branchRCL_3
changeset 14 04becd199f91
equal deleted inserted replaced
13:f5050f1da672 14:04becd199f91
       
     1 #
       
     2 # Copyright (c) 2009 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 TEMPLATE=lib
       
    18 TARGET=javaruntimestarterutils
       
    19 CONFIG += omj stl
       
    20 CONFIG -= qt
       
    21 
       
    22 LIBS += -ljavajvmargsmodifier -ljavacomms
       
    23 
       
    24 !symbian {
       
    25 
       
    26     # Copy environment values to qmake variables
       
    27     JAVA_VM_ROOT = $$(JAVA_VM_ROOT)
       
    28     TARGET_MAEMO = $$(TARGET_MAEMO)
       
    29     JAVA_VM      = $$(JAVA_VM)
       
    30                    
       
    31     !isEmpty(JAVA_VM_ROOT) {
       
    32         LIBS += -L$${JAVA_VM_ROOT}
       
    33 
       
    34     } else : !isEmpty(TARGET_MAEMO) {
       
    35         LIBS += -L$(JAVA_BIN_ROOT)/lib/jvm/j9_23/bin
       
    36         DEFINES += J9_CDC_VM TARGET_MAEMO
       
    37 
       
    38     } else : contains(JAVA_VM, J9) {
       
    39         LIBS += -L/usr/lib/jvm/java-1.4.2-ibm/jre/bin
       
    40 
       
    41     } else {
       
    42         LIBS += -L/usr/lib/jvm/java-1.5.0-sun/jre/lib/i386/client
       
    43     }
       
    44 
       
    45     contains(JAVA_VM, J9) {
       
    46 
       
    47         LIBS += -lj9vm23 -lj9thr23 -lj9hookable23 -lj9prt23
       
    48     } else { 
       
    49         LIBS += -ljvm
       
    50     }
       
    51 }
       
    52 
       
    53 symbian {
       
    54     LIBS += -lcentralrepository
       
    55 }
       
    56 
       
    57 include(../../../build/omj.pri)