jdk/make/java/nio/Makefile
author ohair
Sun, 27 Jul 2008 18:42:57 -0700
changeset 849 be386e469547
parent 715 f16baef3a20e
child 914 f7883d455c62
permissions -rw-r--r--
6727683: Cleanup use of COMPILER_WARNINGS_FATAL in makefiles Reviewed-by: tbell
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
OTHER_LDLIBS += -L$(LIBDIR)/$(LIBARCH) -ljava -lnet -lpthread -ldl
90ce3da70b43 Initial load
duke
parents:
diff changeset
   138
endif
90ce3da70b43 Initial load
duke
parents:
diff changeset
   139
ifeq ($(PLATFORM), solaris)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   140
OTHER_LDLIBS += $(JVMLIB) $(LIBSOCKET) -lposix4 -ldl \
90ce3da70b43 Initial load
duke
parents:
diff changeset
   141
		-L$(LIBDIR)/$(LIBARCH) -ljava -lnet
90ce3da70b43 Initial load
duke
parents:
diff changeset
   142
endif # PLATFORM
90ce3da70b43 Initial load
duke
parents:
diff changeset
   143
90ce3da70b43 Initial load
duke
parents:
diff changeset
   144
#
90ce3da70b43 Initial load
duke
parents:
diff changeset
   145
# Rules
90ce3da70b43 Initial load
duke
parents:
diff changeset
   146
#
90ce3da70b43 Initial load
duke
parents:
diff changeset
   147
90ce3da70b43 Initial load
duke
parents:
diff changeset
   148
build: sources
90ce3da70b43 Initial load
duke
parents:
diff changeset
   149
90ce3da70b43 Initial load
duke
parents:
diff changeset
   150
clean clobber::
90ce3da70b43 Initial load
duke
parents:
diff changeset
   151
	$(RM) -r $(NIO_GEN) $(SNIO_GEN)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   152
	$(RM) -r $(CLASSDESTDIR)/java/nio
90ce3da70b43 Initial load
duke
parents:
diff changeset
   153
	$(RM) -r $(CLASSDESTDIR)/sun/nio
90ce3da70b43 Initial load
duke
parents:
diff changeset
   154
90ce3da70b43 Initial load
duke
parents:
diff changeset
   155
ifeq ($(PLATFORM), solaris)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   156
FILES_m = mapfile-solaris
90ce3da70b43 Initial load
duke
parents:
diff changeset
   157
endif
90ce3da70b43 Initial load
duke
parents:
diff changeset
   158
ifeq ($(PLATFORM), linux)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   159
FILES_m = mapfile-linux
90ce3da70b43 Initial load
duke
parents:
diff changeset
   160
endif
90ce3da70b43 Initial load
duke
parents:
diff changeset
   161
include $(BUILDDIR)/common/Mapfile-vers.gmk
90ce3da70b43 Initial load
duke
parents:
diff changeset
   162
include $(BUILDDIR)/common/Library.gmk
90ce3da70b43 Initial load
duke
parents:
diff changeset
   163
90ce3da70b43 Initial load
duke
parents:
diff changeset
   164
#
90ce3da70b43 Initial load
duke
parents:
diff changeset
   165
# Generate source files
90ce3da70b43 Initial load
duke
parents:
diff changeset
   166
#
90ce3da70b43 Initial load
duke
parents:
diff changeset
   167
90ce3da70b43 Initial load
duke
parents:
diff changeset
   168
SPP = spp.sh
90ce3da70b43 Initial load
duke
parents:
diff changeset
   169
SPP_CMD = $(SH) $(SPP)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   170
90ce3da70b43 Initial load
duke
parents:
diff changeset
   171
FILES_genout = $(FILES_gen:%.java=$(GENSRCDIR)/%.java)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   172
90ce3da70b43 Initial load
duke
parents:
diff changeset
   173
BUF_SRC=$(NIO_SRC)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   174
CH_SRC=$(NIO_SRC)/channels
90ce3da70b43 Initial load
duke
parents:
diff changeset
   175
CS_SRC=$(NIO_SRC)/charset
90ce3da70b43 Initial load
duke
parents:
diff changeset
   176
SCH_SRC=$(SNIO_SRC)/ch
90ce3da70b43 Initial load
duke
parents:
diff changeset
   177
SCS_SRC=$(SNIO_SRC)/cs
90ce3da70b43 Initial load
duke
parents:
diff changeset
   178
90ce3da70b43 Initial load
duke
parents:
diff changeset
   179
BUF_GEN=$(NIO_GEN)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   180
CH_GEN=$(NIO_GEN)/channels
90ce3da70b43 Initial load
duke
parents:
diff changeset
   181
CS_GEN=$(NIO_GEN)/charset
90ce3da70b43 Initial load
duke
parents:
diff changeset
   182
SCH_GEN=$(SNIO_GEN)/ch
90ce3da70b43 Initial load
duke
parents:
diff changeset
   183
SCS_GEN=$(SNIO_GEN)/cs
90ce3da70b43 Initial load
duke
parents:
diff changeset
   184
90ce3da70b43 Initial load
duke
parents:
diff changeset
   185
sources: $(SPP) $(FILES_genout)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   186
90ce3da70b43 Initial load
duke
parents:
diff changeset
   187
#
90ce3da70b43 Initial load
duke
parents:
diff changeset
   188
# Generated buffer classes
90ce3da70b43 Initial load
duke
parents:
diff changeset
   189
#
90ce3da70b43 Initial load
duke
parents:
diff changeset
   190
90ce3da70b43 Initial load
duke
parents:
diff changeset
   191
GEN_BUFFER_SH = genBuffer.sh
90ce3da70b43 Initial load
duke
parents:
diff changeset
   192
530
dbf0077bad01 6590549: Cygwin build of OpenJDK has problems and not very well documented
ohair
parents: 29
diff changeset
   193
GEN_BUFFER_CMD = SPP="$(SPP_CMD)" NAWK="$(NAWK)" SED="$(SED)" SH="$(SH)" \
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   194
                 $(SH) $(GEN_BUFFER_SH)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   195
90ce3da70b43 Initial load
duke
parents:
diff changeset
   196
# Public abstract buffer classes
90ce3da70b43 Initial load
duke
parents:
diff changeset
   197
#
90ce3da70b43 Initial load
duke
parents:
diff changeset
   198
$(BUF_GEN)/ByteBuffer.java: $(BUF_SRC)/X-Buffer.java \
90ce3da70b43 Initial load
duke
parents:
diff changeset
   199
			    $(BUF_SRC)/X-Buffer-bin.java \
