changeset 20686 | 1fa9a75192c3 |
parent 18025 | b7bcf7497f93 |
child 22838 | 82c7497fbad4 |
--- a/hotspot/make/defs.make Mon Oct 14 21:52:42 2013 -0400 +++ b/hotspot/make/defs.make Tue Oct 15 08:25:43 2013 -0700 @@ -77,6 +77,16 @@ @$(RM) $@ $(CP) $< $@ endef + +# MacOS X strongly discourages 'cp -r' and provides 'cp -R' instead. +# May need to have a MacOS X specific definition of install-dir +# sometime in the future. +define install-dir +@$(MKDIR) -p $(@D) +@$(RM) -r $@ +$(CP) -r $< $@ +endef + define prep-target @$(MKDIR) -p $(@D) @$(RM) $@