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