90ce3da70b43 Initial load
duke
parents:
diff changeset
   200
			    $(GEN_BUFFER_SH)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   201
	$(prep-target)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   202
	@$(RM) $@.temp
90ce3da70b43 Initial load
duke
parents:
diff changeset
   203
	TYPE=byte BIN=1 SRC=$< DST=$@.temp $(GEN_BUFFER_CMD)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   204
	$(MV) $@.temp $@
90ce3da70b43 Initial load
duke
parents:
diff changeset
   205
$(BUF_GEN)/CharBuffer.java: $(BUF_SRC)/X-Buffer.java $(GEN_BUFFER_SH)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   206
	$(prep-target)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   207
	@$(RM) $@.temp
90ce3da70b43 Initial load
duke
parents:
diff changeset
   208
	TYPE=char SRC=$< DST=$@.temp $(GEN_BUFFER_CMD)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   209
	$(MV) $@.temp $@
90ce3da70b43 Initial load
duke
parents:
diff changeset
   210
$(BUF_GEN)/ShortBuffer.java: $(BUF_SRC)/X-Buffer.java $(GEN_BUFFER_SH)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   211
	$(prep-target)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   212
	@$(RM) $@.temp
90ce3da70b43 Initial load
duke
parents:
diff changeset
   213
	TYPE=short SRC=$< DST=$@.temp $(GEN_BUFFER_CMD)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   214
	$(MV) $@.temp $@
90ce3da70b43 Initial load
duke
parents:
diff changeset
   215
$(BUF_GEN)/IntBuffer.java: $(BUF_SRC)/X-Buffer.java $(GEN_BUFFER_SH)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   216
	$(prep-target)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   217
	@$(RM) $@.temp
90ce3da70b43 Initial load
duke
parents:
diff changeset
   218
	TYPE=int SRC=$< DST=$@.temp $(GEN_BUFFER_CMD)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   219
	$(MV) $@.temp $@
90ce3da70b43 Initial load
duke
parents:
diff changeset
   220
$(BUF_GEN)/LongBuffer.java: $(BUF_SRC)/X-Buffer.java $(GEN_BUFFER_SH)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   221
	$(prep-target)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   222
	@$(RM) $@.temp
90ce3da70b43 Initial load
duke
parents:
diff changeset
   223
	TYPE=long SRC=$< DST=$@.temp $(GEN_BUFFER_CMD)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   224
	$(MV) $@.temp $@
90ce3da70b43 Initial load
duke
parents:
diff changeset
   225
$(BUF_GEN)/FloatBuffer.java: $(BUF_SRC)/X-Buffer.java $(GEN_BUFFER_SH)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   226
	$(prep-target)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   227
	@$(RM) $@.temp
90ce3da70b43 Initial load
duke
parents:
diff changeset
   228
	TYPE=float SRC=$< DST=$@.temp $(GEN_BUFFER_CMD)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   229
	$(MV) $@.temp $@
90ce3da70b43 Initial load
duke
parents:
diff changeset
   230
$(BUF_GEN)/DoubleBuffer.java: $(BUF_SRC)/X-Buffer.java $(GEN_BUFFER_SH)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   231
	$(prep-target)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   232
	@$(RM) $@.temp
90ce3da70b43 Initial load
duke
parents:
diff changeset
   233
	TYPE=double SRC=$< DST=$@.temp $(GEN_BUFFER_CMD)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   234
	$(MV) $@.temp $@
90ce3da70b43 Initial load
duke
parents:
diff changeset
   235
90ce3da70b43 Initial load
duke
parents:
diff changeset
   236
# Buffers whose contents are heap-allocated
90ce3da70b43 Initial load
duke
parents:
diff changeset
   237
# 
90ce3da70b43 Initial load
duke
parents:
diff changeset
   238
$(BUF_GEN)/HeapByteBuffer.java: $(BUF_SRC)/Heap-X-Buffer.java $(GEN_BUFFER_SH)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   239
	$(prep-target)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   240
	@$(RM) $@.temp
90ce3da70b43 Initial load
duke
parents:
diff changeset
   241
	TYPE=byte SRC=$< DST=$@.temp $(GEN_BUFFER_CMD)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   242
	$(MV) $@.temp $@
90ce3da70b43 Initial load
duke
parents:
diff changeset
   243
$(BUF_GEN)/HeapByteBuffer%.java: $(BUF_SRC)/Heap-X-Buffer.java $(GEN_BUFFER_SH)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   244
	$(prep-target)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   245
	@$(RM) $@.temp
90ce3da70b43 Initial load
duke
parents:
diff changeset
   246
	TYPE=byte RW=$* SRC=$< DST=$@.temp $(GEN_BUFFER_CMD)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   247
	$(MV) $@.temp $@
90ce3da70b43 Initial load
duke
parents:
diff changeset
   248
$(BUF_GEN)/HeapCharBuffer.java: $(BUF_SRC)/Heap-X-Buffer.java $(GEN_BUFFER_SH)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   249
	$(prep-target)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   250
	@$(RM) $@.temp
90ce3da70b43 Initial load
duke
parents:
diff changeset
   251
	TYPE=char SRC=$< DST=$@.temp $(GEN_BUFFER_CMD)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   252
	$(MV) $@.temp $@
90ce3da70b43 Initial load
duke
parents:
diff changeset
   253
$(BUF_GEN)/HeapCharBuffer%.java: $(BUF_SRC)/Heap-X-Buffer.java $(GEN_BUFFER_SH)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   254
	$(prep-target)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   255
	@$(RM) $@.temp
90ce3da70b43 Initial load
duke
parents:
diff changeset
   256
	TYPE=char RW=$* SRC=$< DST=$@.temp $(GEN_BUFFER_CMD)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   257
	$(MV) $@.temp $@
90ce3da70b43 Initial load
duke
parents:
diff changeset
   258
$(BUF_GEN)/HeapShortBuffer.java: $(BUF_SRC)/Heap-X-Buffer.java $(GEN_BUFFER_SH)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   259
	$(prep-target)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   260
	@$(RM) $@.temp
90ce3da70b43 Initial load
duke
parents:
diff changeset
   261
	TYPE=short SRC=$< DST=$@.temp $(GEN_BUFFER_CMD)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   262
	$(MV) $@.temp $@
90ce3da70b43 Initial load
duke
parents:
diff changeset
   263
$(BUF_GEN)/HeapShortBuffer%.java: $(BUF_SRC)/Heap-X-Buffer.java $(GEN_BUFFER_SH)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   264
	$(prep-target)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   265
	@$(RM) $@.temp
90ce3da70b43 Initial load
duke
parents:
diff changeset
   266
	TYPE=short RW=$* SRC=$< DST=$@.temp $(GEN_BUFFER_CMD)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   267
	$(MV) $@.temp $@
90ce3da70b43 Initial load
duke
parents:
diff changeset
   268
$(BUF_GEN)/HeapIntBuffer.java: $(BUF_SRC)/Heap-X-Buffer.java $(GEN_BUFFER_SH)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   269
	$(prep-target)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   270
	@$(RM) $@.temp
90ce3da70b43 Initial load
duke
parents:
diff changeset
   271
	TYPE=int SRC=$< DST=$@.temp $(GEN_BUFFER_CMD)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   272
	$(MV) $@.temp $@
90ce3da70b43 Initial load
duke
parents:
diff changeset
   273
$(BUF_GEN)/HeapIntBuffer%.java: $(BUF_SRC)/Heap-X-Buffer.java $(GEN_BUFFER_SH)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   274
	$(prep-target)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   275
	@$(RM) $@.temp
90ce3da70b43 Initial load
duke
parents:
diff changeset
   276
	TYPE=int RW=$* SRC=$< DST=$@.temp $(GEN_BUFFER_CMD)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   277
	$(MV) $@.temp $@
90ce3da70b43 Initial load
duke
parents:
diff changeset
   278
$(BUF_GEN)/HeapLongBuffer.java: $(BUF_SRC)/Heap-X-Buffer.java $(GEN_BUFFER_SH)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   279
	$(prep-target)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   280
	@$(RM) $@.temp
90ce3da70b43 Initial load
duke
parents:
diff changeset
   281
	TYPE=long SRC=$< DST=$@.temp $(GEN_BUFFER_CMD)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   282
	$(MV) $@.temp $@
90ce3da70b43 Initial load
duke
parents:
diff changeset
   283
$(BUF_GEN)/HeapLongBuffer%.java: $(BUF_SRC)/Heap-X-Buffer.java $(GEN_BUFFER_SH)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   284
	$(prep-target)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   285
	@$(RM) $@.temp
90ce3da70b43 Initial load
duke
parents:
diff changeset
   286
	TYPE=long RW=$* SRC=$< DST=$@.temp $(GEN_BUFFER_CMD)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   287
	$(MV) $@.temp $@
90ce3da70b43 Initial load
duke
parents:
diff changeset
   288
$(BUF_GEN)/HeapFloatBuffer.java: $(BUF_SRC)/Heap-X-Buffer.java $(GEN_BUFFER_SH)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   289
	$(prep-target)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   290
	@$(RM) $@.temp
90ce3da70b43 Initial load
duke
parents:
diff changeset
   291
	TYPE=float SRC=$< DST=$@.temp $(GEN_BUFFER_CMD)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   292
	$(MV) $@.temp $@
90ce3da70b43 Initial load
duke
parents:
diff changeset
   293
$(BUF_GEN)/HeapFloatBuffer%.java: $(BUF_SRC)/Heap-X-Buffer.java $(GEN_BUFFER_SH)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   294
	$(prep-target)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   295
	@$(RM) $@.temp
90ce3da70b43 Initial load
duke
parents:
diff changeset
   296
	TYPE=float RW=$* SRC=$< DST=$@.temp $(GEN_BUFFER_CMD)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   297
	$(MV) $@.temp $@
90ce3da70b43 Initial load
duke
parents:
diff changeset
   298
$(BUF_GEN)/HeapDoubleBuffer.java: $(BUF_SRC)/Heap-X-Buffer.java $(GEN_BUFFER_SH)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   299
	$(prep-target)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   300
	@$(RM) $@.temp
90ce3da70b43 Initial load
duke
parents:
diff changeset
   301
	TYPE=double SRC=$< DST=$@.temp $(GEN_BUFFER_CMD)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   302
	$(MV) $@.temp $@
90ce3da70b43 Initial load
duke
parents:
diff changeset
   303
$(BUF_GEN)/HeapDoubleBuffer%.java: $(BUF_SRC)/Heap-X-Buffer.java $(GEN_BUFFER_SH)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   304
	$(prep-target)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   305
	@$(RM) $@.temp
90ce3da70b43 Initial load
duke
parents:
diff changeset
   306
	TYPE=double RW=$* SRC=$< DST=$@.temp $(GEN_BUFFER_CMD)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   307
	$(MV) $@.temp $@
90ce3da70b43 Initial load
duke
parents:
diff changeset
   308
90ce3da70b43 Initial load
duke
parents:
diff changeset
   309
# Direct byte buffer
90ce3da70b43 Initial load
duke
parents:
diff changeset
   310
# 
90ce3da70b43 Initial load
duke
parents:
diff changeset
   311
$(BUF_GEN)/DirectByteBuffer.java: $(BUF_SRC)/Direct-X-Buffer.java \
90ce3da70b43 Initial load
duke
parents:
diff changeset
   312
				  $(BUF_SRC)/Direct-X-Buffer.java \
90ce3da70b43 Initial load
duke
parents:
diff changeset
   313
				  $(GEN_BUFFER_SH)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   314
	$(prep-target)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   315
	@$(RM) $@.temp
90ce3da70b43 Initial load
duke
parents:
diff changeset
   316
	TYPE=byte BIN=1 SRC=$< DST=$@.temp $(GEN_BUFFER_CMD)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   317
	$(MV) $@.temp $@
90ce3da70b43 Initial load
duke
parents:
diff changeset
   318
$(BUF_GEN)/DirectByteBuffer%.java: $(BUF_SRC)/Direct-X-Buffer.java \
90ce3da70b43 Initial load
duke
parents:
diff changeset
   319
				   $(BUF_SRC)/Direct-X-Buffer.java \
90ce3da70b43 Initial load
duke
parents:
diff changeset
   320
				   $(GEN_BUFFER_SH)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   321
	$(prep-target)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   322
	@$(RM) $@.temp
90ce3da70b43 Initial load
duke
parents:
diff changeset
   323
	TYPE=byte RW=$* BIN=1 SRC=$< DST=$@.temp $(GEN_BUFFER_CMD)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   324
	$(MV) $@.temp $@
90ce3da70b43 Initial load
duke
parents:
diff changeset
   325
90ce3da70b43 Initial load
duke
parents:
diff changeset
   326
# Unswapped views of direct byte buffers
90ce3da70b43 Initial load
duke
parents:
diff changeset
   327
#
90ce3da70b43 Initial load
duke
parents:
diff changeset
   328
$(BUF_GEN)/DirectCharBufferU.java: $(BUF_SRC)/Direct-X-Buffer.java $(GEN_BUFFER_SH)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   329
	$(prep-target)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   330
	@$(RM) $@.temp
