source: trunk/openjdk/jdk/make/common/shared/Defs-javadoc.gmk

Last change on this file was 278, checked in by dmik, 14 years ago

trunk: Merged in openjdk6 b22 from branches/vendor/oracle.

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