[freenet-cvs] r17909 - trunk/contrib/NativeThread

nextgens at freenetproject.org nextgens at freenetproject.org
Fri Feb 15 04:39:47 UTC 2008


Author: nextgens
Date: 2008-02-15 04:39:47 +0000 (Fri, 15 Feb 2008)
New Revision: 17909

Modified:
   trunk/contrib/NativeThread/
   trunk/contrib/NativeThread/Makefile
Log:
freenet.ext: use a svn:externals property instead of a symlink


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-02-15 04:33:30 UTC (rev 17908)
+++ trunk/contrib/NativeThread/Makefile	2008-02-15 04:39:47 UTC (rev 17909)
@@ -3,16 +3,13 @@
 CFLAGS = -Wall -O3
 LDFLAGS = -shared -Wl,-soname,libnative.so -I$(INC) -I$(INC)/linux
 LIBS=-static -lc
-FREEENETDIR=/home/nextgens/repo/freenet/
 
 all: clean libNativeThread.so
 
-NativeThread.java:
-	ln -s $(FREEENETDIR)/src/freenet/support/io/NativeThread.java
+NativeThread.class:
+	javac java/NativeThread.java
+	mv java/NativeThread.class .
 
-NativeThread.class: NativeThread.java
-	javac NativeThread.java
-
 libNativeThread.so: NativeThread.c NativeThread.h
 	$(CC) $(CFLAGS) -o libNativeThread.so $(LDFLAGS) NativeThread.c $(LIBS)
 
@@ -20,4 +17,4 @@
 	javah NativeThread
 
 clean:
-	-rm -f *.class NativeThread.h libNativeThread*.so NativeThread.java
+	-rm -f *.class NativeThread.h libNativeThread*.so




More information about the cvs mailing list