mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-20 19:14:38 +02:00
Merge
This commit is contained in:
commit
3d1dbef32c
6 changed files with 31 additions and 23 deletions
|
@ -1,5 +1,5 @@
|
||||||
#
|
#
|
||||||
# Copyright (c) 2002, 2011, Oracle and/or its affiliates. All rights reserved.
|
# Copyright (c) 2002, 2012, Oracle and/or its affiliates. All rights reserved.
|
||||||
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||||
#
|
#
|
||||||
# This code is free software; you can redistribute it and/or modify it
|
# This code is free software; you can redistribute it and/or modify it
|
||||||
|
@ -225,10 +225,16 @@ ifeq ($(ARCH_DATA_MODEL), 32)
|
||||||
SIZERS = $(SIZER).32
|
SIZERS = $(SIZER).32
|
||||||
SIZERS_C = $(SIZER_32_C)
|
SIZERS_C = $(SIZER_32_C)
|
||||||
SIZES = $(WRAPPER_GENERATOR_DIR)/sizes.32
|
SIZES = $(WRAPPER_GENERATOR_DIR)/sizes.32
|
||||||
|
ifdef CROSS_COMPILE_ARCH
|
||||||
|
CFLAGS_32 = -m32
|
||||||
|
endif
|
||||||
else # !32
|
else # !32
|
||||||
SIZERS = $(SIZER).64
|
SIZERS = $(SIZER).64
|
||||||
SIZERS_C = $(SIZER_64_C)
|
SIZERS_C = $(SIZER_64_C)
|
||||||
SIZES = $(WRAPPER_GENERATOR_DIR)/sizes.64
|
SIZES = $(WRAPPER_GENERATOR_DIR)/sizes.64
|
||||||
|
ifdef CROSS_COMPILE_ARCH
|
||||||
|
CFLAGS_64 = -m64
|
||||||
|
endif
|
||||||
endif # 32
|
endif # 32
|
||||||
endif # !macosx
|
endif # !macosx
|
||||||
endif # solaris
|
endif # solaris
|
||||||
|
@ -264,15 +270,16 @@ WRAPPER_GENERATOR_TEMPDIR=$(TEMPDIR)/sun/awt/X11/generator
|
||||||
WRAPPER_GENERATOR_CLASS=$(WRAPPER_GENERATOR_TEMPDIR)/WrapperGenerator.class
|
WRAPPER_GENERATOR_CLASS=$(WRAPPER_GENERATOR_TEMPDIR)/WrapperGenerator.class
|
||||||
XLIBTYPES=$(PLATFORM_SRC)/classes/sun/awt/X11/generator/xlibtypes.txt
|
XLIBTYPES=$(PLATFORM_SRC)/classes/sun/awt/X11/generator/xlibtypes.txt
|
||||||
|
|
||||||
|
ifndef CROSS_COMPILE_ARCH
|
||||||
|
SIZERS_CC = $(CC)
|
||||||
|
else
|
||||||
|
SIZERS_CC = $(HOST_CC)
|
||||||
|
endif
|
||||||
|
|
||||||
$(SIZERS): $(SIZERS_C)
|
$(SIZERS): $(SIZERS_C)
|
||||||
$(prep-target)
|
$(prep-target)
|
||||||
ifndef CROSS_COMPILE_ARCH
|
$(SIZERS_CC) $(CFLAGS_$(subst .,,$(suffix $@))) $(CPPFLAGS) -c -o $(SIZER)$(suffix $@).o $(SIZER)$(suffix $@).c
|
||||||
$(CC) $(CFLAGS_$(subst .,,$(suffix $@))) $(CPPFLAGS) -c -o $(SIZER)$(suffix $@).o $(SIZER)$(suffix $@).c
|
$(SIZERS_CC) $(CFLAGS_$(subst .,,$(suffix $@))) -o $@ $(CPPFLAGS) $(SIZER)$(suffix $@).o
|
||||||
$(CC) $(CFLAGS_$(subst .,,$(suffix $@))) -o $@ $(CPPFLAGS) $(SIZER)$(suffix $@).o
|
|
||||||
else
|
|
||||||
$(HOST_CC) $(CPPFLAGS) -c -o $(SIZER)$(suffix $@).o $(SIZER)$(suffix $@).c
|
|
||||||
$(HOST_CC) $(CPPFLAGS) -o $@ $(SIZER)$(suffix $@).o
|
|
||||||
endif
|
|
||||||
|
|
||||||
$(WRAPPER_GENERATOR_CLASS): $(WRAPPER_GENERATOR_JAVA)
|
$(WRAPPER_GENERATOR_CLASS): $(WRAPPER_GENERATOR_JAVA)
|
||||||
$(prep-target)
|
$(prep-target)
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
#
|
#
|
||||||
# Copyright (c) 2002, 2011, Oracle and/or its affiliates. All rights reserved.
|
# Copyright (c) 2002, 2012, Oracle and/or its affiliates. All rights reserved.
|
||||||
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||||
#
|
#
|
||||||
# This code is free software; you can redistribute it and/or modify it
|
# This code is free software; you can redistribute it and/or modify it
|
||||||
|
@ -225,10 +225,16 @@ ifeq ($(ARCH_DATA_MODEL), 32)
|
||||||
SIZERS = $(SIZER).32
|
SIZERS = $(SIZER).32
|
||||||
SIZERS_C = $(SIZER_32_C)
|
SIZERS_C = $(SIZER_32_C)
|
||||||
SIZES = $(WRAPPER_GENERATOR_DIR)/sizes.32
|
SIZES = $(WRAPPER_GENERATOR_DIR)/sizes.32
|
||||||
|
ifdef CROSS_COMPILE_ARCH
|
||||||
|
CFLAGS_32 = -m32
|
||||||
|
endif
|
||||||
else # !32
|
else # !32
|
||||||
SIZERS = $(SIZER).64
|
SIZERS = $(SIZER).64
|
||||||
SIZERS_C = $(SIZER_64_C)
|
SIZERS_C = $(SIZER_64_C)
|
||||||
SIZES = $(WRAPPER_GENERATOR_DIR)/sizes.64
|
SIZES = $(WRAPPER_GENERATOR_DIR)/sizes.64
|
||||||
|
ifdef CROSS_COMPILE_ARCH
|
||||||
|
CFLAGS_64 = -m64
|
||||||
|
endif
|
||||||
endif # 32
|
endif # 32
|
||||||
endif # !macosx
|
endif # !macosx
|
||||||
endif # solaris
|
endif # solaris
|
||||||
|
@ -264,15 +270,17 @@ WRAPPER_GENERATOR_TEMPDIR=$(TEMPDIR)/sun/awt/X11/generator
|
||||||
WRAPPER_GENERATOR_CLASS=$(WRAPPER_GENERATOR_TEMPDIR)/WrapperGenerator.class
|
WRAPPER_GENERATOR_CLASS=$(WRAPPER_GENERATOR_TEMPDIR)/WrapperGenerator.class
|
||||||
XLIBTYPES=$(PLATFORM_SRC)/classes/sun/awt/X11/generator/xlibtypes.txt
|
XLIBTYPES=$(PLATFORM_SRC)/classes/sun/awt/X11/generator/xlibtypes.txt
|
||||||
|
|
||||||
|
ifndef CROSS_COMPILE_ARCH
|
||||||
|
SIZERS_CC = $(CC)
|
||||||
|
else
|
||||||
|
SIZERS_CC = $(HOST_CC)
|
||||||
|
endif
|
||||||
|
|
||||||
$(SIZERS): $(SIZERS_C)
|
$(SIZERS): $(SIZERS_C)
|
||||||
$(prep-target)
|
$(prep-target)
|
||||||
ifndef CROSS_COMPILE_ARCH
|
|
||||||
$(CC) $(CFLAGS_$(subst .,,$(suffix $@))) $(CPPFLAGS) -c -o $(SIZER)$(suffix $@).o $(SIZER)$(suffix $@).c
|
$(SIZERS_CC) $(CFLAGS_$(subst .,,$(suffix $@))) $(CPPFLAGS) -c -o $(SIZER)$(suffix $@).o $(SIZER)$(suffix $@).c
|
||||||
$(CC) $(CFLAGS_$(subst .,,$(suffix $@))) -o $@ $(CPPFLAGS) $(SIZER)$(suffix $@).o
|
$(SIZERS_CC) $(CFLAGS_$(subst .,,$(suffix $@))) -o $@ $(CPPFLAGS) $(SIZER)$(suffix $@).o
|
||||||
else
|
|
||||||
$(HOST_CC) $(CPPFLAGS) -c -o $(SIZER)$(suffix $@).o $(SIZER)$(suffix $@).c
|
|
||||||
$(HOST_CC) $(CPPFLAGS) -o $@ $(SIZER)$(suffix $@).o
|
|
||||||
endif
|
|
||||||
|
|
||||||
$(WRAPPER_GENERATOR_CLASS): $(WRAPPER_GENERATOR_JAVA)
|
$(WRAPPER_GENERATOR_CLASS): $(WRAPPER_GENERATOR_JAVA)
|
||||||
$(prep-target)
|
$(prep-target)
|
||||||
|
|
|
@ -52,8 +52,6 @@
|
||||||
#define DecodeDeclared
|
#define DecodeDeclared
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include "java_awt_image_DirectColorModel.h"
|
|
||||||
|
|
||||||
#define DeclareDCMVars \
|
#define DeclareDCMVars \
|
||||||
IfAlpha(int alpha_mask; \
|
IfAlpha(int alpha_mask; \
|
||||||
int alpha_scale; \
|
int alpha_scale; \
|
||||||
|
|
|
@ -52,8 +52,6 @@
|
||||||
#define DecodeDeclared
|
#define DecodeDeclared
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include "java_awt_image_DirectColorModel.h"
|
|
||||||
|
|
||||||
#define DeclareDCM8Vars \
|
#define DeclareDCM8Vars \
|
||||||
IfAlpha(unsigned int alpha_off;) \
|
IfAlpha(unsigned int alpha_off;) \
|
||||||
unsigned int red_off, green_off, blue_off;
|
unsigned int red_off, green_off, blue_off;
|
||||||
|
|
|
@ -31,7 +31,6 @@
|
||||||
#include "jni_util.h"
|
#include "jni_util.h"
|
||||||
|
|
||||||
#include "sun_java2d_pipe_SpanClipRenderer.h"
|
#include "sun_java2d_pipe_SpanClipRenderer.h"
|
||||||
#include "sun_java2d_pipe_RegionIterator.h"
|
|
||||||
|
|
||||||
jfieldID pBandsArrayID;
|
jfieldID pBandsArrayID;
|
||||||
jfieldID pEndIndexID;
|
jfieldID pEndIndexID;
|
||||||
|
|
|
@ -26,14 +26,12 @@
|
||||||
#include "java_awt_Color.h"
|
#include "java_awt_Color.h"
|
||||||
#include "java_awt_Dimension.h"
|
#include "java_awt_Dimension.h"
|
||||||
#include "java_awt_MenuBar.h"
|
#include "java_awt_MenuBar.h"
|
||||||
//#include "java_awt_Label.h"
|
|
||||||
#include "java_awt_FontMetrics.h"
|
#include "java_awt_FontMetrics.h"
|
||||||
#include "java_awt_event_MouseEvent.h"
|
#include "java_awt_event_MouseEvent.h"
|
||||||
#include "java_awt_Rectangle.h"
|
#include "java_awt_Rectangle.h"
|
||||||
#include "java_awt_ScrollPaneAdjustable.h"
|
#include "java_awt_ScrollPaneAdjustable.h"
|
||||||
#include "java_awt_Toolkit.h"
|
#include "java_awt_Toolkit.h"
|
||||||
#include "java_awt_CheckboxMenuItem.h"
|
#include "java_awt_CheckboxMenuItem.h"
|
||||||
#include "sun_awt_CharsetString.h"
|
|
||||||
|
|
||||||
#include "jni_util.h"
|
#include "jni_util.h"
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue