VirtualBox

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

Last change on this file since 96407 was 96407, checked in by vboxsync, 3 years ago

scm copyright and license note update

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id Revision
File size: 2.4 KB
Line 
1# $Id: Makefile 96407 2022-08-22 17:43:14Z vboxsync $
2## @file
3# Makefile for java samples.
4#
5
6
7#
8# Copyright (C) 2008-2022 Oracle and/or its affiliates.
9#
10# Permission is hereby granted, free of charge, to any person
11# obtaining a copy of this software and associated documentation
12# files (the "Software"), to deal in the Software without
13# restriction, including without limitation the rights to use,
14# copy, modify, merge, publish, distribute, sublicense, and/or sell
15# copies of the Software, and to permit persons to whom the
16# Software is furnished to do so, subject to the following
17# conditions:
18#
19# The above copyright notice and this permission notice shall be
20# included in all copies or substantial portions of the Software.
21#
22# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
23# EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
24# OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
25# NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
26# HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
27# WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
28# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
29# OTHER DEALINGS IN THE SOFTWARE.
30#
31
32JAVA16=java
33JAVA15=/usr/lib/jvm/java-1.5.0-sun/bin/java
34JAVAC = javac
35JAVAC15 = javac -target 1.5
36JAVAC16 = javac -target 1.6
37MKDIR = mkdir
38RM = rm
39
40DEST16 = ./gen16
41DEST15 = ./gen15
42
43VBOXWS15 = ../lib/vboxws_java15.jar
44VBOXWS16 = ../lib/vboxws_java16.jar
45
46JAXWS=./jaxws-ri
47JAXWSLIBS=$(JAXWS)/lib/jaxws-api.jar:$(JAXWS)/lib/jaxb-api.jar:$(JAXWS)/lib/jsr181-api.jar:$(JAXWS)/lib/jaxws-rt.jar
48
49all: run16
50
51metric: metric16
52
53$(DEST16)/clienttest.class: clienttest.java
54 $(MKDIR) -p $(DEST16)
55 $(JAVAC16) -d $(DEST16) -cp $(VBOXWS16) $<
56
57$(DEST15)/clienttest.class: clienttest.java
58 $(MKDIR) -p $(DEST15)
59 $(JAVAC15) -d $(DEST15) -cp $(VBOXWS15):$(JAXWSLIBS) $<
60
61run16: $(DEST16)/clienttest.class
62 $(JAVA16) -cp $(VBOXWS16):$(DEST16) clienttest show vms
63
64run15: $(DEST15)/clienttest.class
65 $(JAVA15) -cp $(VBOXWS15):$(JAXWSLIBS):$(DEST15) clienttest show vms
66
67$(DEST16)/metrictest.class: metrictest.java
68 $(MKDIR) -p $(DEST16)
69 $(JAVAC16) -d $(DEST16) -cp $(VBOXWS16) $<
70
71$(DEST15)/metrictest.class: metrictest.java
72 $(MKDIR) -p $(DEST15)
73 $(JAVAC15) -d $(DEST15) -cp $(VBOXWS15):$(JAXWSLIBS) $<
74
75metric16: $(DEST16)/metrictest.class
76 -$(JAVA16) -cp $(VBOXWS16):$(DEST16) metrictest
77
78metric15: $(DEST15)/metrictest.class
79 -$(JAVA15) -cp $(VBOXWS15):$(JAXWSLIBS):$(DEST15) metrictest
80
81clean:
82 $(RM) -rf $(DEST15) $(DEST16)
83
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