Author: nextgens
Date: 2008-10-28 18:21:32 +0000 (Tue, 28 Oct 2008)
New Revision: 23157

Modified:
   trunk/contrib/NativeThread/
   trunk/contrib/NativeThread/Makefile
Log:
freenet-ext: remove the dependancy on the main jar for NativeThread


Property changes on: trunk/contrib/NativeThread
___________________________________________________________________
Name: svn:externals
   - java 
https://emu.freenetproject.org/svn/trunk/freenet/src/freenet/support/io/


Modified: trunk/contrib/NativeThread/Makefile
===================================================================
--- trunk/contrib/NativeThread/Makefile 2008-10-28 18:10:06 UTC (rev 23156)
+++ trunk/contrib/NativeThread/Makefile 2008-10-28 18:21:32 UTC (rev 23157)
@@ -6,15 +6,11 @@
 
 all: clean libNativeThread.so
 
-NativeThread.class:
-       javac java/NativeThread.java
-       mv java/NativeThread.class freenet/support/io/
-
 libNativeThread.so: NativeThread.c NativeThread.h
        $(CC) $(CFLAGS) -o libNativeThread.so $(LDFLAGS) NativeThread.c $(LIBS)
 
-NativeThread.h: NativeThread.class
-       javah -o NativeThread.h -classpath . freenet.support.io.NativeThread
+NativeThread.h:
+       javah -o NativeThread.h -classpath $(CLASSPATH) 
freenet.support.io.NativeThread
 
 clean:
-       -rm -f freenet/support/io/NativeThread.class *.class NativeThread.h 
libNativeThread*.so
+       -rm -f *.class NativeThread.h libNativeThread*.so

_______________________________________________
cvs mailing list
[email protected]
http://emu.freenetproject.org/cgi-bin/mailman/listinfo/cvs

Reply via email to