VirtualBox

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

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

*: scm --update-copyright-year

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