--- a/jdk/make/com/sun/jmx/Makefile Mon Mar 09 09:56:58 2009 -0400
+++ b/jdk/make/com/sun/jmx/Makefile Thu Mar 12 15:36:14 2009 +0100
@@ -41,7 +41,15 @@
# Note : some targets are double colon rules and some single colon rules
# within common included gmk files : that is why the following for loop
# has been duplicated.
-SUBDIRS = snmp
+
+# When building the openjdk, build snmp only if importing binary plugs,
+ifdef OPENJDK
+ ifeq ($(IMPORT_BINARY_PLUGS),true)
+ SUBDIRS = snmp
+ endif
+else
+ SUBDIRS = snmp
+endif
all build:
$(SUBDIRS-loop)