summaryrefslogtreecommitdiff
blob: 21e7ff9992240cd7dea966542bbceb2c1ee0c32a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
--- libdsk-1.2.1/lib/Makefile.am.orig	2008-04-02 13:27:24.000000000 +1100
+++ libdsk-1.2.1/lib/Makefile.am	2008-04-02 13:28:55.000000000 +1100
@@ -2,6 +2,7 @@
 
 INCLUDES=-I$(top_srcdir)/include
 JAVAC=@JAVAC@
+JAVACFLAGS=@JAVACFLAGS@
 JAVAH=@JAVAH@
 JAVA=@JAVA@
 JAVADOC=@JAVADOC@
@@ -85,10 +86,10 @@
 	$(JAVADOC) -d $(top_srcdir)/doc/jni $(CLASSCPRE)
 
 $(CLASSDPRE)/%.class:   $(srcdir)/$(CLASSDPRE)/%.java
-	here=`pwd` && cd $(srcdir) && $(JAVAC) -d $$here $<
+	here=`pwd` && cd $(srcdir) && $(JAVAC) $(JAVACFLAGS) -d $$here $<
 
 %.class:        $(srcdir)/%.java
-	here=`pwd` && cd $(srcdir) && $(JAVAC) -d $$here $<
+	here=`pwd` && cd $(srcdir) && $(JAVAC) $(JAVACFLAGS) -d $$here $<
 
 
 $(HEADERPRE)_%.h:         $(CLASSDPRE)/%.class
--- libdsk-1.2.1.orig/tools/Makefile.am	2006-04-12 08:05:09.000000000 +1000
+++ libdsk-1.2.1/tools/Makefile.am	2008-04-02 14:06:06.000000000 +1100
@@ -32,5 +32,5 @@
 CLEANFILES=*.class
 
 %.class:        $(srcdir)/%.java
-	here=`pwd` && cd $(srcdir) && $(JAVAC) -classpath $(CLASSPATH):$$here/../lib/libdsk.jar -d $$here $<
+	here=`pwd` && cd $(srcdir) && $(JAVAC) $(JAVACFLAGS) -classpath $(CLASSPATH):$$here/../lib/libdsk.jar -d $$here $<