make/lib/Lib-java.prefs.gmk
branchihse-jdk-library-branch
changeset 56433 c3cf838aa2da
parent 56421 92bea2b7732a
child 56454 82c3ae69914f
equal deleted inserted replaced
56421:92bea2b7732a 56433:c3cf838aa2da
    25 
    25 
    26 include LibCommon.gmk
    26 include LibCommon.gmk
    27 
    27 
    28 ################################################################################
    28 ################################################################################
    29 
    29 
       
    30 # libprefs on macosx do not use the unix code, so we need to specify this explicitly.
    30 ifeq ($(OPENJDK_TARGET_OS), macosx)
    31 ifeq ($(OPENJDK_TARGET_OS), macosx)
    31   LIBPREF_SRC_DIRS := $(TOPDIR)/src/java.prefs/macosx/native/libprefs
    32   LIBPREF_SRC_DIRS := $(TOPDIR)/src/java.prefs/macosx/native/libprefs
    32 else
    33 else
    33   LIBPREF_SRC_DIRS := $(TOPDIR)/src/java.prefs/$(OPENJDK_TARGET_OS_TYPE)/native/libprefs
    34   LIBPREF_SRC_DIRS := $(TOPDIR)/src/java.prefs/$(OPENJDK_TARGET_OS_TYPE)/native/libprefs
    34 endif
    35 endif
    35 
    36 
    36 $(eval $(call SetupJdkLibrary, BUILD_LIBPREFS, \
    37 $(eval $(call SetupJdkLibrary, BUILD_LIBPREFS, \
    37     NAME := prefs, \
    38     NAME := prefs, \
    38     SRC := $(LIBPREF_SRC_DIRS), \
    39     SRC := $(LIBPREF_SRC_DIRS), \
    39     OPTIMIZATION := HIGH, \
    40     OPTIMIZATION := HIGH, \
    40     CFLAGS := $(CFLAGS_JDKLIB) $(addprefix -I, $(LIBPREF_SRC_DIRS)) \
    41     CFLAGS := $(CFLAGS_JDKLIB), \
    41         $(LIBJAVA_HEADER_FLAGS), \
    42     HEADER_FLAGS := $(LIBJAVA_HEADER_FLAGS), \
    42     LDFLAGS := $(LDFLAGS_JDKLIB) \
    43     LDFLAGS := $(LDFLAGS_JDKLIB) \
    43         $(call SET_SHARED_LIBRARY_ORIGIN), \
    44         $(call SET_SHARED_LIBRARY_ORIGIN), \
    44     LIBS_unix := -ljvm, \
    45     LIBS_unix := -ljvm, \
    45     LIBS_linux := -ljava, \
    46     LIBS_linux := -ljava, \
    46     LIBS_solaris := -ljava, \
    47     LIBS_solaris := -ljava, \