author | sundar |
Mon, 08 Jul 2013 18:36:10 +0530 | |
changeset 18856 | ef883ef43731 |
parent 16636 | 1cc691bcfe50 |
child 17887 | 30b9116a7ae1 |
permissions | -rw-r--r-- |
12892 | 1 |
# |
2 |
# Copyright (c) 2011, 2012, Oracle and/or its affiliates. All rights reserved. |
|
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. Oracle designates this |
|
8 |
# particular file as subject to the "Classpath" exception as provided |
|
9 |
# by Oracle 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 Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA |
|
22 |
# or visit www.oracle.com if you need additional information or have any |
|
23 |
# questions. |
|
24 |
# |
|
25 |
||
26 |
GENDATA_FONT_CONFIG_DST := $(JDK_OUTPUTDIR)/lib |
|
27 |
||
13164 | 28 |
ifeq ($(OPENJDK_TARGET_OS), windows) |
13702 | 29 |
GENDATA_FONT_CONFIG_SRC_DIR := $(JDK_TOPDIR)/src/windows/classes/sun/awt/windows |
30 |
GENDATA_FONT_CONFIG_SRC_FILES := fontconfig.properties |
|
31 |
GENDATA_FONT_CONFIG_SRC_PREFIX := |
|
12892 | 32 |
endif |
33 |
||
13164 | 34 |
ifeq ($(OPENJDK_TARGET_OS), linux) |
13702 | 35 |
GENDATA_FONT_CONFIG_SRC_PREFIX := linux. |
36 |
ifdef OPENJDK |
|
37 |
GENDATA_FONT_CONFIG_SRC_DIR := \ |
|
38 |
$(JDK_TOPDIR)/src/solaris/classes/sun/awt/fontconfigs |
|
39 |
GENDATA_FONT_CONFIG_SRC_FILES := \ |
|
12892 | 40 |
fontconfig.properties \ |
41 |
fontconfig.SuSE.properties \ |
|
42 |
fontconfig.Ubuntu.properties \ |
|
43 |
fontconfig.Fedora.properties |
|
13702 | 44 |
else |
45 |
GENDATA_FONT_CONFIG_SRC_DIR := \ |
|
46 |
$(JDK_TOPDIR)/src/closed/solaris/classes/sun/awt/fontconfigs |
|
47 |
GENDATA_FONT_CONFIG_SRC_FILES := \ |
|
12892 | 48 |
fontconfig.properties \ |
49 |
fontconfig.RedHat.5.properties \ |
|
50 |
fontconfig.RedHat.6.properties \ |
|
51 |
fontconfig.Turbo.properties \ |
|
52 |
fontconfig.SuSE.10.properties \ |
|
53 |
fontconfig.SuSE.11.properties |
|
13702 | 54 |
endif |
12892 | 55 |
endif |
56 |
||
13164 | 57 |
ifeq ($(OPENJDK_TARGET_OS), solaris) |
13702 | 58 |
GENDATA_FONT_CONFIG_SRC_DIR := \ |
59 |
$(JDK_TOPDIR)/src/solaris/classes/sun/awt/fontconfigs |
|
60 |
GENDATA_FONT_CONFIG_SRC_FILES := fontconfig.properties |
|
61 |
GENDATA_FONT_CONFIG_SRC_PREFIX := solaris. |
|
12892 | 62 |
endif |
63 |
||
13164 | 64 |
ifeq ($(OPENJDK_TARGET_OS), macosx) |
13702 | 65 |
GENDATA_FONT_CONFIG_SRC_DIR := \ |
66 |
$(JDK_TOPDIR)/src/macosx/classes/sun/awt/fontconfigs |
|
67 |
GENDATA_FONT_CONFIG_SRC_FILES := fontconfig.properties |
|
68 |
GENDATA_FONT_CONFIG_SRC_PREFIX := macosx. |
|
69 |
endif |
|
12892 | 70 |
|
71 |
### |
|
72 |
||
13702 | 73 |
$(GENDATA_FONT_CONFIG_DST)/%.src : \ |
74 |
$(GENDATA_FONT_CONFIG_SRC_DIR)/$(GENDATA_FONT_CONFIG_SRC_PREFIX)% |
|
16636
1cc691bcfe50
8008373: JFR JTReg tests fail with CompilationError on MacOSX; missing '._sunec.jar'
erikj
parents:
14231
diff
changeset
|
75 |
$(call install-file) |
12892 | 76 |
|
13702 | 77 |
$(GENDATA_FONT_CONFIG_DST)/%.bfc : \ |
78 |
$(GENDATA_FONT_CONFIG_SRC_DIR)/$(GENDATA_FONT_CONFIG_SRC_PREFIX)%.properties |
|
12892 | 79 |
$(MKDIR) -p $(@D) |
13702 | 80 |
$(RM) $@ |
12892 | 81 |
$(TOOL_COMPILEFONTCONFIG) $< $@ |
13164 | 82 |
$(CHMOD) 444 $@ |
12892 | 83 |
|
84 |
### |
|
85 |
||
86 |
GENDATA_FONT_CONFIGS := $(GENDATA_FONT_CONFIG_SRC_FILES:%=$(GENDATA_FONT_CONFIG_DST)/%.src) |
|
87 |
GENDATA_BFONT_CONFIGS := $(GENDATA_FONT_CONFIG_SRC_FILES:%.properties=$(GENDATA_FONT_CONFIG_DST)/%.bfc) |
|
88 |
||
89 |
GENDATA_FONT_CONFIG := $(GENDATA_FONT_CONFIGS) $(GENDATA_BFONT_CONFIGS) |
|
90 |
||
91 |
### |
|
13702 | 92 |