comparison make/common/shared/Sanity.gmk @ 1214:c06d30bd8c69

6841728: Make building the Nimbus L 'n' F optional (100054) Summary: Add DISABLE_NIMBUS variable to prevent Nimbus subdirs being built Reviewed-by: mr, ohair
author andrew
date Thu, 21 May 2009 16:29:58 +0100
parents 4b922e8fef3b
children 0c3ef2d612a4
comparison
equal deleted inserted replaced
18:88e2019bb525 19:2ab01b442a68
1500 1500
1501 ###################################################### 1501 ######################################################
1502 # JIBX_LIBS_PATH must be valid 1502 # JIBX_LIBS_PATH must be valid
1503 ###################################################### 1503 ######################################################
1504 sane-jibx: 1504 sane-jibx:
1505 ifdef DISABLE_NIMBUS
1506 $(call SanityWarning,Disabling Nimbus will remove public API in javax.swing.plaf.nimbus.)
1507 else
1505 @if [ ! -r $(subst \,/,$(JIBX_LIBS_PATH))/jibx-run.jar ]; then \ 1508 @if [ ! -r $(subst \,/,$(JIBX_LIBS_PATH))/jibx-run.jar ]; then \
1506 $(ECHO) "ERROR: You do not have access to valid JIBX library files. \n" \ 1509 $(ECHO) "ERROR: You do not have access to valid JIBX library files. \n" \
1507 " Please check your access to \n" \ 1510 " Please check your access to \n" \
1508 " $(subst \,/,$(JIBX_LIBS_PATH))/jibx-run.jar \n" \ 1511 " $(subst \,/,$(JIBX_LIBS_PATH))/jibx-run.jar \n" \
1509 " and/or check your value of ALT_JDK_DEVTOOLS_DIR, ALT_JIBX_LIBS_PATH \n" \ 1512 " and/or check your value of ALT_JDK_DEVTOOLS_DIR, ALT_JIBX_LIBS_PATH \n" \
1510 "" >> $(ERROR_FILE) ; \ 1513 "" >> $(ERROR_FILE) ; \
1511 fi 1514 fi
1515 endif
1512 1516
1513 ###################################################### 1517 ######################################################
1514 # MOZILLA_HEADERS_PATH must be valid 1518 # MOZILLA_HEADERS_PATH must be valid
1515 ###################################################### 1519 ######################################################
1516 sane-mozilla: 1520 sane-mozilla: