jdk/make/java/nio/Makefile
author sherman
Sat, 26 Jul 2008 20:42:35 -0700
changeset 898 1c4e95595472
parent 715 f16baef3a20e
child 914 f7883d455c62
permissions -rw-r--r--
6681798: (build) CharsetEncoder.java fails to compile in openjdk6 on ubutu 8.04 Summary: replace awk-sed based spp.sh with a java regex based pre-processor Reviewed-by: alanb
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
     1
#
715
f16baef3a20e 6719955: Update copyright year
xdono
parents: 530
diff changeset
     2
# Copyright 2000-2008 Sun Microsystems, Inc.  All Rights Reserved.
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
     3
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
90ce3da70b43 Initial load
duke
parents:
diff changeset
     4
#
90ce3da70b43 Initial load
duke
parents:
diff changeset
     5
# This code is free software; you can redistribute it and/or modify it
90ce3da70b43 Initial load
duke
parents:
diff changeset
     6
# under the terms of the GNU General Public License version 2 only, as
90ce3da70b43 Initial load
duke
parents:
diff changeset
     7
# published by the Free Software Foundation.  Sun designates this
90ce3da70b43 Initial load
duke
parents:
diff changeset
     8
# particular file as subject to the "Classpath" exception as provided
90ce3da70b43 Initial load
duke
parents:
diff changeset
     9
# by Sun in the LICENSE file that accompanied this code.
90ce3da70b43 Initial load
duke
parents:
diff changeset
    10
#
90ce3da70b43 Initial load
duke
parents:
diff changeset
    11
# This code is distributed in the hope that it will be useful, but WITHOUT
90ce3da70b43 Initial load
duke
parents:
diff changeset
    12
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
90ce3da70b43 Initial load
duke
parents:
diff changeset
    13
# FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
90ce3da70b43 Initial load
duke
parents:
diff changeset
    14
# version 2 for more details (a copy is included in the LICENSE file that
90ce3da70b43 Initial load
duke
parents:
diff changeset
    15
# accompanied this code).
90ce3da70b43 Initial load
duke
parents:
diff changeset
    16
#
90ce3da70b43 Initial load
duke
parents:
diff changeset
    17
# You should have received a copy of the GNU General Public License version
90ce3da70b43 Initial load
duke
parents:
diff changeset
    18
# 2 along with this work; if not, write to the Free Software Foundation,
90ce3da70b43 Initial load
duke
parents:
diff changeset
    19
# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
90ce3da70b43 Initial load
duke
parents:
diff changeset
    20
#
90ce3da70b43 Initial load
duke
parents:
diff changeset
    21
# Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,
90ce3da70b43 Initial load
duke
parents:
diff changeset
    22
# CA 95054 USA or visit www.sun.com if you need additional information or
90ce3da70b43 Initial load
duke
parents:
diff changeset
    23
# have any questions.
90ce3da70b43 Initial load
duke
parents:
diff changeset
    24
#
90ce3da70b43 Initial load
duke
parents:
diff changeset
    25
90ce3da70b43 Initial load
duke
parents:
diff changeset
    26
#
90ce3da70b43 Initial load
duke
parents:
diff changeset
    27
# Makefile for java.nio
90ce3da70b43 Initial load
duke
parents:
diff changeset
    28
#
90ce3da70b43 Initial load
duke
parents:
diff changeset
    29
90ce3da70b43 Initial load
duke
parents:
diff changeset
    30
BUILDDIR = ../..
90ce3da70b43 Initial load
duke
parents:
diff changeset
    31
PACKAGE = java.nio
90ce3da70b43 Initial load
duke
parents:
diff changeset
    32
LIBRARY = nio
90ce3da70b43 Initial load
duke
parents:
diff changeset
    33
PRODUCT = java
90ce3da70b43 Initial load
duke
parents:
diff changeset
    34
OTHER_JAVACFLAGS += -Xmaxwarns 1000 -Xlint:serial -Werror
90ce3da70b43 Initial load
duke
parents:
diff changeset
    35
include $(BUILDDIR)/common/Defs.gmk
90ce3da70b43 Initial load
duke
parents:
diff changeset
    36
90ce3da70b43 Initial load
duke
parents:
diff changeset
    37
NIO_SRC = $(SHARE_SRC)/classes/java/nio
90ce3da70b43 Initial load
duke
parents:
diff changeset
    38
NIO_GEN = $(GENSRCDIR)/java/nio
90ce3da70b43 Initial load
duke
parents:
diff changeset
    39
90ce3da70b43 Initial load
duke
parents:
diff changeset
    40
SNIO_SRC = $(SHARE_SRC)/classes/sun/nio
90ce3da70b43 Initial load
duke
parents:
diff changeset
    41
SNIO_GEN = $(GENSRCDIR)/sun/nio
90ce3da70b43 Initial load
duke
parents:
diff changeset
    42
90ce3da70b43 Initial load
duke
parents:
diff changeset
    43
#
90ce3da70b43 Initial load
duke
parents:
diff changeset
    44
# Files to compile
90ce3da70b43 Initial load
duke
parents:
diff changeset
    45
#
90ce3da70b43 Initial load
duke
parents:
diff changeset
    46
90ce3da70b43 Initial load
duke
parents:
diff changeset
    47
include FILES_java.gmk
90ce3da70b43 Initial load
duke
parents:
diff changeset
    48
include FILES_c.gmk
90ce3da70b43 Initial load
duke
parents:
diff changeset
    49
include Exportedfiles.gmk
90ce3da70b43 Initial load
duke
parents:
diff changeset
    50
90ce3da70b43 Initial load
duke
parents:
diff changeset
    51
ifeq ($(PLATFORM), solaris)
90ce3da70b43 Initial load
duke
parents:
diff changeset
    52
FILES_java += \
90ce3da70b43 Initial load
duke
parents:
diff changeset
    53
        sun/nio/ch/AbstractPollSelectorImpl.java \
90ce3da70b43 Initial load
duke
parents:
diff changeset
    54
	sun/nio/ch/DevPollArrayWrapper.java \
90ce3da70b43 Initial load
duke
parents:
diff changeset
    55
	sun/nio/ch/DevPollSelectorImpl.java \
90ce3da70b43 Initial load
duke
parents:
diff changeset
    56
        sun/nio/ch/DevPollSelectorProvider.java \
90ce3da70b43 Initial load
duke
parents:
diff changeset
    57
	sun/nio/ch/InheritedChannel.java \
90ce3da70b43 Initial load
duke
parents:
diff changeset
    58
        sun/nio/ch/PollSelectorProvider.java \
90ce3da70b43 Initial load
duke
parents:
diff changeset
    59
        sun/nio/ch/PollSelectorImpl.java 
90ce3da70b43 Initial load
duke
parents:
diff changeset
    60
90ce3da70b43 Initial load
duke
parents:
diff changeset
    61
FILES_c += \
90ce3da70b43 Initial load
duke
parents:
diff changeset
    62
        DevPollArrayWrapper.c \
90ce3da70b43 Initial load
duke
parents:
diff changeset
    63
	InheritedChannel.c \
90ce3da70b43 Initial load
duke
parents:
diff changeset
    64
        PollArrayWrapper.c \
90ce3da70b43 Initial load
duke
parents:
diff changeset
    65
	NativeThread.c
90ce3da70b43 Initial load
duke
parents:
diff changeset
    66
90ce3da70b43 Initial load
duke
parents:
diff changeset
    67
FILES_export += \
90ce3da70b43 Initial load
duke
parents:
diff changeset
    68
	sun/nio/ch/DevPollArrayWrapper.java \
90ce3da70b43 Initial load
duke
parents:
diff changeset
    69
	sun/nio/ch/InheritedChannel.java \
90ce3da70b43 Initial load
duke
parents:
diff changeset
    70
	sun/nio/ch/NativeThread.java 
90ce3da70b43 Initial load
duke
parents:
diff changeset
    71
endif # PLATFORM = solaris
90ce3da70b43 Initial load
duke
parents:
diff changeset
    72
90ce3da70b43 Initial load
duke
parents:
diff changeset
    73
ifeq ($(PLATFORM), windows)
90ce3da70b43 Initial load
duke
parents:
diff changeset
    74
FILES_java += \
90ce3da70b43 Initial load
duke
parents:
diff changeset
    75
        sun/nio/ch/WindowsSelectorImpl.java \
90ce3da70b43 Initial load
duke
parents:
diff changeset
    76
        sun/nio/ch/WindowsSelectorProvider.java
