jdk/make/java/nio/Makefile
author mchung
Wed, 09 Mar 2011 23:11:07 -0800
changeset 8583 15dea0fdc2ea
parent 7971 ca5a32210b1b
child 8796 604a43386301
permissions -rw-r--r--
7025631: Remove the modules build support from jdk 7 Reviewed-by: alanb, ohair
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
     1
#
7668
d4a77089c587 6962318: Update copyright year
ohair
parents: 5552
diff changeset
     2
# Copyright (c) 2000, 2010, Oracle and/or its affiliates. All rights reserved.
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
     3
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
90ce3da70b43 Initial load
duke
parents:
diff changeset
     4
#
90ce3da70b43 Initial load
duke
parents:
diff changeset
     5
# This code is free software; you can redistribute it and/or modify it
90ce3da70b43 Initial load
duke
parents:
diff changeset
     6
# under the terms of the GNU General Public License version 2 only, as
5506
202f599c92aa 6943119: Rebrand source copyright notices
ohair
parents: 4917
diff changeset
     7
# published by the Free Software Foundation.  Oracle designates this
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
     8
# particular file as subject to the "Classpath" exception as provided
5506
202f599c92aa 6943119: Rebrand source copyright notices
ohair
parents: 4917
diff changeset
     9
# by Oracle in the LICENSE file that accompanied this code.
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
    10
#
90ce3da70b43 Initial load
duke
parents:
diff changeset
    11
# This code is distributed in the hope that it will be useful, but WITHOUT
90ce3da70b43 Initial load
duke
parents:
diff changeset
    12
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
90ce3da70b43 Initial load
duke
parents:
diff changeset
    13
# FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
90ce3da70b43 Initial load
duke
parents:
diff changeset
    14
# version 2 for more details (a copy is included in the LICENSE file that
90ce3da70b43 Initial load
duke
parents:
diff changeset
    15
# accompanied this code).
90ce3da70b43 Initial load
duke
parents:
diff changeset
    16
#
90ce3da70b43 Initial load
duke
parents:
diff changeset
    17
# You should have received a copy of the GNU General Public License version
90ce3da70b43 Initial load
duke
parents:
diff changeset
    18
# 2 along with this work; if not, write to the Free Software Foundation,
90ce3da70b43 Initial load
duke
parents:
diff changeset
    19
# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
90ce3da70b43 Initial load
duke
parents:
diff changeset
    20
#
5506
202f599c92aa 6943119: Rebrand source copyright notices
ohair
parents: 4917
diff changeset
    21
# Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
202f599c92aa 6943119: Rebrand source copyright notices
ohair
parents: 4917
diff changeset
    22
# or visit www.oracle.com if you need additional information or have any
202f599c92aa 6943119: Rebrand source copyright notices
ohair
parents: 4917
diff changeset
    23
# questions.
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
    24
#
90ce3da70b43 Initial load
duke
parents:
diff changeset
    25
90ce3da70b43 Initial load
duke
parents:
diff changeset
    26
#
90ce3da70b43 Initial load
duke
parents:
diff changeset
    27
# Makefile for java.nio
90ce3da70b43 Initial load
duke
parents:
diff changeset
    28
#
90ce3da70b43 Initial load
duke
parents:
diff changeset
    29
90ce3da70b43 Initial load
duke
parents:
diff changeset
    30
BUILDDIR = ../..
90ce3da70b43 Initial load
duke
parents:
diff changeset
    31
PACKAGE = java.nio
90ce3da70b43 Initial load
duke
parents:
diff changeset
    32
LIBRARY = nio
90ce3da70b43 Initial load
duke
parents:
diff changeset
    33
PRODUCT = java
90ce3da70b43 Initial load
duke
parents:
diff changeset
    34
OTHER_JAVACFLAGS += -Xmaxwarns 1000 -Xlint:serial -Werror
90ce3da70b43 Initial load
duke
parents:
diff changeset
    35
include $(BUILDDIR)/common/Defs.gmk
90ce3da70b43 Initial load
duke
parents:
diff changeset
    36
90ce3da70b43 Initial load
duke
parents:
diff changeset
    37
NIO_SRC = $(SHARE_SRC)/classes/java/nio
90ce3da70b43 Initial load
duke
parents:
diff changeset
    38
NIO_GEN = $(GENSRCDIR)/java/nio
90ce3da70b43 Initial load
duke
parents:
diff changeset
    39
90ce3da70b43 Initial load
duke
parents:
diff changeset
    40
SNIO_SRC = $(SHARE_SRC)/classes/sun/nio
90ce3da70b43 Initial load
duke
parents:
diff changeset
    41
SNIO_GEN = $(GENSRCDIR)/sun/nio
90ce3da70b43 Initial load
duke
parents:
diff changeset
    42
90ce3da70b43 Initial load
duke
parents:
diff changeset
    43
#
90ce3da70b43 Initial load
duke
parents:
diff changeset
    44
# Files to compile
90ce3da70b43 Initial load
duke
parents:
diff changeset
    45
#
90ce3da70b43 Initial load
duke
parents:
diff changeset
    46
90ce3da70b43 Initial load
duke
parents:
diff changeset
    47
include FILES_java.gmk
90ce3da70b43 Initial load
duke
parents:
diff changeset
    48
include FILES_c.gmk
90ce3da70b43 Initial load
duke
parents:
diff changeset
    49
include Exportedfiles.gmk
90ce3da70b43 Initial load
duke
parents:
diff changeset
    50
90ce3da70b43 Initial load
duke
parents:
diff changeset
    51
ifeq ($(PLATFORM), solaris)
90ce3da70b43 Initial load
duke
parents:
diff changeset
    52
FILES_java += \
90ce3da70b43 Initial load
duke
parents:
diff changeset
    53
        sun/nio/ch/AbstractPollSelectorImpl.java \
90ce3da70b43 Initial load
duke
parents:
diff changeset
    54
	sun/nio/ch/DevPollArrayWrapper.java \
90ce3da70b43 Initial load
duke
parents:
diff changeset
    55
	sun/nio/ch/DevPollSelectorImpl.java \
90ce3da70b43 Initial load
duke
parents:
diff changeset
    56
        sun/nio/ch/DevPollSelectorProvider.java \
90ce3da70b43 Initial load
duke
parents:
diff changeset
    57
	sun/nio/ch/InheritedChannel.java \
90ce3da70b43 Initial load
duke
parents:
diff changeset
    58
        sun/nio/ch/PollSelectorProvider.java \
2057
3acf8e5e2ca0 6781363: New I/O: Update socket-channel API to jsr203/nio2-b99
alanb
parents: 1713
diff changeset
    59
        sun/nio/ch/PollSelectorImpl.java \
3acf8e5e2ca0 6781363: New I/O: Update socket-channel API to jsr203/nio2-b99
alanb
parents: 1713
diff changeset
    60
	sun/nio/ch/Port.java \
3acf8e5e2ca0 6781363: New I/O: Update socket-channel API to jsr203/nio2-b99
alanb
parents: 1713
diff changeset
    61
	sun/nio/ch/SimpleAsynchronousFileChannelImpl.java \
3acf8e5e2ca0 6781363: New I/O: Update socket-channel API to jsr203/nio2-b99
alanb
parents: 1713
diff changeset
    62
	sun/nio/ch/SolarisAsynchronousChannelProvider.java \
3acf8e5e2ca0 6781363: New I/O: Update socket-channel API to jsr203/nio2-b99
alanb
parents: 1713
diff changeset
    63
	sun/nio/ch/SolarisEventPort.java \
3acf8e5e2ca0 6781363: New I/O: Update socket-channel API to jsr203/nio2-b99
alanb
parents: 1713
diff changeset
    64
	sun/nio/ch/UnixAsynchronousServerSocketChannelImpl.java \
3acf8e5e2ca0 6781363: New I/O: Update socket-channel API to jsr203/nio2-b99
alanb
parents: 1713
diff changeset
    65
	sun/nio/ch/UnixAsynchronousSocketChannelImpl.java \
3acf8e5e2ca0 6781363: New I/O: Update socket-channel API to jsr203/nio2-b99
alanb
parents: 1713
diff changeset
    66
	\
3acf8e5e2ca0 6781363: New I/O: Update socket-channel API to jsr203/nio2-b99
alanb
parents: 1713
diff changeset
    67
	sun/nio/fs/GnomeFileTypeDetector.java \
3acf8e5e2ca0 6781363: New I/O: Update socket-channel API to jsr203/nio2-b99
alanb
parents: 1713
diff changeset
    68
	sun/nio/fs/PollingWatchService.java \
3acf8e5e2ca0 6781363: New I/O: Update socket-channel API to jsr203/nio2-b99
alanb
parents: 1713
diff changeset
    69
	sun/nio/fs/SolarisAclFileAttributeView.java \
3acf8e5e2ca0 6781363: New I/O: Update socket-channel API to jsr203/nio2-b99
alanb
parents: 1713
diff changeset
    70
	sun/nio/fs/SolarisFileStore.java \
3acf8e5e2ca0 6781363: New I/O: Update socket-channel API to jsr203/nio2-b99
alanb
parents: 1713
diff changeset
    71
	sun/nio/fs/SolarisFileSystem.java \
3acf8e5e2ca0 6781363: New I/O: Update socket-channel API to jsr203/nio2-b99
alanb
parents: 1713
diff changeset
    72
	sun/nio/fs/SolarisFileSystemProvider.java \
3acf8e5e2ca0 6781363: New I/O: Update socket-channel API to jsr203/nio2-b99
alanb
parents: 1713
diff changeset
    73
	sun/nio/fs/SolarisUserDefinedFileAttributeView.java \
3acf8e5e2ca0 6781363: New I/O: Update socket-channel API to jsr203/nio2-b99
alanb
parents: 1713
diff changeset
    74
	sun/nio/fs/SolarisNativeDispatcher.java \
3acf8e5e2ca0 6781363: New I/O: Update socket-channel API to jsr203/nio2-b99
alanb
parents: 1713
diff changeset
    75
	sun/nio/fs/SolarisWatchService.java \
3acf8e5e2ca0 6781363: New I/O: Update socket-channel API to jsr203/nio2-b99
alanb
parents: 1713
diff changeset
    76
	sun/nio/fs/UnixChannelFactory.java \
3acf8e5e2ca0 6781363: New I/O: Update socket-channel API to jsr203/nio2-b99
alanb
parents: 1713
diff changeset
    77
	sun/nio/fs/UnixCopyFile.java \
3acf8e5e2ca0 6781363: New I/O: Update socket-channel API to jsr203/nio2-b99
alanb
parents: 1713
diff changeset
    78
	sun/nio/fs/UnixDirectoryStream.java \
3acf8e5e2ca0 6781363: New I/O: Update socket-channel API to jsr203/nio2-b99
alanb
parents: 1713
diff changeset
    79
	sun/nio/fs/UnixException.java \
3acf8e5e2ca0 6781363: New I/O: Update socket-channel API to jsr203/nio2-b99
alanb
parents: 1713
diff changeset
    80
	sun/nio/fs/UnixFileAttributeViews.java \
3acf8e5e2ca0 6781363: New I/O: Update socket-channel API to jsr203/nio2-b99
alanb
parents: 1713
diff changeset
    81
	sun/nio/fs/UnixFileAttributes.java \
3acf8e5e2ca0 6781363: New I/O: Update socket-channel API to jsr203/nio2-b99
alanb
parents: 1713
diff changeset
    82
	sun/nio/fs/UnixFileKey.java \
3acf8e5e2ca0 6781363: New I/O: Update socket-channel API to jsr203/nio2-b99
alanb
parents: 1713
diff changeset
    83
	sun/nio/fs/UnixFileModeAttribute.java \
3acf8e5e2ca0 6781363: New I/O: Update socket-channel API to jsr203/nio2-b99
alanb
parents: 1713
diff changeset
    84
	sun/nio/fs/UnixFileStore.java \
3acf8e5e2ca0 6781363: New I/O: Update socket-channel API to jsr203/nio2-b99
alanb
parents: 1713
diff changeset
    85
	sun/nio/fs/UnixFileStoreAttributes.java \
3acf8e5e2ca0 6781363: New I/O: Update socket-channel API to jsr203/nio2-b99
alanb
parents: 1713
diff changeset
    86
	sun/nio/fs/UnixFileSystem.java \
3acf8e5e2ca0 6781363: New I/O: Update socket-channel API to jsr203/nio2-b99
alanb
parents: 1713
diff changeset
    87
	sun/nio/fs/UnixFileSystemProvider.java \
3acf8e5e2ca0 6781363: New I/O: Update socket-channel API to jsr203/nio2-b99
alanb
parents: 1713
diff changeset
    88
	sun/nio/fs/UnixMountEntry.java \
3acf8e5e2ca0 6781363: New I/O: Update socket-channel API to jsr203/nio2-b99
alanb
parents: 1713
diff changeset
    89
	sun/nio/fs/UnixNativeDispatcher.java \
3acf8e5e2ca0 6781363: New I/O: Update socket-channel API to jsr203/nio2-b99
alanb
parents: 1713
diff changeset
    90
	sun/nio/fs/UnixPath.java \
3acf8e5e2ca0 6781363: New I/O: Update socket-channel API to jsr203/nio2-b99
alanb
parents: 1713
diff changeset
    91
	sun/nio/fs/UnixSecureDirectoryStream.java \
3acf8e5e2ca0 6781363: New I/O: Update socket-channel API to jsr203/nio2-b99
alanb
parents: 1713
diff changeset
    92
	sun/nio/fs/UnixUriUtils.java \
3acf8e5e2ca0 6781363: New I/O: Update socket-channel API to jsr203/nio2-b99
alanb
parents: 1713
diff changeset
    93
	sun/nio/fs/UnixUserPrincipals.java
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
    94
90ce3da70b43 Initial load
duke
parents:
diff changeset
    95
FILES_c += \
90ce3da70b43 Initial load
duke
parents:
diff changeset
    96
        DevPollArrayWrapper.c \
90ce3da70b43 Initial load
duke
parents:
diff changeset
    97
	InheritedChannel.c \
1152
29d6145d1097 4640544: New I/O: Complete socket-channel functionality
alanb
parents: 914
diff changeset
    98
	NativeThread.c \
2057
3acf8e5e2ca0 6781363: New I/O: Update socket-channel API to jsr203/nio2-b99
alanb
parents: 1713
diff changeset
    99
        PollArrayWrapper.c \
3acf8e5e2ca0 6781363: New I/O: Update socket-channel API to jsr203/nio2-b99
alanb
parents: 1713
diff changeset
   100
	SolarisEventPort.c \
3acf8e5e2ca0 6781363: New I/O: Update socket-channel API to jsr203/nio2-b99
alanb
parents: 1713
diff changeset
   101
	UnixAsynchronousServerSocketChannelImpl.c \
