VirtualBox

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

Last change on this file since 65809 was 44529, checked in by vboxsync, 12 years ago

header (C) fixes

  • Property svn:eol-style set to native
File size: 1.7 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
13JAXWS=./jaxws-ri
14JAXWSLIBS=$(JAXWS)/lib/jaxws-api.jar:$(JAXWS)/lib/jaxb-api.jar:$(JAXWS)/lib/jsr181-api.jar:$(JAXWS)/lib/jaxws-rt.jar
15
16
17JAVA16=java
18JAVA15=/usr/lib/jvm/java-1.5.0-sun/bin/java
19JAVAC15 = javac -target 1.5
20JAVAC16 = javac -target 1.6
21WSIMPORT15 = $(JAVA15) -cp $(JAXWS)/lib/jaxws-tools.jar com.sun.tools.ws.WsImport
22WSIMPORT16 = wsimport
23JAR = jar
24CP = cp
25MKDIR = mkdir
26RM = rm
27
28DEST16 = ./gen16
29DEST15 = ./gen15
30
31VBOXWS15 = ../lib/vboxws_java15.jar
32VBOXWS16 = ../lib/vboxws_java16.jar
33
34all: $(VBOXWS15) $(VBOXWS16)
35
36$(VBOXWS15): ../../../vboxwebService.wsdl ../../../vboxweb.wsdl *.java
37 $(RM) -rf $(DEST15)
38 $(MKDIR) -p $(DEST15)
39 $(WSIMPORT15) -d $(DEST15) $<
40 $(JAVAC15) -cp $(DEST15) *.java -d $(DEST15)
41 $(CP) ../../../vboxwebService.wsdl ../../../vboxweb.wsdl $(DEST15)
42 $(JAR) cvf $(VBOXWS15) -C $(DEST15) . > /dev/null
43
44$(VBOXWS16): ../../../vboxwebService.wsdl ../../../vboxweb.wsdl *.java
45 $(RM) -rf $(DEST16)
46 $(MKDIR) -p $(DEST16)
47 $(WSIMPORT16) -d $(DEST16) $<
48 $(JAVAC16) -cp $(DEST16) *.java -d $(DEST16)
49 $(CP) ../../../vboxwebService.wsdl ../../../vboxweb.wsdl $(DEST16)
50 $(JAR) cvf $(VBOXWS16) -C $(DEST16) . > /dev/null
51
52clean:
53 $(RM) -rf $(DEST)
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