make/Makefile
Index Unified diffs Context diffs Sdiffs Wdiffs Patch New Old Previous File Next File jdk Sdiff make

make/Makefile

Print this page


   1 #
   2 # Copyright (c) 1995, 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 #
  27 # Makefile for building and packaging all of the JDK and the JRE. See
  28 # also included files.
  29 #
  30 
  31 BUILDDIR=.

  32 include $(BUILDDIR)/common/Defs.gmk
  33 
  34 #
  35 # Make sure we are clear what the default target is
  36 #
  37 default_target: all
  38 
  39 #
  40 # Check target
  41 #
  42 
  43 check: variable_check
  44 
  45 #
  46 # Help target
  47 #
  48 help: intro_help target_help variable_help notes_help examples_help
  49 
  50 # Intro help message
  51 intro_help:


 243 
 244 include $(BUILDDIR)/common/Subdirs.gmk
 245 
 246 all build::
 247         $(SUBDIRS-loop)
 248 
 249 clean clobber::
 250         $(RM) -r $(OUTPUTDIR)
 251 
 252 #
 253 # Docs
 254 #
 255 OTHERSUBDIRS = docs
 256 docs:: sanity-docs post-sanity-docs
 257         $(OTHERSUBDIRS-loop)
 258 
 259 #
 260 # Release engineering targets.
 261 #
 262 include $(BUILDDIR)/common/Release.gmk



 263 
 264 #
 265 # Cscope targets.
 266 #
 267 include $(BUILDDIR)/common/Cscope.gmk
 268 
 269 #
 270 # Sanity checks.
 271 #
 272 include $(BUILDDIR)/common/Sanity.gmk
 273 
 274 $(OUTPUTDIR) $(TEMPDIR):
 275         $(MKDIR) -p $@
 276 
 277 # this should be the last rule in this file:
 278 all::
 279         @if [ -r $(WARNING_FILE) ]; then \
 280           $(CAT) $(WARNING_FILE) ; \
 281         fi
 282         @$(ECHO) $(PLATFORM) $(ARCH) $(RELEASE) build finished: $(shell $(DATE) '+%y-%m-%d %H:%M')


   1 #
   2 # Copyright (c) 1995, 2012, 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 #
  27 # Makefile for building and packaging all of the JDK and the JRE. See
  28 # also included files.
  29 #
  30 
  31 BUILDDIR=.
  32 
  33 include $(BUILDDIR)/common/Defs.gmk
  34 
  35 #
  36 # Make sure we are clear what the default target is
  37 #
  38 default_target: all
  39 
  40 #
  41 # Check target
  42 #
  43 
  44 check: variable_check
  45 
  46 #
  47 # Help target
  48 #
  49 help: intro_help target_help variable_help notes_help examples_help
  50 
  51 # Intro help message
  52 intro_help:


 244 
 245 include $(BUILDDIR)/common/Subdirs.gmk
 246 
 247 all build::
 248         $(SUBDIRS-loop)
 249 
 250 clean clobber::
 251         $(RM) -r $(OUTPUTDIR)
 252 
 253 #
 254 # Docs
 255 #
 256 OTHERSUBDIRS = docs
 257 docs:: sanity-docs post-sanity-docs
 258         $(OTHERSUBDIRS-loop)
 259 
 260 #
 261 # Release engineering targets.
 262 #
 263 include $(BUILDDIR)/common/Release.gmk
 264 ifeq ($(HAS_CUSTOM_MAKE),1)
 265   include $(CUSTOM_MAKE_DIR)/Release.gmk
 266 endif
 267 
 268 #
 269 # Cscope targets.
 270 #
 271 include $(BUILDDIR)/common/Cscope.gmk
 272 
 273 #
 274 # Sanity checks.
 275 #
 276 include $(BUILDDIR)/common/Sanity.gmk
 277 
 278 $(OUTPUTDIR) $(TEMPDIR):
 279         $(MKDIR) -p $@
 280 
 281 # this should be the last rule in this file:
 282 all::
 283         @if [ -r $(WARNING_FILE) ]; then \
 284           $(CAT) $(WARNING_FILE) ; \
 285         fi
 286         @$(ECHO) $(PLATFORM) $(ARCH) $(RELEASE) build finished: $(shell $(DATE) '+%y-%m-%d %H:%M')


make/Makefile
Index Unified diffs Context diffs Sdiffs Wdiffs Patch New Old Previous File Next File