3acf8e5e2ca0 6781363: New I/O: Update socket-channel API to jsr203/nio2-b99
alanb
parents: 1713
diff changeset
   102
	UnixAsynchronousSocketChannelImpl.c \
3acf8e5e2ca0 6781363: New I/O: Update socket-channel API to jsr203/nio2-b99
alanb
parents: 1713
diff changeset
   103
	\
3acf8e5e2ca0 6781363: New I/O: Update socket-channel API to jsr203/nio2-b99
alanb
parents: 1713
diff changeset
   104
	GnomeFileTypeDetector.c \
3acf8e5e2ca0 6781363: New I/O: Update socket-channel API to jsr203/nio2-b99
alanb
parents: 1713
diff changeset
   105
	SolarisNativeDispatcher.c \
3acf8e5e2ca0 6781363: New I/O: Update socket-channel API to jsr203/nio2-b99
alanb
parents: 1713
diff changeset
   106
	SolarisWatchService.c \
3acf8e5e2ca0 6781363: New I/O: Update socket-channel API to jsr203/nio2-b99
alanb
parents: 1713
diff changeset
   107
	UnixCopyFile.c \
3acf8e5e2ca0 6781363: New I/O: Update socket-channel API to jsr203/nio2-b99
alanb
parents: 1713
diff changeset
   108
	UnixNativeDispatcher.c
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   109
90ce3da70b43 Initial load
duke
parents:
diff changeset
   110
FILES_export += \
90ce3da70b43 Initial load
duke
parents:
diff changeset
   111
	sun/nio/ch/DevPollArrayWrapper.java \
90ce3da70b43 Initial load
duke
parents:
diff changeset
   112
	sun/nio/ch/InheritedChannel.java \
2057
3acf8e5e2ca0 6781363: New I/O: Update socket-channel API to jsr203/nio2-b99
alanb
parents: 1713
diff changeset
   113
	sun/nio/ch/NativeThread.java \
3acf8e5e2ca0 6781363: New I/O: Update socket-channel API to jsr203/nio2-b99
alanb
parents: 1713
diff changeset
   114
	sun/nio/ch/SolarisEventPort.java \
3acf8e5e2ca0 6781363: New I/O: Update socket-channel API to jsr203/nio2-b99
alanb
parents: 1713
diff changeset
   115
	sun/nio/ch/UnixAsynchronousServerSocketChannelImpl.java \
3acf8e5e2ca0 6781363: New I/O: Update socket-channel API to jsr203/nio2-b99
alanb
parents: 1713
diff changeset
   116
	sun/nio/ch/UnixAsynchronousSocketChannelImpl.java \
3acf8e5e2ca0 6781363: New I/O: Update socket-channel API to jsr203/nio2-b99
alanb
parents: 1713
diff changeset
   117
	\
3acf8e5e2ca0 6781363: New I/O: Update socket-channel API to jsr203/nio2-b99
alanb
parents: 1713
diff changeset
   118
	sun/nio/fs/GnomeFileTypeDetector.java \
3acf8e5e2ca0 6781363: New I/O: Update socket-channel API to jsr203/nio2-b99
alanb
parents: 1713
diff changeset
   119
	sun/nio/fs/SolarisNativeDispatcher.java \
3acf8e5e2ca0 6781363: New I/O: Update socket-channel API to jsr203/nio2-b99
alanb
parents: 1713
diff changeset
   120
	sun/nio/fs/SolarisWatchService.java \
3acf8e5e2ca0 6781363: New I/O: Update socket-channel API to jsr203/nio2-b99
alanb
parents: 1713
diff changeset
   121
	sun/nio/fs/UnixCopyFile.java \
3acf8e5e2ca0 6781363: New I/O: Update socket-channel API to jsr203/nio2-b99
alanb
parents: 1713
diff changeset
   122
	sun/nio/fs/UnixNativeDispatcher.java
3acf8e5e2ca0 6781363: New I/O: Update socket-channel API to jsr203/nio2-b99
alanb
parents: 1713
diff changeset
   123
3acf8e5e2ca0 6781363: New I/O: Update socket-channel API to jsr203/nio2-b99
alanb
parents: 1713
diff changeset
   124
FILES_gen += \
3acf8e5e2ca0 6781363: New I/O: Update socket-channel API to jsr203/nio2-b99
alanb
parents: 1713
diff changeset
   125
	sun/nio/fs/SolarisConstants.java \
3acf8e5e2ca0 6781363: New I/O: Update socket-channel API to jsr203/nio2-b99
alanb
parents: 1713
diff changeset
   126
	sun/nio/fs/UnixConstants.java
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   127
endif # PLATFORM = solaris
90ce3da70b43 Initial load
duke
parents:
diff changeset
   128
90ce3da70b43 Initial load
duke
parents:
diff changeset
   129
ifeq ($(PLATFORM), windows)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   130
FILES_java += \
2057
3acf8e5e2ca0 6781363: New I/O: Update socket-channel API to jsr203/nio2-b99
alanb
parents: 1713
diff changeset
   131
	sun/nio/ch/Iocp.java \
3acf8e5e2ca0 6781363: New I/O: Update socket-channel API to jsr203/nio2-b99
alanb
parents: 1713
diff changeset
   132
	sun/nio/ch/PendingIoCache.java \
3acf8e5e2ca0 6781363: New I/O: Update socket-channel API to jsr203/nio2-b99
alanb
parents: 1713
diff changeset
   133
	sun/nio/ch/WindowsAsynchronousChannelProvider.java \
3acf8e5e2ca0 6781363: New I/O: Update socket-channel API to jsr203/nio2-b99
alanb
parents: 1713
diff changeset
   134
	sun/nio/ch/WindowsAsynchronousFileChannelImpl.java \
3acf8e5e2ca0 6781363: New I/O: Update socket-channel API to jsr203/nio2-b99
alanb
parents: 1713
diff changeset
   135
	sun/nio/ch/WindowsAsynchronousServerSocketChannelImpl.java \
3acf8e5e2ca0 6781363: New I/O: Update socket-channel API to jsr203/nio2-b99
alanb
parents: 1713
diff changeset
   136
	sun/nio/ch/WindowsAsynchronousSocketChannelImpl.java \
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   137
        sun/nio/ch/WindowsSelectorImpl.java \
2057
3acf8e5e2ca0 6781363: New I/O: Update socket-channel API to jsr203/nio2-b99
alanb
parents: 1713
diff changeset
   138
        sun/nio/ch/WindowsSelectorProvider.java \
3acf8e5e2ca0 6781363: New I/O: Update socket-channel API to jsr203/nio2-b99
alanb
parents: 1713
diff changeset
   139
	\
3acf8e5e2ca0 6781363: New I/O: Update socket-channel API to jsr203/nio2-b99
alanb
parents: 1713
diff changeset
   140
	sun/nio/fs/RegistryFileTypeDetector.java \
3acf8e5e2ca0 6781363: New I/O: Update socket-channel API to jsr203/nio2-b99
alanb
parents: 1713
diff changeset
   141
	sun/nio/fs/WindowsAclFileAttributeView.java \
3acf8e5e2ca0 6781363: New I/O: Update socket-channel API to jsr203/nio2-b99
alanb
parents: 1713
diff changeset
   142
	sun/nio/fs/WindowsChannelFactory.java \
3acf8e5e2ca0 6781363: New I/O: Update socket-channel API to jsr203/nio2-b99
alanb
parents: 1713
diff changeset
   143
	sun/nio/fs/WindowsConstants.java \
3acf8e5e2ca0 6781363: New I/O: Update socket-channel API to jsr203/nio2-b99
alanb
parents: 1713
diff changeset
   144
	sun/nio/fs/WindowsDirectoryStream.java \
3acf8e5e2ca0 6781363: New I/O: Update socket-channel API to jsr203/nio2-b99
alanb
parents: 1713
diff changeset
   145
	sun/nio/fs/WindowsException.java \
3acf8e5e2ca0 6781363: New I/O: Update socket-channel API to jsr203/nio2-b99
alanb
parents: 1713
diff changeset
   146
	sun/nio/fs/WindowsFileAttributeViews.java \
3acf8e5e2ca0 6781363: New I/O: Update socket-channel API to jsr203/nio2-b99
alanb
parents: 1713
diff changeset
   147
	sun/nio/fs/WindowsFileAttributes.java \
3acf8e5e2ca0 6781363: New I/O: Update socket-channel API to jsr203/nio2-b99
alanb
parents: 1713
diff changeset
   148
	sun/nio/fs/WindowsFileCopy.java \
3acf8e5e2ca0 6781363: New I/O: Update socket-channel API to jsr203/nio2-b99
alanb
parents: 1713
diff changeset
   149
	sun/nio/fs/WindowsFileStore.java \
3acf8e5e2ca0 6781363: New I/O: Update socket-channel API to jsr203/nio2-b99
alanb
parents: 1713
diff changeset
   150
	sun/nio/fs/WindowsFileSystem.java \
3acf8e5e2ca0 6781363: New I/O: Update socket-channel API to jsr203/nio2-b99
alanb
parents: 1713
diff changeset
   151
	sun/nio/fs/WindowsFileSystemProvider.java \
3acf8e5e2ca0 6781363: New I/O: Update socket-channel API to jsr203/nio2-b99
alanb
parents: 1713
diff changeset
   152
	sun/nio/fs/WindowsLinkSupport.java \
3acf8e5e2ca0 6781363: New I/O: Update socket-channel API to jsr203/nio2-b99
alanb
parents: 1713
diff changeset
   153
	sun/nio/fs/WindowsUserDefinedFileAttributeView.java \
3acf8e5e2ca0 6781363: New I/O: Update socket-channel API to jsr203/nio2-b99
alanb
parents: 1713
diff changeset
   154
	sun/nio/fs/WindowsNativeDispatcher.java \
3acf8e5e2ca0 6781363: New I/O: Update socket-channel API to jsr203/nio2-b99
alanb
parents: 1713
diff changeset
   155
	sun/nio/fs/WindowsPath.java \
3acf8e5e2ca0 6781363: New I/O: Update socket-channel API to jsr203/nio2-b99
alanb
parents: 1713
diff changeset
   156
	sun/nio/fs/WindowsPathParser.java \
3acf8e5e2ca0 6781363: New I/O: Update socket-channel API to jsr203/nio2-b99
alanb
parents: 1713
diff changeset
   157
	sun/nio/fs/WindowsPathType.java \
3acf8e5e2ca0 6781363: New I/O: Update socket-channel API to jsr203/nio2-b99
alanb
parents: 1713
diff changeset
   158
	sun/nio/fs/WindowsSecurity.java \
3acf8e5e2ca0 6781363: New I/O: Update socket-channel API to jsr203/nio2-b99
alanb
parents: 1713
diff changeset
   159
	sun/nio/fs/WindowsSecurityDescriptor.java \
3acf8e5e2ca0 6781363: New I/O: Update socket-channel API to jsr203/nio2-b99
alanb
parents: 1713
diff changeset
   160
	sun/nio/fs/WindowsUriSupport.java \
3acf8e5e2ca0 6781363: New I/O: Update socket-channel API to jsr203/nio2-b99
alanb
parents: 1713
diff changeset
   161
	sun/nio/fs/WindowsUserPrincipals.java \
3acf8e5e2ca0 6781363: New I/O: Update socket-channel API to jsr203/nio2-b99
alanb
parents: 1713
diff changeset
   162
	sun/nio/fs/WindowsWatchService.java
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   163
90ce3da70b43 Initial load
duke
parents:
diff changeset
   164
FILES_c += \
2057
3acf8e5e2ca0 6781363: New I/O: Update socket-channel API to jsr203/nio2-b99
alanb
parents: 1713
diff changeset
   165
	Iocp.c \
3acf8e5e2ca0 6781363: New I/O: Update socket-channel API to jsr203/nio2-b99
alanb
parents: 1713
diff changeset
   166
	RegistryFileTypeDetector.c \
3acf8e5e2ca0 6781363: New I/O: Update socket-channel API to jsr203/nio2-b99
alanb
parents: 1713
diff changeset
   167
	WindowsAsynchronousFileChannelImpl.c \
3acf8e5e2ca0 6781363: New I/O: Update socket-channel API to jsr203/nio2-b99
alanb
parents: 1713
diff changeset
   168
	WindowsAsynchronousServerSocketChannelImpl.c \
3acf8e5e2ca0 6781363: New I/O: Update socket-channel API to jsr203/nio2-b99
alanb
parents: 1713
diff changeset
   169
	WindowsAsynchronousSocketChannelImpl.c \
3acf8e5e2ca0 6781363: New I/O: Update socket-channel API to jsr203/nio2-b99
alanb
parents: 1713
diff changeset
   170
	WindowsNativeDispatcher.c \
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   171
        WindowsSelectorImpl.c
90ce3da70b43 Initial load
duke
parents:
diff changeset
   172
90ce3da70b43 Initial load
duke
parents:
diff changeset
   173
FILES_export += \
2057
3acf8e5e2ca0 6781363: New I/O: Update socket-channel API to jsr203/nio2-b99
alanb
parents: 1713
diff changeset
   174
	sun/nio/ch/Iocp.java \
3acf8e5e2ca0 6781363: New I/O: Update socket-channel API to jsr203/nio2-b99
alanb
parents: 1713
diff changeset
   175
	sun/nio/ch/WindowsAsynchronousFileChannelImpl.java \
3acf8e5e2ca0 6781363: New I/O: Update socket-channel API to jsr203/nio2-b99
alanb
parents: 1713
diff changeset
   176
	sun/nio/ch/WindowsAsynchronousServerSocketChannelImpl.java \
3acf8e5e2ca0 6781363: New I/O: Update socket-channel API to jsr203/nio2-b99
alanb
parents: 1713
diff changeset
   177
	sun/nio/ch/WindowsAsynchronousSocketChannelImpl.java \
3acf8e5e2ca0 6781363: New I/O: Update socket-channel API to jsr203/nio2-b99
alanb
parents: 1713
diff changeset
   178
	sun/nio/ch/WindowsSelectorImpl.java \
3acf8e5e2ca0 6781363: New I/O: Update socket-channel API to jsr203/nio2-b99
alanb
parents: 1713
diff changeset
   179
	sun/nio/fs/WindowsNativeDispatcher.java \
3acf8e5e2ca0 6781363: New I/O: Update socket-channel API to jsr203/nio2-b99
alanb
parents: 1713
diff changeset
   180
	sun/nio/fs/RegistryFileTypeDetector.java
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   181
endif # PLATFORM = windows
90ce3da70b43 Initial load
duke
parents:
diff changeset
   182
90ce3da70b43 Initial load
duke
parents:
diff changeset
   183
ifeq ($(PLATFORM), linux)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   184
FILES_java += \
90ce3da70b43 Initial load
duke
parents:
diff changeset
   185
        sun/nio/ch/AbstractPollSelectorImpl.java \
