harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hinde...@apache.org
Subject svn commit: r589186 - /harmony/enhanced/classlib/trunk/modules/nio/src/main/native/nio/unix/makefile
Date Sat, 27 Oct 2007 19:15:20 GMT
Author: hindessm
Date: Sat Oct 27 12:15:19 2007
New Revision: 589186

URL: http://svn.apache.org/viewvc?rev=589186&view=rev
Log:
Hack to get hynio dll to compile on FreeBSD.  We really need a better
solution in the java code than just leaving broken native methods,
perhaps creating stubs that throw NotImplementedExceptions if some code
tries to use an unsupported selector would be sufficient.
Ideally we should add support for kqueue for FreeBSD.

Modified:
    harmony/enhanced/classlib/trunk/modules/nio/src/main/native/nio/unix/makefile

Modified: harmony/enhanced/classlib/trunk/modules/nio/src/main/native/nio/unix/makefile
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/nio/src/main/native/nio/unix/makefile?rev=589186&r1=589185&r2=589186&view=diff
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/nio/src/main/native/nio/unix/makefile (original)
+++ harmony/enhanced/classlib/trunk/modules/nio/src/main/native/nio/unix/makefile Sat Oct
27 12:15:19 2007
@@ -22,7 +22,10 @@
 CFLAGS += -fpic
 
 BUILDFILES = \
-	../shared/DirectBufferUtil.o ../shared/AddressUtil.o ../unix/EpollSelectorImpl.o
+	../shared/DirectBufferUtil.o ../shared/AddressUtil.o
+ifeq ($(HY_OS),linux)
+BUILDFILES += ../unix/EpollSelectorImpl.o
+endif
 
 ifneq ($(HY_ZIP_API),true)
 MDLLIBFILES += $(LIBPATH)libhyzip.a 



Mime
View raw message