90ce3da70b43 Initial load
duke
parents:
diff changeset
   331
	TYPE=char BO=U SRC=$< DST=$@.temp $(GEN_BUFFER_CMD)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   332
	$(MV) $@.temp $@
90ce3da70b43 Initial load
duke
parents:
diff changeset
   333
$(BUF_GEN)/DirectCharBuffer%U.java: $(BUF_SRC)/Direct-X-Buffer.java $(GEN_BUFFER_SH)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   334
	$(prep-target)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   335
	@$(RM) $@.temp
90ce3da70b43 Initial load
duke
parents:
diff changeset
   336
	TYPE=char RW=$* BO=U SRC=$< DST=$@.temp $(GEN_BUFFER_CMD)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   337
	$(MV) $@.temp $@
90ce3da70b43 Initial load
duke
parents:
diff changeset
   338
$(BUF_GEN)/DirectShortBufferU.java: $(BUF_SRC)/Direct-X-Buffer.java $(GEN_BUFFER_SH)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   339
	$(prep-target)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   340
	@$(RM) $@.temp
90ce3da70b43 Initial load
duke
parents:
diff changeset
   341
	TYPE=short BO=U SRC=$< DST=$@.temp $(GEN_BUFFER_CMD)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   342
	$(MV) $@.temp $@
90ce3da70b43 Initial load
duke
parents:
diff changeset
   343
$(BUF_GEN)/DirectShortBuffer%U.java: $(BUF_SRC)/Direct-X-Buffer.java $(GEN_BUFFER_SH)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   344
	$(prep-target)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   345
	@$(RM) $@.temp
90ce3da70b43 Initial load
duke
parents:
diff changeset
   346
	TYPE=short RW=$* BO=U SRC=$< DST=$@.temp $(GEN_BUFFER_CMD)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   347
	$(MV) $@.temp $@
90ce3da70b43 Initial load
duke
parents:
diff changeset
   348
$(BUF_GEN)/DirectIntBufferU.java: $(BUF_SRC)/Direct-X-Buffer.java $(GEN_BUFFER_SH)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   349
	$(prep-target)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   350
	@$(RM) $@.temp
90ce3da70b43 Initial load
duke
parents:
diff changeset
   351
	TYPE=int BO=U SRC=$< DST=$@.temp $(GEN_BUFFER_CMD)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   352
	$(MV) $@.temp $@
90ce3da70b43 Initial load
duke
parents:
diff changeset
   353
$(BUF_GEN)/DirectIntBuffer%U.java: $(BUF_SRC)/Direct-X-Buffer.java $(GEN_BUFFER_SH)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   354
	$(prep-target)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   355
	@$(RM) $@.temp
90ce3da70b43 Initial load
duke
parents:
diff changeset
   356
	TYPE=int RW=$* BO=U SRC=$< DST=$@.temp $(GEN_BUFFER_CMD)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   357
	$(MV) $@.temp $@
90ce3da70b43 Initial load
duke
parents:
diff changeset
   358
$(BUF_GEN)/DirectLongBufferU.java: $(BUF_SRC)/Direct-X-Buffer.java $(GEN_BUFFER_SH)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   359
	$(prep-target)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   360
	@$(RM) $@.temp
90ce3da70b43 Initial load
duke
parents:
diff changeset
   361
	TYPE=long BO=U SRC=$< DST=$@.temp $(GEN_BUFFER_CMD)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   362
	$(MV) $@.temp $@
90ce3da70b43 Initial load
duke
parents:
diff changeset
   363
$(BUF_GEN)/DirectLongBuffer%U.java: $(BUF_SRC)/Direct-X-Buffer.java $(GEN_BUFFER_SH)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   364
	$(prep-target)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   365
	@$(RM) $@.temp
90ce3da70b43 Initial load
duke
parents:
diff changeset
   366
	TYPE=long RW=$* BO=U SRC=$< DST=$@.temp $(GEN_BUFFER_CMD)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   367
	$(MV) $@.temp $@
90ce3da70b43 Initial load
duke
parents:
diff changeset
   368
$(BUF_GEN)/DirectFloatBufferU.java: $(BUF_SRC)/Direct-X-Buffer.java $(GEN_BUFFER_SH)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   369
	$(prep-target)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   370
	@$(RM) $@.temp
90ce3da70b43 Initial load
duke
parents:
diff changeset
   371
	TYPE=float BO=U SRC=$< DST=$@.temp $(GEN_BUFFER_CMD)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   372
	$(MV) $@.temp $@
90ce3da70b43 Initial load
duke
parents:
diff changeset
   373
$(BUF_GEN)/DirectFloatBuffer%U.java: $(BUF_SRC)/Direct-X-Buffer.java $(GEN_BUFFER_SH)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   374
	$(prep-target)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   375
	@$(RM) $@.temp
90ce3da70b43 Initial load
duke
parents:
diff changeset
   376
	TYPE=float RW=$* BO=U SRC=$< DST=$@.temp $(GEN_BUFFER_CMD)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   377
	$(MV) $@.temp $@
90ce3da70b43 Initial load
duke
parents:
diff changeset
   378
$(BUF_GEN)/DirectDoubleBufferU.java: $(BUF_SRC)/Direct-X-Buffer.java $(GEN_BUFFER_SH)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   379
	$(prep-target)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   380
	@$(RM) $@.temp
90ce3da70b43 Initial load
duke
parents:
diff changeset
   381
	TYPE=double BO=U SRC=$< DST=$@.temp $(GEN_BUFFER_CMD)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   382
	$(MV) $@.temp $@
90ce3da70b43 Initial load
duke
parents:
diff changeset
   383
$(BUF_GEN)/DirectDoubleBuffer%U.java: $(BUF_SRC)/Direct-X-Buffer.java $(GEN_BUFFER_SH)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   384
	$(prep-target)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   385
	@$(RM) $@.temp
90ce3da70b43 Initial load
duke
parents:
diff changeset
   386
	TYPE=double RW=$* BO=U SRC=$< DST=$@.temp $(GEN_BUFFER_CMD)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   387
	$(MV) $@.temp $@
90ce3da70b43 Initial load
duke
parents:
diff changeset
   388
90ce3da70b43 Initial load
duke
parents:
diff changeset
   389
# Swapped views of direct byte buffers
90ce3da70b43 Initial load
duke
parents:
diff changeset
   390
#
90ce3da70b43 Initial load
duke
parents:
diff changeset
   391
$(BUF_GEN)/DirectCharBufferS.java: $(BUF_SRC)/Direct-X-Buffer.java $(GEN_BUFFER_SH)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   392
	$(prep-target)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   393
	@$(RM) $@.temp
