VirtualBox

source: vbox/trunk/src/libs/xpcom18a4/java/tests/Makefile@ 29118

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#
12OS=$(shell uname -s)
13ARCH=$(shell uname -p)
14
15ifeq ($(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
19endif
20
21ifeq ($(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
24endif
25
26VBOX_JAR=$(VBOX_SDK)/bindings/xpcom/java/vboxjxpcom.jar
27
28all: testvb
29
30testvb:
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.

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