jdk/make/common/Library.gmk
changeset 8583 15dea0fdc2ea
parent 8022 d11e5f2eb62c
child 9035 1255eb81cc2f
child 8993 9076d969ffdf
equal deleted inserted replaced
8471:fd444c61e7ed 8583:15dea0fdc2ea
   166 	  -map:$(OBJDIR)/$(LIBRARY).map \
   166 	  -map:$(OBJDIR)/$(LIBRARY).map \
   167 	  $(LFLAGS) @$(OBJDIR)/$(LIBRARY).lcf \
   167 	  $(LFLAGS) @$(OBJDIR)/$(LIBRARY).lcf \
   168 	  $(OTHER_LCF) $(JAVALIB) $(LDLIBS)
   168 	  $(OTHER_LCF) $(JAVALIB) $(LDLIBS)
   169 	$(CP) $(OBJDIR)/$(@F) $@
   169 	$(CP) $(OBJDIR)/$(@F) $@
   170 	@$(call binary_file_verification,$@)
   170 	@$(call binary_file_verification,$@)
   171 	$(install-module-file)
       
   172 	$(CP) $(OBJDIR)/$(LIBRARY).map $(@D)
   171 	$(CP) $(OBJDIR)/$(LIBRARY).map $(@D)
   173 	$(CP) $(OBJDIR)/$(LIBRARY).pdb $(@D)
   172 	$(CP) $(OBJDIR)/$(LIBRARY).pdb $(@D)
   174 
       
   175 $(ACTUAL_LIBRARY):: $(ACTUAL_LIBRARY_DIR)/$(LIBRARY).map $(ACTUAL_LIBRARY_DIR)/$(LIBRARY).pdb
       
   176 
       
   177 $(ACTUAL_LIBRARY_DIR)/%.map: FORCE
       
   178 	$(install-module-file)
       
   179 
       
   180 $(ACTUAL_LIBRARY_DIR)/%.pdb: FORCE
       
   181 	$(install-module-file)
       
   182 
   173 
   183 endif # LIBRARY
   174 endif # LIBRARY
   184 
   175 
   185 $(OBJDIR)/$(LIBRARY).lcf: $(OBJDIR)/$(LIBRARY).res $(COMPILE_FILES_o) $(FILES_m)
   176 $(OBJDIR)/$(LIBRARY).lcf: $(OBJDIR)/$(LIBRARY).res $(COMPILE_FILES_o) $(FILES_m)
   186 	@$(prep-target)
   177 	@$(prep-target)
   233 ifeq ($(LIBRARY), fdlibm)
   224 ifeq ($(LIBRARY), fdlibm)
   234 	$(AR) -r $@ $(FILES_o)
   225 	$(AR) -r $@ $(FILES_o)
   235 else # LIBRARY
   226 else # LIBRARY
   236 	$(LINKER) $(SHARED_LIBRARY_FLAG) -o $@ $(FILES_o) $(LDLIBS)
   227 	$(LINKER) $(SHARED_LIBRARY_FLAG) -o $@ $(FILES_o) $(LDLIBS)
   237 	@$(call binary_file_verification,$@)
   228 	@$(call binary_file_verification,$@)
   238 	$(install-module-file)
       
   239 ifeq ($(WRITE_LIBVERSION),true)
   229 ifeq ($(WRITE_LIBVERSION),true)
   240 	$(MCS) -d -a "$(FULL_VERSION)" $@
   230 	$(MCS) -d -a "$(FULL_VERSION)" $@
   241 endif # WRITE_LIBVERSION
   231 endif # WRITE_LIBVERSION
   242 endif # LIBRARY
   232 endif # LIBRARY
   243 
   233