90ce3da70b43 Initial load
duke
parents:
diff changeset
   394
	TYPE=char BO=S SRC=$< DST=$@.temp $(GEN_BUFFER_CMD)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   395
	$(MV) $@.temp $@
90ce3da70b43 Initial load
duke
parents:
diff changeset
   396
$(BUF_GEN)/DirectCharBuffer%S.java: $(BUF_SRC)/Direct-X-Buffer.java $(GEN_BUFFER_SH)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   397
	$(prep-target)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   398
	@$(RM) $@.temp
90ce3da70b43 Initial load
duke
parents:
diff changeset
   399
	TYPE=char RW=$* BO=S SRC=$< DST=$@.temp $(GEN_BUFFER_CMD)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   400
	$(MV) $@.temp $@
90ce3da70b43 Initial load
duke
parents:
diff changeset
   401
$(BUF_GEN)/DirectShortBufferS.java: $(BUF_SRC)/Direct-X-Buffer.java $(GEN_BUFFER_SH)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   402
	$(prep-target)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   403
	@$(RM) $@.temp
90ce3da70b43 Initial load
duke
parents:
diff changeset
   404
	TYPE=short BO=S SRC=$< DST=$@.temp $(GEN_BUFFER_CMD)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   405
	$(MV) $@.temp $@
90ce3da70b43 Initial load
duke
parents:
diff changeset
   406
$(BUF_GEN)/DirectShortBuffer%S.java: $(BUF_SRC)/Direct-X-Buffer.java $(GEN_BUFFER_SH)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   407
	$(prep-target)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   408
	@$(RM) $@.temp
90ce3da70b43 Initial load
duke
parents:
diff changeset
   409
	TYPE=short RW=$* BO=S SRC=$< DST=$@.temp $(GEN_BUFFER_CMD)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   410
	$(MV) $@.temp $@
90ce3da70b43 Initial load
duke
parents:
diff changeset
   411
$(BUF_GEN)/DirectIntBufferS.java: $(BUF_SRC)/Direct-X-Buffer.java $(GEN_BUFFER_SH)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   412
	$(prep-target)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   413
	@$(RM) $@.temp
90ce3da70b43 Initial load
duke
parents:
diff changeset
   414
	TYPE=int BO=S SRC=$< DST=$@.temp $(GEN_BUFFER_CMD)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   415
	$(MV) $@.temp $@
90ce3da70b43 Initial load
duke
parents:
diff changeset
   416
$(BUF_GEN)/DirectIntBuffer%S.java: $(BUF_SRC)/Direct-X-Buffer.java $(GEN_BUFFER_SH)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   417
	$(prep-target)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   418
	@$(RM) $@.temp
90ce3da70b43 Initial load
duke
parents:
diff changeset
   419
	TYPE=int RW=$* BO=S SRC=$< DST=$@.temp $(GEN_BUFFER_CMD)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   420
	$(MV) $@.temp $@
90ce3da70b43 Initial load
duke
parents:
diff changeset
   421
$(BUF_GEN)/DirectLongBufferS.java: $(BUF_SRC)/Direct-X-Buffer.java $(GEN_BUFFER_SH)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   422
	$(prep-target)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   423
	@$(RM) $@.temp
90ce3da70b43 Initial load
duke
parents:
diff changeset
   424
	TYPE=long BO=S SRC=$< DST=$@.temp $(GEN_BUFFER_CMD)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   425
	$(MV) $@.temp $@
90ce3da70b43 Initial load
duke
parents:
diff changeset
   426
$(BUF_GEN)/DirectLongBuffer%S.java: $(BUF_SRC)/Direct-X-Buffer.java $(GEN_BUFFER_SH)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   427
	$(prep-target)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   428
	@$(RM) $@.temp
90ce3da70b43 Initial load
duke
parents:
diff changeset
   429
	TYPE=long RW=$* BO=S SRC=$< DST=$@.temp $(GEN_BUFFER_CMD)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   430
	$(MV) $@.temp $@
90ce3da70b43 Initial load
duke
parents:
diff changeset
   431
$(BUF_GEN)/DirectFloatBufferS.java: $(BUF_SRC)/Direct-X-Buffer.java $(GEN_BUFFER_SH)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   432
	$(prep-target)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   433
	@$(RM) $@.temp
90ce3da70b43 Initial load
duke
parents:
diff changeset
   434
	TYPE=float BO=S SRC=$< DST=$@.temp $(GEN_BUFFER_CMD)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   435
	$(MV) $@.temp $@
90ce3da70b43 Initial load
duke
parents:
diff changeset
   436
$(BUF_GEN)/DirectFloatBuffer%S.java: $(BUF_SRC)/Direct-X-Buffer.java $(GEN_BUFFER_SH)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   437
	$(prep-target)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   438
	@$(RM) $@.temp
90ce3da70b43 Initial load
duke
parents:
diff changeset
   439
	TYPE=float RW=$* BO=S SRC=$< DST=$@.temp $(GEN_BUFFER_CMD)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   440
	$(MV) $@.temp $@
90ce3da70b43 Initial load
duke
parents:
diff changeset
   441
$(BUF_GEN)/DirectDoubleBufferS.java: $(BUF_SRC)/Direct-X-Buffer.java $(GEN_BUFFER_SH)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   442
	$(prep-target)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   443
	@$(RM) $@.temp
90ce3da70b43 Initial load
duke
parents:
diff changeset
   444
	TYPE=double BO=S SRC=$< DST=$@.temp $(GEN_BUFFER_CMD)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   445
	$(MV) $@.temp $@
90ce3da70b43 Initial load
duke
parents:
diff changeset
   446
$(BUF_GEN)/DirectDoubleBuffer%S.java: $(BUF_SRC)/Direct-X-Buffer.java $(GEN_BUFFER_SH)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   447
	$(prep-target)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   448
	@$(RM) $@.temp
90ce3da70b43 Initial load
duke
parents:
diff changeset
   449
	TYPE=double RW=$* BO=S SRC=$< DST=$@.temp $(GEN_BUFFER_CMD)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   450
	$(MV) $@.temp $@
90ce3da70b43 Initial load
duke
parents:
diff changeset
   451
90ce3da70b43 Initial load
duke
parents:
diff changeset
   452
# Big-endian views of byte buffers
90ce3da70b43 Initial load
duke
parents:
diff changeset
   453
#
90ce3da70b43 Initial load
duke
parents:
diff changeset
   454
$(BUF_GEN)/ByteBufferAsCharBufferB.java: $(BUF_SRC)/ByteBufferAs-X-Buffer.java $(GEN_BUFFER_SH)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   455
	$(prep-target)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   456
	@$(RM) $@.temp
90ce3da70b43 Initial load
duke
parents:
diff changeset
   457
	TYPE=char BO=B SRC=$< DST=$@.temp $(GEN_BUFFER_CMD)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   458
	$(MV) $@.temp $@
90ce3da70b43 Initial load
duke
parents:
diff changeset
   459
$(BUF_GEN)/ByteBufferAsCharBuffer%B.java: $(BUF_SRC)/ByteBufferAs-X-Buffer.java $(GEN_BUFFER_SH)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   460
	$(prep-target)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   461
	@$(RM) $@.temp
90ce3da70b43 Initial load
duke
parents:
diff changeset
   462
	TYPE=char RW=$* BO=B SRC=$< DST=$@.temp $(GEN_BUFFER_CMD)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   463
	$(MV) $@.temp $@
90ce3da70b43 Initial load
duke
parents:
diff changeset
   464
$(BUF_GEN)/ByteBufferAsShortBufferB.java: $(BUF_SRC)/ByteBufferAs-X-Buffer.java $(GEN_BUFFER_SH)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   465
	$(prep-target)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   466
	@$(RM) $@.temp
90ce3da70b43 Initial load
duke
parents:
diff changeset
   467
	TYPE=short BO=B SRC=$< DST=$@.temp $(GEN_BUFFER_CMD)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   468
	$(MV) $@.temp $@
90ce3da70b43 Initial load
duke
parents:
diff changeset
   469
$(BUF_GEN)/ByteBufferAsShortBuffer%B.java: $(BUF_SRC)/ByteBufferAs-X-Buffer.java $(GEN_BUFFER_SH)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   470
	$(prep-target)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   471
	@$(RM) $@.temp
90ce3da70b43 Initial load
duke
parents:
diff changeset
   472
	TYPE=short RW=$* BO=B SRC=$< DST=$@.temp $(GEN_BUFFER_CMD)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   473
	$(MV) $@.temp $@
90ce3da70b43 Initial load
duke
parents:
diff changeset
   474
$(BUF_GEN)/ByteBufferAsIntBufferB.java: $(BUF_SRC)/ByteBufferAs-X-Buffer.java $(GEN_BUFFER_SH)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   475
	$(prep-target)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   476
	@$(RM) $@.temp
90ce3da70b43 Initial load
duke
parents:
diff changeset
   477
	TYPE=int BO=B SRC=$< DST=$@.temp $(GEN_BUFFER_CMD)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   478
	$(MV) $@.temp $@
90ce3da70b43 Initial load
duke
parents:
diff changeset
   479
$(BUF_GEN)/ByteBufferAsIntBuffer%B.java: $(BUF_SRC)/ByteBufferAs-X-Buffer.java $(GEN_BUFFER_SH)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   480
	$(prep-target)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   481
	@$(RM) $@.temp
90ce3da70b43 Initial load
duke
parents:
diff changeset
   482
	TYPE=int RW=$* BO=B SRC=$< DST=$@.temp $(GEN_BUFFER_CMD)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   483
	$(MV) $@.temp $@
90ce3da70b43 Initial load
duke
parents:
diff changeset
   484
$(BUF_GEN)/ByteBufferAsLongBufferB.java: $(BUF_SRC)/ByteBufferAs-X-Buffer.java $(GEN_BUFFER_SH)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   485
	$(prep-target)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   486
	@$(RM) $@.temp
90ce3da70b43 Initial load
duke
parents:
diff changeset
   487
	TYPE=long BO=B SRC=$< DST=$@.temp $(GEN_BUFFER_CMD)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   488
	$(MV) $@.temp $@
90ce3da70b43 Initial load
duke
parents:
diff changeset
   489
$(BUF_GEN)/ByteBufferAsLongBuffer%B.java: $(BUF_SRC)/ByteBufferAs-X-Buffer.java $(GEN_BUFFER_SH)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   490
	$(prep-target)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   491
	@$(RM) $@.temp
90ce3da70b43 Initial load
duke
parents:
diff changeset
   492
	TYPE=long RW=$* BO=B SRC=$< DST=$@.temp $(GEN_BUFFER_CMD)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   493
	$(MV) $@.temp $@
90ce3da70b43 Initial load
duke
parents:
diff changeset
   494
$(BUF_GEN)/ByteBufferAsFloatBufferB.java: $(BUF_SRC)/ByteBufferAs-X-Buffer.java $(GEN_BUFFER_SH)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   495
	$(prep-target)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   496
	@$(RM) $@.temp
90ce3da70b43 Initial load
duke
parents:
diff changeset
   497
	TYPE=float BO=B SRC=$< DST=$@.temp $(GEN_BUFFER_CMD)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   498
	$(MV) $@.temp $@
90ce3da70b43 Initial load
duke
parents:
diff changeset
   499
$(BUF_GEN)/ByteBufferAsFloatBuffer%B.java: $(BUF_SRC)/ByteBufferAs-X-Buffer.java $(GEN_BUFFER_SH)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   500
	$(prep-target)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   501
	@$(RM) $@.temp
90ce3da70b43 Initial load
duke
parents:
diff changeset
   502
	TYPE=float RW=$* BO=B SRC=$< DST=$@.temp $(GEN_BUFFER_CMD)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   503
	$(MV) $@.temp $@
90ce3da70b43 Initial load
duke
parents:
diff changeset
   504
$(BUF_GEN)/ByteBufferAsDoubleBufferB.java: $(BUF_SRC)/ByteBufferAs-X-Buffer.java $(GEN_BUFFER_SH)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   505
	$(prep-target)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   506
	@$(RM) $@.temp
90ce3da70b43 Initial load
duke
parents:
diff changeset
   507
	TYPE=double BO=B SRC=$< DST=$@.temp $(GEN_BUFFER_CMD)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   508
	$(MV) $@.temp $@
90ce3da70b43 Initial load
duke
parents:
diff changeset
   509
$(BUF_GEN)/ByteBufferAsDoubleBuffer%B.java: $(BUF_SRC)/ByteBufferAs-X-Buffer.java $(GEN_BUFFER_SH)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   510
	$(prep-target)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   511
	@$(RM) $@.temp
90ce3da70b43 Initial load
duke
parents:
diff changeset
   512
	TYPE=double RW=$* BO=B SRC=$< DST=$@.temp $(GEN_BUFFER_CMD)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   513
	$(MV) $@.temp $@
90ce3da70b43 Initial load
duke
parents:
diff changeset
   514
90ce3da70b43 Initial load
duke
parents:
diff changeset
   515
# Little-endian views of byte buffers
90ce3da70b43 Initial load
duke
parents:
diff changeset
   516
#
90ce3da70b43 Initial load
duke
parents:
diff changeset
   517
$(BUF_GEN)/ByteBufferAsCharBufferL.java: $(BUF_SRC)/ByteBufferAs-X-Buffer.java $(GEN_BUFFER_SH)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   518
	$(prep-target)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   519
	@$(RM) $@.temp
90ce3da70b43 Initial load
duke
parents:
diff changeset
   520
	TYPE=char BO=L SRC=$< DST=$@.temp $(GEN_BUFFER_CMD)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   521
	$(MV) $@.temp $@
90ce3da70b43 Initial load
duke
parents:
diff changeset
   522
$(BUF_GEN)/ByteBufferAsCharBuffer%L.java: $(BUF_SRC)/ByteBufferAs-X-Buffer.java $(GEN_BUFFER_SH)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   523
	$(prep-target)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   524
	@$(RM) $@.temp
90ce3da70b43 Initial load
duke
parents:
diff changeset
   525
	TYPE=char RW=$* BO=L SRC=$< DST=$@.temp $(GEN_BUFFER_CMD)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   526
	$(MV) $@.temp $@
90ce3da70b43 Initial load
duke
parents:
diff changeset
   527
$(BUF_GEN)/ByteBufferAsShortBufferL.java: $(BUF_SRC)/ByteBufferAs-X-Buffer.java $(GEN_BUFFER_SH)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   528
	$(prep-target)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   529
	@$(RM) $@.temp
90ce3da70b43 Initial load
duke
parents:
diff changeset
   530
	TYPE=short BO=L SRC=$< DST=$@.temp $(GEN_BUFFER_CMD)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   531
	$(MV) $@.temp $@
90ce3da70b43 Initial load
duke
parents:
diff changeset
   532
$(BUF_GEN)/ByteBufferAsShortBuffer%L.java: $(BUF_SRC)/ByteBufferAs-X-Buffer.java $(GEN_BUFFER_SH)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   533
	$(prep-target)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   534
	@$(RM) $@.temp
90ce3da70b43 Initial load
duke
parents:
diff changeset
   535
	TYPE=short RW=$* BO=L SRC=$< DST=$@.temp $(GEN_BUFFER_CMD)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   536
	$(MV) $@.temp $@
90ce3da70b43 Initial load
duke
parents:
diff changeset
   537
$(BUF_GEN)/ByteBufferAsIntBufferL.java: $(BUF_SRC)/ByteBufferAs-X-Buffer.java $(GEN_BUFFER_SH)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   538
	$(prep-target)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   539
	@$(RM) $@.temp
90ce3da70b43 Initial load
duke
parents:
diff changeset
   540
	TYPE=int BO=L SRC=$< DST=$@.temp $(GEN_BUFFER_CMD)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   541
	$(MV) $@.temp $@
90ce3da70b43 Initial load
duke
parents:
diff changeset
   542
$(BUF_GEN)/ByteBufferAsIntBuffer%L.java: $(BUF_SRC)/ByteBufferAs-X-Buffer.java $(GEN_BUFFER_SH)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   543
	$(prep-target)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   544
	@$(RM) $@.temp
90ce3da70b43 Initial load
duke
parents:
diff changeset
   545
	TYPE=int RW=$* BO=L SRC=$< DST=$@.temp $(GEN_BUFFER_CMD)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   546
	$(MV) $@.temp $@
90ce3da70b43 Initial load
duke
parents:
diff changeset
   547
$(BUF_GEN)/ByteBufferAsLongBufferL.java: $(BUF_SRC)/ByteBufferAs-X-Buffer.java $(GEN_BUFFER_SH)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   548
	$(prep-target)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   549
	@$(RM) $@.temp
90ce3da70b43 Initial load
duke
parents:
diff changeset
   550
	TYPE=long BO=L SRC=$< DST=$@.temp $(GEN_BUFFER_CMD)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   551
	$(MV) $@.temp $@
90ce3da70b43 Initial load
duke
parents:
diff changeset
   552
$(BUF_GEN)/ByteBufferAsLongBuffer%L.java: $(BUF_SRC)/ByteBufferAs-X-Buffer.java $(GEN_BUFFER_SH)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   553
	$(prep-target)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   554
	@$(RM) $@.temp
90ce3da70b43 Initial load
duke
parents:
diff changeset
   555
	TYPE=long RW=$* BO=L SRC=$< DST=$@.temp $(GEN_BUFFER_CMD)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   556
	$(MV) $@.temp $@
90ce3da70b43 Initial load
duke
parents:
diff changeset
   557
$(BUF_GEN)/ByteBufferAsFloatBufferL.java: $(BUF_SRC)/ByteBufferAs-X-Buffer.java $(GEN_BUFFER_SH)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   558
	$(prep-target)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   559
	@$(RM) $@.temp
90ce3da70b43 Initial load
duke
parents:
diff changeset
   560
	TYPE=float BO=L SRC=$< DST=$@.temp $(GEN_BUFFER_CMD)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   561
	$(MV) $@.temp $@
90ce3da70b43 Initial load
duke
parents:
diff changeset
   562
$(BUF_GEN)/ByteBufferAsFloatBuffer%L.java: $(BUF_SRC)/ByteBufferAs-X-Buffer.java $(GEN_BUFFER_SH)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   563
	$(prep-target)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   564
	@$(RM) $@.temp
90ce3da70b43 Initial load
duke
parents:
diff changeset
   565
	TYPE=float RW=$* BO=L SRC=$< DST=$@.temp $(GEN_BUFFER_CMD)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   566
	$(MV) $@.temp $@
90ce3da70b43 Initial load
duke
parents:
diff changeset
   567
$(BUF_GEN)/ByteBufferAsDoubleBufferL.java: $(BUF_SRC)/ByteBufferAs-X-Buffer.java $(GEN_BUFFER_SH)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   568
	$(prep-target)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   569
	@$(RM) $@.temp
90ce3da70b43 Initial load
duke
parents:
diff changeset
   570
	TYPE=double BO=L SRC=$< DST=$@.temp $(GEN_BUFFER_CMD)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   571
	$(MV) $@.temp $@
90ce3da70b43 Initial load
duke
parents:
diff changeset
   572
$(BUF_GEN)/ByteBufferAsDoubleBuffer%L.java: $(BUF_SRC)/ByteBufferAs-X-Buffer.java $(GEN_BUFFER_SH)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   573
	$(prep-target)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   574
	@$(RM) $@.temp
90ce3da70b43 Initial load
duke
parents:
diff changeset
   575
	TYPE=double RW=$* BO=L SRC=$< DST=$@.temp $(GEN_BUFFER_CMD)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   576
	$(MV) $@.temp $@
90ce3da70b43 Initial load
duke
parents:
diff changeset
   577
90ce3da70b43 Initial load
duke
parents:
diff changeset
   578
#
90ce3da70b43 Initial load
duke
parents:
diff changeset
   579
# Generated coder classes
90ce3da70b43 Initial load
duke
parents:
diff changeset
   580
#
90ce3da70b43 Initial load
duke
parents:
diff changeset
   581
90ce3da70b43 Initial load
duke
parents:
diff changeset
   582
GEN_CODER_SH = genCoder.sh
90ce3da70b43 Initial load
duke
parents:
diff changeset
   583
530
dbf0077bad01 6590549: Cygwin build of OpenJDK has problems and not very well documented
ohair
parents: 29
diff changeset
   584
GEN_CODER_CMD = SPP="$(SPP_CMD)" SED="$(SED)" NAWK="$(NAWK)" SH="$(SH)" $(SH) $(GEN_CODER_SH)
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   585
90ce3da70b43 Initial load
duke
parents:
diff changeset
   586
$(CS_GEN)/CharsetDecoder.java: $(CS_SRC)/Charset-X-Coder.java $(GEN_CODER_SH)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   587
	$(prep-target)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   588
	@$(RM) $@.temp
90ce3da70b43 Initial load
duke
parents:
diff changeset
   589
	$(GEN_CODER_CMD) decoder $< $@.temp
90ce3da70b43 Initial load
duke
parents:
diff changeset
   590
	$(MV) $@.temp $@
90ce3da70b43 Initial load
duke
parents:
diff changeset
   591
90ce3da70b43 Initial load
duke
parents:
diff changeset
   592
$(CS_GEN)/CharsetEncoder.java: $(CS_SRC)/Charset-X-Coder.java $(GEN_CODER_SH)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   593
	$(prep-target)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   594
	@$(RM) $@.temp
90ce3da70b43 Initial load
duke
parents:
diff changeset
   595
	$(GEN_CODER_CMD) encoder $< $@.temp
90ce3da70b43 Initial load
duke
parents:
diff changeset
   596
	$(MV) $@.temp $@
90ce3da70b43 Initial load
duke
parents:
diff changeset
   597
90ce3da70b43 Initial load
duke
parents:
diff changeset
   598
#
90ce3da70b43 Initial load
duke
parents:
diff changeset
   599
# Generated exception classes
90ce3da70b43 Initial load
duke
parents:
diff changeset
   600
#
90ce3da70b43 Initial load
duke
parents:
diff changeset
   601
90ce3da70b43 Initial load
duke
parents:
diff changeset
   602
GEN_EX_SH = genExceptions.sh
90ce3da70b43 Initial load
duke
parents:
diff changeset
   603
 
530
dbf0077bad01 6590549: Cygwin build of OpenJDK has problems and not very well documented
ohair
parents: 29
diff changeset
   604
GEN_EX_CMD = NAWK="$(NAWK)" SH="$(SH)" $(SH) $(GEN_EX_SH)
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   605
90ce3da70b43 Initial load
duke
parents:
diff changeset
   606
$(CH_GEN)/%Exception.java: genExceptions.sh $(CH_SRC)/exceptions
90ce3da70b43 Initial load
duke
parents:
diff changeset
   607
	$(prep-target)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   608
	@$(RM) $@.temp
90ce3da70b43 Initial load
duke
parents:
diff changeset
   609
	$(GEN_EX_CMD) $(CH_SRC)/exceptions $(CH_GEN)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   610
90ce3da70b43 Initial load
duke
parents:
diff changeset
   611
$(CS_GEN)/%Exception.java: genExceptions.sh $(CS_SRC)/exceptions
90ce3da70b43 Initial load
duke
parents:
diff changeset
   612
	$(prep-target)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   613
	@$(RM) $@.temp
90ce3da70b43 Initial load
duke
parents:
diff changeset
   614
	$(GEN_EX_CMD) $(CS_SRC)/exceptions $(CS_GEN)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   615
90ce3da70b43 Initial load
duke
parents:
diff changeset
   616
$(BUF_GEN)/%Exception.java: genExceptions.sh $(BUF_SRC)/exceptions
90ce3da70b43 Initial load
duke
parents:
diff changeset
   617
	$(prep-target)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   618
	@$(RM) $@.temp
90ce3da70b43 Initial load
duke
parents:
diff changeset
   619
	$(GEN_EX_CMD) $(BUF_SRC)/exceptions $(BUF_GEN)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   620
90ce3da70b43 Initial load
duke
parents:
diff changeset
   621
$(SCH_GEN)/%Exception.java: genExceptions.sh $(SCH_SRC)/exceptions
90ce3da70b43 Initial load
duke
parents:
diff changeset
   622
	$(prep-target)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   623
	@$(RM) $@.temp
90ce3da70b43 Initial load
duke
parents:
diff changeset
   624
	$(GEN_EX_CMD) $(SCH_SRC)/exceptions $(SCH_GEN)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   625
90ce3da70b43 Initial load
duke
parents:
diff changeset
   626
90ce3da70b43 Initial load
duke
parents:
diff changeset
   627
#
90ce3da70b43 Initial load
duke
parents:
diff changeset
   628
# Generated charset-provider classes
90ce3da70b43 Initial load
duke
parents:
diff changeset
   629
#
90ce3da70b43 Initial load
duke
parents:
diff changeset
   630
90ce3da70b43 Initial load
duke
parents:
diff changeset
   631
HASHER_JARFILE = $(BUILDTOOLJARDIR)/hasher.jar
90ce3da70b43 Initial load
duke
parents:
diff changeset
   632
90ce3da70b43 Initial load
duke
parents:
diff changeset
   633
$(SCS_GEN)/StandardCharsets.java: genCharsetProvider.sh \
90ce3da70b43 Initial load
duke
parents:
diff changeset
   634
    $(HASHER_JARFILE) $(SCS_SRC)/standard-charsets
90ce3da70b43 Initial load
duke
parents:
diff changeset
   635
	$(prep-target)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   636
	@$(RM) $@.temp
530
dbf0077bad01 6590549: Cygwin build of OpenJDK has problems and not very well documented
ohair
parents: 29
diff changeset
   637
	NAWK="$(NAWK)" TEMPDIR="$(TEMPDIR)" SH="$(SH)" \
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   638
	  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
   639
	  $(SH) -e genCharsetProvider.sh $(SCS_SRC)/standard-charsets $(SCS_GEN)
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   640
90ce3da70b43 Initial load
duke
parents:
diff changeset
   641
.PHONY: sources