2057
3acf8e5e2ca0 6781363: New I/O: Update socket-channel API to jsr203/nio2-b99
alanb
parents: 1713
diff changeset
   186
	sun/nio/ch/EPoll.java \
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   187
	sun/nio/ch/EPollArrayWrapper.java \
2057
3acf8e5e2ca0 6781363: New I/O: Update socket-channel API to jsr203/nio2-b99
alanb
parents: 1713
diff changeset
   188
	sun/nio/ch/EPollPort.java \
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   189
	sun/nio/ch/EPollSelectorProvider.java \
90ce3da70b43 Initial load
duke
parents:
diff changeset
   190
	sun/nio/ch/EPollSelectorImpl.java \
90ce3da70b43 Initial load
duke
parents:
diff changeset
   191
	sun/nio/ch/InheritedChannel.java \
2057
3acf8e5e2ca0 6781363: New I/O: Update socket-channel API to jsr203/nio2-b99
alanb
parents: 1713
diff changeset
   192
	sun/nio/ch/LinuxAsynchronousChannelProvider.java \
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   193
        sun/nio/ch/PollSelectorProvider.java \
2057
3acf8e5e2ca0 6781363: New I/O: Update socket-channel API to jsr203/nio2-b99
alanb
parents: 1713
diff changeset
   194
        sun/nio/ch/PollSelectorImpl.java \
3acf8e5e2ca0 6781363: New I/O: Update socket-channel API to jsr203/nio2-b99
alanb
parents: 1713
diff changeset
   195
	sun/nio/ch/Port.java \
3acf8e5e2ca0 6781363: New I/O: Update socket-channel API to jsr203/nio2-b99
alanb
parents: 1713
diff changeset
   196
	sun/nio/ch/SimpleAsynchronousFileChannelImpl.java \
3acf8e5e2ca0 6781363: New I/O: Update socket-channel API to jsr203/nio2-b99
alanb
parents: 1713
diff changeset
   197
	sun/nio/ch/UnixAsynchronousServerSocketChannelImpl.java \
3acf8e5e2ca0 6781363: New I/O: Update socket-channel API to jsr203/nio2-b99
alanb
parents: 1713
diff changeset
   198
	sun/nio/ch/UnixAsynchronousSocketChannelImpl.java \
3acf8e5e2ca0 6781363: New I/O: Update socket-channel API to jsr203/nio2-b99
alanb
parents: 1713
diff changeset
   199
	\
3acf8e5e2ca0 6781363: New I/O: Update socket-channel API to jsr203/nio2-b99
alanb
parents: 1713
diff changeset
   200
	sun/nio/fs/GnomeFileTypeDetector.java \
3acf8e5e2ca0 6781363: New I/O: Update socket-channel API to jsr203/nio2-b99
alanb
parents: 1713
diff changeset
   201
	sun/nio/fs/LinuxDosFileAttributeView.java \
3acf8e5e2ca0 6781363: New I/O: Update socket-channel API to jsr203/nio2-b99
alanb
parents: 1713
diff changeset
   202
	sun/nio/fs/LinuxFileStore.java \
3acf8e5e2ca0 6781363: New I/O: Update socket-channel API to jsr203/nio2-b99
alanb
parents: 1713
diff changeset
   203
	sun/nio/fs/LinuxFileSystem.java \
3acf8e5e2ca0 6781363: New I/O: Update socket-channel API to jsr203/nio2-b99
alanb
parents: 1713
diff changeset
   204
	sun/nio/fs/LinuxFileSystemProvider.java \
3acf8e5e2ca0 6781363: New I/O: Update socket-channel API to jsr203/nio2-b99
alanb
parents: 1713
diff changeset
   205
	sun/nio/fs/LinuxUserDefinedFileAttributeView.java \
3acf8e5e2ca0 6781363: New I/O: Update socket-channel API to jsr203/nio2-b99
alanb
parents: 1713
diff changeset
   206
	sun/nio/fs/LinuxNativeDispatcher.java \
3acf8e5e2ca0 6781363: New I/O: Update socket-channel API to jsr203/nio2-b99
alanb
parents: 1713
diff changeset
   207
	sun/nio/fs/LinuxWatchService.java \
3acf8e5e2ca0 6781363: New I/O: Update socket-channel API to jsr203/nio2-b99
alanb
parents: 1713
diff changeset
   208
	sun/nio/fs/PollingWatchService.java \
3acf8e5e2ca0 6781363: New I/O: Update socket-channel API to jsr203/nio2-b99
alanb
parents: 1713
diff changeset
   209
	sun/nio/fs/UnixChannelFactory.java \
3acf8e5e2ca0 6781363: New I/O: Update socket-channel API to jsr203/nio2-b99
alanb
parents: 1713
diff changeset
   210
	sun/nio/fs/UnixCopyFile.java \
3acf8e5e2ca0 6781363: New I/O: Update socket-channel API to jsr203/nio2-b99
alanb
parents: 1713
diff changeset
   211
	sun/nio/fs/UnixDirectoryStream.java \
3acf8e5e2ca0 6781363: New I/O: Update socket-channel API to jsr203/nio2-b99
alanb
parents: 1713
diff changeset
   212
	sun/nio/fs/UnixException.java \
3acf8e5e2ca0 6781363: New I/O: Update socket-channel API to jsr203/nio2-b99
alanb
parents: 1713
diff changeset
   213
	sun/nio/fs/UnixFileAttributeViews.java \
3acf8e5e2ca0 6781363: New I/O: Update socket-channel API to jsr203/nio2-b99
alanb
parents: 1713
diff changeset
   214
	sun/nio/fs/UnixFileAttributes.java \
3acf8e5e2ca0 6781363: New I/O: Update socket-channel API to jsr203/nio2-b99
alanb
parents: 1713
diff changeset
   215
	sun/nio/fs/UnixFileKey.java \
3acf8e5e2ca0 6781363: New I/O: Update socket-channel API to jsr203/nio2-b99
alanb
parents: 1713
diff changeset
   216
	sun/nio/fs/UnixFileModeAttribute.java \
3acf8e5e2ca0 6781363: New I/O: Update socket-channel API to jsr203/nio2-b99
alanb
parents: 1713
diff changeset
   217
	sun/nio/fs/UnixFileStore.java \
3acf8e5e2ca0 6781363: New I/O: Update socket-channel API to jsr203/nio2-b99
alanb
parents: 1713
diff changeset
   218
	sun/nio/fs/UnixFileStoreAttributes.java \
3acf8e5e2ca0 6781363: New I/O: Update socket-channel API to jsr203/nio2-b99
alanb
parents: 1713
diff changeset
   219
	sun/nio/fs/UnixFileSystem.java \
3acf8e5e2ca0 6781363: New I/O: Update socket-channel API to jsr203/nio2-b99
alanb
parents: 1713
diff changeset
   220
	sun/nio/fs/UnixFileSystemProvider.java \
3acf8e5e2ca0 6781363: New I/O: Update socket-channel API to jsr203/nio2-b99
alanb
parents: 1713
diff changeset
   221
	sun/nio/fs/UnixMountEntry.java \
3acf8e5e2ca0 6781363: New I/O: Update socket-channel API to jsr203/nio2-b99
alanb
parents: 1713
diff changeset
   222
	sun/nio/fs/UnixNativeDispatcher.java \
3acf8e5e2ca0 6781363: New I/O: Update socket-channel API to jsr203/nio2-b99
alanb
parents: 1713
diff changeset
   223
	sun/nio/fs/UnixPath.java \
3acf8e5e2ca0 6781363: New I/O: Update socket-channel API to jsr203/nio2-b99
alanb
parents: 1713
diff changeset
   224
	sun/nio/fs/UnixSecureDirectoryStream.java \
3acf8e5e2ca0 6781363: New I/O: Update socket-channel API to jsr203/nio2-b99
alanb
parents: 1713
diff changeset
   225
	sun/nio/fs/UnixUriUtils.java \
3acf8e5e2ca0 6781363: New I/O: Update socket-channel API to jsr203/nio2-b99
alanb
parents: 1713
diff changeset
   226
	sun/nio/fs/UnixUserPrincipals.java
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   227
90ce3da70b43 Initial load
duke
parents:
diff changeset
   228
FILES_c += \
2057
3acf8e5e2ca0 6781363: New I/O: Update socket-channel API to jsr203/nio2-b99
alanb
parents: 1713
diff changeset
   229
	EPoll.c \
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   230
	EPollArrayWrapper.c \
2057
3acf8e5e2ca0 6781363: New I/O: Update socket-channel API to jsr203/nio2-b99
alanb
parents: 1713
diff changeset
   231
	EPollPort.c \
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   232
	InheritedChannel.c \
1152
29d6145d1097 4640544: New I/O: Complete socket-channel functionality
alanb
parents: 914
diff changeset
   233
	NativeThread.c \
2057
3acf8e5e2ca0 6781363: New I/O: Update socket-channel API to jsr203/nio2-b99
alanb
parents: 1713
diff changeset
   234
        PollArrayWrapper.c \
3acf8e5e2ca0 6781363: New I/O: Update socket-channel API to jsr203/nio2-b99
alanb
parents: 1713
diff changeset
   235
	UnixAsynchronousServerSocketChannelImpl.c \
3acf8e5e2ca0 6781363: New I/O: Update socket-channel API to jsr203/nio2-b99
alanb
parents: 1713
diff changeset
   236
	UnixAsynchronousSocketChannelImpl.c \
3acf8e5e2ca0 6781363: New I/O: Update socket-channel API to jsr203/nio2-b99
alanb
parents: 1713
diff changeset
   237
	\
3acf8e5e2ca0 6781363: New I/O: Update socket-channel API to jsr203/nio2-b99
alanb
parents: 1713
diff changeset
   238
	GnomeFileTypeDetector.c \
3acf8e5e2ca0 6781363: New I/O: Update socket-channel API to jsr203/nio2-b99
alanb
parents: 1713
diff changeset
   239
	LinuxNativeDispatcher.c \
3acf8e5e2ca0 6781363: New I/O: Update socket-channel API to jsr203/nio2-b99
alanb
parents: 1713
diff changeset
   240
	LinuxWatchService.c \
3acf8e5e2ca0 6781363: New I/O: Update socket-channel API to jsr203/nio2-b99
alanb
parents: 1713
diff changeset
   241
	UnixCopyFile.c \
3acf8e5e2ca0 6781363: New I/O: Update socket-channel API to jsr203/nio2-b99
alanb
parents: 1713
diff changeset
   242
	UnixNativeDispatcher.c
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   243
90ce3da70b43 Initial load
duke
parents:
diff changeset
   244
FILES_export += \
2057
3acf8e5e2ca0 6781363: New I/O: Update socket-channel API to jsr203/nio2-b99
alanb
parents: 1713
diff changeset
   245
	sun/nio/ch/EPoll.java \
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   246
        sun/nio/ch/EPollArrayWrapper.java \
2057
3acf8e5e2ca0 6781363: New I/O: Update socket-channel API to jsr203/nio2-b99
alanb
parents: 1713
diff changeset
   247
	sun/nio/ch/EPollPort.java \
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   248
	sun/nio/ch/InheritedChannel.java \
2057
3acf8e5e2ca0 6781363: New I/O: Update socket-channel API to jsr203/nio2-b99
alanb
parents: 1713
diff changeset
   249
	sun/nio/ch/NativeThread.java \
3acf8e5e2ca0 6781363: New I/O: Update socket-channel API to jsr203/nio2-b99
alanb
parents: 1713
diff changeset
   250
	sun/nio/ch/UnixAsynchronousServerSocketChannelImpl.java \
3acf8e5e2ca0 6781363: New I/O: Update socket-channel API to jsr203/nio2-b99
alanb
parents: 1713
diff changeset
   251
	sun/nio/ch/UnixAsynchronousSocketChannelImpl.java \
3acf8e5e2ca0 6781363: New I/O: Update socket-channel API to jsr203/nio2-b99
alanb
parents: 1713
diff changeset
   252
	\
3acf8e5e2ca0 6781363: New I/O: Update socket-channel API to jsr203/nio2-b99
alanb
parents: 1713
diff changeset
   253
	sun/nio/fs/GnomeFileTypeDetector.java \
3acf8e5e2ca0 6781363: New I/O: Update socket-channel API to jsr203/nio2-b99
alanb
parents: 1713
diff changeset
   254
	sun/nio/fs/LinuxNativeDispatcher.java \
3acf8e5e2ca0 6781363: New I/O: Update socket-channel API to jsr203/nio2-b99
alanb
parents: 1713
diff changeset
   255
	sun/nio/fs/LinuxWatchService.java \
3acf8e5e2ca0 6781363: New I/O: Update socket-channel API to jsr203/nio2-b99
alanb
parents: 1713
diff changeset
   256
	sun/nio/fs/UnixCopyFile.java \
3acf8e5e2ca0 6781363: New I/O: Update socket-channel API to jsr203/nio2-b99
alanb
parents: 1713
diff changeset
   257
	sun/nio/fs/UnixNativeDispatcher.java
3acf8e5e2ca0 6781363: New I/O: Update socket-channel API to jsr203/nio2-b99
alanb
parents: 1713
diff changeset
   258
	
3acf8e5e2ca0 6781363: New I/O: Update socket-channel API to jsr203/nio2-b99
alanb
parents: 1713
diff changeset
   259
FILES_gen += \
3acf8e5e2ca0 6781363: New I/O: Update socket-channel API to jsr203/nio2-b99
alanb
parents: 1713
diff changeset
   260
	sun/nio/fs/UnixConstants.java
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   261
endif # PLATFORM = linux
90ce3da70b43 Initial load
duke
parents:
diff changeset
   262
2057
3acf8e5e2ca0 6781363: New I/O: Update socket-channel API to jsr203/nio2-b99
alanb
parents: 1713
diff changeset
   263
#
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   264
# Find platform-specific C source files
90ce3da70b43 Initial load
duke
parents:
diff changeset
   265
#
2057
3acf8e5e2ca0 6781363: New I/O: Update socket-channel API to jsr203/nio2-b99
alanb
parents: 1713
diff changeset
   266
vpath %.c $(PLATFORM_SRC)/native/sun/nio/fs
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   267
vpath %.c $(PLATFORM_SRC)/native/sun/nio/ch
90ce3da70b43 Initial load
duke
parents:
diff changeset
   268
vpath %.c $(SHARE_SRC)/native/sun/nio/ch
90ce3da70b43 Initial load
duke
parents:
diff changeset
   269
90ce3da70b43 Initial load
duke
parents:
diff changeset
   270
#
90ce3da70b43 Initial load
duke
parents:
diff changeset
   271
# Various variables
90ce3da70b43 Initial load
duke
parents:
diff changeset
   272
#
90ce3da70b43 Initial load
duke
parents:
diff changeset
   273
