summaryrefslogtreecommitdiffstats
path: root/java
diff options
context:
space:
mode:
authorRichard W.M. Jones <rjones@redhat.com>2012-07-23 15:18:12 +0100
committerRichard W.M. Jones <rjones@redhat.com>2012-08-05 21:37:11 +0100
commit234de79b7a5140895dfbfa592bdc2f91ab1332b0 (patch)
tree5c86c8e3b6c24b495ef4621063159f1046a4bdeb /java
parent0cc345db47a652f7497cd973434fa5527c101e76 (diff)
downloadlibguestfs-234de79b7a5140895dfbfa592bdc2f91ab1332b0.tar.gz
libguestfs-234de79b7a5140895dfbfa592bdc2f91ab1332b0.tar.xz
libguestfs-234de79b7a5140895dfbfa592bdc2f91ab1332b0.zip
java: JAVAC_FLAGS -> EXTRA_JAVAC_FLAGS.
This is just a rename. (cherry picked from commit 7f519bdc06de978c2460112a88e8bfac5f292dee)
Diffstat (limited to 'java')
-rw-r--r--java/Makefile.am2
-rw-r--r--java/examples/Makefile.am2
2 files changed, 4 insertions, 0 deletions
diff --git a/java/Makefile.am b/java/Makefile.am
index 613aac92..f4d1fec6 100644
--- a/java/Makefile.am
+++ b/java/Makefile.am
@@ -52,6 +52,8 @@ CLEANFILES = doc-stamp $(builddir)/com/redhat/et/libguestfs/*.class com_redhat_e
if HAVE_JAVA
+JAVAC_FLAGS = $(EXTRA_JAVAC_FLAGS)
+
# Java source.
libguestfs_jardir = $(JAR_INSTALL_DIR)
diff --git a/java/examples/Makefile.am b/java/examples/Makefile.am
index 15d20d82..3ba251ee 100644
--- a/java/examples/Makefile.am
+++ b/java/examples/Makefile.am
@@ -44,6 +44,8 @@ if HAVE_JAVA
noinst_SCRIPTS = CreateDisk.class InspectVM.class
+JAVAC_FLAGS = $(EXTRA_JAVAC_FLAGS)
+
%.class: %.java
$(JAVAC) $(JAVAC_FLAGS) -classpath ../libguestfs-$(VERSION).jar $<