jdk/make/sun/management/Makefile
changeset 2285 37fdbed8178f
parent 2 90ce3da70b43
child 4665 d14dc3d9e1fa
--- 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)