< prev index next >

jdk/make/CompileLaunchers.gmk

Print this page




 646       OPTIMIZATION := LOW, \
 647       CFLAGS := $(CFLAGS_JDKEXE), \
 648       LDFLAGS := $(LDFLAGS_JDKEXE) $(LINK_JSPAWNHELPER_FLAGS), \
 649       LDFLAGS_SUFFIX := $(LINK_JSPAWNHELPER_OBJECTS), \
 650       OBJECT_DIR := $(JDK_OUTPUTDIR)/objs/jspawnhelper, \
 651       OUTPUT_DIR := $(BUILD_JSPAWNHELPER_DST_DIR), \
 652       PROGRAM := jspawnhelper))
 653 
 654   $(BUILD_JSPAWNHELPER): $(LINK_JSPAWNHELPER_OBJECTS)
 655 
 656   BUILD_LAUNCHERS += $(BUILD_JSPAWNHELPER)
 657 endif
 658 
 659 ##########################################################################################
 660 # jabswitch
 661 
 662 ifndef OPENJDK
 663   ifeq ($(OPENJDK_TARGET_OS), windows)
 664 
 665     $(eval $(call SetupNativeCompilation,BUILD_JABSWITCH, \
 666         SRC := $(JDK_TOPDIR)/src/closed/windows/native/sun/bridge, \
 667         INCLUDE_FILES := jabswitch.cpp, \
 668         LANG := C++, \
 669         CFLAGS := $(filter-out -Zc:wchar_t-, $(CFLAGS_JDKEXE)) -Zc:wchar_t \
 670             -analyze- -Od -Gd -D_WINDOWS \
 671             -D_UNICODE -DUNICODE -RTC1 -EHsc, \
 672         LDFLAGS := $(LDFLAGS_JDKEXE) \
 673             Advapi32.lib Version.lib User32.lib, \
 674         OBJECT_DIR := $(JDK_OUTPUTDIR)/objs/jabswitch, \
 675         OUTPUT_DIR := $(JDK_OUTPUTDIR)/bin, \
 676         PROGRAM := jabswitch, \
 677         DEBUG_SYMBOLS := true, \
 678         VERSIONINFO_RESOURCE := $(JDK_TOPDIR)/src/closed/windows/native/sun/bridge/AccessBridgeStatusWindow.rc, \
 679         RC_FLAGS := $(RC_FLAGS) \
 680             -D "JDK_FNAME=jabswitch.exe" \
 681             -D "JDK_INTERNAL_NAME=jabswitch" \
 682             -D "JDK_FTYPE=0x01L", \
 683         MANIFEST := $(JDK_TOPDIR)/src/closed/windows/native/sun/bridge/jabswitch.manifest))
 684 
 685     BUILD_LAUNCHERS += $(BUILD_JABSWITCH)
 686 
 687   endif
 688 endif
 689 
 690 ##########################################################################################
 691 
 692 $(BUILD_LAUNCHERS): $(JDK_TOPDIR)/make/CompileLaunchers.gmk
 693 
 694 all: $(BUILD_LAUNCHERS)
 695 
 696 .PHONY: all


 646       OPTIMIZATION := LOW, \
 647       CFLAGS := $(CFLAGS_JDKEXE), \
 648       LDFLAGS := $(LDFLAGS_JDKEXE) $(LINK_JSPAWNHELPER_FLAGS), \
 649       LDFLAGS_SUFFIX := $(LINK_JSPAWNHELPER_OBJECTS), \
 650       OBJECT_DIR := $(JDK_OUTPUTDIR)/objs/jspawnhelper, \
 651       OUTPUT_DIR := $(BUILD_JSPAWNHELPER_DST_DIR), \
 652       PROGRAM := jspawnhelper))
 653 
 654   $(BUILD_JSPAWNHELPER): $(LINK_JSPAWNHELPER_OBJECTS)
 655 
 656   BUILD_LAUNCHERS += $(BUILD_JSPAWNHELPER)
 657 endif
 658 
 659 ##########################################################################################
 660 # jabswitch
 661 
 662 ifndef OPENJDK
 663   ifeq ($(OPENJDK_TARGET_OS), windows)
 664 
 665     $(eval $(call SetupNativeCompilation,BUILD_JABSWITCH, \
 666         SRC := $(JDK_TOPDIR)/src/windows/native/sun/bridge, \
 667         INCLUDE_FILES := jabswitch.cpp, \
 668         LANG := C++, \
 669         CFLAGS := $(filter-out -Zc:wchar_t-, $(CFLAGS_JDKEXE)) -Zc:wchar_t \
 670             -analyze- -Od -Gd -D_WINDOWS \
 671             -D_UNICODE -DUNICODE -RTC1 -EHsc, \
 672         LDFLAGS := $(LDFLAGS_JDKEXE) \
 673             Advapi32.lib Version.lib User32.lib, \
 674         OBJECT_DIR := $(JDK_OUTPUTDIR)/objs/jabswitch, \
 675         OUTPUT_DIR := $(JDK_OUTPUTDIR)/bin, \
 676         PROGRAM := jabswitch, \
 677         DEBUG_SYMBOLS := true, \
 678         VERSIONINFO_RESOURCE := $(JDK_TOPDIR)/src/windows/native/sun/bridge/AccessBridgeStatusWindow.rc, \
 679         RC_FLAGS := $(RC_FLAGS) \
 680             -D "JDK_FNAME=jabswitch.exe" \
 681             -D "JDK_INTERNAL_NAME=jabswitch" \
 682             -D "JDK_FTYPE=0x01L", \
 683         MANIFEST := $(JDK_TOPDIR)/src/windows/native/sun/bridge/jabswitch.manifest))
 684 
 685     BUILD_LAUNCHERS += $(BUILD_JABSWITCH)
 686 
 687   endif
 688 endif
 689 
 690 ##########################################################################################
 691 
 692 $(BUILD_LAUNCHERS): $(JDK_TOPDIR)/make/CompileLaunchers.gmk
 693 
 694 all: $(BUILD_LAUNCHERS)
 695 
 696 .PHONY: all
< prev index next >