VirtualBox

Changeset 29782 in vbox


Ignore:
Timestamp:
May 25, 2010 12:52:45 PM (15 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
61986
Message:

use kmk to build test

File:
1 moved

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/glue/tests/Makefile.kmk

    • Property svn:mergeinfo set to (toggle deleted branches)
      /branches/VBox-3.0/src/libs/xpcom18a4/java/tests/Makefile58652
      /trunk/src/VBox/Devices/PC/src/libs/xpcom18a4/java/tests/Makefile58165-58219
      /trunk/src/VBox/src/libs/xpcom18a4/java/tests/Makefile58164
    r29780 r29782  
    1010# hope that it will be useful, but WITHOUT ANY WARRANTY of any kind.
    1111#
    12 OS=$(shell uname -s)
    13 ARCH=$(shell uname -p)
    1412
    15 ifeq ($(OS), Darwin)
     13
     14KBUILD_TARGET=linux
     15
     16ifeq ($(KBUILD_TARGET),darwin)
    1617 VBOX_BIN=/Applications/VirtualBox.app/Contents/MacOS
    1718 VBOX_SDK=$(VBOX_BIN)/sdk
    18  JAVA_OPT= -d32
     19# JAVA_OPT= -d32
    1920endif
    2021
    21 ifeq ($(OS), Linux)
     22ifeq ($(KBUILD_TARGET),linux)
    2223 VBOX_SDK=/home/nike/work/ws/out/linux.amd64/debug/bin/sdk
    2324 VBOX_BIN=/home/nike/work/ws/out/linux.amd64/debug/bin
    2425endif
    2526
    26 VBOX_JAR=$(VBOX_SDK)/bindings/xpcom/java/vboxjxpcom.jar
     27ifeq ($(KBUILD_TARGET),win)
     28 VBOX_SDK=e:/ws/out/win.amd64/debug/bin/sdk
     29 VBOX_BIN=e:/ws/out/win.amd64/debug/bin
     30endif
     31
     32ifeq ($(KBUILD_TARGET),win)
     33 VBOX_JAR=$(VBOX_SDK)/bindings/mscom/java/vboxjmscom.jar
     34else
     35 VBOX_JAR=$(VBOX_SDK)/bindings/xpcom/java/vboxjxpcom.jar
     36endif
    2737
    2838all: testvb
     
    3141        javac -cp $(VBOX_JAR) TestVBox.java
    3242        java $(JAVA_OPT) -cp  $(VBOX_JAR):. -Dvbox.home=$(VBOX_BIN) TestVBox
     43
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette