diff make/sun/management/Makefile @ 955:fa87de6b1ac3

6661448: Make the SNMP agent optional when OPENJDK=true and IMPORT_BINARY_PLUGS=false Reviewed-by: mchung, ohair
author dfuchs
date Thu, 12 Mar 2009 15:36:14 +0100
parents 37a05a11f281
children d30f2e22fffd
line wrap: on
line diff
--- a/make/sun/management/Makefile	Mon Mar 09 09:56:58 2009 -0400
+++ b/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)