Last change
on this file since 29118 was 29101, checked in by vboxsync, 15 years ago |
copyrights
|
-
Property svn:eol-style
set to
native
|
File size:
1.1 KB
|
Line | |
---|
1 | #
|
---|
2 | # Copyright (C) 2010 Oracle Corporation
|
---|
3 | #
|
---|
4 | # This file is part of VirtualBox Open Source Edition (OSE), as
|
---|
5 | # available from http://www.virtualbox.org. This file is free software;
|
---|
6 | # you can redistribute it and/or modify it under the terms of the GNU
|
---|
7 | # General Public License (GPL) as published by the Free Software
|
---|
8 | # Foundation, in version 2 as it comes in the "COPYING" file of the
|
---|
9 | # VirtualBox OSE distribution. VirtualBox OSE is distributed in the
|
---|
10 | # hope that it will be useful, but WITHOUT ANY WARRANTY of any kind.
|
---|
11 | #
|
---|
12 | OS=$(shell uname -s)
|
---|
13 | ARCH=$(shell uname -p)
|
---|
14 |
|
---|
15 | ifeq ($(OS), Darwin)
|
---|
16 | VBOX_SDK=/Users/nike/work/shared/ws/out/darwin.x86/debug/dist/sdk
|
---|
17 | VBOX_BIN=/Users/nike/work/shared/ws/out/darwin.x86/debug/dist/VirtualBox.app/Contents/MacOS/
|
---|
18 | JAVA_OPT= -d32
|
---|
19 | endif
|
---|
20 |
|
---|
21 | ifeq ($(OS), Linux)
|
---|
22 | VBOX_SDK=/home/nike/work/ws/out/linux.amd64/debug/bin/sdk
|
---|
23 | VBOX_BIN=/home/nike/work/ws/out/linux.amd64/debug/bin
|
---|
24 | endif
|
---|
25 |
|
---|
26 | VBOX_JAR=$(VBOX_SDK)/bindings/xpcom/java/vboxjxpcom.jar
|
---|
27 |
|
---|
28 | all: testvb
|
---|
29 |
|
---|
30 | testvb:
|
---|
31 | javac -cp $(VBOX_JAR) TestVBox.java
|
---|
32 | java $(JAVA_OPT) -cp $(VBOX_JAR):. -Dvbox.home=$(VBOX_BIN) TestVBox
|
---|
Note:
See
TracBrowser
for help on using the repository browser.