Makefile revision db3dbd0ed7eb69f804a8921fa23a1267ea01f46e
2N/A#
2N/A# Copyright (C) 2008 Sun Microsystems, Inc.
2N/A#
2N/A# Sun Microsystems, Inc. confidential
2N/A# All rights reserved
2N/A#
2N/A
2N/AJAVA16=java
2N/AJAVA15=/usr/lib/jvm/java-1.5.0-sun/bin/java
2N/AJAVAC = javac
2N/AJAVAC15 = javac -target 1.5
2N/AJAVAC16 = javac -target 1.6
2N/AMKDIR = mkdir
2N/ARM = rm
2N/A
2N/ADEST16 = ./gen16
2N/ADEST15 = ./gen15
2N/A
2N/AVBOXWS15 = ../lib/vboxws_java15.jar
2N/AVBOXWS16 = ../lib/vboxws_java16.jar
2N/A
2N/AJAXWS=./jaxws-ri
2N/AJAXWSLIBS=$(JAXWS)/lib/jaxws-api.jar:$(JAXWS)/lib/jaxb-api.jar:$(JAXWS)/lib/jsr181-api.jar:$(JAXWS)/lib/jaxws-rt.jar
2N/A
2N/Aall: run16
2N/A
2N/Ametric: metric16
2N/A
2N/A$(DEST16)/clienttest.class: clienttest.java
2N/A $(MKDIR) -p $(DEST16)
2N/A $(JAVAC16) -d $(DEST16) -cp $(VBOXWS16) $<
2N/A
2N/A$(DEST15)/clienttest.class: clienttest.java
2N/A $(MKDIR) -p $(DEST15)
2N/A $(JAVAC15) -d $(DEST15) -cp $(VBOXWS15):$(JAXWSLIBS) $<
2N/A
2N/Arun16: $(DEST16)/clienttest.class
$(JAVA16) -cp $(VBOXWS16):$(DEST16) clienttest show vms
run15: $(DEST15)/clienttest.class
$(JAVA15) -cp $(VBOXWS15):$(JAXWSLIBS):$(DEST15) clienttest show vms
$(DEST16)/metrictest.class: metrictest.java
$(MKDIR) -p $(DEST16)
$(JAVAC16) -d $(DEST16) -cp $(VBOXWS16) $<
$(DEST15)/metrictest.class: metrictest.java
$(MKDIR) -p $(DEST15)
$(JAVAC15) -d $(DEST15) -cp $(VBOXWS15):$(JAXWSLIBS) $<
metric16: $(DEST16)/metrictest.class
-$(JAVA16) -cp $(VBOXWS16):$(DEST16) metrictest
metric15: $(DEST15)/metrictest.class
-$(JAVA15) -cp $(VBOXWS15):$(JAXWSLIBS):$(DEST15) metrictest
clean:
$(RM) -rf $(DEST15) $(DEST16)