make/java/redist/Makefile

Print this page




  41 
  42 SERVER_LOCATION = server
  43 CLIENT_LOCATION = client
  44 
  45 DB_SUFFIX = _db
  46 DTRACE_SUFFIX = _dtrace
  47 
  48 ifeq ($(PLATFORM), windows)
  49   LIB_LOCATION = $(BINDIR)
  50 else
  51   LIB_LOCATION = $(LIBDIR)/$(LIBARCH)
  52 endif
  53 
  54 JVM_NAME               = $(LIB_PREFIX)jvm.$(LIBRARY_SUFFIX)
  55 JVMLIB_NAME            = $(LIB_PREFIX)jvm.$(LIB_SUFFIX)
  56 JVMMAP_NAME            = $(LIB_PREFIX)jvm.map
  57 JVMPDB_NAME            = $(LIB_PREFIX)jvm.pdb
  58 LIBJSIG_NAME           = $(LIB_PREFIX)jsig.$(LIBRARY_SUFFIX)
  59 JVMDB_NAME             = $(LIB_PREFIX)jvm$(DB_SUFFIX).$(LIBRARY_SUFFIX)
  60 JVMDTRACE_NAME         = $(LIB_PREFIX)jvm$(DTRACE_SUFFIX).$(LIBRARY_SUFFIX)

  61 
  62 CLASSSHARINGDATA_DIR   = $(BUILDDIR)/tools/sharing
  63 
  64 # Needed to do file copy
  65 ABS_BUILDDIR :=$(call FullPath,$(BUILDDIR))
  66 
  67 SUBDIRS_desktop = fonts
  68 SUBDIRS_tools   = sajdi
  69 include $(BUILDDIR)/common/Subdirs.gmk
  70 
  71 all clean clobber::
  72         $(SUBDIRS-loop)
  73 
  74 all:: build
  75 
  76 # List of files created here or coming from BUILDDIR area (this workspace)
  77 INTERNAL_IMPORT_LIST = $(LIBDIR)/classlist
  78 
  79 # List of files coming from outside this workspace
  80 IMPORT_LIST = $(LIB_LOCATION)/$(SERVER_LOCATION)/$(JVM_NAME) \
  81               $(LIB_LOCATION)/$(SERVER_LOCATION)/Xusage.txt

  82 
  83 # Hotspot client is only available on 32-bit non-Zero builds
  84 ifneq ($(ZERO_BUILD), true)
  85 ifeq ($(ARCH_DATA_MODEL), 32)
  86   IMPORT_LIST += $(LIB_LOCATION)/$(CLIENT_LOCATION)/$(JVM_NAME) \
  87                  $(LIB_LOCATION)/$(CLIENT_LOCATION)/Xusage.txt
  88 endif
  89 endif
  90 




  91 ifeq ($(PLATFORM), windows)
  92 #  Windows     vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv  Windows
  93 
  94 IMPORT_LIST += $(MS_RUNTIME_LIBRARIES:%=$(BINDIR)/%)
  95 
  96 # NOTE: These might actually come from BUILDDIR, depends on the settings.
  97 $(BINDIR)/msvcrt.dll: $(MSVCRT_DLL_PATH)/msvcrt.dll
  98         $(install-import-file)
  99         $(call chmod-file, a+x)
 100 $(BINDIR)/$(MSVCRNN_DLL): $(MSVCRNN_DLL_PATH)/$(MSVCRNN_DLL)
 101         $(install-import-file)
 102         $(call chmod-file, a+x)
 103 
 104 # Get the hotspot .map and .pdb files for client and server
 105 IMPORT_LIST += \
 106         $(LIBDIR)/$(JVMLIB_NAME) \
 107         $(LIB_LOCATION)/$(SERVER_LOCATION)/$(JVMMAP_NAME) \
 108         $(LIB_LOCATION)/$(SERVER_LOCATION)/$(JVMPDB_NAME)
 109 
 110 # Add .map and .pdb files to the import path for client and kernel VMs. 




  41 
  42 SERVER_LOCATION = server
  43 CLIENT_LOCATION = client
  44 
  45 DB_SUFFIX = _db
  46 DTRACE_SUFFIX = _dtrace
  47 
  48 ifeq ($(PLATFORM), windows)
  49   LIB_LOCATION = $(BINDIR)
  50 else
  51   LIB_LOCATION = $(LIBDIR)/$(LIBARCH)
  52 endif
  53 
  54 JVM_NAME               = $(LIB_PREFIX)jvm.$(LIBRARY_SUFFIX)
  55 JVMLIB_NAME            = $(LIB_PREFIX)jvm.$(LIB_SUFFIX)
  56 JVMMAP_NAME            = $(LIB_PREFIX)jvm.map
  57 JVMPDB_NAME            = $(LIB_PREFIX)jvm.pdb
  58 LIBJSIG_NAME           = $(LIB_PREFIX)jsig.$(LIBRARY_SUFFIX)
  59 JVMDB_NAME             = $(LIB_PREFIX)jvm$(DB_SUFFIX).$(LIBRARY_SUFFIX)
  60 JVMDTRACE_NAME         = $(LIB_PREFIX)jvm$(DTRACE_SUFFIX).$(LIBRARY_SUFFIX)
  61 JVMCFG_NAME            = jvm.cfg
  62 
  63 CLASSSHARINGDATA_DIR   = $(BUILDDIR)/tools/sharing
  64 
  65 # Needed to do file copy
  66 ABS_BUILDDIR :=$(call FullPath,$(BUILDDIR))
  67 
  68 SUBDIRS_desktop = fonts
  69 SUBDIRS_tools   = sajdi
  70 include $(BUILDDIR)/common/Subdirs.gmk
  71 
  72 all clean clobber::
  73         $(SUBDIRS-loop)
  74 
  75 all:: build
  76 
  77 # List of files created here or coming from BUILDDIR area (this workspace)
  78 INTERNAL_IMPORT_LIST = $(LIBDIR)/classlist
  79 
  80 # List of files coming from outside this workspace
  81 IMPORT_LIST = $(LIB_LOCATION)/$(SERVER_LOCATION)/$(JVM_NAME) \
  82               $(LIB_LOCATION)/$(SERVER_LOCATION)/Xusage.txt \
  83               $(LIBDIR)/$(LIBARCH)/$(JVMCFG_NAME)
  84 
  85 # Hotspot client is only available on 32-bit non-Zero builds
  86 ifneq ($(ZERO_BUILD), true)
  87 ifeq ($(ARCH_DATA_MODEL), 32)
  88   IMPORT_LIST += $(LIB_LOCATION)/$(CLIENT_LOCATION)/$(JVM_NAME) \
  89                  $(LIB_LOCATION)/$(CLIENT_LOCATION)/Xusage.txt
  90 endif
  91 endif
  92 
  93 # Get $(JVMCFG_NAME) files
  94 $(LIBDIR)/$(LIBARCH)/$(JVMCFG_NAME) : $(HOTSPOT_IMPORT_PATH)/jre/lib/$(LIBARCH)/$(JVMCFG_NAME)
  95         $(install-import-file)
  96 
  97 ifeq ($(PLATFORM), windows)
  98 #  Windows     vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv  Windows
  99 
 100 IMPORT_LIST += $(MS_RUNTIME_LIBRARIES:%=$(BINDIR)/%)
 101 
 102 # NOTE: These might actually come from BUILDDIR, depends on the settings.
 103 $(BINDIR)/msvcrt.dll: $(MSVCRT_DLL_PATH)/msvcrt.dll
 104         $(install-import-file)
 105         $(call chmod-file, a+x)
 106 $(BINDIR)/$(MSVCRNN_DLL): $(MSVCRNN_DLL_PATH)/$(MSVCRNN_DLL)
 107         $(install-import-file)
 108         $(call chmod-file, a+x)
 109 
 110 # Get the hotspot .map and .pdb files for client and server
 111 IMPORT_LIST += \
 112         $(LIBDIR)/$(JVMLIB_NAME) \
 113         $(LIB_LOCATION)/$(SERVER_LOCATION)/$(JVMMAP_NAME) \
 114         $(LIB_LOCATION)/$(SERVER_LOCATION)/$(JVMPDB_NAME)
 115 
 116 # Add .map and .pdb files to the import path for client and kernel VMs.