make/windows/build.make

Print this page


   1 #
   2 # Copyright (c) 1998, 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.
   8 #
   9 # This code is distributed in the hope that it will be useful, but WITHOUT
  10 # ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
  11 # FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
  12 # version 2 for more details (a copy is included in the LICENSE file that
  13 # accompanied this code).
  14 #
  15 # You should have received a copy of the GNU General Public License version
  16 # 2 along with this work; if not, write to the Free Software Foundation,
  17 # Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
  18 #
  19 # Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
  20 # or visit www.oracle.com if you need additional information or have any
  21 # questions.
  22 #


 218 BUILD_WIN_SA = 0
 219 checkSA::
 220         @echo     Not building SA:  ARCH = ia64
 221 
 222 !endif  # ! "$(BUILD_WIN_SA)" != "1"
 223 
 224 #########################################################################
 225 
 226 defaultTarget: product
 227 
 228 # The product or release build is an optimized build, and is the default
 229 
 230 # note that since all the build targets depend on local.make that BUILDARCH
 231 # and Platform_arch and Platform_arch_model will get set in local.make
 232 # and there is no need to pass them thru here on the command line
 233 #
 234 product release optimized: checks $(variantDir) $(variantDir)\local.make sanity
 235         cd $(variantDir)
 236         nmake -nologo -f $(WorkSpace)\make\windows\makefiles\top.make BUILD_FLAVOR=product ARCH=$(ARCH)
 237 
 238 # The debug or jvmg (all the same thing) is an optional build
 239 debug jvmg: checks $(variantDir) $(variantDir)\local.make sanity
 240         cd $(variantDir)
 241         nmake -nologo -f $(WorkSpace)\make\windows\makefiles\top.make BUILD_FLAVOR=debug ARCH=$(ARCH)
 242 fastdebug: checks $(variantDir) $(variantDir)\local.make sanity
 243         cd $(variantDir)
 244         nmake -nologo -f $(WorkSpace)\make\windows\makefiles\top.make BUILD_FLAVOR=fastdebug ARCH=$(ARCH)
 245 
 246 develop: checks $(variantDir) $(variantDir)\local.make sanity
 247         cd $(variantDir)
 248         nmake -nologo -f $(WorkSpace)\make\windows\makefiles\top.make BUILD_FLAVOR=product DEVELOP=1 ARCH=$(ARCH)
 249 
 250 # target to create just the directory structure
 251 tree: checks $(variantDir) $(variantDir)\local.make sanity
 252         mkdir $(variantDir)\product
 253         mkdir $(variantDir)\debug
 254         mkdir $(variantDir)\fastdebug
 255 
 256 sanity:
 257         @ echo;
 258         @ cd $(variantDir)
 259         @ nmake -nologo -f $(WorkSpace)\make\windows\makefiles\sanity.make
 260         @ cd ..
 261         @ echo;
 262 
 263 clean: checkVariant
 264         - rm -r -f $(variantDir)
 265 
 266 $(variantDir):
 267         mkdir $(variantDir)
 268 
 269 $(variantDir)\local.make: checks


   1 #
   2 # Copyright (c) 1998, 2013, 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.
   8 #
   9 # This code is distributed in the hope that it will be useful, but WITHOUT
  10 # ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
  11 # FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
  12 # version 2 for more details (a copy is included in the LICENSE file that
  13 # accompanied this code).
  14 #
  15 # You should have received a copy of the GNU General Public License version
  16 # 2 along with this work; if not, write to the Free Software Foundation,
  17 # Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
  18 #
  19 # Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
  20 # or visit www.oracle.com if you need additional information or have any
  21 # questions.
  22 #


 218 BUILD_WIN_SA = 0
 219 checkSA::
 220         @echo     Not building SA:  ARCH = ia64
 221 
 222 !endif  # ! "$(BUILD_WIN_SA)" != "1"
 223 
 224 #########################################################################
 225 
 226 defaultTarget: product
 227 
 228 # The product or release build is an optimized build, and is the default
 229 
 230 # note that since all the build targets depend on local.make that BUILDARCH
 231 # and Platform_arch and Platform_arch_model will get set in local.make
 232 # and there is no need to pass them thru here on the command line
 233 #
 234 product release optimized: checks $(variantDir) $(variantDir)\local.make sanity
 235         cd $(variantDir)
 236         nmake -nologo -f $(WorkSpace)\make\windows\makefiles\top.make BUILD_FLAVOR=product ARCH=$(ARCH)
 237 
 238 # The debug build is an optional build
 239 debug: checks $(variantDir) $(variantDir)\local.make sanity
 240         cd $(variantDir)
 241         nmake -nologo -f $(WorkSpace)\make\windows\makefiles\top.make BUILD_FLAVOR=debug ARCH=$(ARCH)
 242 fastdebug: checks $(variantDir) $(variantDir)\local.make sanity
 243         cd $(variantDir)
 244         nmake -nologo -f $(WorkSpace)\make\windows\makefiles\top.make BUILD_FLAVOR=fastdebug ARCH=$(ARCH)
 245 




 246 # target to create just the directory structure
 247 tree: checks $(variantDir) $(variantDir)\local.make sanity
 248         mkdir $(variantDir)\product
 249         mkdir $(variantDir)\debug
 250         mkdir $(variantDir)\fastdebug
 251 
 252 sanity:
 253         @ echo;
 254         @ cd $(variantDir)
 255         @ nmake -nologo -f $(WorkSpace)\make\windows\makefiles\sanity.make
 256         @ cd ..
 257         @ echo;
 258 
 259 clean: checkVariant
 260         - rm -r -f $(variantDir)
 261 
 262 $(variantDir):
 263         mkdir $(variantDir)
 264 
 265 $(variantDir)\local.make: checks