make really java bindings compile again
authorFilippo Carone <littlejohn@videolan.org>
Wed, 11 Oct 2006 19:57:44 +0000 (19:57 +0000)
committerFilippo Carone <littlejohn@videolan.org>
Wed, 11 Oct 2006 19:57:44 +0000 (19:57 +0000)
Makefile.am
org/videolan/jvlc/JVLC.java

index 5941cae..8b55d4a 100644 (file)
@@ -77,10 +77,15 @@ VlcClient: $(OBJECTS)
 VLCExample: $(OBJECTS)
        $(JAVAC) VLCExample.java
 
-class: %.java
+if HAVE_WIN32
+%.class: %.java 
+       $(JAVAC) $? 
+       $(JCH) org.videolan.jvlc.$(*F)
+else
+%.class: %.java
        $(JAVAC) $?
        $(JCH) $(@D)/$(*F) -o includes/$(*F).h
-
+endif
 
 clean-local:
        rm -f *.class *~ org/videolan/jvlc/*.class org_videolan*.h includes/*.h src/*.o *.so *.o *.dll
index ef73d68..71ed3ff 100644 (file)
@@ -60,7 +60,7 @@ public class JVLC implements Runnable {
     
     public JVLC() {
         String[] args = new String[1];
-        args[0] = "";
+        args[0] = "jvlc";
         
         _instance      = createInstance( args );
         playlist       = new Playlist  ( _instance );