VirtualBox

source: vbox/trunk/src/VBox/Main/webservice/samples/java/jax-ws/Makefile@ 16122

Last change on this file since 16122 was 16122, checked in by vboxsync, 16 years ago

fixed webservice copyright

  • Property svn:eol-style set to native
File size: 2.0 KB
Line 
1#
2# Copyright (C) 2008 Sun Microsystems, Inc.
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# Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa
13# Clara, CA 95054 USA or visit http://www.sun.com if you need
14# additional information or have any questions.
15#
16
17JAVA16=java
18JAVA15=/usr/lib/jvm/java-1.5.0-sun/bin/java
19JAVAC = javac
20JAVAC15 = javac -target 1.5
21JAVAC16 = javac -target 1.6
22MKDIR = mkdir
23RM = rm
24
25DEST16 = ./gen16
26DEST15 = ./gen15
27
28VBOXWS15 = ../lib/vboxws_java15.jar
29VBOXWS16 = ../lib/vboxws_java16.jar
30
31JAXWS=./jaxws-ri
32JAXWSLIBS=$(JAXWS)/lib/jaxws-api.jar:$(JAXWS)/lib/jaxb-api.jar:$(JAXWS)/lib/jsr181-api.jar:$(JAXWS)/lib/jaxws-rt.jar
33
34all: run16
35
36metric: metric16
37
38$(DEST16)/clienttest.class: clienttest.java
39 $(MKDIR) -p $(DEST16)
40 $(JAVAC16) -d $(DEST16) -cp $(VBOXWS16) $<
41
42$(DEST15)/clienttest.class: clienttest.java
43 $(MKDIR) -p $(DEST15)
44 $(JAVAC15) -d $(DEST15) -cp $(VBOXWS15):$(JAXWSLIBS) $<
45
46run16: $(DEST16)/clienttest.class
47 $(JAVA16) -cp $(VBOXWS16):$(DEST16) clienttest show vms
48
49run15: $(DEST15)/clienttest.class
50 $(JAVA15) -cp $(VBOXWS15):$(JAXWSLIBS):$(DEST15) clienttest show vms
51
52$(DEST16)/metrictest.class: metrictest.java
53 $(MKDIR) -p $(DEST16)
54 $(JAVAC16) -d $(DEST16) -cp $(VBOXWS16) $<
55
56$(DEST15)/metrictest.class: metrictest.java
57 $(MKDIR) -p $(DEST15)
58 $(JAVAC15) -d $(DEST15) -cp $(VBOXWS15):$(JAXWSLIBS) $<
59
60metric16: $(DEST16)/metrictest.class
61 -$(JAVA16) -cp $(VBOXWS16):$(DEST16) metrictest
62
63metric15: $(DEST15)/metrictest.class
64 -$(JAVA15) -cp $(VBOXWS15):$(JAXWSLIBS):$(DEST15) metrictest
65
66clean:
67 $(RM) -rf $(DEST15) $(DEST16)
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