jdk/make/common/shared/Sanity.gmk
changeset 8792 cd1dceb2d665
parent 8083 6552a84fac3c
child 8793 a25480ff1a6b
equal deleted inserted replaced
8788:b98f18278dc4 8792:cd1dceb2d665
     1 #
     1 #
     2 # Copyright (c) 2005, 2010, Oracle and/or its affiliates. All rights reserved.
     2 # Copyright (c) 2005, 2011, Oracle and/or its affiliates. All rights reserved.
     3 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     3 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     4 #
     4 #
     5 # This code is free software; you can redistribute it and/or modify it
     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
     6 # under the terms of the GNU General Public License version 2 only, as
     7 # published by the Free Software Foundation.  Oracle designates this
     7 # published by the Free Software Foundation.  Oracle designates this
   218 	sane-cacerts \
   218 	sane-cacerts \
   219 	sane-alsa-headers \
   219 	sane-alsa-headers \
   220 	sane-ant_version \
   220 	sane-ant_version \
   221 	sane-zip_version \
   221 	sane-zip_version \
   222 	sane-unzip_version \
   222 	sane-unzip_version \
   223  	sane-msvcrt_path \
   223 	sane-msvcrt_path \
   224         sane-freetype \
   224         sane-freetype \
   225         sane-build_modules
   225         sane-build_modules
   226 
   226 
   227 ######################################################
   227 ######################################################
   228 # check for COPYRIGHT_YEAR variable
   228 # check for COPYRIGHT_YEAR variable
   278 	@if [ "$(ARCH_DATA_MODEL)" != 32 -a "$(ARCH_DATA_MODEL)" != 64 ]; then \
   278 	@if [ "$(ARCH_DATA_MODEL)" != 32 -a "$(ARCH_DATA_MODEL)" != 64 ]; then \
   279 	    $(ECHO) "ERROR: The setting of ARCH_DATA_MODEL must be 32 or 64.\n" \
   279 	    $(ECHO) "ERROR: The setting of ARCH_DATA_MODEL must be 32 or 64.\n" \
   280 	      "      $(YOU_ARE_USING) ARCH_DATA_MODEL=$(ARCH_DATA_MODEL). \n" \
   280 	      "      $(YOU_ARE_USING) ARCH_DATA_MODEL=$(ARCH_DATA_MODEL). \n" \
   281 	      "" >> $(ERROR_FILE) ; \
   281 	      "" >> $(ERROR_FILE) ; \
   282 	fi
   282 	fi
       
   283 ifdef BUILD_CLIENT_ONLY
       
   284 	@if [ "$(ARCH_DATA_MODEL)" != 32 ]; then \
       
   285 	   $(ECHO) "WARNING: You have requested BUILD_CLIENT_ONLY in a 64-bit build.\n" \
       
   286 	     "" >> $(WARNING_FILE) ; \
       
   287 	fi
       
   288 endif
   283 
   289 
   284 ######################################################
   290 ######################################################
   285 # Check the OS version (windows and linux have release name checks)
   291 # Check the OS version (windows and linux have release name checks)
   286 #   NOTE: OPENJDK explicitly does not check for OS release information.
   292 #   NOTE: OPENJDK explicitly does not check for OS release information.
   287 #         Unless we know for sure that it will not build somewhere, we cannot
   293 #         Unless we know for sure that it will not build somewhere, we cannot
  1325 		" 	  $(DXSDK_INCLUDE_PATH) \n" \
  1331 		" 	  $(DXSDK_INCLUDE_PATH) \n" \
  1326 		"      Please change your DirectX SDK to version 9 (Summer 2004 Update or newer).\n" \
  1332 		"      Please change your DirectX SDK to version 9 (Summer 2004 Update or newer).\n" \
  1327 	        "      Microsoft DirectX 9 SDK can be downloaded from the following location:\n" \
  1333 	        "      Microsoft DirectX 9 SDK can be downloaded from the following location:\n" \
  1328 	        "          http://msdn.microsoft.com/library/default.asp?url=/downloads/list/directx.asp\n" \
  1334 	        "          http://msdn.microsoft.com/library/default.asp?url=/downloads/list/directx.asp\n" \
  1329 		"      Or  http://www.microsoft.com/directx\n" \
  1335 		"      Or  http://www.microsoft.com/directx\n" \
  1330   		"" >> $(WARNING_FILE) ; \
  1336 		"" >> $(WARNING_FILE) ; \
  1331 	      fi \
  1337 	      fi \
  1332 	    fi \
  1338 	    fi \
  1333 	  fi \
  1339 	  fi \
  1334 	fi
  1340 	fi
  1335 endif
  1341 endif