5961
|
1 |
#
|
|
2 |
# Copyright (c) 1997, 2010, 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 |
# Copyright year for beginning of Java and some of the apis
|
|
27 |
# (Needed when creating the javadocs)
|
|
28 |
FIRST_COPYRIGHT_YEAR = 1993
|
|
29 |
DOMAPI_FIRST_COPYRIGHT_YEAR = 2005
|
|
30 |
MIRROR_FIRST_COPYRIGHT_YEAR = 2004
|
|
31 |
DOCLETAPI_FIRST_COPYRIGHT_YEAR = 1993
|
|
32 |
TAGLETAPI_FIRST_COPYRIGHT_YEAR = 1993
|
|
33 |
JDI_FIRST_COPYRIGHT_YEAR = 1999
|
|
34 |
JAAS_FIRST_COPYRIGHT_YEAR = 1998
|
|
35 |
JGSS_FIRST_COPYRIGHT_YEAR = 2000
|
|
36 |
SMARTCARDIO_FIRST_COPYRIGHT_YEAR = 2005
|
|
37 |
HTTPSERVER_FIRST_COPYRIGHT_YEAR = 2005
|
|
38 |
MGMT_FIRST_COPYRIGHT_YEAR = 2003
|
|
39 |
ATTACH_FIRST_COPYRIGHT_YEAR = 2005
|
|
40 |
JCONSOLE_FIRST_COPYRIGHT_YEAR = 2006
|
|
41 |
SCTPAPI_FIRST_COPYRIGHT_YEAR = 2009
|
|
42 |
TRACING_FIRST_COPYRIGHT_YEAR = 2008
|
|
43 |
TREEAPI_FIRST_COPYRIGHT_YEAR = 2005
|
|
44 |
JNLP_FIRST_COPYRIGHT_YEAR = 1998
|
|
45 |
PLUGIN2_FIRST_COPYRIGHT_YEAR = 2007
|
|
46 |
|
|
47 |
# Oracle name
|
|
48 |
COMPANY_NAME = Oracle and/or its affiliates
|
|
49 |
|
|
50 |
# Copyright address
|
|
51 |
COMPANY_ADDRESS = 500 Oracle Parkway<br>Redwood Shores, CA 94065 USA.
|
|
52 |
|
|
53 |
# The trademark symbol
|
|
54 |
TRADEMARK = ™
|
|
55 |
|
|
56 |
# Common copyright lines used
|
|
57 |
# The word "Copyright" might optionally be a link to the file cpyr.html.
|
|
58 |
# The first year of copyright may vary or not be available.
|
|
59 |
# The address to the company might be optional.
|
|
60 |
COMMA:= ,
|
|
61 |
EMPTY:=
|
|
62 |
SPACE:=$(EMPTY) $(EMPTY)
|
|
63 |
COPYRIGHT_SYMBOL = &\#x00a9;
|
|
64 |
# Macros to handle the optional empty args.
|
|
65 |
# (The GNU make 3.78.1 "if" conditional is broken, fixed in GNU make 3.81)
|
|
66 |
define OptionalCopyrightUrl # url
|
|
67 |
$(shell \
|
|
68 |
if [ "$1" != "" ] ; then \
|
|
69 |
printf "<a href=\"%s\">Copyright</a>" "$1"; \
|
|
70 |
else \
|
|
71 |
printf "Copyright"; \
|
|
72 |
fi)
|
|
73 |
endef
|
|
74 |
define OptionalCopyrightFirstYear # year
|
|
75 |
$(shell \
|
|
76 |
if [ "$1" != "" ] ; then \
|
|
77 |
printf "%s," "$1";\
|
|
78 |
fi)
|
|
79 |
endef
|
|
80 |
define OptionalCompanyAddress # address
|
|
81 |
$(shell \
|
|
82 |
if [ "$1" != "" ] ; then \
|
|
83 |
printf "%s" "$1";\
|
|
84 |
fi)
|
|
85 |
endef
|
|
86 |
define CopyrightLine # optionalurl optionalfirstyear optionaladdress
|
|
87 |
$(call OptionalCopyrightUrl,$1) $(COPYRIGHT_SYMBOL)\
|
|
88 |
$(call OptionalCopyrightFirstYear,$2) $(COPYRIGHT_YEAR),\
|
|
89 |
$(COMPANY_NAME).\
|
|
90 |
$(call OptionalCompanyAddress,$3)\
|
|
91 |
All rights reserved.
|
|
92 |
endef
|
|
93 |
|