author | erikj |
Fri, 11 May 2018 08:39:21 -0700 | |
changeset 50142 | f348e5d4769b |
parent 47314 | 743814386712 |
child 50348 | 008f416a79cb |
permissions | -rw-r--r-- |
12892 | 1 |
# |
39504
96c700e62710
8003593: build-infra: Paths to optional platform-specific files should not be hardwired to src/closed
erikj
parents:
27565
diff
changeset
|
2 |
# Copyright (c) 2011, 2016, 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 |
||
47314 | 26 |
$(eval $(call IncludeCustomExtension, gendata/GendataFontConfig.gmk)) |
39504
96c700e62710
8003593: build-infra: Paths to optional platform-specific files should not be hardwired to src/closed
erikj
parents:
27565
diff
changeset
|
27 |
|
27565 | 28 |
GENDATA_FONT_CONFIG_DST := $(SUPPORT_OUTPUTDIR)/modules_libs/$(MODULE) |
12892 | 29 |
|
47217 | 30 |
GENDATA_FONT_CONFIG_DATA_DIR ?= $(TOPDIR)/make/data/fontconfig |
12892 | 31 |
|
23021 | 32 |
GENDATA_FONT_CONFIG_SRC_FILES := \ |
33 |
$(wildcard $(GENDATA_FONT_CONFIG_DATA_DIR)/$(OPENJDK_TARGET_OS).*) |
|
12892 | 34 |
|
35 |
||
20547 | 36 |
$(GENDATA_FONT_CONFIG_DST)/%.src: \ |
23021 | 37 |
$(GENDATA_FONT_CONFIG_DATA_DIR)/$(OPENJDK_TARGET_OS).% |
16636
1cc691bcfe50
8008373: JFR JTReg tests fail with CompilationError on MacOSX; missing '._sunec.jar'
erikj
parents:
14231
diff
changeset
|
38 |
$(call install-file) |
12892 | 39 |
|
20547 | 40 |
$(GENDATA_FONT_CONFIG_DST)/%.bfc: \ |
23021 | 41 |
$(GENDATA_FONT_CONFIG_DATA_DIR)/$(OPENJDK_TARGET_OS).%.properties \ |
27565 | 42 |
$(BUILD_TOOLS_JDK) |
12892 | 43 |
$(MKDIR) -p $(@D) |
13702 | 44 |
$(RM) $@ |
12892 | 45 |
$(TOOL_COMPILEFONTCONFIG) $< $@ |
13164 | 46 |
$(CHMOD) 444 $@ |
12892 | 47 |
|
48 |
||
23021 | 49 |
GENDATA_FONT_CONFIGS := $(patsubst $(GENDATA_FONT_CONFIG_DATA_DIR)/$(OPENJDK_TARGET_OS).%, \ |
50 |
$(GENDATA_FONT_CONFIG_DST)/%.src, $(GENDATA_FONT_CONFIG_SRC_FILES)) |
|
51 |
GENDATA_BFONT_CONFIGS := $(patsubst $(GENDATA_FONT_CONFIG_DATA_DIR)/$(OPENJDK_TARGET_OS).%.properties, \ |
|
52 |
$(GENDATA_FONT_CONFIG_DST)/%.bfc, $(GENDATA_FONT_CONFIG_SRC_FILES)) |
|
12892 | 53 |
|
27565 | 54 |
TARGETS := $(GENDATA_FONT_CONFIGS) $(GENDATA_BFONT_CONFIGS) |