1 #
   2 # Copyright (c) 1997, 2011, 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 FULL_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 = &trade;
  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 # Macro to construct the copyright line
  65 #   (The GNU make 3.78.1 "if" conditional is broken, fixed in GNU make 3.81)
  66 define CopyrightLine # optionalurl optionalfirstyear optionaladdress
  67 $(if $(strip $1),<a href="$(strip $1)">Copyright</a>,Copyright) \
  68 $(COPYRIGHT_SYMBOL) $(if $2,$2${COMMA},) $(COPYRIGHT_YEAR),\
  69 $(FULL_COMPANY_NAME). $3 All rights reserved.
  70 endef
  71