VirtualBox

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

最後變更 在這個檔案從16120是 16120,由 vboxsync 提交於 16 年 前

export webservices to OSE

  • 屬性 svn:eol-style 設為 native
檔案大小: 1.4 KB
 
1#
2# Copyright (C) 2008 Sun Microsystems, Inc.
3#
4# Sun Microsystems, Inc. confidential
5# All rights reserved
6#
7
8JAVA16=java
9JAVA15=/usr/lib/jvm/java-1.5.0-sun/bin/java
10JAVAC = javac
11JAVAC15 = javac -target 1.5
12JAVAC16 = javac -target 1.6
13MKDIR = mkdir
14RM = rm
15
16DEST16 = ./gen16
17DEST15 = ./gen15
18
19VBOXWS15 = ../lib/vboxws_java15.jar
20VBOXWS16 = ../lib/vboxws_java16.jar
21
22JAXWS=./jaxws-ri
23JAXWSLIBS=$(JAXWS)/lib/jaxws-api.jar:$(JAXWS)/lib/jaxb-api.jar:$(JAXWS)/lib/jsr181-api.jar:$(JAXWS)/lib/jaxws-rt.jar
24
25all: run16
26
27metric: metric16
28
29$(DEST16)/clienttest.class: clienttest.java
30 $(MKDIR) -p $(DEST16)
31 $(JAVAC16) -d $(DEST16) -cp $(VBOXWS16) $<
32
33$(DEST15)/clienttest.class: clienttest.java
34 $(MKDIR) -p $(DEST15)
35 $(JAVAC15) -d $(DEST15) -cp $(VBOXWS15):$(JAXWSLIBS) $<
36
37run16: $(DEST16)/clienttest.class
38 $(JAVA16) -cp $(VBOXWS16):$(DEST16) clienttest show vms
39
40run15: $(DEST15)/clienttest.class
41 $(JAVA15) -cp $(VBOXWS15):$(JAXWSLIBS):$(DEST15) clienttest show vms
42
43$(DEST16)/metrictest.class: metrictest.java
44 $(MKDIR) -p $(DEST16)
45 $(JAVAC16) -d $(DEST16) -cp $(VBOXWS16) $<
46
47$(DEST15)/metrictest.class: metrictest.java
48 $(MKDIR) -p $(DEST15)
49 $(JAVAC15) -d $(DEST15) -cp $(VBOXWS15):$(JAXWSLIBS) $<
50
51metric16: $(DEST16)/metrictest.class
52 -$(JAVA16) -cp $(VBOXWS16):$(DEST16) metrictest
53
54metric15: $(DEST15)/metrictest.class
55 -$(JAVA15) -cp $(VBOXWS15):$(JAXWSLIBS):$(DEST15) metrictest
56
57clean:
58 $(RM) -rf $(DEST15) $(DEST16)
注意: 瀏覽 TracBrowser 來幫助您使用儲存庫瀏覽器

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette