author | kvn |
Thu, 05 Dec 2013 15:10:36 -0800 | |
changeset 22598 | ad765acfda85 |
parent 22595 | jdk/makefiles/gendata/GendataFontConfig.gmk@aaa6b141196c |
parent 21805 | jdk/makefiles/gendata/GendataFontConfig.gmk@c7d7946239de |
child 23021 | b4b8495fd392 |
permissions | -rw-r--r-- |
12892 | 1 |
# |
22595
aaa6b141196c
8028066: PPC64: 8025715 changes broke AIX build after sync
simonis
parents:
22594
diff
changeset
|
2 |
# Copyright (c) 2011, 2013, Oracle and/or its affiliates. All rights reserved. |
12892 | 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) |
20547 | 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 |
|
20547 | 37 |
GENDATA_FONT_CONFIG_SRC_DIR := \ |
13702 | 38 |
$(JDK_TOPDIR)/src/solaris/classes/sun/awt/fontconfigs |
17887 | 39 |
# This is placeholder for possible fonconfig files which may |
20547 | 40 |
# useful for some highly specialized Linux distributions |
41 |
GENDATA_FONT_CONFIG_SRC_FILES := |
|
13702 | 42 |
else |
20547 | 43 |
GENDATA_FONT_CONFIG_SRC_DIR := \ |
13702 | 44 |
$(JDK_TOPDIR)/src/closed/solaris/classes/sun/awt/fontconfigs |
45 |
GENDATA_FONT_CONFIG_SRC_FILES := \ |
|
20547 | 46 |
fontconfig.properties \ |
47 |
fontconfig.RedHat.5.properties \ |
|
48 |
fontconfig.RedHat.6.properties \ |
|
49 |
fontconfig.Turbo.properties \ |
|
50 |
fontconfig.SuSE.10.properties \ |
|
51 |
fontconfig.SuSE.11.properties |
|
13702 | 52 |
endif |
12892 | 53 |
endif |
54 |
||
13164 | 55 |
ifeq ($(OPENJDK_TARGET_OS), solaris) |
20547 | 56 |
GENDATA_FONT_CONFIG_SRC_DIR := \ |
13702 | 57 |
$(JDK_TOPDIR)/src/solaris/classes/sun/awt/fontconfigs |
20547 | 58 |
GENDATA_FONT_CONFIG_SRC_FILES := fontconfig.properties |
13702 | 59 |
GENDATA_FONT_CONFIG_SRC_PREFIX := solaris. |
12892 | 60 |
endif |
61 |
||
13164 | 62 |
ifeq ($(OPENJDK_TARGET_OS), macosx) |
20547 | 63 |
GENDATA_FONT_CONFIG_SRC_DIR := \ |
13702 | 64 |
$(JDK_TOPDIR)/src/macosx/classes/sun/awt/fontconfigs |
20547 | 65 |
GENDATA_FONT_CONFIG_SRC_FILES := fontconfig.properties |
13702 | 66 |
GENDATA_FONT_CONFIG_SRC_PREFIX := macosx. |
67 |
endif |
|
12892 | 68 |
|
22593
938340719ac2
8024900: PPC64: Enable new build on AIX (jdk part)
simonis
parents:
17887
diff
changeset
|
69 |
ifeq ($(OPENJDK_TARGET_OS), aix) |
938340719ac2
8024900: PPC64: Enable new build on AIX (jdk part)
simonis
parents:
17887
diff
changeset
|
70 |
GENDATA_FONT_CONFIG_SRC_DIR := \ |
22595
aaa6b141196c
8028066: PPC64: 8025715 changes broke AIX build after sync
simonis
parents:
22594
diff
changeset
|
71 |
$(JDK_TOPDIR)/src/aix/classes/sun/awt/fontconfigs |
22593
938340719ac2
8024900: PPC64: Enable new build on AIX (jdk part)
simonis
parents:
17887
diff
changeset
|
72 |
GENDATA_FONT_CONFIG_SRC_FILES := fontconfig.properties |
938340719ac2
8024900: PPC64: Enable new build on AIX (jdk part)
simonis
parents:
17887
diff
changeset
|
73 |
GENDATA_FONT_CONFIG_SRC_PREFIX := aix. |
938340719ac2
8024900: PPC64: Enable new build on AIX (jdk part)
simonis
parents:
17887
diff
changeset
|
74 |
endif |
938340719ac2
8024900: PPC64: Enable new build on AIX (jdk part)
simonis
parents:
17887
diff
changeset
|
75 |
|
12892 | 76 |
### |
77 |
||
20547 | 78 |
$(GENDATA_FONT_CONFIG_DST)/%.src: \ |
13702 | 79 |
$(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
|
80 |
$(call install-file) |
12892 | 81 |
|
20547 | 82 |
$(GENDATA_FONT_CONFIG_DST)/%.bfc: \ |
13702 | 83 |
$(GENDATA_FONT_CONFIG_SRC_DIR)/$(GENDATA_FONT_CONFIG_SRC_PREFIX)%.properties |
12892 | 84 |
$(MKDIR) -p $(@D) |
13702 | 85 |
$(RM) $@ |
12892 | 86 |
$(TOOL_COMPILEFONTCONFIG) $< $@ |
13164 | 87 |
$(CHMOD) 444 $@ |
12892 | 88 |
|
89 |
### |
|
90 |
||
91 |
GENDATA_FONT_CONFIGS := $(GENDATA_FONT_CONFIG_SRC_FILES:%=$(GENDATA_FONT_CONFIG_DST)/%.src) |
|
92 |
GENDATA_BFONT_CONFIGS := $(GENDATA_FONT_CONFIG_SRC_FILES:%.properties=$(GENDATA_FONT_CONFIG_DST)/%.bfc) |
|
93 |
||
94 |
GENDATA_FONT_CONFIG := $(GENDATA_FONT_CONFIGS) $(GENDATA_BFONT_CONFIGS) |
|
95 |
||
96 |
### |