90ce3da70b43 Initial load
duke
parents:
diff changeset
    77
90ce3da70b43 Initial load
duke
parents:
diff changeset
    78
FILES_c += \
90ce3da70b43 Initial load
duke
parents:
diff changeset
    79
        WindowsSelectorImpl.c
90ce3da70b43 Initial load
duke
parents:
diff changeset
    80
90ce3da70b43 Initial load
duke
parents:
diff changeset
    81
FILES_export += \
90ce3da70b43 Initial load
duke
parents:
diff changeset
    82
	sun/nio/ch/WindowsSelectorImpl.java
90ce3da70b43 Initial load
duke
parents:
diff changeset
    83
endif # PLATFORM = windows
90ce3da70b43 Initial load
duke
parents:
diff changeset
    84
90ce3da70b43 Initial load
duke
parents:
diff changeset
    85
ifeq ($(PLATFORM), linux)
90ce3da70b43 Initial load
duke
parents:
diff changeset
    86
FILES_java += \
90ce3da70b43 Initial load
duke
parents:
diff changeset
    87
        sun/nio/ch/AbstractPollSelectorImpl.java \
90ce3da70b43 Initial load
duke
parents:
diff changeset
    88
	sun/nio/ch/EPollArrayWrapper.java \
90ce3da70b43 Initial load
duke
parents:
diff changeset
    89
	sun/nio/ch/EPollSelectorProvider.java \
90ce3da70b43 Initial load
duke
parents:
diff changeset
    90
	sun/nio/ch/EPollSelectorImpl.java \
90ce3da70b43 Initial load
duke
parents:
diff changeset
    91
	sun/nio/ch/InheritedChannel.java \
90ce3da70b43 Initial load
duke
parents:
diff changeset
    92
        sun/nio/ch/PollSelectorProvider.java \
90ce3da70b43 Initial load
duke
parents:
diff changeset
    93
        sun/nio/ch/PollSelectorImpl.java
90ce3da70b43 Initial load
duke
parents:
diff changeset
    94
90ce3da70b43 Initial load
duke
parents:
diff changeset
    95
FILES_c += \
90ce3da70b43 Initial load
duke
parents:
diff changeset
    96
	EPollArrayWrapper.c \
90ce3da70b43 Initial load
duke
parents:
diff changeset
    97
        PollArrayWrapper.c \
90ce3da70b43 Initial load
duke
parents:
diff changeset
    98
	InheritedChannel.c \
90ce3da70b43 Initial load
duke
parents:
diff changeset
    99
	NativeThread.c
90ce3da70b43 Initial load
duke
parents:
diff changeset
   100
90ce3da70b43 Initial load
duke
parents:
diff changeset
   101
FILES_export += \
90ce3da70b43 Initial load
duke
parents:
diff changeset
   102
        sun/nio/ch/EPollArrayWrapper.java \
90ce3da70b43 Initial load
duke
parents:
diff changeset
   103
	sun/nio/ch/InheritedChannel.java \
90ce3da70b43 Initial load
duke
parents:
diff changeset
   104
	sun/nio/ch/NativeThread.java 
90ce3da70b43 Initial load
duke
parents:
diff changeset
   105
endif # PLATFORM = linux
90ce3da70b43 Initial load
duke
parents:
diff changeset
   106
90ce3da70b43 Initial load
duke
parents:
diff changeset
   107
# Find platform-specific C source files
90ce3da70b43 Initial load
duke
parents:
diff changeset
   108
#
90ce3da70b43 Initial load
duke
parents:
diff changeset
   109
vpath %.c $(PLATFORM_SRC)/native/sun/nio/ch
90ce3da70b43 Initial load
duke
parents:
diff changeset
   110
vpath %.c $(SHARE_SRC)/native/sun/nio/ch
90ce3da70b43 Initial load
duke
parents:
diff changeset
   111
90ce3da70b43 Initial load
duke
parents:
diff changeset
   112
#
90ce3da70b43 Initial load
duke
parents:
diff changeset
   113
# Various variables
90ce3da70b43 Initial load
duke
parents:
diff changeset
   114
#
90ce3da70b43 Initial load
duke
parents:
diff changeset
   115
90ce3da70b43 Initial load
duke
parents:
diff changeset
   116
JAVALIB = 		# Don't self-link
90ce3da70b43 Initial load
duke
parents:
diff changeset
   117
90ce3da70b43 Initial load
duke
parents:
diff changeset
   118
#
90ce3da70b43 Initial load
duke
parents:
diff changeset
   119
# Access to io_util.c and net_util.c
90ce3da70b43 Initial load
duke
parents:
diff changeset
   120
#
90ce3da70b43 Initial load
duke
parents:
diff changeset
   121
90ce3da70b43 Initial load
duke
parents:
diff changeset
   122
OTHER_INCLUDES += \
90ce3da70b43 Initial load
duke
parents:
diff changeset
   123
  -I$(SHARE_SRC)/native/sun/nio/ch \
90ce3da70b43 Initial load
duke
parents:
diff changeset
   124
  -I$(SHARE_SRC)/native/java/io \
90ce3da70b43 Initial load
duke
parents:
diff changeset
   125
  -I$(SHARE_SRC)/native/java/net \
90ce3da70b43 Initial load
duke
parents:
diff changeset
   126
  -I$(PLATFORM_SRC)/native/java/net \
90ce3da70b43 Initial load
duke
parents:
diff changeset
   127
  -I$(CLASSHDRDIR)/../../../java.lang/java/CClassHeaders
90ce3da70b43 Initial load
duke
parents:
diff changeset
   128
90ce3da70b43 Initial load
duke
parents:
diff changeset
   129
ifeq ($(PLATFORM),windows)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   130
  OTHER_LDLIBS += $(JVMLIB) ws2_32.lib \
90ce3da70b43 Initial load
duke
parents:
diff changeset
   131
     -libpath:$(LIBDIR) java.lib \
90ce3da70b43 Initial load
duke
parents:
diff changeset
   132
     $(OBJDIR)/../../../../sun/java.net/net/$(OBJDIRNAME)/net.lib \
90ce3da70b43 Initial load
duke
parents:
diff changeset
   133
     $(OBJDIR)/../../../java.lang/java/$(OBJDIRNAME)/io_util.obj \
90ce3da70b43 Initial load
duke
parents:
diff changeset
   134
     $(OBJDIR)/../../../java.lang/java/$(OBJDIRNAME)/FileDescriptor_md.obj
90ce3da70b43 Initial load
duke
parents:
diff changeset
   135
endif
90ce3da70b43 Initial load
duke
parents:
diff changeset
   136
ifeq ($(PLATFORM), linux)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   137
COMPILER_WARNINGS_FATAL=true
90ce3da70b43 Initial load
duke
parents:
diff changeset
   138
OTHER_LDLIBS += -L$(LIBDIR)/$(LIBARCH) -ljava -lnet -lpthread -ldl
90ce3da70b43 Initial load
duke
parents:
diff changeset
   139
endif
90ce3da70b43 Initial load
duke
parents:
diff changeset
   140
ifeq ($(PLATFORM), solaris)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   141
OTHER_LDLIBS += $(JVMLIB) $(LIBSOCKET) -lposix4 -ldl \
90ce3da70b43 Initial load
duke
parents:
diff changeset
   142
		-L$(LIBDIR)/$(LIBARCH) -ljava -lnet
90ce3da70b43 Initial load
duke
parents:
diff changeset
   143
endif # PLATFORM
90ce3da70b43 Initial load
duke
parents:
diff changeset
   144
90ce3da70b43 Initial load
duke
parents:
diff changeset
   145
#
90ce3da70b43 Initial load
duke
parents:
diff changeset
   146
# Rules
90ce3da70b43 Initial load
duke
parents:
diff changeset
   147
#
90ce3da70b43 Initial load
duke
parents:
diff changeset
   148
90ce3da70b43 Initial load
duke
parents:
diff changeset
   149
build: sources
90ce3da70b43 Initial load
duke
parents:
diff changeset
   150
90ce3da70b43 Initial load
duke
parents:
diff changeset
   151
clean clobber::
90ce3da70b43 Initial load
duke
parents:
diff changeset
   152
	$(RM) -r $(NIO_GEN) $(SNIO_GEN)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   153
	$(RM) -r $(CLASSDESTDIR)/java/nio
90ce3da70b43 Initial load
duke
parents:
diff changeset
   154
	$(RM) -r $(CLASSDESTDIR)/sun/nio
90ce3da70b43 Initial load
duke
parents:
diff changeset
   155
90ce3da70b43 Initial load
duke
parents:
diff changeset
   156
ifeq ($(PLATFORM), solaris)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   157
FILES_m = mapfile-solaris
90ce3da70b43 Initial load
duke
parents:
diff changeset
   158
endif
90ce3da70b43 Initial load
duke
parents:
diff changeset
   159
ifeq ($(PLATFORM), linux)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   160
FILES_m = mapfile-linux
90ce3da70b43 Initial load
duke
parents:
diff changeset
   161
endif
90ce3da70b43 Initial load
duke
parents:
diff changeset
   162
include $(BUILDDIR)/common/Mapfile-vers.gmk
90ce3da70b43 Initial load
duke
parents:
diff changeset
   163
include $(BUILDDIR)/common/Library.gmk
90ce3da70b43 Initial load
duke
parents:
diff changeset
   164
90ce3da70b43 Initial load
duke
parents:
diff changeset
   165
#
90ce3da70b43 Initial load
duke
parents:
diff changeset
   166
# Generate source files
90ce3da70b43 Initial load
duke
parents:
diff changeset
   167
#
90ce3da70b43 Initial load
duke
parents:
diff changeset
   168
898
1c4e95595472 6681798: (build) CharsetEncoder.java fails to compile in openjdk6 on ubutu 8.04
sherman
parents: 715
diff changeset
   169
SPP_JARFILE = $(BUILDTOOLJARDIR)/spp.jar
1c4e95595472 6681798: (build) CharsetEncoder.java fails to compile in openjdk6 on ubutu 8.04
sherman
parents: 715
diff changeset
   170
SPP_CMD = $(BOOT_JAVA_CMD) -jar $(SPP_JARFILE)
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   171
90ce3da70b43 Initial load
duke
parents:
diff changeset
   172
FILES_genout = $(FILES_gen:%.java=$(GENSRCDIR)/%.java)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   173
90ce3da70b43 Initial load
duke
parents:
diff changeset
   174
BUF_SRC=$(NIO_SRC)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   175
CH_SRC=$(NIO_SRC)/channels
90ce3da70b43 Initial load
duke
parents:
diff changeset
   176
CS_SRC=$(NIO_SRC)/charset
90ce3da70b43 Initial load
duke
parents:
diff changeset
   177
SCH_SRC=$(SNIO_SRC)/ch
90ce3da70b43 Initial load
duke
parents:
diff changeset
   178
SCS_SRC=$(SNIO_SRC)/cs
90ce3da70b43 Initial load
duke
parents:
diff changeset
   179
90ce3da70b43 Initial load
duke
parents:
diff changeset
   180
BUF_GEN=$(NIO_GEN)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   181
CH_GEN=$(NIO_GEN)/channels
90ce3da70b43 Initial load
duke
parents:
diff changeset
   182
CS_GEN=$(NIO_GEN)/charset
90ce3da70b43 Initial load
duke
parents:
diff changeset
   183
SCH_GEN=$(SNIO_GEN)/ch
90ce3da70b43 Initial load
duke
parents:
diff changeset
   184
SCS_GEN=$(SNIO_GEN)/cs
90ce3da70b43 Initial load
duke
parents:
diff changeset
   185
898
1c4e95595472 6681798: (build) CharsetEncoder.java fails to compile in openjdk6 on ubutu 8.04
sherman
parents: 715
diff changeset
   186
sources: $(SPP_JARFILE) $(FILES_genout)
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   187
90ce3da70b43 Initial load
duke
parents:
diff changeset
   188
#
90ce3da70b43 Initial load
duke
parents:
diff changeset
   189
# Generated buffer classes
90ce3da70b43 Initial load
duke
parents:
diff changeset
   190
#
90ce3da70b43 Initial load
duke
parents:
diff changeset
   191
90ce3da70b43 Initial load
duke
parents:
diff changeset
   192
GEN_BUFFER_SH = genBuffer.sh
90ce3da70b43 Initial load
duke
parents:
diff changeset
   193
530
dbf0077bad01 6590549: Cygwin build of OpenJDK has problems and not very well documented
ohair
parents: 29
diff changeset
   194
GEN_BUFFER_CMD = SPP="$(SPP_CMD)" NAWK="$(NAWK)" SED="$(SED)" SH="$(SH)" \
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   195
                 $(SH) $(GEN_BUFFER_SH)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   196
90ce3da70b43 Initial load
duke
parents:
diff changeset
   197
# Public abstract buffer classes
90ce3da70b43 Initial load
duke
parents:
diff changeset
   198
#
90ce3da70b43 Initial load
duke
parents:
diff changeset
   199
$(BUF_GEN)/ByteBuffer.java: $(BUF_SRC)/X-Buffer.java \
90ce3da70b43 Initial load
duke
parents:
diff changeset
   200
			    $(BUF_SRC)/X-Buffer-bin.java \
90ce3da70b43 Initial load
duke
parents:
diff changeset
   201
			    $(GEN_BUFFER_SH)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   202
	$(prep-target)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   203
	@$(RM) $@.temp
90ce3da70b43 Initial load
duke
parents:
diff changeset
   204
	TYPE=byte BIN=1 SRC=$< DST=$@.temp $(GEN_BUFFER_CMD)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   205
	$(MV) $@.temp $@
90ce3da70b43 Initial load
duke
parents:
diff changeset
   206
$(BUF_GEN)/CharBuffer.java: $(BUF_SRC)/X-Buffer.java $(GEN_BUFFER_SH)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   207
	$(prep-target)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   208
	@$(RM) $@.temp
90ce3da70b43 Initial load
duke
parents:
diff changeset
   209
	TYPE=char SRC=$< DST=$@.temp $(GEN_BUFFER_CMD)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   210
	$(MV) $@.temp $@
90ce3da70b43 Initial load
duke
parents:
diff changeset
   211
$(BUF_GEN)/ShortBuffer.java: $(BUF_SRC)/X-Buffer.java $(GEN_BUFFER_SH)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   212
	$(prep-target)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   213
	@$(RM) $@.temp
90ce3da70b43 Initial load
duke
parents:
diff changeset
   214
	TYPE=short SRC=$< DST=$@.temp $(GEN_BUFFER_CMD)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   215
	$(MV) $@.temp $@
90ce3da70b43 Initial load
duke
parents:
diff changeset
   216
$(BUF_GEN)/IntBuffer.java: $(BUF_SRC)/X-Buffer.java $(GEN_BUFFER_SH)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   217
	$(prep-target)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   218
	@$(RM) $@.temp
90ce3da70b43 Initial load
duke
parents:
diff changeset
   219
	TYPE=int SRC=$< DST=$@.temp $(GEN_BUFFER_CMD)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   220
	$(MV) $@.temp $@
90ce3da70b43 Initial load
duke
parents:
diff changeset
   221
$(BUF_GEN)/LongBuffer.java: $(BUF_SRC)/X-Buffer.java $(GEN_BUFFER_SH)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   222
	$(prep-target)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   223
	@$(RM) $@.temp
90ce3da70b43 Initial load
duke
parents:
diff changeset
   224
	TYPE=long SRC=$< DST=$@.temp $(GEN_BUFFER_CMD)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   225
	$(MV) $@.temp $@
90ce3da70b43 Initial load
duke
parents:
diff changeset
   226
$(BUF_GEN)/FloatBuffer.java: $(BUF_SRC)/X-Buffer.java $(GEN_BUFFER_SH)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   227
	$(prep-target)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   228
	@$(RM) $@.temp
90ce3da70b43 Initial load
duke
parents:
diff changeset
   229
	TYPE=float SRC=$< DST=$@.temp $(GEN_BUFFER_CMD)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   230
	$(MV) $@.temp $@
90ce3da70b43 Initial load
duke
parents:
diff changeset
   231
$(BUF_GEN)/DoubleBuffer.java: $(BUF_SRC)/X-Buffer.java $(GEN_BUFFER_SH)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   232
	$(prep-target)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   233
	@$(RM) $@.temp
90ce3da70b43 Initial load
duke
parents:
diff changeset
   234
	TYPE=double SRC=$< DST=$@.temp $(GEN_BUFFER_CMD)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   235
	$(MV) $@.temp $@
90ce3da70b43 Initial load
duke
parents:
diff changeset
   236
90ce3da70b43 Initial load
duke
parents:
diff changeset
   237
# Buffers whose contents are heap-allocated
90ce3da70b43 Initial load
duke
parents:
diff changeset
   238
# 
90ce3da70b43 Initial load
duke
parents:
diff changeset
   239
