make/docs/Makefile

Print this page
rev 7398 : 8032808: Support Solaris SO_FLOW_SLA socket option
Reviewed-by: michaelm
   1 # Copyright (c) 1997, 2011, Oracle and/or its affiliates. All rights reserved.
   2 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
   3 #
   4 # This code is free software; you can redistribute it and/or modify it
   5 # under the terms of the GNU General Public License version 2 only, as
   6 # published by the Free Software Foundation.  Oracle designates this
   7 # particular file as subject to the "Classpath" exception as provided
   8 # by Oracle in the LICENSE file that accompanied this code.
   9 #
  10 # This code is distributed in the hope that it will be useful, but WITHOUT
  11 # ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
  12 # FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
  13 # version 2 for more details (a copy is included in the LICENSE file that
  14 # accompanied this code).
  15 #
  16 # You should have received a copy of the GNU General Public License version
  17 # 2 along with this work; if not, write to the Free Software Foundation,
  18 # Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
  19 #
  20 # Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
  21 # or visit www.oracle.com if you need additional information or have any


 818 # Create file with javadoc options in it
 819 $(SMARTCARDIO_OPTIONS_FILE):
 820         $(prep-target)
 821         @($(call OptionOnly,$(COMMON_JAVADOCFLAGS))                     ; \
 822           $(call OptionPair,-sourcepath,$(RELEASEDOCS_SOURCEPATH))      ; \
 823           $(call OptionPair,-encoding,ascii)                            ; \
 824           $(call OptionOnly,-nodeprecatedlist)                          ; \
 825           $(call OptionPair,-doctitle,$(SMARTCARDIO_DOCTITLE))          ; \
 826           $(call OptionPair,-windowtitle,$(SMARTCARDIO_WINDOWTITLE) $(DRAFT_WINTITLE));\
 827           $(call OptionPair,-header,$(SMARTCARDIO_HEADER)$(DRAFT_HEADER)); \
 828           $(call OptionPair,-bottom,$(SMARTCARDIO_BOTTOM)$(DRAFT_BOTTOM)); \
 829           $(call OptionTrip,-linkoffline,$(SMARTCARDIO2COREAPI),$(COREAPI_DOCSDIR)/); \
 830         ) >> $@
 831 
 832 # Create a file with the package names in it
 833 $(SMARTCARDIO_PACKAGES_FILE): $(DIRECTORY_CACHE) $(call PackageDependencies,$(SMARTCARDIO_PKGS))
 834         $(prep-target)
 835         $(call PackageFilter,$(SMARTCARDIO_PKGS))
 836 
 837 #############################################################


















































 838 #
 839 # httpserverdocs
 840 #
 841 
 842 ALL_OTHER_TARGETS += httpserverdocs
 843 
 844 HTTPSERVER_DOCDIR      := $(JRE_API_DOCSDIR)/net/httpserver/spec
 845 HTTPSERVER2COREAPI     := ../../../$(JDKJRE2COREAPI)
 846 HTTPSERVER_DOCTITLE    := Java$(TRADEMARK) HTTP Server
 847 HTTPSERVER_WINDOWTITLE := Java HTTP Server
 848 HTTPSERVER_HEADER      := <strong>Java HTTP Server</strong>
 849 HTTPSERVER_BOTTOM      := $(call CommonBottom,$(HTTPSERVER_FIRST_COPYRIGHT_YEAR))
 850 # HTTPSERVER_PKGS is located in NON_CORE_PKGS.gmk
 851 
 852 HTTPSERVER_INDEX_HTML    = $(HTTPSERVER_DOCDIR)/index.html
 853 HTTPSERVER_OPTIONS_FILE  = $(DOCSTMPDIR)/httpserver.options
 854 HTTPSERVER_PACKAGES_FILE = $(DOCSTMPDIR)/httpserver.packages
 855 
 856 httpserverdocs: $(HTTPSERVER_INDEX_HTML)
 857 


   1 # Copyright (c) 1997, 2014, Oracle and/or its affiliates. All rights reserved.
   2 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
   3 #
   4 # This code is free software; you can redistribute it and/or modify it
   5 # under the terms of the GNU General Public License version 2 only, as
   6 # published by the Free Software Foundation.  Oracle designates this
   7 # particular file as subject to the "Classpath" exception as provided
   8 # by Oracle in the LICENSE file that accompanied this code.
   9 #
  10 # This code is distributed in the hope that it will be useful, but WITHOUT
  11 # ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
  12 # FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
  13 # version 2 for more details (a copy is included in the LICENSE file that
  14 # accompanied this code).
  15 #
  16 # You should have received a copy of the GNU General Public License version
  17 # 2 along with this work; if not, write to the Free Software Foundation,
  18 # Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
  19 #
  20 # Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
  21 # or visit www.oracle.com if you need additional information or have any


 818 # Create file with javadoc options in it
 819 $(SMARTCARDIO_OPTIONS_FILE):
 820         $(prep-target)
 821         @($(call OptionOnly,$(COMMON_JAVADOCFLAGS))                     ; \
 822           $(call OptionPair,-sourcepath,$(RELEASEDOCS_SOURCEPATH))      ; \
 823           $(call OptionPair,-encoding,ascii)                            ; \
 824           $(call OptionOnly,-nodeprecatedlist)                          ; \
 825           $(call OptionPair,-doctitle,$(SMARTCARDIO_DOCTITLE))          ; \
 826           $(call OptionPair,-windowtitle,$(SMARTCARDIO_WINDOWTITLE) $(DRAFT_WINTITLE));\
 827           $(call OptionPair,-header,$(SMARTCARDIO_HEADER)$(DRAFT_HEADER)); \
 828           $(call OptionPair,-bottom,$(SMARTCARDIO_BOTTOM)$(DRAFT_BOTTOM)); \
 829           $(call OptionTrip,-linkoffline,$(SMARTCARDIO2COREAPI),$(COREAPI_DOCSDIR)/); \
 830         ) >> $@
 831 
 832 # Create a file with the package names in it
 833 $(SMARTCARDIO_PACKAGES_FILE): $(DIRECTORY_CACHE) $(call PackageDependencies,$(SMARTCARDIO_PKGS))
 834         $(prep-target)
 835         $(call PackageFilter,$(SMARTCARDIO_PKGS))
 836 
 837 #############################################################
 838 #
 839 # jdk.net docs
 840 #
 841 
 842 ALL_OTHER_TARGETS += jdknetdocs
 843 
 844 JDKNET_DOCDIR      := $(JRE_API_DOCSDIR)/net/socketoptions/spec
 845 JDKNET2COREAPI     := ../../../$(JDKJRE2COREAPI)
 846 JDKNET_DOCTITLE    := jdk.net API
 847 JDKNET_WINDOWTITLE := jdk.net API
 848 JDKNET_HEADER      := <strong>jdk.net API</strong>
 849 JDKNET_BOTTOM      := $(call CommonBottom,$(JDKNET_FIRST_COPYRIGHT_YEAR))
 850 # JDKNET_PKGS is located in NON_CORE_PKGS.gmk
 851 
 852 JDKNET_INDEX_HTML    = $(JDKNET_DOCDIR)/index.html
 853 JDKNET_OPTIONS_FILE  = $(DOCSTMPDIR)/jdknet.options
 854 JDKNET_PACKAGES_FILE = $(DOCSTMPDIR)/jdknet.packages
 855 
 856 jdknetdocs: $(JDKNET_INDEX_HTML)
 857 
 858 # Set relative location to core api document root
 859 $(JDKNET_INDEX_HTML): GET2DOCSDIR=$(JDKNET2COREAPI)/..
 860 
 861 # Run javadoc if the index file is out of date or missing
 862 $(JDKNET_INDEX_HTML): $(JDKNET_OPTIONS_FILE) $(JDKNET_PACKAGES_FILE)
 863         $(prep-javadoc)
 864         $(call JavadocSummary,$(JDKNET_OPTIONS_FILE),$(JDKNET_PACKAGES_FILE))
 865         $(JAVADOC_CMD) $(JAVADOC_VM_MEMORY_FLAGS) -d $(@D) \
 866         @$(JDKNET_OPTIONS_FILE) @$(JDKNET_PACKAGES_FILE)
 867 
 868 # Create file with javadoc options in it
 869 $(JDKNET_OPTIONS_FILE):
 870         $(prep-target)
 871         @($(call OptionOnly,$(COMMON_JAVADOCFLAGS))                     ; \
 872         $(call OptionPair,-sourcepath,$(RELEASEDOCS_SOURCEPATH))      ; \
 873         $(call OptionPair,-encoding,ascii)                            ; \
 874         $(call OptionOnly,-nodeprecatedlist)                          ; \
 875         $(call OptionPair,-doctitle,$(JDKNET_DOCTITLE))           ; \
 876         $(call OptionPair,-windowtitle,$(JDKNET_WINDOWTITLE) $(DRAFT_WINTITLE));\
 877         $(call OptionPair,-header,$(JDKNET_HEADER)$(DRAFT_HEADER)); \
 878         $(call OptionPair,-bottom,$(JDKNET_BOTTOM)$(DRAFT_BOTTOM)); \
 879         $(call OptionTrip,-linkoffline,$(JDKNET2COREAPI),$(COREAPI_DOCSDIR)/); \
 880         ) >> $@
 881 
 882 # Create a file with the package names in it
 883 $(JDKNET_PACKAGES_FILE): $(DIRECTORY_CACHE) $(call PackageDependencies,$(JDKNET_PKGS))
 884         $(prep-target)
 885         $(call PackageFilter,$(JDKNET_PKGS))
 886 
 887 #############################################################
 888 #
 889 # httpserverdocs
 890 #
 891 
 892 ALL_OTHER_TARGETS += httpserverdocs
 893 
 894 HTTPSERVER_DOCDIR      := $(JRE_API_DOCSDIR)/net/httpserver/spec
 895 HTTPSERVER2COREAPI     := ../../../$(JDKJRE2COREAPI)
 896 HTTPSERVER_DOCTITLE    := Java$(TRADEMARK) HTTP Server
 897 HTTPSERVER_WINDOWTITLE := Java HTTP Server
 898 HTTPSERVER_HEADER      := <strong>Java HTTP Server</strong>
 899 HTTPSERVER_BOTTOM      := $(call CommonBottom,$(HTTPSERVER_FIRST_COPYRIGHT_YEAR))
 900 # HTTPSERVER_PKGS is located in NON_CORE_PKGS.gmk
 901 
 902 HTTPSERVER_INDEX_HTML    = $(HTTPSERVER_DOCDIR)/index.html
 903 HTTPSERVER_OPTIONS_FILE  = $(DOCSTMPDIR)/httpserver.options
 904 HTTPSERVER_PACKAGES_FILE = $(DOCSTMPDIR)/httpserver.packages
 905 
 906 httpserverdocs: $(HTTPSERVER_INDEX_HTML)
 907