comparison 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
comparison
equal deleted inserted replaced
0:aaaf2bf83179 1:111a6d753d5a
33 MGMT_LIBDIR = $(LIBDIR)/management 33 MGMT_LIBDIR = $(LIBDIR)/management
34 MGMT_LIB_SRC = $(SHARE_SRC)/lib/management 34 MGMT_LIB_SRC = $(SHARE_SRC)/lib/management
35 35
36 all build:: properties aclfile jmxremotefiles 36 all build:: properties aclfile jmxremotefiles
37 37
38 SUBDIRS = snmp jmxremote 38 # When building the openjdk, build snmp only if importing binary plugs,
39 ifdef OPENJDK
40 ifeq ($(IMPORT_BINARY_PLUGS),true)
41 SUBDIRS = snmp
42 endif
43 else
44 SUBDIRS = snmp
45 endif
46 SUBDIRS += jmxremote
47
39 all build clean clobber:: 48 all build clean clobber::
40 $(SUBDIRS-loop) 49 $(SUBDIRS-loop)
41 50
42 properties: $(MGMT_LIBDIR)/management.properties 51 properties: $(MGMT_LIBDIR)/management.properties
43 52