$(BUF_GEN)/HeapByteBuffer.java: $(BUF_SRC)/Heap-X-Buffer.java $(GEN_BUFFER_SH)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   240
	$(prep-target)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   241
	@$(RM) $@.temp
90ce3da70b43 Initial load
duke
parents:
diff changeset
   242
	TYPE=byte SRC=$< DST=$@.temp $(GEN_BUFFER_CMD)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   243
	$(MV) $@.temp $@
90ce3da70b43 Initial load
duke
parents:
diff changeset
   244
$(BUF_GEN)/HeapByteBuffer%.java: $(BUF_SRC)/Heap-X-Buffer.java $(GEN_BUFFER_SH)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   245
	$(prep-target)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   246
	@$(RM) $@.temp
90ce3da70b43 Initial load
duke
parents:
diff changeset
   247
	TYPE=byte RW=$* SRC=$< DST=$@.temp $(GEN_BUFFER_CMD)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   248
	$(MV) $@.temp $@
90ce3da70b43 Initial load
duke
parents:
diff changeset
   249
$(BUF_GEN)/HeapCharBuffer.java: $(BUF_SRC)/Heap-X-Buffer.java $(GEN_BUFFER_SH)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   250
	$(prep-target)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   251
	@$(RM) $@.temp
90ce3da70b43 Initial load
duke
parents:
diff changeset
   252
	TYPE=char SRC=$< DST=$@.temp $(GEN_BUFFER_CMD)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   253
	$(MV) $@.temp $@
90ce3da70b43 Initial load
duke
parents:
diff changeset
   254
$(BUF_GEN)/HeapCharBuffer%.java: $(BUF_SRC)/Heap-X-Buffer.java $(GEN_BUFFER_SH)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   255
	$(prep-target)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   256
	@$(RM) $@.temp
90ce3da70b43 Initial load
duke
parents:
diff changeset
   257
	TYPE=char RW=$* SRC=$< DST=$@.temp $(GEN_BUFFER_CMD)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   258
	$(MV) $@.temp $@
90ce3da70b43 Initial load
duke
parents:
diff changeset
   259
$(BUF_GEN)/HeapShortBuffer.java: $(BUF_SRC)/Heap-X-Buffer.java $(GEN_BUFFER_SH)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   260
	$(prep-target)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   261
	@$(RM) $@.temp
90ce3da70b43 Initial load
duke
parents:
diff changeset
   262
	TYPE=short SRC=$< DST=$@.temp $(GEN_BUFFER_CMD)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   263
	$(MV) $@.temp $@
90ce3da70b43 Initial load
duke
parents:
diff changeset
   264
$(BUF_GEN)/HeapShortBuffer%.java: $(BUF_SRC)/Heap-X-Buffer.java $(GEN_BUFFER_SH)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   265
	$(prep-target)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   266
	@$(RM) $@.temp
90ce3da70b43 Initial load
duke
parents:
diff changeset
   267
	TYPE=short RW=$* SRC=$< DST=$@.temp $(GEN_BUFFER_CMD)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   268
	$(MV) $@.temp $@
90ce3da70b43 Initial load
duke
parents:
diff changeset
   269
$(BUF_GEN)/HeapIntBuffer.java: $(BUF_SRC)/Heap-X-Buffer.java $(GEN_BUFFER_SH)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   270
	$(prep-target)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   271
	@$(RM) $@.temp
90ce3da70b43 Initial load
duke
parents:
diff changeset
   272
	TYPE=int SRC=$< DST=$@.temp $(GEN_BUFFER_CMD)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   273
	$(MV) $@.temp $@
90ce3da70b43 Initial load
duke
parents:
diff changeset
   274
$(BUF_GEN)/HeapIntBuffer%.java: $(BUF_SRC)/Heap-X-Buffer.java $(GEN_BUFFER_SH)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   275
	$(prep-target)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   276
	@$(RM) $@.temp
90ce3da70b43 Initial load
duke
parents:
diff changeset
   277
	TYPE=int RW=$* SRC=$< DST=$@.temp $(GEN_BUFFER_CMD)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   278
	$(MV) $@.temp $@
90ce3da70b43 Initial load
duke
parents:
diff changeset
   279
$(BUF_GEN)/HeapLongBuffer.java: $(BUF_SRC)/Heap-X-Buffer.java $(GEN_BUFFER_SH)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   280
	$(prep-target)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   281
	@$(RM) $@.temp
90ce3da70b43 Initial load
duke
parents:
diff changeset
   282
	TYPE=long SRC=$< DST=$@.temp $(GEN_BUFFER_CMD)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   283
	$(MV) $@.temp $@
90ce3da70b43 Initial load
duke
parents:
diff changeset
   284
$(BUF_GEN)/HeapLongBuffer%.java: $(BUF_SRC)/Heap-X-Buffer.java $(GEN_BUFFER_SH)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   285
	$(prep-target)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   286
	@$(RM) $@.temp
90ce3da70b43 Initial load
duke
parents:
diff changeset
   287
	TYPE=long RW=$* SRC=$< DST=$@.temp $(GEN_BUFFER_CMD)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   288
	$(MV) $@.temp $@
90ce3da70b43 Initial load
duke
parents:
diff changeset
   289
$(BUF_GEN)/HeapFloatBuffer.java: $(BUF_SRC)/Heap-X-Buffer.java $(GEN_BUFFER_SH)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   290
	$(prep-target)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   291
	@$(RM) $@.temp
90ce3da70b43 Initial load
duke
parents:
diff changeset
   292
	TYPE=float SRC=$< DST=$@.temp $(GEN_BUFFER_CMD)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   293
	$(MV) $@.temp $@
90ce3da70b43 Initial load
duke
parents:
diff changeset
   294
$(BUF_GEN)/HeapFloatBuffer%.java: $(BUF_SRC)/Heap-X-Buffer.java $(GEN_BUFFER_SH)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   295
	$(prep-target)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   296
	@$(RM) $@.temp
90ce3da70b43 Initial load
duke
parents:
diff changeset
   297
	TYPE=float RW=$* SRC=$< DST=$@.temp $(GEN_BUFFER_CMD)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   298
	$(MV) $@.temp $@
90ce3da70b43 Initial load
duke
parents:
diff changeset
   299
$(BUF_GEN)/HeapDoubleBuffer.java: $(BUF_SRC)/Heap-X-Buffer.java $(GEN_BUFFER_SH)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   300
	$(prep-target)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   301
	@$(RM) $@.temp
90ce3da70b43 Initial load
duke
parents:
diff changeset
   302
	TYPE=double SRC=$< DST=$@.temp $(GEN_BUFFER_CMD)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   303
	$(MV) $@.temp $@
90ce3da70b43 Initial load
duke
parents:
diff changeset
   304
$(BUF_GEN)/HeapDoubleBuffer%.java: $(BUF_SRC)/Heap-X-Buffer.java $(GEN_BUFFER_SH)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   305
	$(prep-target)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   306
	@$(RM) $@.temp
90ce3da70b43 Initial load
duke
parents:
diff changeset
   307
	TYPE=double RW=$* SRC=$< DST=$@.temp $(GEN_BUFFER_CMD)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   308
	$(MV) $@.temp $@
90ce3da70b43 Initial load
duke
parents:
diff changeset
   309
90ce3da70b43 Initial load
duke
parents:
diff changeset
   310
# Direct byte buffer
90ce3da70b43 Initial load
duke
parents:
diff changeset
   311
# 
90ce3da70b43 Initial load
duke
parents:
diff changeset
   312
$(BUF_GEN)/DirectByteBuffer.java: $(BUF_SRC)/Direct-X-Buffer.java \
90ce3da70b43 Initial load
duke
parents:
diff changeset
   313
				  $(BUF_SRC)/Direct-X-Buffer.java \
90ce3da70b43 Initial load
duke
parents:
diff changeset
   314
				  $(GEN_BUFFER_SH)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   315
	$(prep-target)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   316
	@$(RM) $@.temp
90ce3da70b43 Initial load
duke
parents:
diff changeset
   317
	TYPE=byte BIN=1 SRC=$< DST=$@.temp $(GEN_BUFFER_CMD)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   318
	$(MV) $@.temp $@
90ce3da70b43 Initial load
duke
parents:
diff changeset
   319
$(BUF_GEN)/DirectByteBuffer%.java: $(BUF_SRC)/Direct-X-Buffer.java \
90ce3da70b43 Initial load
duke
parents:
diff changeset
   320
				   $(BUF_SRC)/Direct-X-Buffer.java \
