jdk/makefiles/Import.gmk
changeset 15139 3ec04e4fbb5e
parent 14596 a1f29d55b5ee
child 15677 e0ab6fb02225
child 15680 d379c4f7bb47
equal deleted inserted replaced
15138:316e13e3499c 15139:3ec04e4fbb5e
   168 	$(LN) -s ../$(@F) $@
   168 	$(LN) -s ../$(@F) $@
   169 
   169 
   170 $(INSTALL_LIBRARIES_HERE)/server/%.diz : $(INSTALL_LIBRARIES_HERE)/%.diz
   170 $(INSTALL_LIBRARIES_HERE)/server/%.diz : $(INSTALL_LIBRARIES_HERE)/%.diz
   171 	$(MKDIR) -p $(@D)
   171 	$(MKDIR) -p $(@D)
   172 	$(RM) $@
   172 	$(RM) $@
   173 ifeq (REALLY_WEIRD,1)
       
   174 	$(LN) -s ../$(@F) $@
       
   175 else
       
   176 #
       
   177 # TODO: Check if this is what they really want...a zip containing a symlink
       
   178 #
       
   179 	$(RM) $@.tmp $(basename $@).debuginfo
   173 	$(RM) $@.tmp $(basename $@).debuginfo
   180 	$(LN) -s ../$(basename $(@F)).debuginfo $(basename $@).debuginfo
   174 	$(LN) -s ../$(basename $(@F)).debuginfo $(basename $@).debuginfo
   181 	$(ZIP) -q -y $@.tmp $(basename $@).debuginfo
   175 	$(CD) $(@D) && $(ZIP) -q -y $@.tmp $(basename $(@F)).debuginfo
   182 	$(RM) $(basename $@).debuginfo
   176 	$(RM) $(basename $@).debuginfo
   183 	$(MV) $@.tmp $@
   177 	$(MV) $@.tmp $@
   184 endif
       
   185 
   178 
   186 $(INSTALL_LIBRARIES_HERE)/client/%$(SHARED_LIBRARY_SUFFIX) : $(INSTALL_LIBRARIES_HERE)/%$(SHARED_LIBRARY_SUFFIX)
   179 $(INSTALL_LIBRARIES_HERE)/client/%$(SHARED_LIBRARY_SUFFIX) : $(INSTALL_LIBRARIES_HERE)/%$(SHARED_LIBRARY_SUFFIX)
   187 	$(MKDIR) -p $(@D)
   180 	$(MKDIR) -p $(@D)
   188 	$(RM) $@
   181 	$(RM) $@
   189 	$(LN) -s ../$(@F) $@
   182 	$(LN) -s ../$(@F) $@
   194 	$(LN) -s ../$(@F) $@
   187 	$(LN) -s ../$(@F) $@
   195 
   188 
   196 $(INSTALL_LIBRARIES_HERE)/client/%.diz : $(INSTALL_LIBRARIES_HERE)/%.diz
   189 $(INSTALL_LIBRARIES_HERE)/client/%.diz : $(INSTALL_LIBRARIES_HERE)/%.diz
   197 	$(MKDIR) -p $(@D)
   190 	$(MKDIR) -p $(@D)
   198 	$(RM) $@
   191 	$(RM) $@
   199 ifeq (REALLY_WEIRD,1)
       
   200 	$(LN) -s ../$(@F) $@
       
   201 else
       
   202 #
       
   203 # TODO: Check if this is what they really want...a zip containing a symlink
       
   204 #
       
   205 	$(RM) $@.tmp $(basename $@).debuginfo
   192 	$(RM) $@.tmp $(basename $@).debuginfo
   206 	$(LN) -s ../$(basename $(@F)).debuginfo $(basename $@).debuginfo
   193 	$(LN) -s ../$(basename $(@F)).debuginfo $(basename $@).debuginfo
   207 	$(ZIP) -q -y $@.tmp $(basename $@).debuginfo
   194 	$(CD) $(@D) && $(ZIP) -q -y $@.tmp $(basename $(@F)).debuginfo
   208 	$(RM) $(basename $@).debuginfo
   195 	$(RM) $(basename $@).debuginfo
   209 	$(MV) $@.tmp $@
   196 	$(MV) $@.tmp $@
   210 endif
       
   211 
   197 
   212 #######
   198 #######
   213 
   199 
   214 ifeq ($(OPENJDK_TARGET_OS),solaris)
   200 ifeq ($(OPENJDK_TARGET_OS),solaris)
   215 define install-file
   201 define install-file