< prev index next >

make/lib/Lib-java.desktop.gmk

Print this page




  88 
  89   $(BUILD_LIBJSOUND): $(call FindLib, java.base, java)
  90 
  91   TARGETS += $(BUILD_LIBJSOUND)
  92 
  93 endif
  94 
  95 ################################################################################
  96 # Create the macosx specific osxapp and osx libraries
  97 
  98 ifeq ($(OPENJDK_TARGET_OS), macosx)
  99   LIBOSXAPP_SRC := $(TOPDIR)/src/java.desktop/macosx/native/libosxapp
 100 
 101   $(eval $(call SetupJdkLibrary, BUILD_LIBOSXAPP, \
 102       NAME := osxapp, \
 103       SRC := $(LIBOSXAPP_SRC), \
 104       OPTIMIZATION := LOW, \
 105       CFLAGS := $(CFLAGS_JDKLIB) \
 106           $(addprefix -I, $(LIBOSXAPP_SRC)) \
 107           -I$(SUPPORT_OUTPUTDIR)/headers/java.desktop, \
 108       DISABLED_WARNINGS_clang := objc-method-access objc-root-class, \

 109       LDFLAGS := $(LDFLAGS_JDKLIB) \
 110           $(call SET_SHARED_LIBRARY_ORIGIN), \
 111       LIBS := \
 112           -framework Accelerate \
 113           -framework ApplicationServices \
 114           -framework AudioToolbox \
 115           -framework Carbon \
 116           -framework Cocoa \
 117           -framework Security \
 118           -framework ExceptionHandling \
 119           -framework JavaNativeFoundation \
 120           -framework JavaRuntimeSupport \
 121           -framework OpenGL \
 122           -framework IOSurface \
 123           -framework QuartzCore, \
 124   ))
 125 
 126   TARGETS += $(BUILD_LIBOSXAPP)
 127 
 128   ##############################################################################




  88 
  89   $(BUILD_LIBJSOUND): $(call FindLib, java.base, java)
  90 
  91   TARGETS += $(BUILD_LIBJSOUND)
  92 
  93 endif
  94 
  95 ################################################################################
  96 # Create the macosx specific osxapp and osx libraries
  97 
  98 ifeq ($(OPENJDK_TARGET_OS), macosx)
  99   LIBOSXAPP_SRC := $(TOPDIR)/src/java.desktop/macosx/native/libosxapp
 100 
 101   $(eval $(call SetupJdkLibrary, BUILD_LIBOSXAPP, \
 102       NAME := osxapp, \
 103       SRC := $(LIBOSXAPP_SRC), \
 104       OPTIMIZATION := LOW, \
 105       CFLAGS := $(CFLAGS_JDKLIB) \
 106           $(addprefix -I, $(LIBOSXAPP_SRC)) \
 107           -I$(SUPPORT_OUTPUTDIR)/headers/java.desktop, \
 108       DISABLED_WARNINGS_clang := objc-method-access objc-root-class \
 109           deprecated-declarations, \
 110       LDFLAGS := $(LDFLAGS_JDKLIB) \
 111           $(call SET_SHARED_LIBRARY_ORIGIN), \
 112       LIBS := \
 113           -framework Accelerate \
 114           -framework ApplicationServices \
 115           -framework AudioToolbox \
 116           -framework Carbon \
 117           -framework Cocoa \
 118           -framework Security \
 119           -framework ExceptionHandling \
 120           -framework JavaNativeFoundation \
 121           -framework JavaRuntimeSupport \
 122           -framework OpenGL \
 123           -framework IOSurface \
 124           -framework QuartzCore, \
 125   ))
 126 
 127   TARGETS += $(BUILD_LIBOSXAPP)
 128 
 129   ##############################################################################


< prev index next >