90ce3da70b43 Initial load
duke
parents:
diff changeset
   321
				   $(GEN_BUFFER_SH)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   322
	$(prep-target)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   323
	@$(RM) $@.temp
90ce3da70b43 Initial load
duke
parents:
diff changeset
   324
	TYPE=byte RW=$* BIN=1 SRC=$< DST=$@.temp $(GEN_BUFFER_CMD)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   325
	$(MV) $@.temp $@
90ce3da70b43 Initial load
duke
parents:
diff changeset
   326
90ce3da70b43 Initial load
duke
parents:
diff changeset
   327
# Unswapped views of direct byte buffers
90ce3da70b43 Initial load
duke
parents:
diff changeset
   328
#
90ce3da70b43 Initial load
duke
parents:
diff changeset
   329
$(BUF_GEN)/DirectCharBufferU.java: $(BUF_SRC)/Direct-X-Buffer.java $(GEN_BUFFER_SH)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   330
	$(prep-target)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   331
	@$(RM) $@.temp
90ce3da70b43 Initial load
duke
parents:
diff changeset
   332
	TYPE=char BO=U SRC=$< DST=$@.temp $(GEN_BUFFER_CMD)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   333
	$(MV) $@.temp $@
90ce3da70b43 Initial load
duke
parents:
diff changeset
   334
$(BUF_GEN)/DirectCharBuffer%U.java: $(BUF_SRC)/Direct-X-Buffer.java $(GEN_BUFFER_SH)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   335
	$(prep-target)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   336
	@$(RM) $@.temp
90ce3da70b43 Initial load
duke
parents:
diff changeset
   337
	TYPE=char RW=$* BO=U SRC=$< DST=$@.temp $(GEN_BUFFER_CMD)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   338
	$(MV) $@.temp $@
90ce3da70b43 Initial load
duke
parents:
diff changeset
   339
$(BUF_GEN)/DirectShortBufferU.java: $(BUF_SRC)/Direct-X-Buffer.java $(GEN_BUFFER_SH)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   340
	$(prep-target)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   341
	@$(RM) $@.temp
90ce3da70b43 Initial load
duke
parents:
diff changeset
   342
	TYPE=short BO=U SRC=$< DST=$@.temp $(GEN_BUFFER_CMD)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   343
	$(MV) $@.temp $@
90ce3da70b43 Initial load
duke
parents:
diff changeset
   344
$(BUF_GEN)/DirectShortBuffer%U.java: $(BUF_SRC)/Direct-X-Buffer.java $(GEN_BUFFER_SH)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   345
	$(prep-target)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   346
	@$(RM) $@.temp
90ce3da70b43 Initial load
duke
parents:
diff changeset
   347
	TYPE=short RW=$* BO=U SRC=$< DST=$@.temp $(GEN_BUFFER_CMD)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   348
	$(MV) $@.temp $@
90ce3da70b43 Initial load
duke
parents:
diff changeset
   349
$(BUF_GEN)/DirectIntBufferU.java: $(BUF_SRC)/Direct-X-Buffer.java $(GEN_BUFFER_SH)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   350
	$(prep-target)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   351
	@$(RM) $@.temp
90ce3da70b43 Initial load
duke
parents:
diff changeset
   352
	TYPE=int BO=U SRC=$< DST=$@.temp $(GEN_BUFFER_CMD)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   353
	$(MV) $@.temp $@
90ce3da70b43 Initial load
duke
parents:
diff changeset
   354
$(BUF_GEN)/DirectIntBuffer%U.java: $(BUF_SRC)/Direct-X-Buffer.java $(GEN_BUFFER_SH)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   355
	$(prep-target)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   356
	@$(RM) $@.temp
90ce3da70b43 Initial load
duke
parents:
diff changeset
   357
	TYPE=int RW=$* BO=U SRC=$< DST=$@.temp $(GEN_BUFFER_CMD)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   358
	$(MV) $@.temp $@
90ce3da70b43 Initial load
duke
parents:
diff changeset
   359
$(BUF_GEN)/DirectLongBufferU.java: $(BUF_SRC)/Direct-X-Buffer.java $(GEN_BUFFER_SH)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   360
	$(prep-target)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   361
	@$(RM) $@.temp
90ce3da70b43 Initial load
duke
parents:
diff changeset
   362
	TYPE=long BO=U SRC=$< DST=$@.temp $(GEN_BUFFER_CMD)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   363
	$(MV) $@.temp $@
90ce3da70b43 Initial load
duke
parents:
diff changeset
   364
$(BUF_GEN)/DirectLongBuffer%U.java: $(BUF_SRC)/Direct-X-Buffer.java $(GEN_BUFFER_SH)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   365
	$(prep-target)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   366
	@$(RM) $@.temp
90ce3da70b43 Initial load
duke
parents:
diff changeset
   367
	TYPE=long RW=$* BO=U SRC=$< DST=$@.temp $(GEN_BUFFER_CMD)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   368
	$(MV) $@.temp $@
90ce3da70b43 Initial load
duke
parents:
diff changeset
   369
$(BUF_GEN)/DirectFloatBufferU.java: $(BUF_SRC)/Direct-X-Buffer.java $(GEN_BUFFER_SH)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   370
	$(prep-target)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   371
	@$(RM) $@.temp
90ce3da70b43 Initial load
duke
parents:
diff changeset
   372
	TYPE=float BO=U SRC=$< DST=$@.temp $(GEN_BUFFER_CMD)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   373
	$(MV) $@.temp $@
90ce3da70b43 Initial load
duke
parents:
diff changeset
   374
$(BUF_GEN)/DirectFloatBuffer%U.java: $(BUF_SRC)/Direct-X-Buffer.java $(GEN_BUFFER_SH)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   375
	$(prep-target)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   376
	@$(RM) $@.temp
90ce3da70b43 Initial load
duke
parents:
diff changeset
   377
	TYPE=float RW=$* BO=U SRC=$< DST=$@.temp $(GEN_BUFFER_CMD)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   378
	$(MV) $@.temp $@
90ce3da70b43 Initial load
duke
parents:
diff changeset
   379
$(BUF_GEN)/DirectDoubleBufferU.java: $(BUF_SRC)/Direct-X-Buffer.java $(GEN_BUFFER_SH)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   380
	$(prep-target)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   381
	@$(RM) $@.temp
90ce3da70b43 Initial load
duke
parents:
diff changeset
   382
	TYPE=double BO=U SRC=$< DST=$@.temp $(GEN_BUFFER_CMD)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   383
	$(MV) $@.temp $@
90ce3da70b43 Initial load
duke
parents:
diff changeset
   384
$(BUF_GEN)/DirectDoubleBuffer%U.java: $(BUF_SRC)/Direct-X-Buffer.java $(GEN_BUFFER_SH)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   385
	$(prep-target)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   386
	@$(RM) $@.temp
90ce3da70b43 Initial load
duke
parents:
diff changeset
   387
	TYPE=double RW=$* BO=U SRC=$< DST=$@.temp $(GEN_BUFFER_CMD)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   388
	$(MV) $@.temp $@
90ce3da70b43 Initial load
duke
parents:
diff changeset
   389
90ce3da70b43 Initial load
duke
parents:
diff changeset
   390
# Swapped views of direct byte buffers
90ce3da70b43 Initial load
duke
parents:
diff changeset
   391
#
90ce3da70b43 Initial load
duke
parents:
diff changeset
   392
$(BUF_GEN)/DirectCharBufferS.java: $(BUF_SRC)/Direct-X-Buffer.java $(GEN_BUFFER_SH)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   393
	$(prep-target)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   394
	@$(RM) $@.temp
90ce3da70b43 Initial load
duke
parents:
diff changeset
   395
	TYPE=char BO=S SRC=$< DST=$@.temp $(GEN_BUFFER_CMD)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   396
	$(MV) $@.temp $@
90ce3da70b43 Initial load
duke
parents:
diff changeset
   397
$(BUF_GEN)/DirectCharBuffer%S.java: $(BUF_SRC)/Direct-X-Buffer.java $(GEN_BUFFER_SH)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   398
	$(prep-target)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   399
	@$(RM) $@.temp
90ce3da70b43 Initial load
duke
parents:
diff changeset
   400
	TYPE=char RW=$* BO=S SRC=$< DST=$@.temp $(GEN_BUFFER_CMD)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   401
	$(MV) $@.temp $@
90ce3da70b43 Initial load
duke
parents:
diff changeset
   402
$(BUF_GEN)/DirectShortBufferS.java: $(BUF_SRC)/Direct-X-Buffer.java $(GEN_BUFFER_SH)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   403
	$(prep-target)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   404
	@$(RM) $@.temp
90ce3da70b43 Initial load
duke
parents:
diff changeset
   405
	TYPE=short BO=S SRC=$< DST=$@.temp $(GEN_BUFFER_CMD)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   406
	$(MV) $@.temp $@
90ce3da70b43 Initial load
duke
parents:
diff changeset
   407
$(BUF_GEN)/DirectShortBuffer%S.java: $(BUF_SRC)/Direct-X-Buffer.java $(GEN_BUFFER_SH)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   408
	$(prep-target)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   409
	@$(RM) $@.temp
90ce3da70b43 Initial load
duke
parents:
diff changeset
   410
	TYPE=short RW=$* BO=S SRC=$< DST=$@.temp $(GEN_BUFFER_CMD)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   411
	$(MV) $@.temp $@
90ce3da70b43 Initial load
duke
parents:
diff changeset
   412
$(BUF_GEN)/DirectIntBufferS.java: $(BUF_SRC)/Direct-X-Buffer.java $(GEN_BUFFER_SH)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   413
	$(prep-target)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   414
	@$(RM) $@.temp
90ce3da70b43 Initial load
duke
parents:
diff changeset
   415
	TYPE=int BO=S SRC=$< DST=$@.temp $(GEN_BUFFER_CMD)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   416
	$(MV) $@.temp $@
90ce3da70b43 Initial load
duke
parents:
diff changeset
   417
$(BUF_GEN)/DirectIntBuffer%S.java: $(BUF_SRC)/Direct-X-Buffer.java $(GEN_BUFFER_SH)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   418
	$(prep-target)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   419
	@$(RM) $@.temp
90ce3da70b43 Initial load
duke
parents:
diff changeset
   420
	TYPE=int RW=$* BO=S SRC=$< DST=$@.temp $(GEN_BUFFER_CMD)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   421
	$(MV) $@.temp $@
90ce3da70b43 Initial load
duke
parents:
diff changeset
   422
$(BUF_GEN)/DirectLongBufferS.java: $(BUF_SRC)/Direct-X-Buffer.java $(GEN_BUFFER_SH)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   423
	$(prep-target)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   424
	@$(RM) $@.temp
90ce3da70b43 Initial load
duke
parents:
diff changeset
   425
	TYPE=long BO=S SRC=$< DST=$@.temp $(GEN_BUFFER_CMD)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   426
	$(MV) $@.temp $@
90ce3da70b43 Initial load
duke
parents:
diff changeset
   427
$(BUF_GEN)/DirectLongBuffer%S.java: $(BUF_SRC)/Direct-X-Buffer.java $(GEN_BUFFER_SH)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   428
	$(prep-target)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   429
	@$(RM) $@.temp
90ce3da70b43 Initial load
duke
parents:
diff changeset
   430
	TYPE=long RW=$* BO=S SRC=$< DST=$@.temp $(GEN_BUFFER_CMD)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   431
	$(MV) $@.temp $@
90ce3da70b43 Initial load
duke
parents:
diff changeset
   432
$(BUF_GEN)/DirectFloatBufferS.java: $(BUF_SRC)/Direct-X-Buffer.java $(GEN_BUFFER_SH)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   433
	$(prep-target)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   434
	@$(RM) $@.temp
90ce3da70b43 Initial load
duke
parents:
diff changeset
   435
	TYPE=float BO=S SRC=$< DST=$@.temp $(GEN_BUFFER_CMD)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   436
	$(MV) $@.temp $@
90ce3da70b43 Initial load
duke
parents:
diff changeset
   437
$(BUF_GEN)/DirectFloatBuffer%S.java: $(BUF_SRC)/Direct-X-Buffer.java $(GEN_BUFFER_SH)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   438
	$(prep-target)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   439
	@$(RM) $@.temp
90ce3da70b43 Initial load
duke
parents:
diff changeset
   440
	TYPE=float RW=$* BO=S SRC=$< DST=$@.temp $(GEN_BUFFER_CMD)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   441
	$(MV) $@.temp $@
90ce3da70b43 Initial load
duke
parents:
diff changeset
   442
$(BUF_GEN)/DirectDoubleBufferS.java: $(BUF_SRC)/Direct-X-Buffer.java $(GEN_BUFFER_SH)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   443
	$(prep-target)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   444
	@$(RM) $@.temp
90ce3da70b43 Initial load
duke
parents:
diff changeset
   445
	TYPE=double BO=S SRC=$< DST=$@.temp $(GEN_BUFFER_CMD)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   446
	$(MV) $@.temp $@
90ce3da70b43 Initial load
duke
parents:
diff changeset
   447
$(BUF_GEN)/DirectDoubleBuffer%S.java: $(BUF_SRC)/Direct-X-Buffer.java $(GEN_BUFFER_SH)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   448
	$(prep-target)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   449
	@$(RM) $@.temp
90ce3da70b43 Initial load
duke
parents:
diff changeset
   450
	TYPE=double RW=$* BO=S SRC=$< DST=$@.temp $(GEN_BUFFER_CMD)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   451
	$(MV) $@.temp $@
90ce3da70b43 Initial load
duke
parents:
diff changeset
   452
90ce3da70b43 Initial load
duke
parents:
diff changeset
   453
# Big-endian views of byte buffers
90ce3da70b43 Initial load
duke
parents:
diff changeset
   454
#
90ce3da70b43 Initial load
duke
parents:
diff changeset
   455
$(BUF_GEN)/ByteBufferAsCharBufferB.java: $(BUF_SRC)/ByteBufferAs-X-Buffer.java $(GEN_BUFFER_SH)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   456
	$(prep-target)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   457
	@$(RM) $@.temp
90ce3da70b43 Initial load
duke
parents:
diff changeset
   458
	TYPE=char BO=B SRC=$< DST=$@.temp $(GEN_BUFFER_CMD)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   459
	$(MV) $@.temp $@
90ce3da70b43 Initial load
duke
parents:
diff changeset
   460
$(BUF_GEN)/ByteBufferAsCharBuffer%B.java: $(BUF_SRC)/ByteBufferAs-X-Buffer.java $(GEN_BUFFER_SH)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   461
	$(prep-target)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   462
	@$(RM) $@.temp
90ce3da70b43 Initial load
duke
parents:
diff changeset
   463
	TYPE=char RW=$* BO=B SRC=$< DST=$@.temp $(GEN_BUFFER_CMD)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   464
	$(MV) $@.temp $@
90ce3da70b43 Initial load
duke
parents:
diff changeset
   465
$(BUF_GEN)/ByteBufferAsShortBufferB.java: $(BUF_SRC)/ByteBufferAs-X-Buffer.java $(GEN_BUFFER_SH)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   466
	$(prep-target)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   467
	@$(RM) $@.temp
90ce3da70b43 Initial load
duke
parents:
diff changeset
   468
	TYPE=short BO=B SRC=$< DST=$@.temp $(GEN_BUFFER_CMD)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   469
	$(MV) $@.temp $@
90ce3da70b43 Initial load
duke
parents:
diff changeset
   470
$(BUF_GEN)/ByteBufferAsShortBuffer%B.java: $(BUF_SRC)/ByteBufferAs-X-Buffer.java $(GEN_BUFFER_SH)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   471
	$(prep-target)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   472
	@$(RM) $@.temp
90ce3da70b43 Initial load
duke
parents:
diff changeset
   473
	TYPE=short RW=$* BO=B SRC=$< DST=$@.temp $(GEN_BUFFER_CMD)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   474
	$(MV) $@.temp $@
90ce3da70b43 Initial load
duke
parents:
diff changeset
   475
$(BUF_GEN)/ByteBufferAsIntBufferB.java: $(BUF_SRC)/ByteBufferAs-X-Buffer.java $(GEN_BUFFER_SH)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   476
	$(prep-target)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   477
	@$(RM) $@.temp
90ce3da70b43 Initial load
duke
parents:
diff changeset
   478
	TYPE=int BO=B SRC=$< DST=$@.temp $(GEN_BUFFER_CMD)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   479
	$(MV) $@.temp $@
90ce3da70b43 Initial load
duke
parents:
diff changeset
   480
$(BUF_GEN)/ByteBufferAsIntBuffer%B.java: $(BUF_SRC)/ByteBufferAs-X-Buffer.java $(GEN_BUFFER_SH)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   481
	$(prep-target)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   482
	@$(RM) $@.temp
