#
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# under the terms of the GNU General Public License version 2 only, as
# published by the Free Software Foundation. Oracle designates this
# particular file as subject to the "Classpath" exception as provided
# by Oracle in the LICENSE file that accompanied this code.
#
# This code is distributed in the hope that it will be useful, but WITHOUT
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
# version 2 for more details (a copy is included in the LICENSE file that
# accompanied this code).
#
# You should have received a copy of the GNU General Public License version
# 2 along with this work; if not, write to the Free Software Foundation,
# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
#
# Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
# or visit www.oracle.com if you need additional information or have any
# questions.
#
#
# Makefile for java.nio
#
BUILDDIR = ../..
#
# Files to compile
#
FILES_java += \
\
FILES_c += \
\
FILES_export += \
\
FILES_gen += \
endif # PLATFORM = solaris
FILES_java += \
\
FILES_c += \
Iocp.c \
FILES_export += \
endif # PLATFORM = windows
FILES_java += \
\
FILES_c += \
EPoll.c \
\
FILES_export += \
\
FILES_gen += \
endif # PLATFORM = linux
FILES_java += \
\
FILES_c += \
\
\
KQueue.c \
FILES_export += \
\
FILES_gen += \
endif # PLATFORM = bsd, macosx
FILES_java += \
FILES_c += \
else
#
# Find platform-specific C source files
#
endif # PLATFORM = macosx
#
# Various variables
#
#
# Access to io_util.c and net_util.c
#
OTHER_INCLUDES += \
endif # PLATFORM
#
# Rules
#
#
# Generate source files
#
# Template files
#
# Generated buffer classes
#
$(SH) $(GEN_BUFFER_SH)
# Public abstract buffer classes
#
$(X_BUF_BIN_TEMPLATE) \
# Buffers whose contents are heap-allocated
#
# Direct byte buffer
#
# Unswapped views of direct byte buffers
#
# Swapped views of direct byte buffers
#
# Big-endian views of byte buffers
#
# Little-endian views of byte buffers
#
#
# Generated coder classes
#
#
# Generated exception classes
#
#
# Generated charset-provider classes
#
#
# Generated channel implementation classes.
# C source is compiled in TEMPDIR to avoid turds left by Windows compilers.
#
else
$(SCH_GEN)/SocketOptionRegistry.java: $(NIO_PLATFORM_CLASSES_ROOT_DIR)/sun/nio/ch/SocketOptionRegistry-$(PLATFORM)-$(ARCH).java
$(CP) $< $@
else
$(GENSOR_EXE) >> $@
#
# Generated sun.nio.cs SingleByte classes
#
#
# Generated file system implementation classes (Unix only)
#
$(SFS_GEN)/UnixConstants.java: $(NIO_PLATFORM_CLASSES_ROOT_DIR)/sun/nio/fs/UnixConstants-$(PLATFORM)-$(ARCH).java
$(CP) $< $@
else
$(GENUC_EXE) >> $@
$(SFS_GEN)/SolarisConstants.java: $(NIO_PLATFORM_CLASSES_ROOT_DIR)/sun/nio/fs/SolarisConstants-$(PLATFORM)-$(ARCH).java
$(CP) $< $@
else
$(GENSC_EXE) >> $@