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