make/lib/Lib-jdk.management.gmk
changeset 53683 48ff68e2fe5c
parent 51853 ec62d6cab037
child 58908 73bb9c4002cc
equal deleted inserted replaced
53682:e30211561a17 53683:48ff68e2fe5c
    28 # Hook to include the corresponding custom file, if present.
    28 # Hook to include the corresponding custom file, if present.
    29 $(eval $(call IncludeCustomExtension, lib/Lib-jdk.management.gmk))
    29 $(eval $(call IncludeCustomExtension, lib/Lib-jdk.management.gmk))
    30 
    30 
    31 ################################################################################
    31 ################################################################################
    32 
    32 
    33 ifeq ($(OPENJDK_TARGET_OS), windows)
    33 ifeq ($(call isTargetOs, windows), true)
    34   # In (at least) VS2013 and later, -DPSAPI_VERSION=1 is needed to generate
    34   # In (at least) VS2013 and later, -DPSAPI_VERSION=1 is needed to generate
    35   # a binary that is compatible with windows versions older than 7/2008R2.
    35   # a binary that is compatible with windows versions older than 7/2008R2.
    36   # See MSDN documentation for GetProcessMemoryInfo for more information.
    36   # See MSDN documentation for GetProcessMemoryInfo for more information.
    37   LIBMANAGEMENT_EXT_CFLAGS += -DPSAPI_VERSION=1
    37   LIBMANAGEMENT_EXT_CFLAGS += -DPSAPI_VERSION=1
    38 endif
    38 endif
    39 
    39 
    40 LIBMANAGEMENT_EXT_OPTIMIZATION := HIGH
    40 LIBMANAGEMENT_EXT_OPTIMIZATION := HIGH
    41 ifneq ($(findstring $(OPENJDK_TARGET_OS), solaris linux), )
    41 ifeq ($(call isTargetOs, solaris linux), true)
    42   ifeq ($(COMPILE_WITH_DEBUG_SYMBOLS), true)
    42   ifeq ($(COMPILE_WITH_DEBUG_SYMBOLS), true)
    43     LIBMANAGEMENT_EXT_OPTIMIZATION := LOW
    43     LIBMANAGEMENT_EXT_OPTIMIZATION := LOW
    44   endif
    44   endif
    45 endif
    45 endif
    46 
    46 
    63 
    63 
    64 ################################################################################
    64 ################################################################################
    65 
    65 
    66 # Include custom extension post hook
    66 # Include custom extension post hook
    67 $(eval $(call IncludeCustomExtension, lib/Lib-jdk.management-post.gmk))
    67 $(eval $(call IncludeCustomExtension, lib/Lib-jdk.management-post.gmk))
    68