jdk/make/javax/swing/plaf/Makefile

Print this page
rev 1217 : Make building the Nimbus L'n'F optional using the DISABLE_NIMBUS variable.

@@ -32,11 +32,13 @@
 #
 # Files
 #
 include FILES.gmk
 AUTO_FILES_JAVA_DIRS = javax/swing/plaf sun/swing com/sun/java/swing/plaf
-SUBDIRS = nimbus
+ifndef DISABLE_NIMBUS
+  SUBDIRS = nimbus
+endif
 
 # Nimbus is handled in its own directory
 AUTO_JAVA_PRUNE = nimbus
 
 ifeq ($(PLATFORM), windows)