Changeset 67
- Timestamp:
- Jul 16, 2010, 9:25:34 PM (15 years ago)
- Location:
- trunk/openjdk/jdk/make
- Files:
-
- 2 edited
- 1 copied
Legend:
- Unmodified
- Added
- Removed
-
trunk/openjdk/jdk/make/common/Release.gmk
r2 r67 69 69 70 70 # Text documents on windows use this suffix 71 ifeq ($( PLATFORM), windows)71 ifeq ($(filter-out windows,os2 $(PLATFORM)),) 72 72 TEXT_SUFFIX = .txt 73 73 endif … … 92 92 LICENSE_VERSION=.fcs 93 93 endif 94 ifeq ($( PLATFORM), windows)94 ifeq ($(filter-out windows,os2 $(PLATFORM)),) 95 95 LICENSE_DOCLIST_JDK = $(subst $(LICENSE_VERSION),,\ 96 96 $(shell $(CD) $(SHARE_JDK_DOC_SRC) && \ … … 398 398 sun/tools/jinfo \ 399 399 sun/tools/jmap 400 400 401 401 # classes that go into jsse.jar 402 402 JSSE_CLASSES_DIRS = \ … … 516 516 endif 517 517 518 # JRE files 518 # JRE files 519 519 $(JRE_IMAGE_DIR)/%: $(SHARE_JRE_DOC_SRC)/% 520 520 $(process-doc-file) … … 786 786 -o meta-index *.jar 787 787 @$(CD) $(JRE_IMAGE_DIR)/lib/ext && $(java-vm-cleanup) 788 ifeq ($( PLATFORM), windows)788 ifeq ($(filter-out windows,os2 $(PLATFORM)),) 789 789 @# Remove certain *.lib files 790 790 $(CD) $(JRE_IMAGE_DIR)/lib && \ 791 791 $(RM) java.$(LIB_SUFFIX) jvm.$(LIB_SUFFIX) \ 792 792 hpi.$(LIB_SUFFIX) awt.$(LIB_SUFFIX) jawt.$(LIB_SUFFIX) 793 endif # Windows 794 ifneq ($(PLATFORM), windows) 793 else 795 794 $(call copy-man-pages,$(JRE_IMAGE_DIR),$(JRE_MAN_PAGES)) 796 endif # !windows795 endif # windows || OS/2 797 796 798 797 # Trim out any extra files not for the jre shipment but wanted in the jdk jre. … … 822 821 JRE_ELF_LIST=$(TEMPDIR)/jre-elf-files.list 823 822 $(JRE_ELF_LIST): 824 ifneq ($( PLATFORM), windows)823 ifneq ($(filter-out windows,os2 $(PLATFORM)),) 825 824 $(RM) $@ 826 825 $(FIND) $(JRE_IMAGE_DIR)/lib -type f -name \*.$(LIB_SUFFIX) >> $@ … … 907 906 fi; \ 908 907 done 909 ifeq ($( PLATFORM), windows)908 ifeq ($(filter-out windows,os2 $(PLATFORM)),) 910 909 @# 911 910 @# lib/ … … 1045 1044 @# 1046 1045 $(CD) javax/swing/beaninfo && $(MAKE) swing-1.2-beans 1047 ifneq ($( PLATFORM), windows)1046 ifneq ($(filter-out windows,os2 $(PLATFORM)),) 1048 1047 $(call copy-man-pages,$(JDK_IMAGE_DIR),$(JDK_MAN_PAGES)) 1049 1048 endif # !windows … … 1060 1059 JDK_ELF_LIST=$(TEMPDIR)/jdk-elf-files.list 1061 1060 $(JDK_ELF_LIST): 1062 ifneq ($( PLATFORM), windows)1061 ifneq ($(filter-out windows,os2 $(PLATFORM)),) 1063 1062 $(RM) $@ 1064 1063 $(FIND) $(JDK_IMAGE_DIR)/jre/lib -type f -name \*.$(LIB_SUFFIX) >> $@ … … 1223 1222 $(RM) -r $(OUTPUTDIR)/$(ARCH) 1224 1223 endif 1225 ifeq ($( PLATFORM), windows)1224 ifeq ($(filter-out windows,os2 $(PLATFORM)),) 1226 1225 $(RM) $(TEMPDIR)/rebase.input 1227 1226 endif -
trunk/openjdk/jdk/make/java/redist/Makefile
r2 r67 29 29 # that are provided inside this workspace. 30 30 # 31 # IMPORT_LIST contains the list of destination files that are copied 31 # IMPORT_LIST contains the list of destination files that are copied 32 32 # from external places (outside this workspace). 33 33 # 34 34 # INTERNAL_IMPORT_LIST is the list of destination files from BUILDDIR. 35 # 35 # 36 36 37 37 BUILDDIR = ../.. … … 44 44 DB_SUFFIX = _db 45 45 46 ifeq ($( PLATFORM), windows)46 ifeq ($(filter-out windows,os2 $(PLATFORM)),) 47 47 LIB_LOCATION = $(BINDIR) 48 48 else … … 54 54 JVMMAP_NAME = $(LIB_PREFIX)jvm.map 55 55 JVMPDB_NAME = $(LIB_PREFIX)jvm.pdb 56 JVMSYM_NAME = $(LIB_PREFIX)jvm.sym 56 57 LIBJSIG_NAME = $(LIB_PREFIX)jsig.$(LIBRARY_SUFFIX) 57 58 JVMDB_NAME = $(LIB_PREFIX)jvm$(DB_SUFFIX).$(LIBRARY_SUFFIX) … … 74 75 # On platforms where it is supported, we want to allow it to 75 76 # not be present, at least temporarily. So, 76 # if the SA files (well, just sa-jdi.jar) do not exist 77 # if the SA files (well, just sa-jdi.jar) do not exist 77 78 # in the HOTSPOT_IMPORT_PATH, then we won't build SA. 78 79 SA_EXISTS := $(shell if [ -r $(HOTSPOT_IMPORT_PATH)/lib/sa-jdi.jar ] ; then \ … … 89 90 IMPORT_LIST += $(LIBDIR)/sa-jdi.jar \ 90 91 $(LIB_LOCATION)/$(SALIB_NAME) 91 ifeq ($( PLATFORM), windows)92 ifeq ($(filter-out windows,os2 $(PLATFORM)),) 92 93 IMPORT_LIST += $(LIB_LOCATION)/$(SAMAP_NAME) \ 93 94 $(LIB_LOCATION)/$(SAPDB_NAME) … … 134 135 $(install-import-file) 135 136 136 # it is OK for the .map and .pdb files to not exist, so do not force a 137 # it is OK for the .map and .pdb files to not exist, so do not force a 137 138 # dependency on them from the bootstrap location, and allow the copy to fail. 138 139 $(LIB_LOCATION)/$(CLIENT_LOCATION)/$(JVMMAP_NAME): … … 148 149 -$(CP) $(HOTSPOT_CLIENT_PATH)/$(JVMPDB_NAME) $@ 149 150 150 $(LIB_LOCATION)/$(SERVER_LOCATION)/$(JVMPDB_NAME): 151 $(LIB_LOCATION)/$(SERVER_LOCATION)/$(JVMPDB_NAME): 151 152 @$(prep-target) 152 153 -$(CP) $(HOTSPOT_SERVER_PATH)/$(JVMPDB_NAME) $@ 153 154 154 155 # Windows ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Windows 155 else # PLATFORM 156 else # PLATFORM == windows 157 ifeq ($(PLATFORM), os2) 158 # OS/2 vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv OS/2 159 160 # Get the hotspot .map and .sym files for client and server 161 IMPORT_LIST += \ 162 $(LIBDIR)/$(JVMLIB_NAME) \ 163 $(LIB_LOCATION)/$(SERVER_LOCATION)/$(JVMMAP_NAME) \ 164 $(LIB_LOCATION)/$(SERVER_LOCATION)/$(JVMSYM_NAME) 165 166 # Hotspot client is only available on 32-bit builds 167 ifeq ($(ARCH_DATA_MODEL), 32) 168 IMPORT_LIST += $(LIB_LOCATION)/$(CLIENT_LOCATION)/$(JVMMAP_NAME) \ 169 $(LIB_LOCATION)/$(CLIENT_LOCATION)/$(JVMSYM_NAME) 170 endif 171 172 $(LIBDIR)/$(JVMLIB_NAME): $(HOTSPOT_LIB_PATH)/$(JVMLIB_NAME) 173 $(install-import-file) 174 175 # it is OK for the .map and .sym files to not exist, so do not force a 176 # dependency on them from the bootstrap location, and allow the copy to fail. 177 $(LIB_LOCATION)/$(CLIENT_LOCATION)/$(JVMMAP_NAME): 178 @$(prep-target) 179 -$(CP) $(HOTSPOT_CLIENT_PATH)/$(JVMMAP_NAME) $@ 180 181 $(LIB_LOCATION)/$(SERVER_LOCATION)/$(JVMMAP_NAME): 182 @$(prep-target) 183 -$(CP) $(HOTSPOT_SERVER_PATH)/$(JVMMAP_NAME) $@ 184 185 $(LIB_LOCATION)/$(CLIENT_LOCATION)/$(JVMSYM_NAME): 186 @$(prep-target) 187 -$(CP) $(HOTSPOT_CLIENT_PATH)/$(JVMSYM_NAME) $@ 188 189 $(LIB_LOCATION)/$(SERVER_LOCATION)/$(JVMSYM_NAME): 190 @$(prep-target) 191 -$(CP) $(HOTSPOT_SERVER_PATH)/$(JVMSYM_NAME) $@ 192 193 # OS/2 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ OS/2 194 195 else 156 196 # NOT Windows vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv NOT Windows 157 197 … … 162 202 ifeq ($(PLATFORM), solaris) 163 203 IMPORT_LIST += $(LIB_LOCATION)/$(SERVER_LOCATION)/$(JVMDB_NAME) 164 endif 204 endif 165 205 166 206 ifneq ($(ZERO_BUILD), true) … … 199 239 # NOT Windows ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ NOT Windows 200 240 201 endif # PLATFORM 241 endif # PLATFORM == os2 242 endif # PLATFORM == windows 202 243 203 244 $(LIB_LOCATION)/$(CLIENT_LOCATION)/$(JVM_NAME): $(HOTSPOT_CLIENT_PATH)/$(JVM_NAME) … … 246 287 $(install-import-file) 247 288 248 ifeq ($( PLATFORM), windows)289 ifeq ($(filter-out windows,os2 $(PLATFORM)),) 249 290 $(LIB_LOCATION)/$(SAPDB_NAME): $(HOTSPOT_SALIB_PATH)/$(SAPDB_NAME) 250 291 $(install-import-file) … … 306 347 FONTSDIR = $(LIBDIR)/fonts 307 348 FONTSDIRFILE = $(FONTSDIR)/fonts.dir 308 INTERNAL_IMPORT_LIST += $(FONTFILES) 309 310 ifneq ($( PLATFORM), windows)349 INTERNAL_IMPORT_LIST += $(FONTFILES) 350 351 ifneq ($(filter-out windows,os2 $(PLATFORM)),) 311 352 INTERNAL_IMPORT_LIST += $(FONTSDIRFILE) 312 353 endif
Note:
See TracChangeset
for help on using the changeset viewer.