90ce3da70b43 Initial load
duke
parents:
diff changeset
   274
JAVALIB = 		# Don't self-link
90ce3da70b43 Initial load
duke
parents:
diff changeset
   275
90ce3da70b43 Initial load
duke
parents:
diff changeset
   276
#
90ce3da70b43 Initial load
duke
parents:
diff changeset
   277
# Access to io_util.c and net_util.c
90ce3da70b43 Initial load
duke
parents:
diff changeset
   278
#
90ce3da70b43 Initial load
duke
parents:
diff changeset
   279
90ce3da70b43 Initial load
duke
parents:
diff changeset
   280
OTHER_INCLUDES += \
90ce3da70b43 Initial load
duke
parents:
diff changeset
   281
  -I$(SHARE_SRC)/native/sun/nio/ch \
90ce3da70b43 Initial load
duke
parents:
diff changeset
   282
  -I$(SHARE_SRC)/native/java/io \
90ce3da70b43 Initial load
duke
parents:
diff changeset
   283
  -I$(SHARE_SRC)/native/java/net \
90ce3da70b43 Initial load
duke
parents:
diff changeset
   284
  -I$(PLATFORM_SRC)/native/java/net \
90ce3da70b43 Initial load
duke
parents:
diff changeset
   285
  -I$(CLASSHDRDIR)/../../../java.lang/java/CClassHeaders
90ce3da70b43 Initial load
duke
parents:
diff changeset
   286
90ce3da70b43 Initial load
duke
parents:
diff changeset
   287
ifeq ($(PLATFORM),windows)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   288
  OTHER_LDLIBS += $(JVMLIB) ws2_32.lib \
90ce3da70b43 Initial load
duke
parents:
diff changeset
   289
     -libpath:$(LIBDIR) java.lib \
90ce3da70b43 Initial load
duke
parents:
diff changeset
   290
     $(OBJDIR)/../../../../sun/java.net/net/$(OBJDIRNAME)/net.lib \
90ce3da70b43 Initial load
duke
parents:
diff changeset
   291
     $(OBJDIR)/../../../java.lang/java/$(OBJDIRNAME)/io_util.obj \
90ce3da70b43 Initial load
duke
parents:
diff changeset
   292
     $(OBJDIR)/../../../java.lang/java/$(OBJDIRNAME)/FileDescriptor_md.obj
90ce3da70b43 Initial load
duke
parents:
diff changeset
   293
endif
90ce3da70b43 Initial load
duke
parents:
diff changeset
   294
ifeq ($(PLATFORM), linux)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   295
OTHER_LDLIBS += -L$(LIBDIR)/$(LIBARCH) -ljava -lnet -lpthread -ldl
90ce3da70b43 Initial load
duke
parents:
diff changeset
   296
endif
90ce3da70b43 Initial load
duke
parents:
diff changeset
   297
ifeq ($(PLATFORM), solaris)
7971
ca5a32210b1b 7002957: (fc) FileChannel.transferTo fails to load libsendfile on Solaris 64-bit
alanb
parents: 7668
diff changeset
   298
OTHER_LDLIBS += $(JVMLIB) $(LIBSOCKET) -lposix4 -ldl -lsendfile \
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   299
		-L$(LIBDIR)/$(LIBARCH) -ljava -lnet
90ce3da70b43 Initial load
duke
parents:
diff changeset
   300
endif # PLATFORM
90ce3da70b43 Initial load
duke
parents:
diff changeset
   301
90ce3da70b43 Initial load
duke
parents:
diff changeset
   302
#
90ce3da70b43 Initial load
duke
parents:
diff changeset
   303
# Rules
90ce3da70b43 Initial load
duke
parents:
diff changeset
   304
#
90ce3da70b43 Initial load
duke
parents:
diff changeset
   305
90ce3da70b43 Initial load
duke
parents:
diff changeset
   306
build: sources
90ce3da70b43 Initial load
duke
parents:
diff changeset
   307
90ce3da70b43 Initial load
duke
parents:
diff changeset
   308
clean clobber::
90ce3da70b43 Initial load
duke
parents:
diff changeset
   309
	$(RM) -r $(NIO_GEN) $(SNIO_GEN)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   310
	$(RM) -r $(CLASSDESTDIR)/java/nio
90ce3da70b43 Initial load
duke
parents:
diff changeset
   311
	$(RM) -r $(CLASSDESTDIR)/sun/nio
90ce3da70b43 Initial load
duke
parents:
diff changeset
   312
90ce3da70b43 Initial load
duke
parents:
diff changeset
   313
ifeq ($(PLATFORM), solaris)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   314
FILES_m = mapfile-solaris
90ce3da70b43 Initial load
duke
parents:
diff changeset
   315
endif
90ce3da70b43 Initial load
duke
parents:
diff changeset
   316
ifeq ($(PLATFORM), linux)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   317
FILES_m = mapfile-linux
90ce3da70b43 Initial load
duke
parents:
diff changeset
   318
endif
90ce3da70b43 Initial load
duke
parents:
diff changeset
   319
include $(BUILDDIR)/common/Mapfile-vers.gmk
90ce3da70b43 Initial load
duke
parents:
diff changeset
   320
include $(BUILDDIR)/common/Library.gmk
90ce3da70b43 Initial load
duke
parents:
diff changeset
   321
90ce3da70b43 Initial load
duke
parents:
diff changeset
   322
#
90ce3da70b43 Initial load
duke
parents:
diff changeset
   323
# Generate source files
90ce3da70b43 Initial load
duke
parents:
diff changeset
   324
#
90ce3da70b43 Initial load
duke
parents:
diff changeset
   325
898
1c4e95595472 6681798: (build) CharsetEncoder.java fails to compile in openjdk6 on ubutu 8.04
sherman
parents: 715
diff changeset
   326
SPP_JARFILE = $(BUILDTOOLJARDIR)/spp.jar
1c4e95595472 6681798: (build) CharsetEncoder.java fails to compile in openjdk6 on ubutu 8.04
sherman
parents: 715
diff changeset
   327
SPP_CMD = $(BOOT_JAVA_CMD) -jar $(SPP_JARFILE)
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   328
90ce3da70b43 Initial load
duke
parents:
diff changeset
   329
FILES_genout = $(FILES_gen:%.java=$(GENSRCDIR)/%.java)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   330
90ce3da70b43 Initial load
duke
parents:
diff changeset
   331
BUF_SRC=$(NIO_SRC)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   332
CH_SRC=$(NIO_SRC)/channels
90ce3da70b43 Initial load
duke
parents:
diff changeset
   333
CS_SRC=$(NIO_SRC)/charset
90ce3da70b43 Initial load
duke
parents:
diff changeset
   334
SCH_SRC=$(SNIO_SRC)/ch
90ce3da70b43 Initial load
duke
parents:
diff changeset
   335
SCS_SRC=$(SNIO_SRC)/cs
2057
3acf8e5e2ca0 6781363: New I/O: Update socket-channel API to jsr203/nio2-b99
alanb
parents: 1713
diff changeset
   336
SFS_SRC=$(SNIO_SRC)/fs
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   337
4115
e09be02771b6 6888701: Change all template java source files to a .java-template file suffix
ohair
parents: 2913
diff changeset
   338
# Template files
e09be02771b6 6888701: Change all template java source files to a .java-template file suffix
ohair
parents: 2913
diff changeset
   339
HEAP_X_BUF_TEMPLATE=$(BUF_SRC)/Heap-X-Buffer.java.template
e09be02771b6 6888701: Change all template java source files to a .java-template file suffix
ohair
parents: 2913
diff changeset
   340
BYTE_X_BUF_TEMPLATE=$(BUF_SRC)/ByteBufferAs-X-Buffer.java.template
e09be02771b6 6888701: Change all template java source files to a .java-template file suffix
ohair
parents: 2913
diff changeset
   341
X_BUF_TEMPLATE=$(BUF_SRC)/X-Buffer.java.template
e09be02771b6 6888701: Change all template java source files to a .java-template file suffix
ohair
parents: 2913
diff changeset
   342
X_BUF_BIN_TEMPLATE=$(BUF_SRC)/X-Buffer-bin.java.template
e09be02771b6 6888701: Change all template java source files to a .java-template file suffix
ohair
parents: 2913
diff changeset
   343
DIRECT_X_BUF_TEMPLATE=$(BUF_SRC)/Direct-X-Buffer.java.template
e09be02771b6 6888701: Change all template java source files to a .java-template file suffix
ohair
parents: 2913
diff changeset
   344
DIRECT_X_BUF_BIN_TEMPLATE=$(BUF_SRC)/Direct-X-Buffer-bin.java.template
e09be02771b6 6888701: Change all template java source files to a .java-template file suffix
ohair
parents: 2913
diff changeset
   345
CHARSET_X_CODER_TEMPLATE=$(CS_SRC)/Charset-X-Coder.java.template
e09be02771b6 6888701: Change all template java source files to a .java-template file suffix
ohair
parents: 2913
diff changeset
   346
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   347
BUF_GEN=$(NIO_GEN)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   348
CH_GEN=$(NIO_GEN)/channels
90ce3da70b43 Initial load
duke
parents:
diff changeset
   349
CS_GEN=$(NIO_GEN)/charset
90ce3da70b43 Initial load
duke
parents:
diff changeset
   350
SCH_GEN=$(SNIO_GEN)/ch
90ce3da70b43 Initial load
duke
parents:
diff changeset
   351
SCS_GEN=$(SNIO_GEN)/cs
2057
3acf8e5e2ca0 6781363: New I/O: Update socket-channel API to jsr203/nio2-b99
alanb
parents: 1713
diff changeset
   352
SFS_GEN=$(SNIO_GEN)/fs
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   353
1713
f8b8bfa64fc1 6642323: Speeding up Single Byte Decoders
sherman
parents: 1152
diff changeset
   354
FILES_gensbcs_out = $(FILES_gen_sbcs:%.java=$(GENSRCDIR)/%.java)
f8b8bfa64fc1 6642323: Speeding up Single Byte Decoders
sherman
parents: 1152
diff changeset
   355
f8b8bfa64fc1 6642323: Speeding up Single Byte Decoders
sherman
parents: 1152
diff changeset
   356
sources: $(SPP_JARFILE) $(FILES_genout) $(FILES_gensbcs_out)
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   357
90ce3da70b43 Initial load
duke
parents:
diff changeset
   358
#
90ce3da70b43 Initial load
duke
parents:
diff changeset
   359
# Generated buffer classes
90ce3da70b43 Initial load
duke
parents:
diff changeset
   360
#
90ce3da70b43 Initial load
duke
parents:
diff changeset
   361
90ce3da70b43 Initial load
duke
parents:
diff changeset
   362
GEN_BUFFER_SH = genBuffer.sh
90ce3da70b43 Initial load
duke
parents:
diff changeset
   363
530
dbf0077bad01 6590549: Cygwin build of OpenJDK has problems and not very well documented
ohair
parents: 29
diff changeset
   364
GEN_BUFFER_CMD = SPP="$(SPP_CMD)" NAWK="$(NAWK)" SED="$(SED)" SH="$(SH)" \
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   365
                 $(SH) $(GEN_BUFFER_SH)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   366
90ce3da70b43 Initial load
duke
parents:
diff changeset
   367
# Public abstract buffer classes
90ce3da70b43 Initial load
duke
parents:
diff changeset
   368
#
4115
e09be02771b6 6888701: Change all template java source files to a .java-template file suffix
ohair
parents: 2913
diff changeset
   369
$(BUF_GEN)/ByteBuffer.java: $(X_BUF_TEMPLATE) \
e09be02771b6 6888701: Change all template java source files to a .java-template file suffix
ohair
parents: 2913
diff changeset
   370
			    $(X_BUF_BIN_TEMPLATE) \
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   371
			    $(GEN_BUFFER_SH)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   372
	$(prep-target)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   373
	@$(RM) $@.temp
90ce3da70b43 Initial load
duke
parents:
diff changeset
   374
	TYPE=byte BIN=1 SRC=$< DST=$@.temp $(GEN_BUFFER_CMD)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   375
	$(MV) $@.temp $@
4115
e09be02771b6 6888701: Change all template java source files to a .java-template file suffix
ohair
parents: 2913
diff changeset
   376
$(BUF_GEN)/CharBuffer.java: $(X_BUF_TEMPLATE) $(GEN_BUFFER_SH)
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   377
	$(prep-target)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   378
	@$(RM) $@.temp
90ce3da70b43 Initial load
duke
parents:
diff changeset
   379
	TYPE=char SRC=$< DST=$@.temp $(GEN_BUFFER_CMD)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   380
	$(MV) $@.temp $@
4115
e09be02771b6 6888701: Change all template java source files to a .java-template file suffix
ohair
parents: 2913
diff changeset
   381
$(BUF_GEN)/ShortBuffer.java: $(X_BUF_TEMPLATE) $(GEN_BUFFER_SH)
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   382
	$(prep-target)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   383
	@$(RM) $@.temp
90ce3da70b43 Initial load
duke
parents:
diff changeset
   384
	TYPE=short SRC=$< DST=$@.temp $(GEN_BUFFER_CMD)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   385
	$(MV) $@.temp $@
4115
e09be02771b6 6888701: Change all template java source files to a .java-template file suffix
ohair
parents: 2913
diff changeset
   386
$(BUF_GEN)/IntBuffer.java: $(X_BUF_TEMPLATE) $(GEN_BUFFER_SH)
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   387
	$(prep-target)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   388
	@$(RM) $@.temp
90ce3da70b43 Initial load
duke
parents:
diff changeset
   389
	TYPE=int SRC=$< DST=$@.temp $(GEN_BUFFER_CMD)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   390
	$(MV) $@.temp $@
4115
e09be02771b6 6888701: Change all template java source files to a .java-template file suffix
ohair
parents: 2913
diff changeset
   391
$(BUF_GEN)/LongBuffer.java: $(X_BUF_TEMPLATE) $(GEN_BUFFER_SH)
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   392
	$(prep-target)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   393
	@$(RM) $@.temp
90ce3da70b43 Initial load
duke
parents:
diff changeset
   394
	TYPE=long SRC=$< DST=$@.temp $(GEN_BUFFER_CMD)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   395
	$(MV) $@.temp $@
4115
e09be02771b6 6888701: Change all template java source files to a .java-template file suffix
ohair
parents: 2913
diff changeset
   396
$(BUF_GEN)/FloatBuffer.java: $(X_BUF_TEMPLATE) $(GEN_BUFFER_SH)
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   397
	$(prep-target)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   398
	@$(RM) $@.temp
90ce3da70b43 Initial load
duke
parents:
diff changeset
   399
	TYPE=float SRC=$< DST=$@.temp $(GEN_BUFFER_CMD)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   400
	$(MV) $@.temp $@
