tree.mk 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. #
  2. # This Source Code Form is subject to the terms of the Mozilla Public
  3. # License, v. 2.0. If a copy of the MPL was not distributed with this
  4. # file, You can obtain one at http://mozilla.org/MPL/2.0/.
  5. #######################################################################
  6. # Master "Core Components" file system "release" prefixes #
  7. #######################################################################
  8. # Windows platforms override this. See WIN32.mk.
  9. ifndef RELEASE_TREE
  10. ifdef BUILD_SHIP
  11. ifdef USE_SHIPS
  12. RELEASE_TREE = $(BUILD_SHIP)
  13. else
  14. RELEASE_TREE = /share/builds/components
  15. endif
  16. else
  17. RELEASE_TREE = /share/builds/components
  18. endif
  19. endif
  20. #
  21. # NOTE: export control policy enforced for XP and MD files
  22. # released to the binary release tree
  23. #
  24. ifeq ($(POLICY), domestic)
  25. RELEASE_XP_DIR = domestic
  26. RELEASE_MD_DIR = domestic/$(PLATFORM)
  27. else
  28. ifeq ($(POLICY), export)
  29. RELEASE_XP_DIR = export
  30. RELEASE_MD_DIR = export/$(PLATFORM)
  31. else
  32. ifeq ($(POLICY), france)
  33. RELEASE_XP_DIR = france
  34. RELEASE_MD_DIR = france/$(PLATFORM)
  35. else
  36. RELEASE_XP_DIR =
  37. RELEASE_MD_DIR = $(PLATFORM)
  38. endif
  39. endif
  40. endif
  41. REPORTER_TREE = $(subst \,\\,$(RELEASE_TREE))
  42. IMPORT_XP_DIR =
  43. IMPORT_MD_DIR = $(PLATFORM)
  44. MK_TREE = included