make/gendata/GendataPublicSuffixList.gmk
author herrick
Thu, 28 Mar 2019 13:49:38 -0400
branchJDK-8200758-branch
changeset 57292 7a683c461b80
parent 50788 6274aee1f692
child 55215 29ab1f3bd353
permissions -rw-r--r--
Merge
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
50788
6274aee1f692 8201815: Use Mozilla Public Suffix List
weijun
parents:
diff changeset
     1
#
6274aee1f692 8201815: Use Mozilla Public Suffix List
weijun
parents:
diff changeset
     2
# Copyright (c) 2017, 2018, Oracle and/or its affiliates. All rights reserved.
6274aee1f692 8201815: Use Mozilla Public Suffix List
weijun
parents:
diff changeset
     3
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
6274aee1f692 8201815: Use Mozilla Public Suffix List
weijun
parents:
diff changeset
     4
#
6274aee1f692 8201815: Use Mozilla Public Suffix List
weijun
parents:
diff changeset
     5
# This code is free software; you can redistribute it and/or modify it
6274aee1f692 8201815: Use Mozilla Public Suffix List
weijun
parents:
diff changeset
     6
# under the terms of the GNU General Public License version 2 only, as
6274aee1f692 8201815: Use Mozilla Public Suffix List
weijun
parents:
diff changeset
     7
# published by the Free Software Foundation.  Oracle designates this
6274aee1f692 8201815: Use Mozilla Public Suffix List
weijun
parents:
diff changeset
     8
# particular file as subject to the "Classpath" exception as provided
6274aee1f692 8201815: Use Mozilla Public Suffix List
weijun
parents:
diff changeset
     9
# by Oracle in the LICENSE file that accompanied this code.
6274aee1f692 8201815: Use Mozilla Public Suffix List
weijun
parents:
diff changeset
    10
#
6274aee1f692 8201815: Use Mozilla Public Suffix List
weijun
parents:
diff changeset
    11
# This code is distributed in the hope that it will be useful, but WITHOUT
6274aee1f692 8201815: Use Mozilla Public Suffix List
weijun
parents:
diff changeset
    12
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
6274aee1f692 8201815: Use Mozilla Public Suffix List
weijun
parents:
diff changeset
    13
# FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
6274aee1f692 8201815: Use Mozilla Public Suffix List
weijun
parents:
diff changeset
    14
# version 2 for more details (a copy is included in the LICENSE file that
6274aee1f692 8201815: Use Mozilla Public Suffix List
weijun
parents:
diff changeset
    15
# accompanied this code).
6274aee1f692 8201815: Use Mozilla Public Suffix List
weijun
parents:
diff changeset
    16
#
6274aee1f692 8201815: Use Mozilla Public Suffix List
weijun
parents:
diff changeset
    17
# You should have received a copy of the GNU General Public License version
6274aee1f692 8201815: Use Mozilla Public Suffix List
weijun
parents:
diff changeset
    18
# 2 along with this work; if not, write to the Free Software Foundation,
6274aee1f692 8201815: Use Mozilla Public Suffix List
weijun
parents:
diff changeset
    19
# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
6274aee1f692 8201815: Use Mozilla Public Suffix List
weijun
parents:
diff changeset
    20
#
6274aee1f692 8201815: Use Mozilla Public Suffix List
weijun
parents:
diff changeset
    21
# Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
6274aee1f692 8201815: Use Mozilla Public Suffix List
weijun
parents:
diff changeset
    22
# or visit www.oracle.com if you need additional information or have any
6274aee1f692 8201815: Use Mozilla Public Suffix List
weijun
parents:
diff changeset
    23
# questions.
6274aee1f692 8201815: Use Mozilla Public Suffix List
weijun
parents:
diff changeset
    24
#
6274aee1f692 8201815: Use Mozilla Public Suffix List
weijun
parents:
diff changeset
    25
6274aee1f692 8201815: Use Mozilla Public Suffix List
weijun
parents:
diff changeset
    26
include $(SPEC)
6274aee1f692 8201815: Use Mozilla Public Suffix List
weijun
parents:
diff changeset
    27
6274aee1f692 8201815: Use Mozilla Public Suffix List
weijun
parents:
diff changeset
    28
GENDATA_PUBLICSUFFIXLIST_SRC += $(TOPDIR)/make/data/publicsuffixlist/public_suffix_list.dat
6274aee1f692 8201815: Use Mozilla Public Suffix List
weijun
parents:
diff changeset
    29
GENDATA_PUBLICSUFFIXLIST := $(SUPPORT_OUTPUTDIR)/modules_libs/$(MODULE)/security/public_suffix_list.dat
6274aee1f692 8201815: Use Mozilla Public Suffix List
weijun
parents:
diff changeset
    30
6274aee1f692 8201815: Use Mozilla Public Suffix List
weijun
parents:
diff changeset
    31
$(GENDATA_PUBLICSUFFIXLIST): $(GENDATA_PUBLICSUFFIXLIST_SRC) $(BUILD_TOOLS)
6274aee1f692 8201815: Use Mozilla Public Suffix List
weijun
parents:
diff changeset
    32
	$(call LogInfo, Generating public suffix list)
6274aee1f692 8201815: Use Mozilla Public Suffix List
weijun
parents:
diff changeset
    33
	$(call MakeDir, $(@D))
6274aee1f692 8201815: Use Mozilla Public Suffix List
weijun
parents:
diff changeset
    34
	$(RM) $@
6274aee1f692 8201815: Use Mozilla Public Suffix List
weijun
parents:
diff changeset
    35
	$(TOOL_PUBLICSUFFIXLIST) $< $@
6274aee1f692 8201815: Use Mozilla Public Suffix List
weijun
parents:
diff changeset
    36
	$(CHMOD) 444 $@
6274aee1f692 8201815: Use Mozilla Public Suffix List
weijun
parents:
diff changeset
    37
6274aee1f692 8201815: Use Mozilla Public Suffix List
weijun
parents:
diff changeset
    38
TARGETS += $(GENDATA_PUBLICSUFFIXLIST)