< prev index next >

make/lib/Lib-java.base.gmk

Print this page




  39 ################################################################################
  40 # Create the network library
  41 
  42 $(eval $(call SetupJdkLibrary, BUILD_LIBNET, \
  43     NAME := net, \
  44     OPTIMIZATION := LOW, \
  45     CFLAGS := $(CFLAGS_JDKLIB), \
  46     DISABLED_WARNINGS_gcc := format-nonliteral unused-function, \
  47     DISABLED_WARNINGS_clang := parentheses-equality constant-logical-operand \
  48         format-nonliteral undef, \
  49     DISABLED_WARNINGS_microsoft := 4244 4047 4133 4996, \
  50     DISABLED_WARNINGS_solstudio := E_ARG_INCOMPATIBLE_WITH_ARG_L, \
  51     LDFLAGS := $(LDFLAGS_JDKLIB) \
  52         $(call SET_SHARED_LIBRARY_ORIGIN), \
  53     LDFLAGS_windows := -delayload:secur32.dll -delayload:iphlpapi.dll, \
  54     LIBS_unix := -ljvm -ljava, \
  55     LIBS_linux := $(LIBDL) -lpthread, \
  56     LIBS_solaris := -lnsl -lsocket $(LIBDL), \
  57     LIBS_aix := $(LIBDL),\
  58     LIBS_windows := ws2_32.lib jvm.lib secur32.lib iphlpapi.lib winhttp.lib \
  59         delayimp.lib $(WIN_JAVA_LIB) advapi32.lib, \
  60     LIBS_macosx := -framework CoreFoundation -framework CoreServices, \
  61 ))
  62 
  63 $(BUILD_LIBNET): $(BUILD_LIBJAVA)
  64 
  65 TARGETS += $(BUILD_LIBNET)
  66 
  67 ################################################################################
  68 # Create the nio library
  69 
  70 $(eval $(call SetupJdkLibrary, BUILD_LIBNIO, \
  71     NAME := nio, \
  72     OPTIMIZATION := HIGH, \
  73     WARNINGS_AS_ERRORS_xlc := false, \
  74     CFLAGS := $(CFLAGS_JDKLIB), \
  75     DISABLED_WARNINGS_gcc := undef, \
  76     DISABLED_WARNINGS_clang := undef, \
  77     EXTRA_HEADER_DIRS := \
  78         libnio/ch \
  79         libnio/fs \




  39 ################################################################################
  40 # Create the network library
  41 
  42 $(eval $(call SetupJdkLibrary, BUILD_LIBNET, \
  43     NAME := net, \
  44     OPTIMIZATION := LOW, \
  45     CFLAGS := $(CFLAGS_JDKLIB), \
  46     DISABLED_WARNINGS_gcc := format-nonliteral unused-function, \
  47     DISABLED_WARNINGS_clang := parentheses-equality constant-logical-operand \
  48         format-nonliteral undef, \
  49     DISABLED_WARNINGS_microsoft := 4244 4047 4133 4996, \
  50     DISABLED_WARNINGS_solstudio := E_ARG_INCOMPATIBLE_WITH_ARG_L, \
  51     LDFLAGS := $(LDFLAGS_JDKLIB) \
  52         $(call SET_SHARED_LIBRARY_ORIGIN), \
  53     LDFLAGS_windows := -delayload:secur32.dll -delayload:iphlpapi.dll, \
  54     LIBS_unix := -ljvm -ljava, \
  55     LIBS_linux := $(LIBDL) -lpthread, \
  56     LIBS_solaris := -lnsl -lsocket $(LIBDL), \
  57     LIBS_aix := $(LIBDL),\
  58     LIBS_windows := ws2_32.lib jvm.lib secur32.lib iphlpapi.lib winhttp.lib \
  59         urlmon.lib delayimp.lib $(WIN_JAVA_LIB) advapi32.lib, \
  60     LIBS_macosx := -framework CoreFoundation -framework CoreServices, \
  61 ))
  62 
  63 $(BUILD_LIBNET): $(BUILD_LIBJAVA)
  64 
  65 TARGETS += $(BUILD_LIBNET)
  66 
  67 ################################################################################
  68 # Create the nio library
  69 
  70 $(eval $(call SetupJdkLibrary, BUILD_LIBNIO, \
  71     NAME := nio, \
  72     OPTIMIZATION := HIGH, \
  73     WARNINGS_AS_ERRORS_xlc := false, \
  74     CFLAGS := $(CFLAGS_JDKLIB), \
  75     DISABLED_WARNINGS_gcc := undef, \
  76     DISABLED_WARNINGS_clang := undef, \
  77     EXTRA_HEADER_DIRS := \
  78         libnio/ch \
  79         libnio/fs \


< prev index next >