VirtualBox

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

Last change on this file since 69383 was 69383, checked in by vboxsync, 7 years ago

webservices: scm updates

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id Revision
File size: 1.8 KB
Line 
1#
2# Copyright (C) 2008-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
13JAVA16=java
14JAVA15=/usr/lib/jvm/java-1.5.0-sun/bin/java
15JAVAC = javac
16JAVAC15 = javac -target 1.5
17JAVAC16 = javac -target 1.6
18MKDIR = mkdir
19RM = rm
20
21DEST16 = ./gen16
22DEST15 = ./gen15
23
24VBOXWS15 = ../lib/vboxws_java15.jar
25VBOXWS16 = ../lib/vboxws_java16.jar
26
27JAXWS=./jaxws-ri
28JAXWSLIBS=$(JAXWS)/lib/jaxws-api.jar:$(JAXWS)/lib/jaxb-api.jar:$(JAXWS)/lib/jsr181-api.jar:$(JAXWS)/lib/jaxws-rt.jar
29
30all: run16
31
32metric: metric16
33
34$(DEST16)/clienttest.class: clienttest.java
35 $(MKDIR) -p $(DEST16)
36 $(JAVAC16) -d $(DEST16) -cp $(VBOXWS16) $<
37
38$(DEST15)/clienttest.class: clienttest.java
39 $(MKDIR) -p $(DEST15)
40 $(JAVAC15) -d $(DEST15) -cp $(VBOXWS15):$(JAXWSLIBS) $<
41
42run16: $(DEST16)/clienttest.class
43 $(JAVA16) -cp $(VBOXWS16):$(DEST16) clienttest show vms
44
45run15: $(DEST15)/clienttest.class
46 $(JAVA15) -cp $(VBOXWS15):$(JAXWSLIBS):$(DEST15) clienttest show vms
47
48$(DEST16)/metrictest.class: metrictest.java
49 $(MKDIR) -p $(DEST16)
50 $(JAVAC16) -d $(DEST16) -cp $(VBOXWS16) $<
51
52$(DEST15)/metrictest.class: metrictest.java
53 $(MKDIR) -p $(DEST15)
54 $(JAVAC15) -d $(DEST15) -cp $(VBOXWS15):$(JAXWSLIBS) $<
55
56metric16: $(DEST16)/metrictest.class
57 -$(JAVA16) -cp $(VBOXWS16):$(DEST16) metrictest
58
59metric15: $(DEST15)/metrictest.class
60 -$(JAVA15) -cp $(VBOXWS15):$(JAXWSLIBS):$(DEST15) metrictest
61
62clean:
63 $(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