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