Changeset 200
- Timestamp:
- Dec 8, 2010, 9:39:18 PM (15 years ago)
- Location:
- trunk/openjdk/jdk
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/openjdk/jdk/make/sun/font/FILES_c.gmk
r74 r200 115 115 ifeq ($(filter-out windows os2,$(PLATFORM)),) 116 116 FILES_c_platform = fontpath.c 117 ifneq ($(PLATFORM), os2) 118 # no D3D on OS/2 117 119 FILES_cpp_platform = D3DTextRenderer.cpp 120 endif 118 121 else 119 122 FILES_c_platform = X11FontScaler.c \ -
trunk/openjdk/jdk/make/sun/font/Makefile
r74 r200 75 75 sun/java2d/loops/GraphicsPrimitive.java 76 76 77 ifeq ($( filter-out windows os2, $(PLATFORM)),)77 ifeq ($(PLATFORM), windows) 78 78 79 79 # Files built here do not compile with warning level 3 if warnings are fatal … … 86 86 87 87 FILES_export += sun/java2d/d3d/D3DTextRenderer.java 88 89 else 90 ifeq ($(PLATFORM), os2) 91 92 LDLIBS += -luser32.lib -lgdi32.lib -l$(OBJDIR)/../../../sun.awt/awt/$(OBJDIRNAME)/awt.lib 93 94 # no D3D ATM 95 #FILES_export += sun/java2d/d3d/D3DTextRenderer.java 88 96 89 97 else # PLATFORM unix … … 95 103 sun/awt/X11GraphicsEnvironment.java 96 104 105 endif # PLATFORM 97 106 endif # PLATFORM 98 107 … … 132 141 $(LIB_LOCATION)/$(LIB_PREFIX)freetype.$(LIBRARY_SUFFIX): 133 142 ifeq ($(filter-out windows os2, $(PLATFORM)),) 143 ifeq ($(PLATFORM), windows) 134 144 $(CP) $(FREETYPE_LIB_PATH)/$(LIB_PREFIX)freetype.$(LIBRARY_SUFFIX) $@ 145 eles 146 # we link to the static library so far, see #32 for details 147 endif 135 148 else 136 149 ifeq ($(USING_SYSTEM_FT_LIB), false) … … 193 206 # set up compile flags.. 194 207 195 CPPFLAGS += -I$(SHARE_SRC)/native/$(PKGDIR) \ 196 -I$(SHARE_SRC)/native/$(PKGDIR)/layout \ 197 -I$(SHARE_SRC)/native/$(PKGDIR)/bidi \ 198 -I$(SHARE_SRC)/native/sun/awt/image/cvutils \ 199 -I$(PLATFORM_SRC)/native/sun/awt \ 200 -I$(SHARE_SRC)/native/sun/awt/debug \ 201 -I$(SHARE_SRC)/native/sun/java2d/loops \ 202 -I$(SHARE_SRC)/native/sun/java2d/pipe \ 203 -I$(PLATFORM_SRC)/native/sun/java2d \ 204 -I$(SHARE_SRC)/native/sun/java2d \ 205 -I$(TEMPDIR)/../../sun.awt/awt/CClassHeaders 208 # some font headers interfere with the compiler headers (e.g. Features.h vs 209 # features.h) on OS/2. Use -iquote to solve that 210 ifeq ($(PLATFORM), os2) 211 I_OPT = -iquote # preserve trailing space 212 else 213 I_OPT = -I 214 endif 215 216 CPPFLAGS += $(I_OPT)$(SHARE_SRC)/native/$(PKGDIR) \ 217 $(I_OPT)$(SHARE_SRC)/native/$(PKGDIR)/layout \ 218 $(I_OPT)$(SHARE_SRC)/native/$(PKGDIR)/bidi \ 219 $(I_OPT)$(SHARE_SRC)/native/sun/awt/image/cvutils \ 220 $(I_OPT)$(PLATFORM_SRC)/native/sun/awt \ 221 $(I_OPT)$(SHARE_SRC)/native/sun/awt/debug \ 222 $(I_OPT)$(SHARE_SRC)/native/sun/java2d/loops \ 223 $(I_OPT)$(SHARE_SRC)/native/sun/java2d/pipe \ 224 $(I_OPT)$(PLATFORM_SRC)/native/sun/java2d \ 225 $(I_OPT)$(SHARE_SRC)/native/sun/java2d \ 226 $(I_OPT)$(TEMPDIR)/../../sun.awt/awt/CClassHeaders 206 227 207 228 ifeq ($(filter-out windows os2, $(PLATFORM)),) 208 CPPFLAGS += -I$(PLATFORM_SRC)/native/sun/windows \209 -I$(PLATFORM_SRC)/native/sun/java2d/d3d210 endif 211 229 CPPFLAGS += $(I_OPT)$(PLATFORM_SRC)/native/sun/windows \ 230 $(I_OPT)$(PLATFORM_SRC)/native/sun/java2d/d3d 231 endif 232 -
trunk/openjdk/jdk/src/share/native/sun/java2d/pipe/Region.h
r2 r200 31 31 #endif 32 32 33 #include <SurfaceData.h>33 #include "SurfaceData.h" 34 34 #include "utility/rect.h" 35 35 -
trunk/openjdk/jdk/src/windows/native/sun/font/fontpath.c
r2 r200 33 33 #define BSIZE (max(512, MAX_PATH+1)) 34 34 35 #ifdef __WIN32OS2__ 36 #include <string.h> 37 #include <wchar.h> 38 #include <minivcrt.h> 39 #endif 35 40 36 41 JNIEXPORT jstring JNICALL Java_sun_font_FontManager_getFontPath(JNIEnv *env, jclass obj, jboolean noType1)
Note:
See TracChangeset
for help on using the changeset viewer.