harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From odea...@apache.org
Subject svn commit: r517723 - in /harmony/enhanced/classlib/trunk/modules/portlib/src/main/native/port/unix: freebsd/ freebsd/hymmap.c freebsd/hyvmem.c hyvmem.c linux/ linux/hymmap.c linux/hyvmem.c makefile
Date Tue, 13 Mar 2007 15:14:18 GMT
Author: odeakin
Date: Tue Mar 13 08:14:17 2007
New Revision: 517723

URL: http://svn.apache.org/viewvc?view=rev&rev=517723
Log:
Moving files to OS specific subdirectories to allow for further platform ports.

Added:
    harmony/enhanced/classlib/trunk/modules/portlib/src/main/native/port/unix/freebsd/
    harmony/enhanced/classlib/trunk/modules/portlib/src/main/native/port/unix/freebsd/hymmap.c
  (with props)
    harmony/enhanced/classlib/trunk/modules/portlib/src/main/native/port/unix/freebsd/hyvmem.c
  (with props)
    harmony/enhanced/classlib/trunk/modules/portlib/src/main/native/port/unix/linux/
    harmony/enhanced/classlib/trunk/modules/portlib/src/main/native/port/unix/linux/hymmap.c
  (with props)
    harmony/enhanced/classlib/trunk/modules/portlib/src/main/native/port/unix/linux/hyvmem.c
      - copied unchanged from r517700, harmony/enhanced/classlib/trunk/modules/portlib/src/main/native/port/unix/hyvmem.c
Removed:
    harmony/enhanced/classlib/trunk/modules/portlib/src/main/native/port/unix/hyvmem.c
Modified:
    harmony/enhanced/classlib/trunk/modules/portlib/src/main/native/port/unix/makefile

Added: harmony/enhanced/classlib/trunk/modules/portlib/src/main/native/port/unix/freebsd/hymmap.c
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/portlib/src/main/native/port/unix/freebsd/hymmap.c?view=auto&rev=517723
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/portlib/src/main/native/port/unix/freebsd/hymmap.c
(added)
+++ harmony/enhanced/classlib/trunk/modules/portlib/src/main/native/port/unix/freebsd/hymmap.c
Tue Mar 13 08:14:17 2007
@@ -0,0 +1,19 @@
+/*
+ *  Licensed to the Apache Software Foundation (ASF) under one or more
+ *  contributor license agreements.  See the NOTICE file distributed with
+ *  this work for additional information regarding copyright ownership.
+ *  The ASF licenses this file to You under the Apache License, Version 2.0
+ *  (the "License"); you may not use this file except in compliance with
+ *  the License.  You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ *  Unless required by applicable law or agreed to in writing, software
+ *  distributed under the License is distributed on an "AS IS" BASIS,
+ *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ *  See the License for the specific language governing permissions and
+ *  limitations under the License.
+ */
+
+/* Just include the generic Unix version of this file */
+#include "../hymmap.c"

Propchange: harmony/enhanced/classlib/trunk/modules/portlib/src/main/native/port/unix/freebsd/hymmap.c
------------------------------------------------------------------------------
    svn:eol-style = native

Added: harmony/enhanced/classlib/trunk/modules/portlib/src/main/native/port/unix/freebsd/hyvmem.c
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/portlib/src/main/native/port/unix/freebsd/hyvmem.c?view=auto&rev=517723
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/portlib/src/main/native/port/unix/freebsd/hyvmem.c
(added)
+++ harmony/enhanced/classlib/trunk/modules/portlib/src/main/native/port/unix/freebsd/hyvmem.c
Tue Mar 13 08:14:17 2007
@@ -0,0 +1,20 @@
+/*
+ *  Licensed to the Apache Software Foundation (ASF) under one or more
+ *  contributor license agreements.  See the NOTICE file distributed with
+ *  this work for additional information regarding copyright ownership.
+ *  The ASF licenses this file to You under the Apache License, Version 2.0
+ *  (the "License"); you may not use this file except in compliance with
+ *  the License.  You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ *  Unless required by applicable law or agreed to in writing, software
+ *  distributed under the License is distributed on an "AS IS" BASIS,
+ *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ *  See the License for the specific language governing permissions and
+ *  limitations under the License.
+ */
+
+/* Temporary placeholder so FreeBSD port still compiles. FreeBSD requires it's own
+   implementation of these functions, but for now just let it build against the Linux ones.
*/
+#include "../linux/hyvmem.c"

Propchange: harmony/enhanced/classlib/trunk/modules/portlib/src/main/native/port/unix/freebsd/hyvmem.c
------------------------------------------------------------------------------
    svn:eol-style = native

Added: harmony/enhanced/classlib/trunk/modules/portlib/src/main/native/port/unix/linux/hymmap.c
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/portlib/src/main/native/port/unix/linux/hymmap.c?view=auto&rev=517723
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/portlib/src/main/native/port/unix/linux/hymmap.c
(added)
+++ harmony/enhanced/classlib/trunk/modules/portlib/src/main/native/port/unix/linux/hymmap.c
Tue Mar 13 08:14:17 2007
@@ -0,0 +1,19 @@
+/*
+ *  Licensed to the Apache Software Foundation (ASF) under one or more
+ *  contributor license agreements.  See the NOTICE file distributed with
+ *  this work for additional information regarding copyright ownership.
+ *  The ASF licenses this file to You under the Apache License, Version 2.0
+ *  (the "License"); you may not use this file except in compliance with
+ *  the License.  You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ *  Unless required by applicable law or agreed to in writing, software
+ *  distributed under the License is distributed on an "AS IS" BASIS,
+ *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ *  See the License for the specific language governing permissions and
+ *  limitations under the License.
+ */
+
+/* Just include the generic Unix version of this file */
+#include "../hymmap.c"

Propchange: harmony/enhanced/classlib/trunk/modules/portlib/src/main/native/port/unix/linux/hymmap.c
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: harmony/enhanced/classlib/trunk/modules/portlib/src/main/native/port/unix/makefile
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/portlib/src/main/native/port/unix/makefile?view=diff&rev=517723&r1=517722&r2=517723
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/portlib/src/main/native/port/unix/makefile (original)
+++ harmony/enhanced/classlib/trunk/modules/portlib/src/main/native/port/unix/makefile Tue
Mar 13 08:14:17 2007
@@ -26,11 +26,11 @@
 	$(SHAREDSUB)port_copyright.o hycpu.o $(SHAREDSUB)hyerror.o \
 	hyerrorhelpers.o $(SHAREDSUB)hyexit.o hyfile.o hyfiletext.o \
 	$(SHAREDSUB)hygp.o hyipcmutex.o hymem.o \
-	hymmap.o $(SHAREDSUB)hynls.o hynlshelpers.o hyosdump.o \
+	$(HY_OS)/hymmap.o $(SHAREDSUB)hynls.o hynlshelpers.o hyosdump.o \
 	$(SHAREDSUB)hyport.o $(SHAREDSUB)hyportcontrol.o hyportptb.o \
 	hysharedhelper.o hyshmem.o hyshsem.o hysl.o hysock.o \
 	$(SHAREDSUB)hystr.o $(SHAREDSUB)hystrftime.o $(SHAREDSUB)hystsl.o \
-	hysysinfo.o hytime.o $(SHAREDSUB)hytlshelpers.o hytty.o hyvmem.o
+	hysysinfo.o hytime.o $(SHAREDSUB)hytlshelpers.o hytty.o $(HY_OS)/hyvmem.o
 
 ifeq ($(HY_NO_SIG),false)
 BUILDFILES += hysignal.o $(HY_PLATFORM)/hysignal_context.o



Mime
View raw message