4115
e09be02771b6 6888701: Change all template java source files to a .java-template file suffix
ohair
parents: 2913
diff changeset
   401
$(BUF_GEN)/DoubleBuffer.java: $(X_BUF_TEMPLATE) $(GEN_BUFFER_SH)
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   402
	$(prep-target)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   403
	@$(RM) $@.temp
90ce3da70b43 Initial load
duke
parents:
diff changeset
   404
	TYPE=double SRC=$< DST=$@.temp $(GEN_BUFFER_CMD)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   405
	$(MV) $@.temp $@
90ce3da70b43 Initial load
duke
parents:
diff changeset
   406
90ce3da70b43 Initial load
duke
parents:
diff changeset
   407
# Buffers whose contents are heap-allocated
90ce3da70b43 Initial load
duke
parents:
diff changeset
   408
# 
4115
e09be02771b6 6888701: Change all template java source files to a .java-template file suffix
ohair
parents: 2913
diff changeset
   409
$(BUF_GEN)/HeapByteBuffer.java: $(HEAP_X_BUF_TEMPLATE) $(GEN_BUFFER_SH)
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   410
	$(prep-target)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   411
	@$(RM) $@.temp
90ce3da70b43 Initial load
duke
parents:
diff changeset
   412
	TYPE=byte SRC=$< DST=$@.temp $(GEN_BUFFER_CMD)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   413
	$(MV) $@.temp $@
4115
e09be02771b6 6888701: Change all template java source files to a .java-template file suffix
ohair
parents: 2913
diff changeset
   414
$(BUF_GEN)/HeapByteBuffer%.java: $(HEAP_X_BUF_TEMPLATE) $(GEN_BUFFER_SH)
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   415
	$(prep-target)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   416
	@$(RM) $@.temp
90ce3da70b43 Initial load
duke
parents:
diff changeset
   417
	TYPE=byte RW=$* SRC=$< DST=$@.temp $(GEN_BUFFER_CMD)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   418
	$(MV) $@.temp $@
4115
e09be02771b6 6888701: Change all template java source files to a .java-template file suffix
ohair
parents: 2913
diff changeset
   419
$(BUF_GEN)/HeapCharBuffer.java: $(HEAP_X_BUF_TEMPLATE) $(GEN_BUFFER_SH)
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   420
	$(prep-target)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   421
	@$(RM) $@.temp
90ce3da70b43 Initial load
duke
parents:
diff changeset
   422
	TYPE=char SRC=$< DST=$@.temp $(GEN_BUFFER_CMD)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   423
	$(MV) $@.temp $@
4115
e09be02771b6 6888701: Change all template java source files to a .java-template file suffix
ohair
parents: 2913
diff changeset
   424
$(BUF_GEN)/HeapCharBuffer%.java: $(HEAP_X_BUF_TEMPLATE) $(GEN_BUFFER_SH)
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   425
	$(prep-target)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   426
	@$(RM) $@.temp
90ce3da70b43 Initial load
duke
parents:
diff changeset
   427
	TYPE=char RW=$* SRC=$< DST=$@.temp $(GEN_BUFFER_CMD)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   428
	$(MV) $@.temp $@
4115
e09be02771b6 6888701: Change all template java source files to a .java-template file suffix
ohair
parents: 2913
diff changeset
   429
$(BUF_GEN)/HeapShortBuffer.java: $(HEAP_X_BUF_TEMPLATE) $(GEN_BUFFER_SH)
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   430
	$(prep-target)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   431
	@$(RM) $@.temp
90ce3da70b43 Initial load
duke
parents:
diff changeset
   432
	TYPE=short SRC=$< DST=$@.temp $(GEN_BUFFER_CMD)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   433
	$(MV) $@.temp $@
4115
e09be02771b6 6888701: Change all template java source files to a .java-template file suffix
ohair
parents: 2913
diff changeset
   434
$(BUF_GEN)/HeapShortBuffer%.java: $(HEAP_X_BUF_TEMPLATE) $(GEN_BUFFER_SH)
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   435
	$(prep-target)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   436
	@$(RM) $@.temp
90ce3da70b43 Initial load
duke
parents:
diff changeset
   437
	TYPE=short RW=$* SRC=$< DST=$@.temp $(GEN_BUFFER_CMD)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   438
	$(MV) $@.temp $@
4115
e09be02771b6 6888701: Change all template java source files to a .java-template file suffix
ohair
parents: 2913
diff changeset
   439
$(BUF_GEN)/HeapIntBuffer.java: $(HEAP_X_BUF_TEMPLATE) $(GEN_BUFFER_SH)
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   440
	$(prep-target)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   441
	@$(RM) $@.temp
90ce3da70b43 Initial load
duke
parents:
diff changeset
   442
	TYPE=int SRC=$< DST=$@.temp $(GEN_BUFFER_CMD)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   443
	$(MV) $@.temp $@
4115
e09be02771b6 6888701: Change all template java source files to a .java-template file suffix
ohair
parents: 2913
diff changeset
   444
$(BUF_GEN)/HeapIntBuffer%.java: $(HEAP_X_BUF_TEMPLATE) $(GEN_BUFFER_SH)
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   445
	$(prep-target)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   446
	@$(RM) $@.temp
90ce3da70b43 Initial load
duke
parents:
diff changeset
   447
	TYPE=int RW=$* SRC=$< DST=$@.temp $(GEN_BUFFER_CMD)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   448
	$(MV) $@.temp $@
4115
e09be02771b6 6888701: Change all template java source files to a .java-template file suffix
ohair
parents: 2913
diff changeset
   449
$(BUF_GEN)/HeapLongBuffer.java: $(HEAP_X_BUF_TEMPLATE) $(GEN_BUFFER_SH)
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   450
	$(prep-target)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   451
	@$(RM) $@.temp
90ce3da70b43 Initial load
duke
parents:
diff changeset
   452
	TYPE=long SRC=$< DST=$@.temp $(GEN_BUFFER_CMD)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   453
	$(MV) $@.temp $@
4115
e09be02771b6 6888701: Change all template java source files to a .java-template file suffix
ohair
parents: 2913
diff changeset
   454
$(BUF_GEN)/HeapLongBuffer%.java: $(HEAP_X_BUF_TEMPLATE) $(GEN_BUFFER_SH)
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   455
	$(prep-target)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   456
	@$(RM) $@.temp
90ce3da70b43 Initial load
duke
parents:
diff changeset
   457
	TYPE=long RW=$* SRC=$< DST=$@.temp $(GEN_BUFFER_CMD)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   458
	$(MV) $@.temp $@
4115
e09be02771b6 6888701: Change all template java source files to a .java-template file suffix
ohair
parents: 2913
diff changeset
   459
$(BUF_GEN)/HeapFloatBuffer.java: $(HEAP_X_BUF_TEMPLATE) $(GEN_BUFFER_SH)
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   460
	$(prep-target)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   461
	@$(RM) $@.temp
90ce3da70b43 Initial load
duke
parents:
diff changeset
   462
	TYPE=float SRC=$< DST=$@.temp $(GEN_BUFFER_CMD)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   463
	$(MV) $@.temp $@
4115
e09be02771b6 6888701: Change all template java source files to a .java-template file suffix
ohair
parents: 2913
diff changeset
   464
$(BUF_GEN)/HeapFloatBuffer%.java: $(HEAP_X_BUF_TEMPLATE) $(GEN_BUFFER_SH)
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   465
	$(prep-target)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   466
	@$(RM) $@.temp
90ce3da70b43 Initial load
duke
parents:
diff changeset
   467
	TYPE=float RW=$* SRC=$< DST=$@.temp $(GEN_BUFFER_CMD)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   468
	$(MV) $@.temp $@
4115
e09be02771b6 6888701: Change all template java source files to a .java-template file suffix
ohair
parents: 2913
diff changeset
   469
$(BUF_GEN)/HeapDoubleBuffer.java: $(HEAP_X_BUF_TEMPLATE) $(GEN_BUFFER_SH)
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   470
	$(prep-target)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   471
	@$(RM) $@.temp
90ce3da70b43 Initial load
duke
parents:
diff changeset
   472
	TYPE=double SRC=$< DST=$@.temp $(GEN_BUFFER_CMD)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   473
	$(MV) $@.temp $@
4115
e09be02771b6 6888701: Change all template java source files to a .java-template file suffix
ohair
parents: 2913
diff changeset
   474
$(BUF_GEN)/HeapDoubleBuffer%.java: $(HEAP_X_BUF_TEMPLATE) $(GEN_BUFFER_SH)
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   475
	$(prep-target)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   476
	@$(RM) $@.temp
90ce3da70b43 Initial load
duke
parents:
diff changeset
   477
	TYPE=double RW=$* SRC=$< DST=$@.temp $(GEN_BUFFER_CMD)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   478
	$(MV) $@.temp $@
90ce3da70b43 Initial load
duke
parents:
diff changeset
   479
90ce3da70b43 Initial load
duke
parents:
diff changeset
   480
# Direct byte buffer
90ce3da70b43 Initial load
duke
parents:
diff changeset
   481
# 
4115
e09be02771b6 6888701: Change all template java source files to a .java-template file suffix
ohair
parents: 2913
diff changeset
   482
$(BUF_GEN)/DirectByteBuffer.java: $(DIRECT_X_BUF_TEMPLATE) \
e09be02771b6 6888701: Change all template java source files to a .java-template file suffix
ohair
parents: 2913
diff changeset
   483
				  $(DIRECT_X_BUF_TEMPLATE) \
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   484
				  $(GEN_BUFFER_SH)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   485
	$(prep-target)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   486
	@$(RM) $@.temp
90ce3da70b43 Initial load
duke
parents:
diff changeset
   487
	TYPE=byte BIN=1 SRC=$< DST=$@.temp $(GEN_BUFFER_CMD)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   488
	$(MV) $@.temp $@
4115
e09be02771b6 6888701: Change all template java source files to a .java-template file suffix
ohair
parents: 2913
diff changeset
   489
$(BUF_GEN)/DirectByteBuffer%.java: $(DIRECT_X_BUF_TEMPLATE) \
e09be02771b6 6888701: Change all template java source files to a .java-template file suffix
ohair
parents: 2913
diff changeset
   490
				   $(DIRECT_X_BUF_TEMPLATE) \
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   491
				   $(GEN_BUFFER_SH)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   492
	$(prep-target)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   493
	@$(RM) $@.temp
90ce3da70b43 Initial load
duke
parents:
diff changeset
   494
	TYPE=byte RW=$* BIN=1 SRC=$< DST=$@.temp $(GEN_BUFFER_CMD)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   495
	$(MV) $@.temp $@
90ce3da70b43 Initial load
duke
parents:
diff changeset
   496
90ce3da70b43 Initial load
duke
parents:
diff changeset
   497
# Unswapped views of direct byte buffers
90ce3da70b43 Initial load
duke
parents:
diff changeset
   498
#
4115
e09be02771b6 6888701: Change all template java source files to a .java-template file suffix
ohair
parents: 2913
diff changeset
   499
$(BUF_GEN)/DirectCharBufferU.java: $(DIRECT_X_BUF_TEMPLATE) $(GEN_BUFFER_SH)
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   500
	$(prep-target)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   501
	@$(RM) $@.temp
90ce3da70b43 Initial load
duke
parents:
diff changeset
   502
	TYPE=char BO=U SRC=$< DST=$@.temp $(GEN_BUFFER_CMD)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   503
	$(MV) $@.temp $@
4115
e09be02771b6 6888701: Change all template java source files to a .java-template file suffix
ohair
parents: 2913
diff changeset
   504
$(BUF_GEN)/DirectCharBuffer%U.java: $(DIRECT_X_BUF_TEMPLATE) $(GEN_BUFFER_SH)
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   505
	$(prep-target)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   506
	@$(RM) $@.temp
90ce3da70b43 Initial load
duke
parents:
diff changeset
   507
	TYPE=char RW=$* BO=U SRC=$< DST=$@.temp $(GEN_BUFFER_CMD)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   508
	$(MV) $@.temp $@
4115
e09be02771b6 6888701: Change all template java source files to a .java-template file suffix
ohair
parents: 2913
diff changeset
   509
$(BUF_GEN)/DirectShortBufferU.java: $(DIRECT_X_BUF_TEMPLATE) $(GEN_BUFFER_SH)
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   510
	$(prep-target)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   511
	@$(RM) $@.temp
90ce3da70b43 Initial load
duke
parents:
diff changeset
   512
	TYPE=short BO=U SRC=$< DST=$@.temp $(GEN_BUFFER_CMD)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   513
	$(MV) $@.temp $@
4115
e09be02771b6 6888701: Change all template java source files to a .java-template file suffix
ohair
parents: 2913
diff changeset
   514
$(BUF_GEN)/DirectShortBuffer%U.java: $(DIRECT_X_BUF_TEMPLATE) $(GEN_BUFFER_SH)
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   515
	$(prep-target)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   516
	@$(RM) $@.temp
90ce3da70b43 Initial load
duke
parents:
diff changeset
   517
	TYPE=short RW=$* BO=U SRC=$< DST=$@.temp $(GEN_BUFFER_CMD)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   518
	$(MV) $@.temp $@
4115
e09be02771b6 6888701: Change all template java source files to a .java-template file suffix
ohair
parents: 2913
diff changeset
   519
$(BUF_GEN)/DirectIntBufferU.java: $(DIRECT_X_BUF_TEMPLATE) $(GEN_BUFFER_SH)
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   520
	$(prep-target)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   521
	@$(RM) $@.temp
90ce3da70b43 Initial load
duke
parents:
diff changeset
   522
	TYPE=int BO=U SRC=$< DST=$@.temp $(GEN_BUFFER_CMD)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   523
	$(MV) $@.temp $@
4115
e09be02771b6 6888701: Change all template java source files to a .java-template file suffix
ohair
parents: 2913
diff changeset
   524
$(BUF_GEN)/DirectIntBuffer%U.java: $(DIRECT_X_BUF_TEMPLATE) $(GEN_BUFFER_SH)
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   525
	$(prep-target)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   526
	@$(RM) $@.temp
90ce3da70b43 Initial load
duke
parents:
diff changeset
   527
	TYPE=int RW=$* BO=U SRC=$< DST=$@.temp $(GEN_BUFFER_CMD)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   528
	$(MV) $@.temp $@
4115
e09be02771b6 6888701: Change all template java source files to a .java-template file suffix
ohair
parents: 2913
diff changeset
   529
$(BUF_GEN)/DirectLongBufferU.java: $(DIRECT_X_BUF_TEMPLATE) $(GEN_BUFFER_SH)
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   530
	$(prep-target)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   531
	@$(RM) $@.temp
90ce3da70b43 Initial load
duke
parents:
diff changeset
   532
	TYPE=long BO=U SRC=$< DST=$@.temp $(GEN_BUFFER_CMD)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   533
	$(MV) $@.temp $@
4115
e09be02771b6 6888701: Change all template java source files to a .java-template file suffix
ohair
parents: 2913
diff changeset
   534
$(BUF_GEN)/DirectLongBuffer%U.java: $(DIRECT_X_BUF_TEMPLATE) $(GEN_BUFFER_SH)
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   535
	$(prep-target)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   536
	@$(RM) $@.temp
90ce3da70b43 Initial load
duke
parents:
diff changeset
   537
	TYPE=long RW=$* BO=U SRC=$< DST=$@.temp $(GEN_BUFFER_CMD)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   538
	$(MV) $@.temp $@
4115
e09be02771b6 6888701: Change all template java source files to a .java-template file suffix
ohair
parents: 2913
diff changeset
   539
$(BUF_GEN)/DirectFloatBufferU.java: $(DIRECT_X_BUF_TEMPLATE) $(GEN_BUFFER_SH)
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   540
	$(prep-target)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   541
	@$(RM) $@.temp
90ce3da70b43 Initial load
duke
parents:
diff changeset
   542
	TYPE=float BO=U SRC=$< DST=$@.temp $(GEN_BUFFER_CMD)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   543
	$(MV) $@.temp $@
4115
e09be02771b6 6888701: Change all template java source files to a .java-template file suffix
ohair
parents: 2913
diff changeset
   544
$(BUF_GEN)/DirectFloatBuffer%U.java: $(DIRECT_X_BUF_TEMPLATE) $(GEN_BUFFER_SH)
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   545
	$(prep-target)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   546
	@$(RM) $@.temp
90ce3da70b43 Initial load
duke
parents:
diff changeset
   547
	TYPE=float RW=$* BO=U SRC=$< DST=$@.temp $(GEN_BUFFER_CMD)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   548
	$(MV) $@.temp $@
4115
e09be02771b6 6888701: Change all template java source files to a .java-template file suffix
ohair
parents: 2913
diff changeset
   549
$(BUF_GEN)/DirectDoubleBufferU.java: $(DIRECT_X_BUF_TEMPLATE) $(GEN_BUFFER_SH)
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   550
	$(prep-target)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   551
	@$(RM) $@.temp
90ce3da70b43 Initial load
duke
parents:
diff changeset
   552
	TYPE=double BO=U SRC=$< DST=$@.temp $(GEN_BUFFER_CMD)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   553
	$(MV) $@.temp $@
4115
e09be02771b6 6888701: Change all template java source files to a .java-template file suffix
ohair
parents: 2913
diff changeset
   554
$(BUF_GEN)/DirectDoubleBuffer%U.java: $(DIRECT_X_BUF_TEMPLATE) $(GEN_BUFFER_SH)
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   555
	$(prep-target)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   556
	@$(RM) $@.temp
90ce3da70b43 Initial load
duke
parents:
diff changeset
   557
	TYPE=double RW=$* BO=U SRC=$< DST=$@.temp $(GEN_BUFFER_CMD)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   558
	$(MV) $@.temp $@
90ce3da70b43 Initial load
duke
parents:
diff changeset
   559
90ce3da70b43 Initial load
duke
parents:
diff changeset
   560
# Swapped views of direct byte buffers
90ce3da70b43 Initial load
duke
parents:
diff changeset
   561
#
4115
e09be02771b6 6888701: Change all template java source files to a .java-template file suffix
ohair
parents: 2913
diff changeset
   562
$(BUF_GEN)/DirectCharBufferS.java: $(DIRECT_X_BUF_TEMPLATE) $(GEN_BUFFER_SH)
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   563
	$(prep-target)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   564
	@$(RM) $@.temp
90ce3da70b43 Initial load
duke
parents:
diff changeset
   565
	TYPE=char BO=S SRC=$< DST=$@.temp $(GEN_BUFFER_CMD)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   566
	$(MV) $@.temp $@
4115
e09be02771b6 6888701: Change all template java source files to a .java-template file suffix
ohair
parents: 2913
diff changeset
   567
$(BUF_GEN)/DirectCharBuffer%S.java: $(DIRECT_X_BUF_TEMPLATE) $(GEN_BUFFER_SH)
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   568
	$(prep-target)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   569
	@$(RM) $@.temp
90ce3da70b43 Initial load
duke
parents:
diff changeset
   570
	TYPE=char RW=$* BO=S SRC=$< DST=$@.temp $(GEN_BUFFER_CMD)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   571
	$(MV) $@.temp $@
4115
e09be02771b6 6888701: Change all template java source files to a .java-template file suffix
ohair
parents: 2913
diff changeset
   572
$(BUF_GEN)/DirectShortBufferS.java: $(DIRECT_X_BUF_TEMPLATE) $(GEN_BUFFER_SH)
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   573
	$(prep-target)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   574
	@$(RM) $@.temp
90ce3da70b43 Initial load
duke
parents:
diff changeset
   575
	TYPE=short BO=S SRC=$< DST=$@.temp $(GEN_BUFFER_CMD)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   576
	$(MV) $@.temp $@
4115
e09be02771b6 6888701: Change all template java source files to a .java-template file suffix
ohair
parents: 2913
diff changeset
   577
$(BUF_GEN)/DirectShortBuffer%S.java: $(DIRECT_X_BUF_TEMPLATE) $(GEN_BUFFER_SH)
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   578
	$(prep-target)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   579
	@$(RM) $@.temp
90ce3da70b43 Initial load
duke
parents:
diff changeset
   580
	TYPE=short RW=$* BO=S SRC=$< DST=$@.temp $(GEN_BUFFER_CMD)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   581
	$(MV) $@.temp $@
4115
e09be02771b6 6888701: Change all template java source files to a .java-template file suffix
ohair
parents: 2913
diff changeset
   582
$(BUF_GEN)/DirectIntBufferS.java: $(DIRECT_X_BUF_TEMPLATE) $(GEN_BUFFER_SH)
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   583
	$(prep-target)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   584
	@$(RM) $@.temp
90ce3da70b43 Initial load
duke
parents:
diff changeset
   585
	TYPE=int BO=S SRC=$< DST=$@.temp $(GEN_BUFFER_CMD)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   586
	$(MV) $@.temp $@
4115
e09be02771b6 6888701: Change all template java source files to a .java-template file suffix
ohair
parents: 2913
diff changeset
   587
$(BUF_GEN)/DirectIntBuffer%S.java: $(DIRECT_X_BUF_TEMPLATE) $(GEN_BUFFER_SH)
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   588
	$(prep-target)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   589
	@$(RM) $@.temp
90ce3da70b43 Initial load
duke
parents:
diff changeset
   590
	TYPE=int RW=$* BO=S SRC=$< DST=$@.temp $(GEN_BUFFER_CMD)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   591
	$(MV) $@.temp $@
4115
e09be02771b6 6888701: Change all template java source files to a .java-template file suffix
ohair
parents: 2913
diff changeset
   592
$(BUF_GEN)/DirectLongBufferS.java: $(DIRECT_X_BUF_TEMPLATE) $(GEN_BUFFER_SH)
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   593
	$(prep-target)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   594
	@$(RM) $@.temp
90ce3da70b43 Initial load
duke
parents:
diff changeset
   595
	TYPE=long BO=S SRC=$< DST=$@.temp $(GEN_BUFFER_CMD)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   596
	$(MV) $@.temp $@
4115
e09be02771b6 6888701: Change all template java source files to a .java-template file suffix
ohair
parents: 2913
diff changeset
   597
$(BUF_GEN)/DirectLongBuffer%S.java: $(DIRECT_X_BUF_TEMPLATE) $(GEN_BUFFER_SH)
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   598
	$(prep-target)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   599
	@$(RM) $@.temp
90ce3da70b43 Initial load
duke
parents:
diff changeset
   600
	TYPE=long RW=$* BO=S SRC=$< DST=$@.temp $(GEN_BUFFER_CMD)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   601
	$(MV) $@.temp $@
4115
e09be02771b6 6888701: Change all template java source files to a .java-template file suffix
ohair
parents: 2913
diff changeset
   602
$(BUF_GEN)/DirectFloatBufferS.java: $(DIRECT_X_BUF_TEMPLATE) $(GEN_BUFFER_SH)
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   603
	$(prep-target)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   604
	@$(RM) $@.temp
90ce3da70b43 Initial load
duke
parents:
diff changeset
   605
	TYPE=float BO=S SRC=$< DST=$@.temp $(GEN_BUFFER_CMD)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   606
	$(MV) $@.temp $@
4115
e09be02771b6 6888701: Change all template java source files to a .java-template file suffix
ohair
parents: 2913
diff changeset
   607
$(BUF_GEN)/DirectFloatBuffer%S.java: $(DIRECT_X_BUF_TEMPLATE) $(GEN_BUFFER_SH)
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   608
	$(prep-target)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   609
	@$(RM) $@.temp
90ce3da70b43 Initial load
duke
parents:
diff changeset
   610
	TYPE=float RW=$* BO=S SRC=$< DST=$@.temp $(GEN_BUFFER_CMD)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   611
	$(MV) $@.temp $@
4115
e09be02771b6 6888701: Change all template java source files to a .java-template file suffix
ohair
parents: 2913
diff changeset
   612
$(BUF_GEN)/DirectDoubleBufferS.java: $(DIRECT_X_BUF_TEMPLATE) $(GEN_BUFFER_SH)
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   613
	$(prep-target)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   614
	@$(RM) $@.temp
90ce3da70b43 Initial load
duke
parents:
diff changeset
   615
	TYPE=double BO=S SRC=$< DST=$@.temp $(GEN_BUFFER_CMD)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   616
	$(MV) $@.temp $@
4115
e09be02771b6 6888701: Change all template java source files to a .java-template file suffix
ohair
parents: 2913
diff changeset
   617
$(BUF_GEN)/DirectDoubleBuffer%S.java: $(DIRECT_X_BUF_TEMPLATE) $(GEN_BUFFER_SH)
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   618
	$(prep-target)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   619
	@$(RM) $@.temp
90ce3da70b43 Initial load
duke
parents:
diff changeset
   620
	TYPE=double RW=$* BO=S SRC=$< DST=$@.temp $(GEN_BUFFER_CMD)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   621
	$(MV) $@.temp $@
90ce3da70b43 Initial load
duke
parents:
diff changeset
   622
90ce3da70b43 Initial load
duke
parents:
diff changeset
   623
# Big-endian views of byte buffers
90ce3da70b43 Initial load
duke
parents:
diff changeset
   624
#
4115
e09be02771b6 6888701: Change all template java source files to a .java-template file suffix
ohair
parents: 2913
diff changeset
   625
$(BUF_GEN)/ByteBufferAsCharBufferB.java: $(BYTE_X_BUF_TEMPLATE) $(GEN_BUFFER_SH)
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   626
	$(prep-target)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   627
	@$(RM) $@.temp
90ce3da70b43 Initial load
duke
parents:
diff changeset
   628
	TYPE=char BO=B SRC=$< DST=$@.temp $(GEN_BUFFER_CMD)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   629
	$(MV) $@.temp $@
4115
e09be02771b6 6888701: Change all template java source files to a .java-template file suffix
ohair
parents: 2913
diff changeset
   630
$(BUF_GEN)/ByteBufferAsCharBuffer%B.java: $(BYTE_X_BUF_TEMPLATE) $(GEN_BUFFER_SH)
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   631
	$(prep-target)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   632
	@$(RM) $@.temp
90ce3da70b43 Initial load
duke
parents:
diff changeset
   633
	TYPE=char RW=$* BO=B SRC=$< DST=$@.temp $(GEN_BUFFER_CMD)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   634
	$(MV) $@.temp $@
4115
e09be02771b6 6888701: Change all template java source files to a .java-template file suffix
ohair
parents: 2913
diff changeset
   635
$(BUF_GEN)/ByteBufferAsShortBufferB.java: $(BYTE_X_BUF_TEMPLATE) $(GEN_BUFFER_SH)
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   636
	$(prep-target)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   637
	@$(RM) $@.temp
90ce3da70b43 Initial load
duke
parents:
diff changeset
   638
	TYPE=short BO=B SRC=$< DST=$@.temp $(GEN_BUFFER_CMD)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   639
	$(MV) $@.temp $@
4115
e09be02771b6 6888701: Change all template java source files to a .java-template file suffix
ohair
parents: 2913
diff changeset
   640
$(BUF_GEN)/ByteBufferAsShortBuffer%B.java: $(BYTE_X_BUF_TEMPLATE) $(GEN_BUFFER_SH)
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   641
	$(prep-target)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   642
	@$(RM) $@.temp
90ce3da70b43 Initial load
duke
parents:
diff changeset
   643
	TYPE=short RW=$* BO=B SRC=$< DST=$@.temp $(GEN_BUFFER_CMD)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   644
	$(MV) $@.temp $@
4115
e09be02771b6 6888701: Change all template java source files to a .java-template file suffix
ohair
parents: 2913
diff changeset
   645
$(BUF_GEN)/ByteBufferAsIntBufferB.java: $(BYTE_X_BUF_TEMPLATE) $(GEN_BUFFER_SH)
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   646
	$(prep-target)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   647
	@$(RM) $@.temp
90ce3da70b43 Initial load
duke
parents:
diff changeset
   648
	TYPE=int BO=B SRC=$< DST=$@.temp $(GEN_BUFFER_CMD)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   649
	$(MV) $@.temp $@
4115
e09be02771b6 6888701: Change all template java source files to a .java-template file suffix
ohair
parents: 2913
diff changeset
   650
$(BUF_GEN)/ByteBufferAsIntBuffer%B.java: $(BYTE_X_BUF_TEMPLATE) $(GEN_BUFFER_SH)
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   651
	$(prep-target)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   652
	@$(RM) $@.temp
90ce3da70b43 Initial load
duke
parents:
diff changeset
   653
	TYPE=int RW=$* BO=B SRC=$< DST=$@.temp $(GEN_BUFFER_CMD)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   654
	$(MV) $@.temp $@
4115
e09be02771b6 6888701: Change all template java source files to a .java-template file suffix
ohair
parents: 2913
diff changeset
   655
$(BUF_GEN)/ByteBufferAsLongBufferB.java: $(BYTE_X_BUF_TEMPLATE) $(GEN_BUFFER_SH)
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   656
	$(prep-target)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   657
	@$(RM) $@.temp
90ce3da70b43 Initial load
duke
parents:
diff changeset
   658
	TYPE=long BO=B SRC=$< DST=$@.temp $(GEN_BUFFER_CMD)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   659
	$(MV) $@.temp $@
4115
e09be02771b6 6888701: Change all template java source files to a .java-template file suffix
ohair
parents: 2913
diff changeset
   660
$(BUF_GEN)/ByteBufferAsLongBuffer%B.java: $(BYTE_X_BUF_TEMPLATE) $(GEN_BUFFER_SH)
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   661
	$(prep-target)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   662
	@$(RM) $@.temp
