make/lib/NioLibraries.gmk

Print this page
rev 12244 : 8129632: (fs) Files.probeContentType returns null on Mac OS X
Summary: Append a Uniform Type Identifier-based FileType Detector for Mac OS X
Reviewed-by: XXX


  64     LIBRARY := nio, \
  65     OUTPUT_DIR := $(INSTALL_LIBRARIES_HERE), \
  66     SRC := $(BUILD_LIBNIO_SRC), \
  67     EXCLUDE_FILES := $(BUILD_LIBNIO_EXFILES), \
  68     OPTIMIZATION := HIGH, \
  69     CFLAGS := $(CFLAGS_JDKLIB) \
  70         $(BUILD_LIBNIO_CFLAGS), \
  71     DISABLED_WARNINGS_gcc := type-limits, \
  72     DISABLED_WARNINGS_clang := tautological-compare, \
  73     DISABLED_WARNINGS_microsoft := 4244 4996, \
  74     MAPFILE := $(BUILD_LIBNIO_MAPFILE), \
  75     LDFLAGS := $(LDFLAGS_JDKLIB) $(BUILD_LIBNIO_LDFLAGS) \
  76         $(call SET_SHARED_LIBRARY_ORIGIN), \
  77     LDFLAGS_SUFFIX_linux := -ljava -lnet -lpthread $(LIBDL), \
  78     LDFLAGS_SUFFIX_aix := -ljava -lnet $(LIBDL),\
  79     LDFLAGS_SUFFIX_solaris := -ljvm -lsocket -lposix4 $(LIBDL) \
  80         -lsendfile -ljava -lnet -lc, \
  81     LDFLAGS_SUFFIX_windows := jvm.lib ws2_32.lib $(WIN_JAVA_LIB) \
  82         $(SUPPORT_OUTPUTDIR)/native/$(MODULE)/libnet/net.lib \
  83         advapi32.lib, \
  84     LDFLAGS_SUFFIX_macosx := -ljava -lnet -pthread -framework CoreFoundation, \
  85     LDFLAGS_SUFFIX :=, \
  86     VERSIONINFO_RESOURCE := $(GLOBAL_VERSION_INFO_RESOURCE), \
  87     RC_FLAGS := $(RC_FLAGS) \
  88         -D "JDK_FNAME=nio.dll" \
  89         -D "JDK_INTERNAL_NAME=nio" \
  90         -D "JDK_FTYPE=0x2L", \
  91     OBJECT_DIR := $(SUPPORT_OUTPUTDIR)/native/$(MODULE)/libnio, \
  92     DEBUG_SYMBOLS := $(DEBUG_ALL_BINARIES)))
  93 
  94 TARGETS += $(BUILD_LIBNIO)
  95 
  96 $(BUILD_LIBNIO): $(BUILD_LIBNET)


  64     LIBRARY := nio, \
  65     OUTPUT_DIR := $(INSTALL_LIBRARIES_HERE), \
  66     SRC := $(BUILD_LIBNIO_SRC), \
  67     EXCLUDE_FILES := $(BUILD_LIBNIO_EXFILES), \
  68     OPTIMIZATION := HIGH, \
  69     CFLAGS := $(CFLAGS_JDKLIB) \
  70         $(BUILD_LIBNIO_CFLAGS), \
  71     DISABLED_WARNINGS_gcc := type-limits, \
  72     DISABLED_WARNINGS_clang := tautological-compare, \
  73     DISABLED_WARNINGS_microsoft := 4244 4996, \
  74     MAPFILE := $(BUILD_LIBNIO_MAPFILE), \
  75     LDFLAGS := $(LDFLAGS_JDKLIB) $(BUILD_LIBNIO_LDFLAGS) \
  76         $(call SET_SHARED_LIBRARY_ORIGIN), \
  77     LDFLAGS_SUFFIX_linux := -ljava -lnet -lpthread $(LIBDL), \
  78     LDFLAGS_SUFFIX_aix := -ljava -lnet $(LIBDL),\
  79     LDFLAGS_SUFFIX_solaris := -ljvm -lsocket -lposix4 $(LIBDL) \
  80         -lsendfile -ljava -lnet -lc, \
  81     LDFLAGS_SUFFIX_windows := jvm.lib ws2_32.lib $(WIN_JAVA_LIB) \
  82         $(SUPPORT_OUTPUTDIR)/native/$(MODULE)/libnet/net.lib \
  83         advapi32.lib, \
  84     LDFLAGS_SUFFIX_macosx := -ljava -lnet -pthread -framework CoreFoundation -framework CoreServices, \
  85     LDFLAGS_SUFFIX :=, \
  86     VERSIONINFO_RESOURCE := $(GLOBAL_VERSION_INFO_RESOURCE), \
  87     RC_FLAGS := $(RC_FLAGS) \
  88         -D "JDK_FNAME=nio.dll" \
  89         -D "JDK_INTERNAL_NAME=nio" \
  90         -D "JDK_FTYPE=0x2L", \
  91     OBJECT_DIR := $(SUPPORT_OUTPUTDIR)/native/$(MODULE)/libnio, \
  92     DEBUG_SYMBOLS := $(DEBUG_ALL_BINARIES)))
  93 
  94 TARGETS += $(BUILD_LIBNIO)
  95 
  96 $(BUILD_LIBNIO): $(BUILD_LIBNET)