< prev index next >

make/lib/Lib-jdk.accessibility.gmk

Print this page




  25 
  26 include LibCommon.gmk
  27 
  28 ################################################################################
  29 
  30 ifeq ($(OPENJDK_TARGET_OS), windows)
  31 
  32   ROOT_SRCDIR := $(TOPDIR)/src/jdk.accessibility/windows/native
  33 
  34   define SetupJavaDLL
  35     # Parameter 1 Suffix
  36     # Parameter 2 ACCESSBRIDGE_ARCH_ suffix
  37 
  38     $(call SetupJdkLibrary, BUILD_JAVAACCESSBRIDGE$1, \
  39         NAME := javaaccessbridge$1, \
  40         SRC := libjavaaccessbridge, \
  41         EXTRA_SRC := common, \
  42         OPTIMIZATION := LOW, \
  43         DISABLED_WARNINGS_microsoft := 4311 4302 4312, \
  44         CFLAGS := $(CFLAGS_JDKLIB) \
  45             -DACCESSBRIDGE_ARCH_$2, \
  46         EXTRA_HEADER_DIRS := \
  47             include/bridge \
  48             java.base:include \
  49             java.desktop:include, \
  50         LDFLAGS := $(LDFLAGS_JDKLIB), \
  51         LIBS := kernel32.lib user32.lib gdi32.lib \
  52             winspool.lib comdlg32.lib advapi32.lib shell32.lib \
  53             $(SUPPORT_OUTPUTDIR)/native/java.desktop/libjawt/jawt.lib \
  54             ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib, \
  55         VERSIONINFO_RESOURCE := $(ROOT_SRCDIR)/common/AccessBridgeStatusWindow.rc, \
  56     )
  57 
  58     $$(BUILD_JAVAACCESSBRIDGE$1): $(call FindStaticLib, java.desktop, jawt, /libjawt)
  59 
  60     TARGETS += $$(BUILD_JAVAACCESSBRIDGE$1)
  61   endef
  62 
  63   define SetupWinDLL
  64     # Parameter 1 Suffix
  65     # Parameter 2 ACCESSBRIDGE_ARCH_ suffix
  66     $(call SetupJdkLibrary, BUILD_WINDOWSACCESSBRIDGE$1, \
  67         NAME := windowsaccessbridge$1, \
  68         SRC := libwindowsaccessbridge, \
  69         EXTRA_SRC := common, \
  70         OPTIMIZATION := LOW, \
  71         DISABLED_WARNINGS_microsoft := 4311 4302 4312, \
  72         CFLAGS := $(CFLAGS_JDKLIB) \
  73             -DACCESSBRIDGE_ARCH_$2, \
  74         EXTRA_HEADER_DIRS := \
  75             include/bridge \
  76             java.base:include, \
  77         LDFLAGS := $(LDFLAGS_JDKLIB) \
  78             -def:$(ROOT_SRCDIR)/libwindowsaccessbridge/WinAccessBridge.DEF, \
  79         LIBS := kernel32.lib user32.lib gdi32.lib \
  80             winspool.lib comdlg32.lib advapi32.lib shell32.lib \
  81             ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib, \
  82         VERSIONINFO_RESOURCE := $(ROOT_SRCDIR)/common/AccessBridgeStatusWindow.rc, \
  83     )
  84 
  85     TARGETS += $$(BUILD_WINDOWSACCESSBRIDGE$1)
  86 
  87   endef
  88 
  89   define SetupAccessBridgeSysInfo
  90 
  91     $(call SetupJdkLibrary, BUILD_ACCESSBRIDGESYSINFO, \
  92         NAME := jabsysinfo, \
  93         OPTIMIZATION := LOW, \




  25 
  26 include LibCommon.gmk
  27 
  28 ################################################################################
  29 
  30 ifeq ($(OPENJDK_TARGET_OS), windows)
  31 
  32   ROOT_SRCDIR := $(TOPDIR)/src/jdk.accessibility/windows/native
  33 
  34   define SetupJavaDLL
  35     # Parameter 1 Suffix
  36     # Parameter 2 ACCESSBRIDGE_ARCH_ suffix
  37 
  38     $(call SetupJdkLibrary, BUILD_JAVAACCESSBRIDGE$1, \
  39         NAME := javaaccessbridge$1, \
  40         SRC := libjavaaccessbridge, \
  41         EXTRA_SRC := common, \
  42         OPTIMIZATION := LOW, \
  43         DISABLED_WARNINGS_microsoft := 4311 4302 4312, \
  44         CFLAGS := $(CFLAGS_JDKLIB) \
  45             -DACCESSBRIDGE_ARCH_$2 -EHsc, \
  46         EXTRA_HEADER_DIRS := \
  47             include/bridge \
  48             java.base:include \
  49             java.desktop:include, \
  50         LDFLAGS := $(LDFLAGS_JDKLIB), \
  51         LIBS := kernel32.lib user32.lib gdi32.lib \
  52             winspool.lib comdlg32.lib advapi32.lib shell32.lib \
  53             $(SUPPORT_OUTPUTDIR)/native/java.desktop/libjawt/jawt.lib \
  54             ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib, \
  55         VERSIONINFO_RESOURCE := $(ROOT_SRCDIR)/common/AccessBridgeStatusWindow.rc, \
  56     )
  57 
  58     $$(BUILD_JAVAACCESSBRIDGE$1): $(call FindStaticLib, java.desktop, jawt, /libjawt)
  59 
  60     TARGETS += $$(BUILD_JAVAACCESSBRIDGE$1)
  61   endef
  62 
  63   define SetupWinDLL
  64     # Parameter 1 Suffix
  65     # Parameter 2 ACCESSBRIDGE_ARCH_ suffix
  66     $(call SetupJdkLibrary, BUILD_WINDOWSACCESSBRIDGE$1, \
  67         NAME := windowsaccessbridge$1, \
  68         SRC := libwindowsaccessbridge, \
  69         EXTRA_SRC := common, \
  70         OPTIMIZATION := LOW, \
  71         DISABLED_WARNINGS_microsoft := 4311 4302 4312, \
  72         CFLAGS := $(CFLAGS_JDKLIB) \
  73             -DACCESSBRIDGE_ARCH_$2 -EHsc,\
  74         EXTRA_HEADER_DIRS := \
  75             include/bridge \
  76             java.base:include, \
  77         LDFLAGS := $(LDFLAGS_JDKLIB) \
  78             -def:$(ROOT_SRCDIR)/libwindowsaccessbridge/WinAccessBridge.DEF, \
  79         LIBS := kernel32.lib user32.lib gdi32.lib \
  80             winspool.lib comdlg32.lib advapi32.lib shell32.lib \
  81             ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib, \
  82         VERSIONINFO_RESOURCE := $(ROOT_SRCDIR)/common/AccessBridgeStatusWindow.rc, \
  83     )
  84 
  85     TARGETS += $$(BUILD_WINDOWSACCESSBRIDGE$1)
  86 
  87   endef
  88 
  89   define SetupAccessBridgeSysInfo
  90 
  91     $(call SetupJdkLibrary, BUILD_ACCESSBRIDGESYSINFO, \
  92         NAME := jabsysinfo, \
  93         OPTIMIZATION := LOW, \


< prev index next >