Makefile revision 3729
ec79b29695b183f794264bbb578c51e93d1f9b1emartin# Copyright (c) 2000, 2010, Oracle and/or its affiliates. All rights reserved.
6aa2272cc4af77e605ba2c4a4781f8567408b7e3pquerna# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
5deae13e827ad3a8d1972f457fd331e7fcbdbcb8jerenkrantz# This code is free software; you can redistribute it and/or modify it
5deae13e827ad3a8d1972f457fd331e7fcbdbcb8jerenkrantz# under the terms of the GNU General Public License version 2 only, as
5deae13e827ad3a8d1972f457fd331e7fcbdbcb8jerenkrantz# published by the Free Software Foundation. Oracle designates this
24e8199695b555aafbd4e0035d8f03c9263c2eb2jerenkrantz# particular file as subject to the "Classpath" exception as provided
24e8199695b555aafbd4e0035d8f03c9263c2eb2jerenkrantz# by Oracle in the LICENSE file that accompanied this code.
d1197e9701d5464a365fbc6925466966cd95b86djerenkrantz# This code is distributed in the hope that it will be useful, but WITHOUT
d1197e9701d5464a365fbc6925466966cd95b86djerenkrantz# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
d1197e9701d5464a365fbc6925466966cd95b86djerenkrantz# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
7e852fc77c66ea1edb4e88808bb75ecd3603a2e5wrowe# version 2 for more details (a copy is included in the LICENSE file that
7e852fc77c66ea1edb4e88808bb75ecd3603a2e5wrowe# accompanied this code).
7e852fc77c66ea1edb4e88808bb75ecd3603a2e5wrowe# You should have received a copy of the GNU General Public License version
7e852fc77c66ea1edb4e88808bb75ecd3603a2e5wrowe# 2 along with this work; if not, write to the Free Software Foundation,
e5106092b7fae78cec4898042a78a10acccb4cacwrowe# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
e5106092b7fae78cec4898042a78a10acccb4cacwrowe# Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
e5106092b7fae78cec4898042a78a10acccb4cacwrowe# or visit www.oracle.com if you need additional information or have any
e5106092b7fae78cec4898042a78a10acccb4cacwrowe# questions.
470d223738c1dfc4e07c7fae5d186e9dfadd9643jorton# Makefile for java.nio
cd3bbd6d2df78d6c75e5d159a81ef8bdd5f70df9trawickOTHER_JAVACFLAGS += -Xmaxwarns 1000 -Xlint:serial -Werror
108ebbb87b2a46f4416ec507824471a483c39fe1sctemme# Files to compile
3e155218733389e7b1ea3a9ffd0aea533fd929cechrisd sun/nio/ch/UnixAsynchronousServerSocketChannelImpl.java \
e4edb2d4252459327f6edd834de6825873e60134chrisd sun/nio/fs/SolarisUserDefinedFileAttributeView.java \
dec02391360e503cd3437d16bed765dc653b9de5minfrin sun/nio/ch/UnixAsynchronousServerSocketChannelImpl.java \
4bd465052c4a0c8d41e573ee7a90c312d980355fchrisd sun/nio/ch/WindowsAsynchronousServerSocketChannelImpl.java \
127aef4ce9f7b6b32a95c5ed9a93b796d18755e6rpluem sun/nio/fs/WindowsUserDefinedFileAttributeView.java \
3ec4328f079d8867cc323155e59678ad9437914frooneg sun/nio/ch/WindowsAsynchronousServerSocketChannelImpl.java \
3ec4328f079d8867cc323155e59678ad9437914frooneg sun/nio/ch/WindowsAsynchronousSocketChannelImpl.java \
5714cdd83e23557d801437daa5e3ab8ba78ae595jorton sun/nio/ch/UnixAsynchronousServerSocketChannelImpl.java \
8b67b9d3ce40755d1b58971198a02b2749d8e13dbnicholes sun/nio/fs/LinuxUserDefinedFileAttributeView.java \
ad862ab5716726a2d72a292ba1dfb29566c86153brianp sun/nio/ch/UnixAsynchronousServerSocketChannelImpl.java \
8d29663ccfe9b7908257c3f6dd67829bca27da01rpluem# Find platform-specific C source files
f1ca07dc17883c1a894300534a144ac15018a545rpluem# Various variables
cf271ff5f3e95ebd3fec31d7073713ab6ada8225jim# Access to io_util.c and net_util.c
cf271ff5f3e95ebd3fec31d7073713ab6ada8225jim $(OBJDIR)/../../../../sun/java.net/net/$(OBJDIRNAME)/net.lib \
cf271ff5f3e95ebd3fec31d7073713ab6ada8225jim $(OBJDIR)/../../../java.lang/java/$(OBJDIRNAME)/io_util.obj \
cf271ff5f3e95ebd3fec31d7073713ab6ada8225jim $(OBJDIR)/../../../java.lang/java/$(OBJDIRNAME)/FileDescriptor_md.obj
2d979f1a392940641629f0bbfbdc4e7ac1f52ad3trawickOTHER_LDLIBS += -L$(LIBDIR)/$(LIBARCH) -ljava -lnet -lpthread -ldl
2d979f1a392940641629f0bbfbdc4e7ac1f52ad3trawickOTHER_LDLIBS += $(JVMLIB) $(LIBSOCKET) -lposix4 -ldl -lsendfile \
29828f49377897a874aec410f90eda4977c144a7rpluem# Generate source files
6584fe5dea4c3e48c28208482694e8b64e333790jim# Template files
554d13791e00914b9a752b05c3976d50dd27124ajimHEAP_X_BUF_TEMPLATE=$(BUF_SRC)/Heap-X-Buffer.java.template
554d13791e00914b9a752b05c3976d50dd27124ajimBYTE_X_BUF_TEMPLATE=$(BUF_SRC)/ByteBufferAs-X-Buffer.java.template
554d13791e00914b9a752b05c3976d50dd27124ajimDIRECT_X_BUF_TEMPLATE=$(BUF_SRC)/Direct-X-Buffer.java.template
554d13791e00914b9a752b05c3976d50dd27124ajimDIRECT_X_BUF_BIN_TEMPLATE=$(BUF_SRC)/Direct-X-Buffer-bin.java.template
554d13791e00914b9a752b05c3976d50dd27124ajimCHARSET_X_CODER_TEMPLATE=$(CS_SRC)/Charset-X-Coder.java.template
8490276a0c949567788c47c37468eda0ca339d8etrawickFILES_gensbcs_out = $(FILES_gen_sbcs:%.java=$(GENSRCDIR)/%.java)
8490276a0c949567788c47c37468eda0ca339d8etrawicksources: $(SPP_JARFILE) $(FILES_genout) $(FILES_gensbcs_out)
569ddc923f6a9d4b9338c10ddf42d464f63232c9trawick# Generated buffer classes
2d0d8213c4df303dabe883df8fa29ac8f2b42d63rpluemGEN_BUFFER_CMD = SPP="$(SPP_CMD)" NAWK="$(NAWK)" SED="$(SED)" SH="$(SH)" \
2d0d8213c4df303dabe883df8fa29ac8f2b42d63rpluem# Public abstract buffer classes
735cd88c825038eeac04c63c70282afbf936b798jim$(BUF_GEN)/CharBuffer.java: $(X_BUF_TEMPLATE) $(GEN_BUFFER_SH)
ce6e6ce15f92e55178acd9b9a56745b3f33898c6jim$(BUF_GEN)/ShortBuffer.java: $(X_BUF_TEMPLATE) $(GEN_BUFFER_SH)
ce6e6ce15f92e55178acd9b9a56745b3f33898c6jim$(BUF_GEN)/IntBuffer.java: $(X_BUF_TEMPLATE) $(GEN_BUFFER_SH)
dcb2819b8b9d4b86852fa3de8871d05ca4de67cajim$(BUF_GEN)/LongBuffer.java: $(X_BUF_TEMPLATE) $(GEN_BUFFER_SH)
acdf89d84940eb9ae13389097e625cb08c62d452minfrin$(BUF_GEN)/FloatBuffer.java: $(X_BUF_TEMPLATE) $(GEN_BUFFER_SH)
acdf89d84940eb9ae13389097e625cb08c62d452minfrin$(BUF_GEN)/DoubleBuffer.java: $(X_BUF_TEMPLATE) $(GEN_BUFFER_SH)
acdf89d84940eb9ae13389097e625cb08c62d452minfrin# Buffers whose contents are heap-allocated
acdf89d84940eb9ae13389097e625cb08c62d452minfrin$(BUF_GEN)/HeapByteBuffer.java: $(HEAP_X_BUF_TEMPLATE) $(GEN_BUFFER_SH)
2ce90d8d49fb2c464202a8a335e2cd4ea3cb5f33minfrin$(BUF_GEN)/HeapByteBuffer%.java: $(HEAP_X_BUF_TEMPLATE) $(GEN_BUFFER_SH)
cd6811891c9998e52e5e325f82f519dadbc82b39minfrin TYPE=byte RW=$* SRC=$< DST=$@.temp $(GEN_BUFFER_CMD)
2d0d8213c4df303dabe883df8fa29ac8f2b42d63rpluem$(BUF_GEN)/HeapCharBuffer.java: $(HEAP_X_BUF_TEMPLATE) $(GEN_BUFFER_SH)
e114df93a5d0da6e525a51eb1a29219d94d3eb3aminfrin$(BUF_GEN)/HeapCharBuffer%.java: $(HEAP_X_BUF_TEMPLATE) $(GEN_BUFFER_SH)
e114df93a5d0da6e525a51eb1a29219d94d3eb3aminfrin TYPE=char RW=$* SRC=$< DST=$@.temp $(GEN_BUFFER_CMD)
205c204b61b6ecf592cc0ea251ae2f02fc7e19f1wrowe$(BUF_GEN)/HeapShortBuffer.java: $(HEAP_X_BUF_TEMPLATE) $(GEN_BUFFER_SH)
2d0d8213c4df303dabe883df8fa29ac8f2b42d63rpluem$(BUF_GEN)/HeapShortBuffer%.java: $(HEAP_X_BUF_TEMPLATE) $(GEN_BUFFER_SH)
e6d97c844003fd0a04cbd26eb8f68c97fd62c587rpluem TYPE=short RW=$* SRC=$< DST=$@.temp $(GEN_BUFFER_CMD)
e6d97c844003fd0a04cbd26eb8f68c97fd62c587rpluem$(BUF_GEN)/HeapIntBuffer.java: $(HEAP_X_BUF_TEMPLATE) $(GEN_BUFFER_SH)
686ce4eade942e515b1725d0c9751da36b759a6ctrawick$(BUF_GEN)/HeapIntBuffer%.java: $(HEAP_X_BUF_TEMPLATE) $(GEN_BUFFER_SH)
58c97901868722bc3b7833ac725a1d5658fa2920jim$(BUF_GEN)/HeapLongBuffer.java: $(HEAP_X_BUF_TEMPLATE) $(GEN_BUFFER_SH)
58c97901868722bc3b7833ac725a1d5658fa2920jim$(BUF_GEN)/HeapLongBuffer%.java: $(HEAP_X_BUF_TEMPLATE) $(GEN_BUFFER_SH)
2cef392e45f74260035e7449fc95d032baa88084jim$(BUF_GEN)/HeapFloatBuffer.java: $(HEAP_X_BUF_TEMPLATE) $(GEN_BUFFER_SH)
0c5a6a11ce72ad41b14c755f4a2254e0c7b70245rpluem$(BUF_GEN)/HeapFloatBuffer%.java: $(HEAP_X_BUF_TEMPLATE) $(GEN_BUFFER_SH)
5fb3861acae76b1e62571662d32a4312229bb926rpluem TYPE=float RW=$* SRC=$< DST=$@.temp $(GEN_BUFFER_CMD)
5fb3861acae76b1e62571662d32a4312229bb926rpluem$(BUF_GEN)/HeapDoubleBuffer.java: $(HEAP_X_BUF_TEMPLATE) $(GEN_BUFFER_SH)
e2d680c8e2d17df28e0b9f5919e651af74e7378frpluem$(BUF_GEN)/HeapDoubleBuffer%.java: $(HEAP_X_BUF_TEMPLATE) $(GEN_BUFFER_SH)
e2d680c8e2d17df28e0b9f5919e651af74e7378frpluem TYPE=double RW=$* SRC=$< DST=$@.temp $(GEN_BUFFER_CMD)
b5fca7531f2de1c6710b45ed4f4b6089fa5a06c0rpluem# Direct byte buffer
b5fca7531f2de1c6710b45ed4f4b6089fa5a06c0rpluem$(BUF_GEN)/DirectByteBuffer.java: $(DIRECT_X_BUF_TEMPLATE) \
65acd2837c0c846f8d1f7d265bbc861f04e8a9c5niq$(BUF_GEN)/DirectByteBuffer%.java: $(DIRECT_X_BUF_TEMPLATE) \
b5fca7531f2de1c6710b45ed4f4b6089fa5a06c0rpluem TYPE=byte RW=$* BIN=1 SRC=$< DST=$@.temp $(GEN_BUFFER_CMD)
b5fca7531f2de1c6710b45ed4f4b6089fa5a06c0rpluem# Unswapped views of direct byte buffers
b5fca7531f2de1c6710b45ed4f4b6089fa5a06c0rpluem$(BUF_GEN)/DirectCharBufferU.java: $(DIRECT_X_BUF_TEMPLATE) $(GEN_BUFFER_SH)
4b4d33edc11ab08e8019d2c2557fea73b2fdbdb0trawick$(BUF_GEN)/DirectCharBuffer%U.java: $(DIRECT_X_BUF_TEMPLATE) $(GEN_BUFFER_SH)
4b4d33edc11ab08e8019d2c2557fea73b2fdbdb0trawick TYPE=char RW=$* BO=U SRC=$< DST=$@.temp $(GEN_BUFFER_CMD)
b5fca7531f2de1c6710b45ed4f4b6089fa5a06c0rpluem$(BUF_GEN)/DirectShortBufferU.java: $(DIRECT_X_BUF_TEMPLATE) $(GEN_BUFFER_SH)
a9e9e4d9b1e6bb081282f75bf450b7d7d5a1f581rpluem$(BUF_GEN)/DirectShortBuffer%U.java: $(DIRECT_X_BUF_TEMPLATE) $(GEN_BUFFER_SH)
a9e9e4d9b1e6bb081282f75bf450b7d7d5a1f581rpluem TYPE=short RW=$* BO=U SRC=$< DST=$@.temp $(GEN_BUFFER_CMD)
a9e9e4d9b1e6bb081282f75bf450b7d7d5a1f581rpluem$(BUF_GEN)/DirectIntBufferU.java: $(DIRECT_X_BUF_TEMPLATE) $(GEN_BUFFER_SH)
200fd0ce73d992a43b500ddfe94487a840bd56darpluem$(BUF_GEN)/DirectIntBuffer%U.java: $(DIRECT_X_BUF_TEMPLATE) $(GEN_BUFFER_SH)
0c5a6a11ce72ad41b14c755f4a2254e0c7b70245rpluem TYPE=int RW=$* BO=U SRC=$< DST=$@.temp $(GEN_BUFFER_CMD)
0c5a6a11ce72ad41b14c755f4a2254e0c7b70245rpluem$(BUF_GEN)/DirectLongBufferU.java: $(DIRECT_X_BUF_TEMPLATE) $(GEN_BUFFER_SH)
0c5a6a11ce72ad41b14c755f4a2254e0c7b70245rpluem$(BUF_GEN)/DirectLongBuffer%U.java: $(DIRECT_X_BUF_TEMPLATE) $(GEN_BUFFER_SH)
0c5a6a11ce72ad41b14c755f4a2254e0c7b70245rpluem TYPE=long RW=$* BO=U SRC=$< DST=$@.temp $(GEN_BUFFER_CMD)
0c5a6a11ce72ad41b14c755f4a2254e0c7b70245rpluem$(BUF_GEN)/DirectFloatBufferU.java: $(DIRECT_X_BUF_TEMPLATE) $(GEN_BUFFER_SH)
0c5a6a11ce72ad41b14c755f4a2254e0c7b70245rpluem$(BUF_GEN)/DirectFloatBuffer%U.java: $(DIRECT_X_BUF_TEMPLATE) $(GEN_BUFFER_SH)
0c5a6a11ce72ad41b14c755f4a2254e0c7b70245rpluem TYPE=float RW=$* BO=U SRC=$< DST=$@.temp $(GEN_BUFFER_CMD)
0c5a6a11ce72ad41b14c755f4a2254e0c7b70245rpluem$(BUF_GEN)/DirectDoubleBufferU.java: $(DIRECT_X_BUF_TEMPLATE) $(GEN_BUFFER_SH)
0c5a6a11ce72ad41b14c755f4a2254e0c7b70245rpluem TYPE=double BO=U SRC=$< DST=$@.temp $(GEN_BUFFER_CMD)
200fd0ce73d992a43b500ddfe94487a840bd56darpluem$(BUF_GEN)/DirectDoubleBuffer%U.java: $(DIRECT_X_BUF_TEMPLATE) $(GEN_BUFFER_SH)
200fd0ce73d992a43b500ddfe94487a840bd56darpluem TYPE=double RW=$* BO=U SRC=$< DST=$@.temp $(GEN_BUFFER_CMD)
200fd0ce73d992a43b500ddfe94487a840bd56darpluem# Swapped views of direct byte buffers
200fd0ce73d992a43b500ddfe94487a840bd56darpluem$(BUF_GEN)/DirectCharBufferS.java: $(DIRECT_X_BUF_TEMPLATE) $(GEN_BUFFER_SH)
0919d062982a9c9d2f4a8933ef54ccba2dd2b8f8rpluem$(BUF_GEN)/DirectCharBuffer%S.java: $(DIRECT_X_BUF_TEMPLATE) $(GEN_BUFFER_SH)
60262a02cfeba50d60d990b56d0e0c1d1fafb672sctemme TYPE=char RW=$* BO=S SRC=$< DST=$@.temp $(GEN_BUFFER_CMD)
0919d062982a9c9d2f4a8933ef54ccba2dd2b8f8rpluem$(BUF_GEN)/DirectShortBufferS.java: $(DIRECT_X_BUF_TEMPLATE) $(GEN_BUFFER_SH)
0919d062982a9c9d2f4a8933ef54ccba2dd2b8f8rpluem$(BUF_GEN)/DirectShortBuffer%S.java: $(DIRECT_X_BUF_TEMPLATE) $(GEN_BUFFER_SH)
c9ce3d3ead2ba4ea6f5bb176745172f3538aed60rpluem TYPE=short RW=$* BO=S SRC=$< DST=$@.temp $(GEN_BUFFER_CMD)
c9ce3d3ead2ba4ea6f5bb176745172f3538aed60rpluem$(BUF_GEN)/DirectIntBufferS.java: $(DIRECT_X_BUF_TEMPLATE) $(GEN_BUFFER_SH)
c9ce3d3ead2ba4ea6f5bb176745172f3538aed60rpluem$(BUF_GEN)/DirectIntBuffer%S.java: $(DIRECT_X_BUF_TEMPLATE) $(GEN_BUFFER_SH)
0deb1a75b17945f30e56e81b851a2a2ab08af50drpluem TYPE=int RW=$* BO=S SRC=$< DST=$@.temp $(GEN_BUFFER_CMD)
0deb1a75b17945f30e56e81b851a2a2ab08af50drpluem$(BUF_GEN)/DirectLongBufferS.java: $(DIRECT_X_BUF_TEMPLATE) $(GEN_BUFFER_SH)
0deb1a75b17945f30e56e81b851a2a2ab08af50drpluem$(BUF_GEN)/DirectLongBuffer%S.java: $(DIRECT_X_BUF_TEMPLATE) $(GEN_BUFFER_SH)
0deb1a75b17945f30e56e81b851a2a2ab08af50drpluem TYPE=long RW=$* BO=S SRC=$< DST=$@.temp $(GEN_BUFFER_CMD)
0919d062982a9c9d2f4a8933ef54ccba2dd2b8f8rpluem$(BUF_GEN)/DirectFloatBufferS.java: $(DIRECT_X_BUF_TEMPLATE) $(GEN_BUFFER_SH)
98179b7bdc84db9364cb774bf2fc9c511622c3ffjim$(BUF_GEN)/DirectFloatBuffer%S.java: $(DIRECT_X_BUF_TEMPLATE) $(GEN_BUFFER_SH)
98179b7bdc84db9364cb774bf2fc9c511622c3ffjim TYPE=float RW=$* BO=S SRC=$< DST=$@.temp $(GEN_BUFFER_CMD)
317b1987e48bbdbfe8b1dcccdcf5cd6c10a26436jim$(BUF_GEN)/DirectDoubleBufferS.java: $(DIRECT_X_BUF_TEMPLATE) $(GEN_BUFFER_SH)
317b1987e48bbdbfe8b1dcccdcf5cd6c10a26436jim$(BUF_GEN)/DirectDoubleBuffer%S.java: $(DIRECT_X_BUF_TEMPLATE) $(GEN_BUFFER_SH)
317b1987e48bbdbfe8b1dcccdcf5cd6c10a26436jim TYPE=double RW=$* BO=S SRC=$< DST=$@.temp $(GEN_BUFFER_CMD)
b9ebc87040e76abda075c91317cd0e1a7c9810e4trawick# Big-endian views of byte buffers
b9ebc87040e76abda075c91317cd0e1a7c9810e4trawick$(BUF_GEN)/ByteBufferAsCharBufferB.java: $(BYTE_X_BUF_TEMPLATE) $(GEN_BUFFER_SH)
dc681b5cee49eb24c3ae8d6f50c4c9c9c05faa52rpluem$(BUF_GEN)/ByteBufferAsCharBuffer%B.java: $(BYTE_X_BUF_TEMPLATE) $(GEN_BUFFER_SH)
2c3721611cc8d1ebd87b152e7d933a6dec23b3dcwrowe TYPE=char RW=$* BO=B SRC=$< DST=$@.temp $(GEN_BUFFER_CMD)
2c3721611cc8d1ebd87b152e7d933a6dec23b3dcwrowe$(BUF_GEN)/ByteBufferAsShortBufferB.java: $(BYTE_X_BUF_TEMPLATE) $(GEN_BUFFER_SH)
2c3721611cc8d1ebd87b152e7d933a6dec23b3dcwrowe$(BUF_GEN)/ByteBufferAsShortBuffer%B.java: $(BYTE_X_BUF_TEMPLATE) $(GEN_BUFFER_SH)
cbb903af5066589fe0e73f3ecf06abdc71e38effrpluem TYPE=short RW=$* BO=B SRC=$< DST=$@.temp $(GEN_BUFFER_CMD)
cbb903af5066589fe0e73f3ecf06abdc71e38effrpluem$(BUF_GEN)/ByteBufferAsIntBufferB.java: $(BYTE_X_BUF_TEMPLATE) $(GEN_BUFFER_SH)
cbb903af5066589fe0e73f3ecf06abdc71e38effrpluem$(BUF_GEN)/ByteBufferAsIntBuffer%B.java: $(BYTE_X_BUF_TEMPLATE) $(GEN_BUFFER_SH)
cbb903af5066589fe0e73f3ecf06abdc71e38effrpluem TYPE=int RW=$* BO=B SRC=$< DST=$@.temp $(GEN_BUFFER_CMD)
cbb903af5066589fe0e73f3ecf06abdc71e38effrpluem$(BUF_GEN)/ByteBufferAsLongBufferB.java: $(BYTE_X_BUF_TEMPLATE) $(GEN_BUFFER_SH)
c0bcd91f17456a06ce290005aab0d1e360482ea5rpluem$(BUF_GEN)/ByteBufferAsLongBuffer%B.java: $(BYTE_X_BUF_TEMPLATE) $(GEN_BUFFER_SH)
941fcca87a4607a388e88cff3fd0cdefc29bb81cjerenkrantz TYPE=long RW=$* BO=B SRC=$< DST=$@.temp $(GEN_BUFFER_CMD)
d05d20b9ae48c6768f40277a76ed198d30aed06ajim$(BUF_GEN)/ByteBufferAsFloatBufferB.java: $(BYTE_X_BUF_TEMPLATE) $(GEN_BUFFER_SH)
f6316e220101e5d4d99d82aab75ca7d668870942rpluem$(BUF_GEN)/ByteBufferAsFloatBuffer%B.java: $(BYTE_X_BUF_TEMPLATE) $(GEN_BUFFER_SH)
c83edb2f6bafd5f7013cd6bad78753a1e0c5fbe6jim TYPE=float RW=$* BO=B SRC=$< DST=$@.temp $(GEN_BUFFER_CMD)
c83edb2f6bafd5f7013cd6bad78753a1e0c5fbe6jim$(BUF_GEN)/ByteBufferAsDoubleBufferB.java: $(BYTE_X_BUF_TEMPLATE) $(GEN_BUFFER_SH)
3aeb30211790fef38a8297f990b7ad3b2c46ece9colm$(BUF_GEN)/ByteBufferAsDoubleBuffer%B.java: $(BYTE_X_BUF_TEMPLATE) $(GEN_BUFFER_SH)
b7ad88322f8ea46b7ddac349956eed358b6980f1rpluem TYPE=double RW=$* BO=B SRC=$< DST=$@.temp $(GEN_BUFFER_CMD)
b7ad88322f8ea46b7ddac349956eed358b6980f1rpluem# Little-endian views of byte buffers
b7ad88322f8ea46b7ddac349956eed358b6980f1rpluem$(BUF_GEN)/ByteBufferAsCharBufferL.java: $(BYTE_X_BUF_TEMPLATE) $(GEN_BUFFER_SH)
79d1d5666b3ceb59c959b09600aa2bce32324677rpluem$(BUF_GEN)/ByteBufferAsCharBuffer%L.java: $(BYTE_X_BUF_TEMPLATE) $(GEN_BUFFER_SH)
a6ea86151dd968120a12b48867d45947ef2bb9darpluem TYPE=char RW=$* BO=L SRC=$< DST=$@.temp $(GEN_BUFFER_CMD)
a6ea86151dd968120a12b48867d45947ef2bb9darpluem$(BUF_GEN)/ByteBufferAsShortBufferL.java: $(BYTE_X_BUF_TEMPLATE) $(GEN_BUFFER_SH)
fa735cac4e86858f11c0de4f7cea50fa63eab87ecolm$(BUF_GEN)/ByteBufferAsShortBuffer%L.java: $(BYTE_X_BUF_TEMPLATE) $(GEN_BUFFER_SH)
dbb3b82abaa9c0ad199a0a3d6a7a505136137c61colm TYPE=short RW=$* BO=L SRC=$< DST=$@.temp $(GEN_BUFFER_CMD)
dbb3b82abaa9c0ad199a0a3d6a7a505136137c61colm$(BUF_GEN)/ByteBufferAsIntBufferL.java: $(BYTE_X_BUF_TEMPLATE) $(GEN_BUFFER_SH)
3d76cdd5855071bbfb95a27de7d77a8855d1e893niq$(BUF_GEN)/ByteBufferAsIntBuffer%L.java: $(BYTE_X_BUF_TEMPLATE) $(GEN_BUFFER_SH)
3d76cdd5855071bbfb95a27de7d77a8855d1e893niq TYPE=int RW=$* BO=L SRC=$< DST=$@.temp $(GEN_BUFFER_CMD)
bf0dec31a67271a4a67a6d3a3a9b3cdb41278390rpluem$(BUF_GEN)/ByteBufferAsLongBufferL.java: $(BYTE_X_BUF_TEMPLATE) $(GEN_BUFFER_SH)
7612604db51e61f6ec4a6593c188e6d0640646abwrowe$(BUF_GEN)/ByteBufferAsLongBuffer%L.java: $(BYTE_X_BUF_TEMPLATE) $(GEN_BUFFER_SH)
7612604db51e61f6ec4a6593c188e6d0640646abwrowe TYPE=long RW=$* BO=L SRC=$< DST=$@.temp $(GEN_BUFFER_CMD)
0a2c6381b34b977101327f412a4b1ddc8a361ae7rpluem$(BUF_GEN)/ByteBufferAsFloatBufferL.java: $(BYTE_X_BUF_TEMPLATE) $(GEN_BUFFER_SH)
8828f8c859fabac8c0080440392bc279877f9802rpluem$(BUF_GEN)/ByteBufferAsFloatBuffer%L.java: $(BYTE_X_BUF_TEMPLATE) $(GEN_BUFFER_SH)
0830215c2542165c027f092c18924f2885c98b49trawick TYPE=float RW=$* BO=L SRC=$< DST=$@.temp $(GEN_BUFFER_CMD)
be2abc811ae62b872703a7b43235598d641f8d8dmjc$(BUF_GEN)/ByteBufferAsDoubleBufferL.java: $(BYTE_X_BUF_TEMPLATE) $(GEN_BUFFER_SH)
8f1c5a2aca731a7676bf74cdce67ec28557ec299trawick TYPE=double BO=L SRC=$< DST=$@.temp $(GEN_BUFFER_CMD)
9505e1a9012d92bfd2b6228e675156f44a27aa04colm$(BUF_GEN)/ByteBufferAsDoubleBuffer%L.java: $(BYTE_X_BUF_TEMPLATE) $(GEN_BUFFER_SH)
3aeb30211790fef38a8297f990b7ad3b2c46ece9colm TYPE=double RW=$* BO=L SRC=$< DST=$@.temp $(GEN_BUFFER_CMD)
2e02c854b4531480fe3f7ab353154c99c5bd97e8jorton# Generated coder classes
c07be90520f577cdffc0ee59a81e7f2be4ab24c6martinGEN_CODER_CMD = SPP="$(SPP_CMD)" SED="$(SED)" NAWK="$(NAWK)" SH="$(SH)" $(SH) $(GEN_CODER_SH)
2e02c854b4531480fe3f7ab353154c99c5bd97e8jorton$(CS_GEN)/CharsetDecoder.java: $(CHARSET_X_CODER_TEMPLATE) $(GEN_CODER_SH)
70706a4d1ead0d72a443eac1cc446a0f1a4de069colm$(CS_GEN)/CharsetEncoder.java: $(CHARSET_X_CODER_TEMPLATE) $(GEN_CODER_SH)
9cfe09f7e922f7bdf61bfe10a47e8f25145cdf92colm# Generated exception classes
2e02c854b4531480fe3f7ab353154c99c5bd97e8jortonGEN_EX_CMD = NAWK="$(NAWK)" SH="$(SH)" $(SH) $(GEN_EX_SH)
2e02c854b4531480fe3f7ab353154c99c5bd97e8jorton$(CH_GEN)/%Exception.java: genExceptions.sh $(CH_SRC)/exceptions
a09378e32e823d5619f766394fcdde1cfa16c5dajim$(CS_GEN)/%Exception.java: genExceptions.sh $(CS_SRC)/exceptions
ce8e09ffeb8c696f7fc6c5dfa8814c52caaac59bcolm$(BUF_GEN)/%Exception.java: genExceptions.sh $(BUF_SRC)/exceptions
f6e71f622ffde40c654288851ff65b8505cf7596colm# Generated charset-provider classes
f8ae06c7d0615d8b9441099794fe80a3f2915469colm$(SCS_GEN)/StandardCharsets.java: genCharsetProvider.sh \
be2abc811ae62b872703a7b43235598d641f8d8dmjc $(SH) -e genCharsetProvider.sh $(SCS_SRC)/standard-charsets $(SCS_GEN)
dface6840439ab84a36749f40e7773ebfdc2066ejorton# Generated channel implementation classes.
dface6840439ab84a36749f40e7773ebfdc2066ejorton# C source is compiled in TEMPDIR to avoid turds left by Windows compilers.
1febae173a82bc2a71c3c0ba4105cf674000791bjimGENSOR_SRC = $(SHARE_SRC)/native/sun/nio/ch/genSocketOptionRegistry.c
1febae173a82bc2a71c3c0ba4105cf674000791bjimGENSOR_EXE = $(TEMPDIR)/genSocketOptionRegistry$(EXE_SUFFIX)
2b409b0583ef844d6f85002160cbc6df95b9afa8jerenkrantzSOR_COPYRIGHT_YEARS = $(shell $(CAT) $(GENSOR_SRC) | \
2b409b0583ef844d6f85002160cbc6df95b9afa8jerenkrantz $(NAWK) '/^.*Copyright.*Oracle/ { printf "%s %s",$$4,$$5 }')
1392b9997000dceb6aca39da0a1e6405ccb6f0a6jerenkrantz ($(CD) $(TEMPDIR); $(CC) $(CPPFLAGS) $(LDDFLAGS) \
1392b9997000dceb6aca39da0a1e6405ccb6f0a6jerenkrantz -o genSocketOptionRegistry$(EXE_SUFFIX) $(GENSOR_SRC))
4b0a0ae3fd77f8fc8fd2a693be33ffe4d99cb94ajerenkrantz$(SCH_GEN)/SocketOptionRegistry.java: $(GENSOR_EXE)
4b0a0ae3fd77f8fc8fd2a693be33ffe4d99cb94ajerenkrantz NAWK="$(NAWK)" SH="$(SH)" $(SH) -e addNotices.sh "$(SOR_COPYRIGHT_YEARS)" > $@
ee508128c414648982d1cca7801f63b01a0a4f8aminfrin# Generated sun.nio.cs SingleByte classes
f07ae092933846055c4ca046c5a65de83d79c9c6pquernaCHARSETMAPPING_JARFILE = $(BUILDTOOLJARDIR)/charsetmapping.jar
f07ae092933846055c4ca046c5a65de83d79c9c6pquerna$(FILES_gensbcs_out): $(GENCSSRC)/SingleByte-X.java.template $(GENCSSRC)/sbcs
9b88ec397b4155f3ff79bf7c08de5f15d21765b3pquerna $(BOOT_JAVA_CMD) -jar $(CHARSETMAPPING_JARFILE) $(GENCSSRC) $(SCS_GEN) sbcs
a42c13195a5c68d55f6b2bbf5b5e1e66ab45d5d4pquerna# Generated file system implementation classes (Unix only)
2a90918318af50d5712ae7159e5625476332c184pquernaGENUC_SRC = $(PLATFORM_SRC)/native/sun/nio/fs/genUnixConstants.c
ede0584e7ec53cc1ea832c5c50281431d9ecc576pquernaGENUC_COPYRIGHT_YEARS = $(shell $(CAT) $(GENUC_SRC) | \
ede0584e7ec53cc1ea832c5c50281431d9ecc576pquerna $(NAWK) '/^.*Copyright.*Oracle/ { printf "%s %s",$$4,$$5 }')
e62b34b26eb8e82bf6f06ff99a08e304b48792ecpquerna NAWK="$(NAWK)" SH="$(SH)" $(SH) -e addNotices.sh "$(GENUC_COPYRIGHT_YEARS)" > $@
27420b7ba57bf78f7a85b19fb0155053a3aff80dwroweGENSC_SRC = $(PLATFORM_SRC)/native/sun/nio/fs/genSolarisConstants.c
9152b0c4366af633c4b7982af01bd9a821f410d5pquernaGENSC_COPYRIGHT_YEARS = $(shell $(CAT) $(GENSC_SRC) | \
9152b0c4366af633c4b7982af01bd9a821f410d5pquerna $(NAWK) '/^.*Copyright.*Oracle/ { printf "%s %s",$$4,$$5 }')
4375cabac8fc22b3717687ffdbce9bbdf095f255trawick NAWK="$(NAWK)" SH="$(SH)" $(SH) -e addNotices.sh "$(GENSC_COPYRIGHT_YEARS)" > $@