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