jdk/make/com/sun/jmx/Makefile
changeset 2285 37fdbed8178f
parent 2 90ce3da70b43
child 4917 c98da2209f8c
--- 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)