90ce3da70b43 Initial load
duke
parents:
diff changeset
   663
	TYPE=long RW=$* BO=B SRC=$< DST=$@.temp $(GEN_BUFFER_CMD)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   664
	$(MV) $@.temp $@
4115
e09be02771b6 6888701: Change all template java source files to a .java-template file suffix
ohair
parents: 2913
diff changeset
   665
$(BUF_GEN)/ByteBufferAsFloatBufferB.java: $(BYTE_X_BUF_TEMPLATE) $(GEN_BUFFER_SH)
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   666
	$(prep-target)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   667
	@$(RM) $@.temp
90ce3da70b43 Initial load
duke
parents:
diff changeset
   668
	TYPE=float BO=B SRC=$< DST=$@.temp $(GEN_BUFFER_CMD)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   669
	$(MV) $@.temp $@
4115
e09be02771b6 6888701: Change all template java source files to a .java-template file suffix
ohair
parents: 2913
diff changeset
   670
$(BUF_GEN)/ByteBufferAsFloatBuffer%B.java: $(BYTE_X_BUF_TEMPLATE) $(GEN_BUFFER_SH)
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   671
	$(prep-target)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   672
	@$(RM) $@.temp
90ce3da70b43 Initial load
duke
parents:
diff changeset
   673
	TYPE=float RW=$* BO=B SRC=$< DST=$@.temp $(GEN_BUFFER_CMD)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   674
	$(MV) $@.temp $@
4115
e09be02771b6 6888701: Change all template java source files to a .java-template file suffix
ohair
parents: 2913
diff changeset
   675
$(BUF_GEN)/ByteBufferAsDoubleBufferB.java: $(BYTE_X_BUF_TEMPLATE) $(GEN_BUFFER_SH)
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   676
	$(prep-target)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   677
	@$(RM) $@.temp
90ce3da70b43 Initial load
duke
parents:
diff changeset
   678
	TYPE=double BO=B SRC=$< DST=$@.temp $(GEN_BUFFER_CMD)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   679
	$(MV) $@.temp $@
4115
e09be02771b6 6888701: Change all template java source files to a .java-template file suffix
ohair
parents: 2913
diff changeset
   680
$(BUF_GEN)/ByteBufferAsDoubleBuffer%B.java: $(BYTE_X_BUF_TEMPLATE) $(GEN_BUFFER_SH)
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   681
	$(prep-target)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   682
	@$(RM) $@.temp
90ce3da70b43 Initial load
duke
parents:
diff changeset
   683
	TYPE=double RW=$* BO=B SRC=$< DST=$@.temp $(GEN_BUFFER_CMD)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   684
	$(MV) $@.temp $@
90ce3da70b43 Initial load
duke
parents:
diff changeset
   685
90ce3da70b43 Initial load
duke
parents:
diff changeset
   686
# Little-endian views of byte buffers
90ce3da70b43 Initial load
duke
parents:
diff changeset
   687
#
4115
e09be02771b6 6888701: Change all template java source files to a .java-template file suffix
ohair
parents: 2913
diff changeset
   688
$(BUF_GEN)/ByteBufferAsCharBufferL.java: $(BYTE_X_BUF_TEMPLATE) $(GEN_BUFFER_SH)
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   689
	$(prep-target)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   690
	@$(RM) $@.temp
90ce3da70b43 Initial load
duke
parents:
diff changeset
   691
	TYPE=char BO=L SRC=$< DST=$@.temp $(GEN_BUFFER_CMD)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   692
	$(MV) $@.temp $@
4115
e09be02771b6 6888701: Change all template java source files to a .java-template file suffix
ohair
parents: 2913
diff changeset
   693
$(BUF_GEN)/ByteBufferAsCharBuffer%L.java: $(BYTE_X_BUF_TEMPLATE) $(GEN_BUFFER_SH)
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   694
	$(prep-target)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   695
	@$(RM) $@.temp
90ce3da70b43 Initial load
duke
parents:
diff changeset
   696
	TYPE=char RW=$* BO=L SRC=$< DST=$@.temp $(GEN_BUFFER_CMD)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   697
	$(MV) $@.temp $@
4115
e09be02771b6 6888701: Change all template java source files to a .java-template file suffix
ohair
parents: 2913
diff changeset
   698
$(BUF_GEN)/ByteBufferAsShortBufferL.java: $(BYTE_X_BUF_TEMPLATE) $(GEN_BUFFER_SH)
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   699
	$(prep-target)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   700
	@$(RM) $@.temp
90ce3da70b43 Initial load
duke
parents:
diff changeset
   701
	TYPE=short BO=L SRC=$< DST=$@.temp $(GEN_BUFFER_CMD)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   702
	$(MV) $@.temp $@
4115
e09be02771b6 6888701: Change all template java source files to a .java-template file suffix
ohair
parents: 2913
diff changeset
   703
$(BUF_GEN)/ByteBufferAsShortBuffer%L.java: $(BYTE_X_BUF_TEMPLATE) $(GEN_BUFFER_SH)
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   704
	$(prep-target)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   705
	@$(RM) $@.temp
90ce3da70b43 Initial load
duke
parents:
diff changeset
   706
	TYPE=short RW=$* BO=L SRC=$< DST=$@.temp $(GEN_BUFFER_CMD)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   707
	$(MV) $@.temp $@
4115
e09be02771b6 6888701: Change all template java source files to a .java-template file suffix
ohair
parents: 2913
diff changeset
   708
$(BUF_GEN)/ByteBufferAsIntBufferL.java: $(BYTE_X_BUF_TEMPLATE) $(GEN_BUFFER_SH)
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   709
	$(prep-target)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   710
	@$(RM) $@.temp
90ce3da70b43 Initial load
duke
parents:
diff changeset
   711
	TYPE=int BO=L SRC=$< DST=$@.temp $(GEN_BUFFER_CMD)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   712
	$(MV) $@.temp $@
4115
e09be02771b6 6888701: Change all template java source files to a .java-template file suffix
ohair
parents: 2913
diff changeset
   713
$(BUF_GEN)/ByteBufferAsIntBuffer%L.java: $(BYTE_X_BUF_TEMPLATE) $(GEN_BUFFER_SH)
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   714
	$(prep-target)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   715
	@$(RM) $@.temp
90ce3da70b43 Initial load
duke
parents:
diff changeset
   716
	TYPE=int RW=$* BO=L SRC=$< DST=$@.temp $(GEN_BUFFER_CMD)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   717
	$(MV) $@.temp $@
4115
e09be02771b6 6888701: Change all template java source files to a .java-template file suffix
ohair
parents: 2913
diff changeset
   718
$(BUF_GEN)/ByteBufferAsLongBufferL.java: $(BYTE_X_BUF_TEMPLATE) $(GEN_BUFFER_SH)
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   719
	$(prep-target)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   720
	@$(RM) $@.temp
90ce3da70b43 Initial load
duke
parents:
diff changeset
   721
	TYPE=long BO=L SRC=$< DST=$@.temp $(GEN_BUFFER_CMD)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   722
	$(MV) $@.temp $@
4115
e09be02771b6 6888701: Change all template java source files to a .java-template file suffix
ohair
parents: 2913
diff changeset
   723
$(BUF_GEN)/ByteBufferAsLongBuffer%L.java: $(BYTE_X_BUF_TEMPLATE) $(GEN_BUFFER_SH)
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   724
	$(prep-target)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   725
	@$(RM) $@.temp
90ce3da70b43 Initial load
duke
parents:
diff changeset
   726
	TYPE=long RW=$* BO=L SRC=$< DST=$@.temp $(GEN_BUFFER_CMD)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   727
	$(MV) $@.temp $@
4115
e09be02771b6 6888701: Change all template java source files to a .java-template file suffix
ohair
parents: 2913
diff changeset
   728
$(BUF_GEN)/ByteBufferAsFloatBufferL.java: $(BYTE_X_BUF_TEMPLATE) $(GEN_BUFFER_SH)
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   729
	$(prep-target)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   730
	@$(RM) $@.temp
90ce3da70b43 Initial load
duke
parents:
diff changeset
   731
	TYPE=float BO=L SRC=$< DST=$@.temp $(GEN_BUFFER_CMD)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   732
	$(MV) $@.temp $@
4115
e09be02771b6 6888701: Change all template java source files to a .java-template file suffix
ohair
parents: 2913
diff changeset
   733
$(BUF_GEN)/ByteBufferAsFloatBuffer%L.java: $(BYTE_X_BUF_TEMPLATE) $(GEN_BUFFER_SH)
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   734
	$(prep-target)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   735
	@$(RM) $@.temp
90ce3da70b43 Initial load
duke
parents:
diff changeset
   736
	TYPE=float RW=$* BO=L SRC=$< DST=$@.temp $(GEN_BUFFER_CMD)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   737
	$(MV) $@.temp $@
4115
e09be02771b6 6888701: Change all template java source files to a .java-template file suffix
ohair
parents: 2913
diff changeset
   738
$(BUF_GEN)/ByteBufferAsDoubleBufferL.java: $(BYTE_X_BUF_TEMPLATE) $(GEN_BUFFER_SH)
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   739
	$(prep-target)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   740
	@$(RM) $@.temp
90ce3da70b43 Initial load
duke
parents:
diff changeset
   741
	TYPE=double BO=L SRC=$< DST=$@.temp $(GEN_BUFFER_CMD)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   742
	$(MV) $@.temp $@
4115
e09be02771b6 6888701: Change all template java source files to a .java-template file suffix
ohair
parents: 2913
diff changeset
   743
$(BUF_GEN)/ByteBufferAsDoubleBuffer%L.java: $(BYTE_X_BUF_TEMPLATE) $(GEN_BUFFER_SH)
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   744
	$(prep-target)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   745
	@$(RM) $@.temp
90ce3da70b43 Initial load
duke
parents:
diff changeset
   746
	TYPE=double RW=$* BO=L SRC=$< DST=$@.temp $(GEN_BUFFER_CMD)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   747
	$(MV) $@.temp $@
90ce3da70b43 Initial load
duke
parents:
diff changeset
   748
90ce3da70b43 Initial load
duke
parents:
diff changeset
   749
#
90ce3da70b43 Initial load
duke
parents:
diff changeset
   750
# Generated coder classes
90ce3da70b43 Initial load
duke
parents:
diff changeset
   751
#
90ce3da70b43 Initial load
duke
parents:
diff changeset
   752
90ce3da70b43 Initial load
duke
parents:
diff changeset
   753
GEN_CODER_SH = genCoder.sh
90ce3da70b43 Initial load
duke
parents:
diff changeset
   754
530
dbf0077bad01 6590549: Cygwin build of OpenJDK has problems and not very well documented
ohair
parents: 29
diff changeset
   755
GEN_CODER_CMD = SPP="$(SPP_CMD)" SED="$(SED)" NAWK="$(NAWK)" SH="$(SH)" $(SH) $(GEN_CODER_SH)
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   756
4115
e09be02771b6 6888701: Change all template java source files to a .java-template file suffix
ohair
parents: 2913
diff changeset
   757
$(CS_GEN)/CharsetDecoder.java: $(CHARSET_X_CODER_TEMPLATE) $(GEN_CODER_SH)
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   758
	$(prep-target)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   759
	@$(RM) $@.temp
90ce3da70b43 Initial load
duke
parents:
diff changeset
   760
	$(GEN_CODER_CMD) decoder $< $@.temp
90ce3da70b43 Initial load
duke
parents:
diff changeset
   761
	$(MV) $@.temp $@
90ce3da70b43 Initial load
duke
parents:
diff changeset
   762
4115
e09be02771b6 6888701: Change all template java source files to a .java-template file suffix
ohair
parents: 2913
diff changeset
   763
$(CS_GEN)/CharsetEncoder.java: $(CHARSET_X_CODER_TEMPLATE) $(GEN_CODER_SH)
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   764
	$(prep-target)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   765
	@$(RM) $@.temp
90ce3da70b43 Initial load
duke
parents:
diff changeset
   766
	$(GEN_CODER_CMD) encoder $< $@.temp
90ce3da70b43 Initial load
duke
parents:
diff changeset
   767
	$(MV) $@.temp $@
90ce3da70b43 Initial load
duke
parents:
diff changeset
   768
90ce3da70b43 Initial load
duke
parents:
diff changeset
   769
#
90ce3da70b43 Initial load
duke
parents:
diff changeset
   770
# Generated exception classes
90ce3da70b43 Initial load
duke
parents:
diff changeset
   771
#
90ce3da70b43 Initial load
duke
parents:
diff changeset
   772
90ce3da70b43 Initial load
duke
parents:
diff changeset
   773
GEN_EX_SH = genExceptions.sh
90ce3da70b43 Initial load
duke
parents:
diff changeset
   774
 
530
dbf0077bad01 6590549: Cygwin build of OpenJDK has problems and not very well documented
ohair
parents: 29
diff changeset
   775
GEN_EX_CMD = NAWK="$(NAWK)" SH="$(SH)" $(SH) $(GEN_EX_SH)
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   776
90ce3da70b43 Initial load
duke
parents:
diff changeset
   777
$(CH_GEN)/%Exception.java: genExceptions.sh $(CH_SRC)/exceptions
90ce3da70b43 Initial load
duke
parents:
diff changeset
   778
	$(prep-target)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   779
	@$(RM) $@.temp
90ce3da70b43 Initial load
duke
parents:
diff changeset
   780
	$(GEN_EX_CMD) $(CH_SRC)/exceptions $(CH_GEN)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   781
90ce3da70b43 Initial load
duke
parents:
diff changeset
   782
$(CS_GEN)/%Exception.java: genExceptions.sh $(CS_SRC)/exceptions
90ce3da70b43 Initial load
duke
parents:
diff changeset
   783
	$(prep-target)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   784
	@$(RM) $@.temp
90ce3da70b43 Initial load
duke
parents:
diff changeset
   785
	$(GEN_EX_CMD) $(CS_SRC)/exceptions $(CS_GEN)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   786
90ce3da70b43 Initial load
duke
parents:
diff changeset
   787
$(BUF_GEN)/%Exception.java: genExceptions.sh $(BUF_SRC)/exceptions
90ce3da70b43 Initial load
duke
parents:
diff changeset
   788
	$(prep-target)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   789
	@$(RM) $@.temp
90ce3da70b43 Initial load
duke
parents:
diff changeset
   790
	$(GEN_EX_CMD) $(BUF_SRC)/exceptions $(BUF_GEN)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   791
90ce3da70b43 Initial load
duke
parents:
diff changeset
   792
#
90ce3da70b43 Initial load
duke
parents:
diff changeset
   793
# Generated charset-provider classes
90ce3da70b43 Initial load
duke
parents:
diff changeset
   794
#
90ce3da70b43 Initial load
duke
parents:
diff changeset
   795
90ce3da70b43 Initial load
duke
parents:
diff changeset
   796
HASHER_JARFILE = $(BUILDTOOLJARDIR)/hasher.jar
90ce3da70b43 Initial load
duke
parents:
diff changeset
   797
90ce3da70b43 Initial load
duke
parents:
diff changeset
   798
$(SCS_GEN)/StandardCharsets.java: genCharsetProvider.sh \
90ce3da70b43 Initial load
duke
parents:
diff changeset
   799
    $(HASHER_JARFILE) $(SCS_SRC)/standard-charsets
90ce3da70b43 Initial load
duke
parents:
diff changeset
   800
	$(prep-target)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   801
	@$(RM) $@.temp
530
dbf0077bad01 6590549: Cygwin build of OpenJDK has problems and not very well documented
ohair
parents: 29
diff changeset
   802
	NAWK="$(NAWK)" TEMPDIR="$(TEMPDIR)" SH="$(SH)" \
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   803
	  HASHER="$(BOOT_JAVA_CMD) -jar $(HASHER_JARFILE)" \
29
b8bedccd805d 6638060: Build failed with GNU make 3.81 (part of latest Solaris 'gmake')
ohair
parents: 2
diff changeset
   804
	  $(SH) -e genCharsetProvider.sh $(SCS_SRC)/standard-charsets $(SCS_GEN)
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   805
1152
29d6145d1097 4640544: New I/O: Complete socket-channel functionality
alanb
parents: 914
diff changeset
   806
#
29d6145d1097 4640544: New I/O: Complete socket-channel functionality
alanb
parents: 914
diff changeset
   807
# Generated channel implementation classes.
29d6145d1097 4640544: New I/O: Complete socket-channel functionality
alanb
parents: 914
diff changeset
   808
# C source is compiled in TEMPDIR to avoid turds left by Windows compilers.
29d6145d1097 4640544: New I/O: Complete socket-channel functionality
alanb
parents: 914
diff changeset
   809
#
29d6145d1097 4640544: New I/O: Complete socket-channel functionality
alanb
parents: 914
diff changeset
   810
29d6145d1097 4640544: New I/O: Complete socket-channel functionality
alanb
parents: 914
diff changeset
   811
GENSOR_SRC = $(SHARE_SRC)/native/sun/nio/ch/genSocketOptionRegistry.c
29d6145d1097 4640544: New I/O: Complete socket-channel functionality
alanb
parents: 914
diff changeset
   812
29d6145d1097 4640544: New I/O: Complete socket-channel functionality
alanb
parents: 914
diff changeset
   813
GENSOR_EXE = $(TEMPDIR)/genSocketOptionRegistry$(EXE_SUFFIX)
29d6145d1097 4640544: New I/O: Complete socket-channel functionality
alanb
parents: 914
diff changeset
   814
29d6145d1097 4640544: New I/O: Complete socket-channel functionality
alanb
parents: 914
diff changeset
   815
SOR_COPYRIGHT_YEARS = $(shell $(CAT) $(GENSOR_SRC) | \
5552
bca3be14c8bd 6955707: Correct addNotices.sh logic in Makefiles
ohair
parents: 5506
diff changeset
   816
	$(NAWK) '/^.*Copyright.*Oracle/ { printf "%s %s",$$4,$$5 }') 
1152
29d6145d1097 4640544: New I/O: Complete socket-channel functionality
alanb
parents: 914
diff changeset
   817
29d6145d1097 4640544: New I/O: Complete socket-channel functionality
alanb
parents: 914
diff changeset
   818
$(TEMPDIR)/$(GENSOR_SRC) : $(GENSOR_SRC)
8583
15dea0fdc2ea 7025631: Remove the modules build support from jdk 7
mchung
parents: 7971
diff changeset
   819
	$(install-file)
1152
29d6145d1097 4640544: New I/O: Complete socket-channel functionality
alanb
parents: 914
diff changeset
   820
29d6145d1097 4640544: New I/O: Complete socket-channel functionality
alanb
parents: 914
diff changeset
   821
$(GENSOR_EXE) : $(TEMPDIR)/$(GENSOR_SRC)
29d6145d1097 4640544: New I/O: Complete socket-channel functionality
alanb
parents: 914
diff changeset
   822
	$(prep-target)
29d6145d1097 4640544: New I/O: Complete socket-channel functionality
alanb
parents: 914
diff changeset
   823
	($(CD) $(TEMPDIR); $(CC) $(CPPFLAGS) $(LDDFLAGS) \
29d6145d1097 4640544: New I/O: Complete socket-channel functionality
alanb
parents: 914
diff changeset
   824
	   -o genSocketOptionRegistry$(EXE_SUFFIX) $(GENSOR_SRC))
29d6145d1097 4640544: New I/O: Complete socket-channel functionality
alanb
parents: 914
diff changeset
   825
29d6145d1097 4640544: New I/O: Complete socket-channel functionality
alanb
parents: 914
diff changeset
   826
$(SCH_GEN)/SocketOptionRegistry.java: $(GENSOR_EXE)
29d6145d1097 4640544: New I/O: Complete socket-channel functionality
alanb
parents: 914
diff changeset
   827
	$(prep-target)
5552
bca3be14c8bd 6955707: Correct addNotices.sh logic in Makefiles
ohair
parents: 5506
diff changeset
   828
	NAWK="$(NAWK)" SH="$(SH)" $(SH) -e addNotices.sh "$(SOR_COPYRIGHT_YEARS)" > $@
1152
29d6145d1097 4640544: New I/O: Complete socket-channel functionality
alanb
parents: 914
diff changeset
   829
	$(GENSOR_EXE) >> $@
29d6145d1097 4640544: New I/O: Complete socket-channel functionality
alanb
parents: 914
diff changeset
   830
1713
f8b8bfa64fc1 6642323: Speeding up Single Byte Decoders
sherman
parents: 1152
diff changeset
   831
#
f8b8bfa64fc1 6642323: Speeding up Single Byte Decoders
sherman
parents: 1152
diff changeset
   832
# Generated sun.nio.cs SingleByte classes
f8b8bfa64fc1 6642323: Speeding up Single Byte Decoders
sherman
parents: 1152
diff changeset
   833
#
f8b8bfa64fc1 6642323: Speeding up Single Byte Decoders
sherman
parents: 1152
diff changeset
   834
GENCSSRC = $(BUILDDIR)/tools/CharsetMapping
f8b8bfa64fc1 6642323: Speeding up Single Byte Decoders
sherman
parents: 1152
diff changeset
   835
CHARSETMAPPING_JARFILE = $(BUILDTOOLJARDIR)/charsetmapping.jar
f8b8bfa64fc1 6642323: Speeding up Single Byte Decoders
sherman
parents: 1152
diff changeset
   836
4341
2af5eacd4b24 6903197: Some java template files need to be renamed to .java.template
ohair
parents: 4115
diff changeset
   837
$(FILES_gensbcs_out): $(GENCSSRC)/SingleByte-X.java.template $(GENCSSRC)/sbcs
1713
f8b8bfa64fc1 6642323: Speeding up Single Byte Decoders
sherman
parents: 1152
diff changeset
   838
	@$(prep-target)
2913
39a9cc073b84 6831794: charset EUC_TW is 12.6% of the total size of charsets.jar
sherman
parents: 2057
diff changeset
   839
	$(BOOT_JAVA_CMD) -jar $(CHARSETMAPPING_JARFILE) $(GENCSSRC) $(SCS_GEN) sbcs
1713
f8b8bfa64fc1 6642323: Speeding up Single Byte Decoders
sherman
parents: 1152
diff changeset
   840
2057
3acf8e5e2ca0 6781363: New I/O: Update socket-channel API to jsr203/nio2-b99
alanb
parents: 1713
diff changeset
   841
# 
3acf8e5e2ca0 6781363: New I/O: Update socket-channel API to jsr203/nio2-b99
alanb
parents: 1713
diff changeset
   842
# Generated file system implementation classes (Unix only)
3acf8e5e2ca0 6781363: New I/O: Update socket-channel API to jsr203/nio2-b99
alanb
parents: 1713
diff changeset
   843
#
3acf8e5e2ca0 6781363: New I/O: Update socket-channel API to jsr203/nio2-b99
alanb
parents: 1713
diff changeset
   844
3acf8e5e2ca0 6781363: New I/O: Update socket-channel API to jsr203/nio2-b99
alanb
parents: 1713
diff changeset
   845
GENUC_SRC = $(PLATFORM_SRC)/native/sun/nio/fs/genUnixConstants.c
3acf8e5e2ca0 6781363: New I/O: Update socket-channel API to jsr203/nio2-b99
alanb
parents: 1713
diff changeset
   846
3acf8e5e2ca0 6781363: New I/O: Update socket-channel API to jsr203/nio2-b99
alanb
parents: 1713
diff changeset
   847
GENUC_EXE = $(TEMPDIR)/genUnixConstants
3acf8e5e2ca0 6781363: New I/O: Update socket-channel API to jsr203/nio2-b99
alanb
parents: 1713
diff changeset
   848
3acf8e5e2ca0 6781363: New I/O: Update socket-channel API to jsr203/nio2-b99
alanb
parents: 1713
diff changeset
   849
GENUC_COPYRIGHT_YEARS = $(shell $(CAT) $(GENUC_SRC) | \
5552
bca3be14c8bd 6955707: Correct addNotices.sh logic in Makefiles
ohair
parents: 5506
diff changeset
   850
	$(NAWK) '/^.*Copyright.*Oracle/ { printf "%s %s",$$4,$$5 }')
2057
3acf8e5e2ca0 6781363: New I/O: Update socket-channel API to jsr203/nio2-b99
alanb
parents: 1713
diff changeset
   851
3acf8e5e2ca0 6781363: New I/O: Update socket-channel API to jsr203/nio2-b99
alanb
parents: 1713
diff changeset
   852
$(GENUC_EXE) : $(GENUC_SRC)
3acf8e5e2ca0 6781363: New I/O: Update socket-channel API to jsr203/nio2-b99
alanb
parents: 1713
diff changeset
   853
	$(prep-target)
3acf8e5e2ca0 6781363: New I/O: Update socket-channel API to jsr203/nio2-b99
alanb
parents: 1713
diff changeset
   854
	$(CC) $(CPPFLAGS) -o $@ $(GENUC_SRC)
3acf8e5e2ca0 6781363: New I/O: Update socket-channel API to jsr203/nio2-b99
alanb
parents: 1713
diff changeset
   855
3acf8e5e2ca0 6781363: New I/O: Update socket-channel API to jsr203/nio2-b99
alanb
parents: 1713
diff changeset
   856
$(SFS_GEN)/UnixConstants.java: $(GENUC_EXE)
3acf8e5e2ca0 6781363: New I/O: Update socket-channel API to jsr203/nio2-b99
alanb
parents: 1713
diff changeset
   857
	$(prep-target)
5552
bca3be14c8bd 6955707: Correct addNotices.sh logic in Makefiles
ohair
parents: 5506
diff changeset
   858
	NAWK="$(NAWK)" SH="$(SH)" $(SH) -e addNotices.sh "$(GENUC_COPYRIGHT_YEARS)" > $@
2057
3acf8e5e2ca0 6781363: New I/O: Update socket-channel API to jsr203/nio2-b99
alanb
parents: 1713
diff changeset
   859
	$(GENUC_EXE) >> $@
3acf8e5e2ca0 6781363: New I/O: Update socket-channel API to jsr203/nio2-b99
alanb
parents: 1713
diff changeset
   860
3acf8e5e2ca0 6781363: New I/O: Update socket-channel API to jsr203/nio2-b99
alanb
parents: 1713
diff changeset
   861
GENSC_SRC = $(PLATFORM_SRC)/native/sun/nio/fs/genSolarisConstants.c
3acf8e5e2ca0 6781363: New I/O: Update socket-channel API to jsr203/nio2-b99
alanb
parents: 1713
diff changeset
   862
3acf8e5e2ca0 6781363: New I/O: Update socket-channel API to jsr203/nio2-b99
alanb
parents: 1713
diff changeset
   863
GENSC_EXE = $(TEMPDIR)/genSolarisConstants
3acf8e5e2ca0 6781363: New I/O: Update socket-channel API to jsr203/nio2-b99
alanb
parents: 1713
diff changeset
   864
3acf8e5e2ca0 6781363: New I/O: Update socket-channel API to jsr203/nio2-b99
alanb
parents: 1713
diff changeset
   865
GENSC_COPYRIGHT_YEARS = $(shell $(CAT) $(GENSC_SRC) | \
5552
bca3be14c8bd 6955707: Correct addNotices.sh logic in Makefiles
ohair
parents: 5506
diff changeset
   866
	$(NAWK) '/^.*Copyright.*Oracle/ { printf "%s %s",$$4,$$5 }')
2057
3acf8e5e2ca0 6781363: New I/O: Update socket-channel API to jsr203/nio2-b99
alanb
parents: 1713
diff changeset
   867
3acf8e5e2ca0 6781363: New I/O: Update socket-channel API to jsr203/nio2-b99
alanb
parents: 1713
diff changeset
   868
$(GENSC_EXE) : $(GENSC_SRC)
3acf8e5e2ca0 6781363: New I/O: Update socket-channel API to jsr203/nio2-b99
alanb
parents: 1713
diff changeset
   869
	$(prep-target)
3acf8e5e2ca0 6781363: New I/O: Update socket-channel API to jsr203/nio2-b99
alanb
parents: 1713
diff changeset
   870
	$(CC) $(CPPFLAGS) -o $@ $(GENSC_SRC)
3acf8e5e2ca0 6781363: New I/O: Update socket-channel API to jsr203/nio2-b99
alanb
parents: 1713
diff changeset
   871
3acf8e5e2ca0 6781363: New I/O: Update socket-channel API to jsr203/nio2-b99
alanb
parents: 1713
diff changeset
   872
$(SFS_GEN)/SolarisConstants.java: $(GENSC_EXE)
3acf8e5e2ca0 6781363: New I/O: Update socket-channel API to jsr203/nio2-b99
alanb
parents: 1713
diff changeset
   873
	$(prep-target)
5552
bca3be14c8bd 6955707: Correct addNotices.sh logic in Makefiles
ohair
parents: 5506
diff changeset
   874
	NAWK="$(NAWK)" SH="$(SH)" $(SH) -e addNotices.sh "$(GENSC_COPYRIGHT_YEARS)" > $@
2057
3acf8e5e2ca0 6781363: New I/O: Update socket-channel API to jsr203/nio2-b99
alanb
parents: 1713
diff changeset
   875
	$(GENSC_EXE) >> $@
3acf8e5e2ca0 6781363: New I/O: Update socket-channel API to jsr203/nio2-b99
alanb
parents: 1713
diff changeset
   876
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   877
.PHONY: sources