diff -r 0c19e3499374 -r 37fdbed8178f jdk/make/sun/management/Makefile --- a/jdk/make/sun/management/Makefile Mon Mar 09 09:56:58 2009 -0400 +++ b/jdk/make/sun/management/Makefile Thu Mar 12 15:36:14 2009 +0100 @@ -35,7 +35,16 @@ all build:: properties aclfile jmxremotefiles -SUBDIRS = snmp jmxremote +# 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 +SUBDIRS += jmxremote + all build clean clobber:: $(SUBDIRS-loop)