90ce3da70b43 Initial load
duke
parents:
diff changeset
   483
	TYPE=int RW=$* BO=B SRC=$< DST=$@.temp $(GEN_BUFFER_CMD)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   484
	$(MV) $@.temp $@
90ce3da70b43 Initial load
duke
parents:
diff changeset
   485
$(BUF_GEN)/ByteBufferAsLongBufferB.java: $(BUF_SRC)/ByteBufferAs-X-Buffer.java $(GEN_BUFFER_SH)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   486
	$(prep-target)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   487
	@$(RM) $@.temp
90ce3da70b43 Initial load
duke
parents:
diff changeset
   488
	TYPE=long BO=B SRC=$< DST=$@.temp $(GEN_BUFFER_CMD)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   489
	$(MV) $@.temp $@
90ce3da70b43 Initial load
duke
parents:
diff changeset
   490
$(BUF_GEN)/ByteBufferAsLongBuffer%B.java: $(BUF_SRC)/ByteBufferAs-X-Buffer.java $(GEN_BUFFER_SH)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   491
	$(prep-target)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   492
	@$(RM) $@.temp
90ce3da70b43 Initial load
duke
parents:
diff changeset
   493
	TYPE=long RW=$* BO=B SRC=$< DST=$@.temp $(GEN_BUFFER_CMD)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   494
	$(MV) $@.temp $@
90ce3da70b43 Initial load
duke
parents:
diff changeset
   495
$(BUF_GEN)/ByteBufferAsFloatBufferB.java: $(BUF_SRC)/ByteBufferAs-X-Buffer.java $(GEN_BUFFER_SH)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   496
	$(prep-target)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   497
	@$(RM) $@.temp
90ce3da70b43 Initial load
duke
parents:
diff changeset
   498
	TYPE=float BO=B SRC=$< DST=$@.temp $(GEN_BUFFER_CMD)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   499
	$(MV) $@.temp $@
90ce3da70b43 Initial load
duke
parents:
diff changeset
   500
$(BUF_GEN)/ByteBufferAsFloatBuffer%B.java: $(BUF_SRC)/ByteBufferAs-X-Buffer.java $(GEN_BUFFER_SH)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   501
	$(prep-target)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   502
	@$(RM) $@.temp
90ce3da70b43 Initial load
duke
parents:
diff changeset
   503
	TYPE=float RW=$* BO=B SRC=$< DST=$@.temp $(GEN_BUFFER_CMD)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   504
	$(MV) $@.temp $@
90ce3da70b43 Initial load
duke
parents:
diff changeset
   505
$(BUF_GEN)/ByteBufferAsDoubleBufferB.java: $(BUF_SRC)/ByteBufferAs-X-Buffer.java $(GEN_BUFFER_SH)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   506
	$(prep-target)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   507
	@$(RM) $@.temp
90ce3da70b43 Initial load
duke
parents:
diff changeset
   508
	TYPE=double BO=B SRC=$< DST=$@.temp $(GEN_BUFFER_CMD)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   509
	$(MV) $@.temp $@
90ce3da70b43 Initial load
duke
parents:
diff changeset
   510
$(BUF_GEN)/ByteBufferAsDoubleBuffer%B.java: $(BUF_SRC)/ByteBufferAs-X-Buffer.java $(GEN_BUFFER_SH)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   511
	$(prep-target)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   512
	@$(RM) $@.temp
90ce3da70b43 Initial load
duke
parents:
diff changeset
   513
	TYPE=double RW=$* BO=B SRC=$< DST=$@.temp $(GEN_BUFFER_CMD)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   514
	$(MV) $@.temp $@
90ce3da70b43 Initial load
duke
parents:
diff changeset
   515
90ce3da70b43 Initial load
duke
parents:
diff changeset
   516
# Little-endian views of byte buffers
90ce3da70b43 Initial load
duke
parents:
diff changeset
   517
#
90ce3da70b43 Initial load
duke
parents:
diff changeset
   518
$(BUF_GEN)/ByteBufferAsCharBufferL.java: $(BUF_SRC)/ByteBufferAs-X-Buffer.java $(GEN_BUFFER_SH)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   519
	$(prep-target)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   520
	@$(RM) $@.temp
90ce3da70b43 Initial load
duke
parents:
diff changeset
   521
	TYPE=char BO=L SRC=$< DST=$@.temp $(GEN_BUFFER_CMD)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   522
	$(MV) $@.temp $@
90ce3da70b43 Initial load
duke
parents:
diff changeset
   523
$(BUF_GEN)/ByteBufferAsCharBuffer%L.java: $(BUF_SRC)/ByteBufferAs-X-Buffer.java $(GEN_BUFFER_SH)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   524
	$(prep-target)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   525
	@$(RM) $@.temp
90ce3da70b43 Initial load
duke
parents:
diff changeset
   526
	TYPE=char RW=$* BO=L SRC=$< DST=$@.temp $(GEN_BUFFER_CMD)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   527
	$(MV) $@.temp $@
90ce3da70b43 Initial load
duke
parents:
diff changeset
   528
$(BUF_GEN)/ByteBufferAsShortBufferL.java: $(BUF_SRC)/ByteBufferAs-X-Buffer.java $(GEN_BUFFER_SH)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   529
	$(prep-target)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   530
	@$(RM) $@.temp
90ce3da70b43 Initial load
duke
parents:
diff changeset
   531
	TYPE=short BO=L SRC=$< DST=$@.temp $(GEN_BUFFER_CMD)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   532
	$(MV) $@.temp $@
90ce3da70b43 Initial load
duke
parents:
diff changeset
   533
$(BUF_GEN)/ByteBufferAsShortBuffer%L.java: $(BUF_SRC)/ByteBufferAs-X-Buffer.java $(GEN_BUFFER_SH)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   534
	$(prep-target)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   535
	@$(RM) $@.temp
90ce3da70b43 Initial load
duke
parents:
diff changeset
   536
	TYPE=short RW=$* BO=L SRC=$< DST=$@.temp $(GEN_BUFFER_CMD)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   537
	$(MV) $@.temp $@
90ce3da70b43 Initial load
duke
parents:
diff changeset
   538
$(BUF_GEN)/ByteBufferAsIntBufferL.java: $(BUF_SRC)/ByteBufferAs-X-Buffer.java $(GEN_BUFFER_SH)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   539
	$(prep-target)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   540
	@$(RM) $@.temp
90ce3da70b43 Initial load
duke
parents:
diff changeset
   541
	TYPE=int BO=L SRC=$< DST=$@.temp $(GEN_BUFFER_CMD)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   542
	$(MV) $@.temp $@
90ce3da70b43 Initial load
duke
parents:
diff changeset
   543
$(BUF_GEN)/ByteBufferAsIntBuffer%L.java: $(BUF_SRC)/ByteBufferAs-X-Buffer.java $(GEN_BUFFER_SH)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   544
	$(prep-target)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   545
	@$(RM) $@.temp
90ce3da70b43 Initial load
duke
parents:
diff changeset
   546
	TYPE=int RW=$* BO=L SRC=$< DST=$@.temp $(GEN_BUFFER_CMD)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   547
	$(MV) $@.temp $@
90ce3da70b43 Initial load
duke
parents:
diff changeset
   548
$(BUF_GEN)/ByteBufferAsLongBufferL.java: $(BUF_SRC)/ByteBufferAs-X-Buffer.java $(GEN_BUFFER_SH)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   549
	$(prep-target)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   550
	@$(RM) $@.temp
90ce3da70b43 Initial load
duke
parents:
diff changeset
   551
	TYPE=long BO=L SRC=$< DST=$@.temp $(GEN_BUFFER_CMD)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   552
	$(MV) $@.temp $@
90ce3da70b43 Initial load
duke
parents:
diff changeset
   553
$(BUF_GEN)/ByteBufferAsLongBuffer%L.java: $(BUF_SRC)/ByteBufferAs-X-Buffer.java $(GEN_BUFFER_SH)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   554
	$(prep-target)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   555
	@$(RM) $@.temp
90ce3da70b43 Initial load
duke
parents:
diff changeset
   556
	TYPE=long RW=$* BO=L SRC=$< DST=$@.temp $(GEN_BUFFER_CMD)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   557
	$(MV) $@.temp $@
90ce3da70b43 Initial load
duke
parents:
diff changeset
   558
$(BUF_GEN)/ByteBufferAsFloatBufferL.java: $(BUF_SRC)/ByteBufferAs-X-Buffer.java $(GEN_BUFFER_SH)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   559
	$(prep-target)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   560
	@$(RM) $@.temp
90ce3da70b43 Initial load
duke
parents:
diff changeset
   561
	TYPE=float BO=L SRC=$< DST=$@.temp $(GEN_BUFFER_CMD)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   562
	$(MV) $@.temp $@
90ce3da70b43 Initial load
duke
parents:
diff changeset
   563
$(BUF_GEN)/ByteBufferAsFloatBuffer%L.java: $(BUF_SRC)/ByteBufferAs-X-Buffer.java $(GEN_BUFFER_SH)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   564
	$(prep-target)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   565
	@$(RM) $@.temp
90ce3da70b43 Initial load
duke
parents:
diff changeset
   566
	TYPE=float RW=$* BO=L SRC=$< DST=$@.temp $(GEN_BUFFER_CMD)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   567
	$(MV) $@.temp $@
90ce3da70b43 Initial load
duke
parents:
diff changeset
   568
$(BUF_GEN)/ByteBufferAsDoubleBufferL.java: $(BUF_SRC)/ByteBufferAs-X-Buffer.java $(GEN_BUFFER_SH)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   569
	$(prep-target)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   570
	@$(RM) $@.temp
90ce3da70b43 Initial load
duke
parents:
diff changeset
   571
	TYPE=double BO=L SRC=$< DST=$@.temp $(GEN_BUFFER_CMD)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   572
	$(MV) $@.temp $@
90ce3da70b43 Initial load
duke
parents:
diff changeset
   573
$(BUF_GEN)/ByteBufferAsDoubleBuffer%L.java: $(BUF_SRC)/ByteBufferAs-X-Buffer.java $(GEN_BUFFER_SH)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   574
	$(prep-target)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   575
	@$(RM) $@.temp
90ce3da70b43 Initial load
duke
parents:
diff changeset
   576
	TYPE=double RW=$* BO=L SRC=$< DST=$@.temp $(GEN_BUFFER_CMD)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   577
	$(MV) $@.temp $@
90ce3da70b43 Initial load
duke
parents:
diff changeset
   578
90ce3da70b43 Initial load
duke
parents:
diff changeset
   579
#
90ce3da70b43 Initial load
duke
parents:
diff changeset
   580
# Generated coder classes
90ce3da70b43 Initial load
duke
parents:
diff changeset
   581
#
90ce3da70b43 Initial load
duke
parents:
diff changeset
   582
90ce3da70b43 Initial load
duke
parents:
diff changeset
   583
GEN_CODER_SH = genCoder.sh
90ce3da70b43 Initial load
duke
parents:
diff changeset
   584
530
dbf0077bad01 6590549: Cygwin build of OpenJDK has problems and not very well documented
ohair
parents: 29
diff changeset
   585
GEN_CODER_CMD = SPP="$(SPP_CMD)" SED="$(SED)" NAWK="$(NAWK)" SH="$(SH)" $(SH) $(GEN_CODER_SH)
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   586
90ce3da70b43 Initial load
duke
parents:
diff changeset
   587
$(CS_GEN)/CharsetDecoder.java: $(CS_SRC)/Charset-X-Coder.java $(GEN_CODER_SH)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   588
	$(prep-target)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   589
	@$(RM) $@.temp
90ce3da70b43 Initial load
duke
parents:
diff changeset
   590
	$(GEN_CODER_CMD) decoder $< $@.temp
90ce3da70b43 Initial load
duke
parents:
diff changeset
   591
	$(MV) $@.temp $@
90ce3da70b43 Initial load
duke
parents:
diff changeset
   592
90ce3da70b43 Initial load
duke
parents:
diff changeset
   593
$(CS_GEN)/CharsetEncoder.java: $(CS_SRC)/Charset-X-Coder.java $(GEN_CODER_SH)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   594
	$(prep-target)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   595
	@$(RM) $@.temp
90ce3da70b43 Initial load
duke
parents:
diff changeset
   596
	$(GEN_CODER_CMD) encoder $< $@.temp
90ce3da70b43 Initial load
duke
parents:
diff changeset
   597
	$(MV) $@.temp $@
90ce3da70b43 Initial load
duke
parents:
diff changeset
   598
90ce3da70b43 Initial load
duke
parents:
diff changeset
   599
#
90ce3da70b43 Initial load
duke
parents:
diff changeset
   600
# Generated exception classes
90ce3da70b43 Initial load
duke
parents:
diff changeset
   601
#
90ce3da70b43 Initial load
duke
parents:
diff changeset
   602
90ce3da70b43 Initial load
duke
parents:
diff changeset
   603
GEN_EX_SH = genExceptions.sh
90ce3da70b43 Initial load
duke
parents:
diff changeset
   604
 
530
dbf0077bad01 6590549: Cygwin build of OpenJDK has problems and not very well documented
ohair
parents: 29
diff changeset
   605
GEN_EX_CMD = NAWK="$(NAWK)" SH="$(SH)" $(SH) $(GEN_EX_SH)
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   606
90ce3da70b43 Initial load
duke
parents:
diff changeset
   607
$(CH_GEN)/%Exception.java: genExceptions.sh $(CH_SRC)/exceptions
90ce3da70b43 Initial load
duke
parents:
diff changeset
   608
	$(prep-target)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   609
	@$(RM) $@.temp
90ce3da70b43 Initial load
duke
parents:
diff changeset
   610
	$(GEN_EX_CMD) $(CH_SRC)/exceptions $(CH_GEN)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   611
90ce3da70b43 Initial load
duke
parents:
diff changeset
   612
$(CS_GEN)/%Exception.java: genExceptions.sh $(CS_SRC)/exceptions
90ce3da70b43 Initial load
duke
parents:
diff changeset
   613
	$(prep-target)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   614
	@$(RM) $@.temp
90ce3da70b43 Initial load
duke
parents:
diff changeset
   615
	$(GEN_EX_CMD) $(CS_SRC)/exceptions $(CS_GEN)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   616
90ce3da70b43 Initial load
duke
parents:
diff changeset
   617
$(BUF_GEN)/%Exception.java: genExceptions.sh $(BUF_SRC)/exceptions
90ce3da70b43 Initial load
duke
parents:
diff changeset
   618
	$(prep-target)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   619
	@$(RM) $@.temp
90ce3da70b43 Initial load
duke
parents:
diff changeset
   620
	$(GEN_EX_CMD) $(BUF_SRC)/exceptions $(BUF_GEN)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   621
90ce3da70b43 Initial load
duke
parents:
diff changeset
   622
$(SCH_GEN)/%Exception.java: genExceptions.sh $(SCH_SRC)/exceptions
90ce3da70b43 Initial load
duke
parents:
diff changeset
   623
	$(prep-target)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   624
	@$(RM) $@.temp
90ce3da70b43 Initial load
duke
parents:
diff changeset
   625
	$(GEN_EX_CMD) $(SCH_SRC)/exceptions $(SCH_GEN)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   626
90ce3da70b43 Initial load
duke
parents:
diff changeset
   627
90ce3da70b43 Initial load
duke
parents:
diff changeset
   628
#
90ce3da70b43 Initial load
duke
parents:
diff changeset
   629
# Generated charset-provider classes
90ce3da70b43 Initial load
duke
parents:
diff changeset
   630
#
90ce3da70b43 Initial load
duke
parents:
diff changeset
   631
90ce3da70b43 Initial load
duke
parents:
diff changeset
   632
HASHER_JARFILE = $(BUILDTOOLJARDIR)/hasher.jar
90ce3da70b43 Initial load
duke
parents:
diff changeset
   633
90ce3da70b43 Initial load
duke
parents:
diff changeset
   634
$(SCS_GEN)/StandardCharsets.java: genCharsetProvider.sh \
90ce3da70b43 Initial load
duke
parents:
diff changeset
   635
    $(HASHER_JARFILE) $(SCS_SRC)/standard-charsets
90ce3da70b43 Initial load
duke
parents:
diff changeset
   636
	$(prep-target)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   637
	@$(RM) $@.temp
530
dbf0077bad01 6590549: Cygwin build of OpenJDK has problems and not very well documented
ohair
parents: 29
diff changeset
   638
	NAWK="$(NAWK)" TEMPDIR="$(TEMPDIR)" SH="$(SH)" \
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   639
	  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
   640
	  $(SH) -e genCharsetProvider.sh $(SCS_SRC)/standard-charsets $(SCS_GEN)
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   641
90ce3da70b43 Initial load
duke
parents:
diff changeset
   642
.PHONY: sources